@prosperitainova/mirage-ui 1.0.23 → 1.0.25

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.
@@ -2,7 +2,7 @@ import { Props as ReactSelectProps } from "react-select";
2
2
  import "../../../src/theme/fonts/ProximaNova.css";
3
3
  export type SelectProps = Omit<ReactSelectProps, "onChange"> & {
4
4
  onChange?: (e: any) => void;
5
- error?: string;
5
+ error?: string | boolean;
6
6
  success?: boolean;
7
7
  helper?: string;
8
8
  label?: string;
@@ -1,13 +1,15 @@
1
1
  import { InputHTMLAttributes, TextareaHTMLAttributes } from "react";
2
2
  import "../../../src/theme/fonts/ProximaNova.css";
3
3
  export type InputProps = InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAttributes<HTMLTextAreaElement> & {
4
+ value?: string | number | boolean | readonly string[] | undefined;
4
5
  error?: string | boolean;
5
6
  success?: boolean;
6
7
  helper?: string;
7
8
  label?: string;
8
9
  newPassword?: boolean;
9
10
  newPasswordLevel?: string;
10
- filled?: boolean;
11
+ search?: boolean;
12
+ mask?: string;
11
13
  };
12
14
  declare const Input: (props: InputProps) => JSX.Element;
13
15
  export default Input;
@@ -0,0 +1,13 @@
1
+ import "../../../src/theme/fonts/ProximaNova.css";
2
+ export type InputCurrencyProps = {
3
+ value?: string | number | boolean | readonly string[] | undefined;
4
+ error?: string | boolean;
5
+ success?: boolean;
6
+ helper?: string;
7
+ label?: string;
8
+ disabled?: boolean;
9
+ required?: boolean;
10
+ type?: string;
11
+ };
12
+ declare const InputCurrency: (props: InputCurrencyProps) => JSX.Element;
13
+ export default InputCurrency;
@@ -0,0 +1,8 @@
1
+ import { InputCurrencyProps } from "./InputCurrency";
2
+ import { Story } from "@storybook/react";
3
+ declare const InputCurrencyStories: {
4
+ title: string;
5
+ component: (props: InputCurrencyProps) => JSX.Element;
6
+ };
7
+ export default InputCurrencyStories;
8
+ export declare const Primary: Story<InputCurrencyProps>;
@@ -0,0 +1 @@
1
+ export { default } from "./InputCurrency";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps as InputMaskProps } from "./MaskInput";
2
3
  import { Story } from "@storybook/react";
3
4
  declare const InputStories: {
@@ -9,10 +9,11 @@ export type NotificationsBarProps = {
9
9
  message?: string;
10
10
  notifications?: NotificationsProps[];
11
11
  onNotificationClick?: (notification: NotificationsProps, index: number) => void;
12
- left: number;
13
- right: number;
14
- top: number;
15
- bottom: number;
12
+ left?: number;
13
+ right?: number;
14
+ top?: number;
15
+ bottom?: number;
16
+ open?: boolean;
16
17
  };
17
18
  declare const NotificationBar: (props: NotificationsBarProps) => JSX.Element;
18
19
  export default NotificationBar;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { NotificationsBarProps } from "./NotificationsBar";
2
3
  import { Story } from "@storybook/react";
3
4
  declare const SearchStories: {
@@ -2,7 +2,7 @@ import "../../../src/theme/fonts/ProximaNova.css";
2
2
  export type MenuItem = {
3
3
  icon: string;
4
4
  text: string;
5
- onClick?: () => void;
5
+ onMenuClick?: () => void;
6
6
  };
7
7
  export type SideBarProps = {
8
8
  menu: MenuItem[];
@@ -18,5 +18,6 @@ export { default as TabMenu } from "./TabMenu";
18
18
  export { default as Toast } from "./Toast";
19
19
  export { default as Toggle } from "./Toggle";
20
20
  export { default as ProgressBar } from "./ProgressBar";
21
- export { default as MaskInput } from "./MaskInput";
22
21
  export { default as InputToken } from "./InputToken";
22
+ export { default as Table } from "./Table";
23
+ export { default as InputCurrency } from "./InputCurrency";