@prosperitainova/mirage-ui 1.0.61 → 1.0.63

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,10 +1,10 @@
1
1
  import { ButtonHTMLAttributes } from "react";
2
2
  import "../../../src/theme/fonts/ProximaNova.css";
3
3
  export type DropdownOptions = {
4
- value: string;
5
- label: string;
4
+ value?: string;
5
+ label?: string;
6
6
  color?: string;
7
- onClick?: (value: string) => void;
7
+ onClick?: () => void;
8
8
  };
9
9
  export type ButtonDropdownProps = ButtonHTMLAttributes<HTMLButtonElement> & {
10
10
  mode: "main" | "border";
@@ -16,7 +16,6 @@ export type InputCurrencyProps = InputHTMLAttributes<HTMLInputElement> & Textare
16
16
  onChange?: (e: any) => void;
17
17
  maxLength?: number;
18
18
  fontSize?: "normal" | "large";
19
- isPercentage?: boolean;
20
19
  };
21
20
  declare const InputCurrency: (props: InputCurrencyProps) => JSX.Element;
22
21
  export default InputCurrency;
package/dist/index.d.ts CHANGED
@@ -36,10 +36,10 @@ type ReturnButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
36
36
  declare const ReturnButton: (props: ReturnButtonProps) => JSX.Element;
37
37
 
38
38
  type DropdownOptions$1 = {
39
- value: string;
40
- label: string;
39
+ value?: string;
40
+ label?: string;
41
41
  color?: string;
42
- onClick?: (value: string) => void;
42
+ onClick?: () => void;
43
43
  };
44
44
  type ButtonDropdownProps = ButtonHTMLAttributes<HTMLButtonElement> & {
45
45
  mode: "main" | "border";
@@ -273,7 +273,6 @@ type InputCurrencyProps = InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAt
273
273
  onChange?: (e: any) => void;
274
274
  maxLength?: number;
275
275
  fontSize?: "normal" | "large";
276
- isPercentage?: boolean;
277
276
  };
278
277
  declare const InputCurrency: (props: InputCurrencyProps) => JSX.Element;
279
278
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosperitainova/mirage-ui",
3
- "version": "1.0.61",
3
+ "version": "1.0.63",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "publishConfig": {