@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.
@@ -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;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from "./Input";
3
2
  import { Story } from "@storybook/react";
4
3
  declare const InputStories: {
@@ -0,0 +1,2 @@
1
+ declare const TesterToast: () => JSX.Element;
2
+ export default TesterToast;
@@ -0,0 +1,8 @@
1
+ import { Story } from "@storybook/react";
2
+ import { ToastProps } from "./Toast";
3
+ declare const TesterToastStories: {
4
+ title: string;
5
+ component: () => JSX.Element;
6
+ };
7
+ export default TesterToastStories;
8
+ export declare const Success: Story<ToastProps>;
@@ -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
- onClick?: (props: string) => void;
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
- onClick?: (props: string) => void;
204
+ toggleToast?: (event: any) => void;
202
205
  };
203
206
  declare const Toast: (props: ToastProps) => JSX.Element;
204
207
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosperitainova/mirage-ui",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "publishConfig": {