@prosperitainova/mirage-ui 1.0.20 → 1.0.22

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.
@@ -1,9 +1,8 @@
1
- /// <reference types="react" />
2
1
  import "../../../src/theme/fonts/ProximaNova.css";
3
2
  export type DropzoneProps = {
4
- error: string;
5
- helper: string;
6
- onFilesChanged: (files: File[]) => void;
3
+ error?: string;
4
+ helper?: string;
5
+ onFilesChanged?: (files: File[]) => void;
7
6
  };
8
7
  declare const Dropzone: (props: DropzoneProps) => JSX.Element;
9
8
  export default Dropzone;
@@ -0,0 +1,5 @@
1
+ export type ProgressBarProps = {
2
+ percent: number;
3
+ };
4
+ declare const ProgressBar: (props: ProgressBarProps) => JSX.Element;
5
+ export default ProgressBar;
@@ -0,0 +1,8 @@
1
+ import { Story } from "@storybook/react";
2
+ import { ProgressBarProps } from "./ProgressBar";
3
+ declare const ProgressBarStories: {
4
+ title: string;
5
+ component: (props: ProgressBarProps) => JSX.Element;
6
+ };
7
+ export default ProgressBarStories;
8
+ export declare const Primary: Story<ProgressBarProps>;
@@ -0,0 +1 @@
1
+ export { default } from "./ProgressBar";
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ export type VerifyCodeInputProps = {
3
+ inputsNumber?: number;
4
+ };
5
+ declare function VerifyCodeInput({ inputsNumber: numberOfInputs, }: VerifyCodeInputProps): JSX.Element;
6
+ export default VerifyCodeInput;
@@ -0,0 +1,8 @@
1
+ import VerifyCodeInput, { VerifyCodeInputProps } from "./VerifyCodeInput";
2
+ import { Story } from "@storybook/react";
3
+ declare const VerifyCodeInputStories: {
4
+ title: string;
5
+ component: typeof VerifyCodeInput;
6
+ };
7
+ export default VerifyCodeInputStories;
8
+ export declare const Primary: Story<VerifyCodeInputProps>;
@@ -0,0 +1 @@
1
+ export { default } from "./VerifyCodeInput";
@@ -17,3 +17,5 @@ export { default as Spacer } from "./Spacer";
17
17
  export { default as TabMenu } from "./TabMenu";
18
18
  export { default as Toast } from "./Toast";
19
19
  export { default as Toggle } from "./Toggle";
20
+ export { default as VerifyCodeInput } from "./VerifyCodeInput";
21
+ export { default as ProgressBar } from "./ProgressBar";