@prosperitainova/mirage-ui 1.0.50 → 1.0.51

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,16 +1,22 @@
1
- /// <reference types="react" />
2
- export type InputCurrencyProps = {
1
+ import { InputHTMLAttributes, TextareaHTMLAttributes } from "react";
2
+ import "../../../src/theme/fonts/ProximaNova.css";
3
+ export type InputCurrencyProps = InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAttributes<HTMLTextAreaElement> & {
3
4
  value?: string | number | boolean | readonly string[] | undefined;
4
- onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
5
- placeholder?: string;
6
- name?: string;
7
5
  error?: string | boolean;
8
6
  success?: boolean;
9
7
  helper?: string;
10
8
  label?: string;
11
- disabled?: boolean;
9
+ newPassword?: boolean;
10
+ newPasswordLevel?: string;
11
+ search?: boolean;
12
+ mask?: string;
12
13
  required?: boolean;
14
+ disabled?: boolean;
13
15
  type?: string;
16
+ onChange?: (e: any) => void;
17
+ maxLength?: number;
18
+ fontSize?: "normal" | "large";
19
+ prefix?: string;
14
20
  };
15
21
  declare const InputCurrency: (props: InputCurrencyProps) => JSX.Element;
16
22
  export default InputCurrency;
@@ -1,9 +1,8 @@
1
- /// <reference types="react" />
2
1
  import { InputCurrencyProps } from "./InputCurrency";
3
2
  import { Story } from "@storybook/react";
4
- declare const InputCurrencyStories: {
3
+ declare const InputNumberStories: {
5
4
  title: string;
6
5
  component: (props: InputCurrencyProps) => JSX.Element;
7
6
  };
8
- export default InputCurrencyStories;
9
- export declare const Primary: Story<InputCurrencyProps>;
7
+ export default InputNumberStories;
8
+ export declare const Number: Story<InputCurrencyProps>;
@@ -1,10 +1,15 @@
1
- import { HTMLAttributes } from "react";
2
- import { RadioProps } from "../RadioGroup/Radio";
1
+ import React, { HTMLAttributes } from "react";
3
2
  import "../../../src/theme/fonts/ProximaNova.css";
4
3
  import "bootstrap/dist/css/bootstrap.min.css";
4
+ export type OptionsProps = {
5
+ title: string;
6
+ description: string;
7
+ value: string;
8
+ setIndex?: (event: React.MouseEvent<HTMLDivElement>) => void;
9
+ };
5
10
  export type RadioGroupProps = HTMLAttributes<HTMLDivElement> & {
6
11
  display: "row" | "column";
7
- options: RadioProps[];
12
+ options: OptionsProps[];
8
13
  value?: string;
9
14
  onChange?: (value: string, index: number) => void;
10
15
  wrap?: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ReturnButtonProps } from "./ReturnButton";
2
3
  import { Story } from "@storybook/react";
3
4
  declare const ButtonStories: {