@prosperitainova/mirage-ui 1.0.12 → 1.0.14
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 +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/src/lib/Input/Input.d.ts +3 -0
- package/dist/cjs/types/src/lib/Input/Input.stories.d.ts +0 -1
- package/dist/cjs/types/src/lib/Toast/TesterToast.d.ts +2 -0
- package/dist/cjs/types/src/lib/Toast/TesterToast.stories.d.ts +8 -0
- package/dist/cjs/types/src/lib/Toast/Toast.d.ts +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/lib/Input/Input.d.ts +3 -0
- package/dist/esm/types/src/lib/Input/Input.stories.d.ts +0 -1
- package/dist/esm/types/src/lib/Toast/TesterToast.d.ts +2 -0
- package/dist/esm/types/src/lib/Toast/TesterToast.stories.d.ts +8 -0
- package/dist/esm/types/src/lib/Toast/Toast.d.ts +1 -1
- package/dist/index.d.ts +4 -1
- package/package.json +1 -1
|
@@ -5,6 +5,9 @@ export type InputProps = InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAtt
|
|
|
5
5
|
success?: boolean;
|
|
6
6
|
helper?: string;
|
|
7
7
|
label?: string;
|
|
8
|
+
newPassword?: boolean;
|
|
9
|
+
newPasswordLevel?: string;
|
|
10
|
+
filled?: boolean;
|
|
8
11
|
};
|
|
9
12
|
declare const Input: (props: InputProps) => JSX.Element;
|
|
10
13
|
export default Input;
|
|
@@ -6,7 +6,7 @@ export type ToastProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
6
6
|
title: string;
|
|
7
7
|
text: string;
|
|
8
8
|
position?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
9
|
-
|
|
9
|
+
toggleToast?: (event: any) => void;
|
|
10
10
|
};
|
|
11
11
|
declare const Toast: (props: ToastProps) => JSX.Element;
|
|
12
12
|
export default Toast;
|
package/dist/index.d.ts
CHANGED
|
@@ -68,6 +68,9 @@ type InputProps = InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAttributes
|
|
|
68
68
|
success?: boolean;
|
|
69
69
|
helper?: string;
|
|
70
70
|
label?: string;
|
|
71
|
+
newPassword?: boolean;
|
|
72
|
+
newPasswordLevel?: string;
|
|
73
|
+
filled?: boolean;
|
|
71
74
|
};
|
|
72
75
|
declare const Input: (props: InputProps) => JSX.Element;
|
|
73
76
|
|
|
@@ -198,7 +201,7 @@ type ToastProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
198
201
|
title: string;
|
|
199
202
|
text: string;
|
|
200
203
|
position?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
201
|
-
|
|
204
|
+
toggleToast?: (event: any) => void;
|
|
202
205
|
};
|
|
203
206
|
declare const Toast: (props: ToastProps) => JSX.Element;
|
|
204
207
|
|