@prosperitainova/mirage-ui 1.0.62 → 1.0.64

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,7 +1,7 @@
1
1
  import { InputHTMLAttributes, TextareaHTMLAttributes } from "react";
2
2
  import "../../../src/theme/fonts/ProximaNova.css";
3
3
  export type InputCurrencyProps = InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAttributes<HTMLTextAreaElement> & {
4
- value?: string | number | boolean | readonly string[] | undefined;
4
+ value?: string | number | undefined;
5
5
  error?: string | boolean;
6
6
  success?: boolean;
7
7
  helper?: string;
@@ -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;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputCurrencyProps } from "./InputCurrency";
2
3
  import { Story } from "@storybook/react";
3
4
  declare const InputNumberStories: {
@@ -0,0 +1,2 @@
1
+ declare const SaldoInserter: () => JSX.Element;
2
+ export default SaldoInserter;
package/dist/index.d.ts CHANGED
@@ -258,7 +258,7 @@ type TableProps = {
258
258
  declare const Table: (props: TableProps) => JSX.Element;
259
259
 
260
260
  type InputCurrencyProps = InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAttributes<HTMLTextAreaElement> & {
261
- value?: string | number | boolean | readonly string[] | undefined;
261
+ value?: string | number | undefined;
262
262
  error?: string | boolean;
263
263
  success?: boolean;
264
264
  helper?: string;
@@ -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.62",
3
+ "version": "1.0.64",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -10,9 +10,10 @@
10
10
  "@fortawesome/free-regular-svg-icons": "^6.2.1",
11
11
  "bootstrap": "^5.2.3",
12
12
  "react-currency-input": "^1.3.6",
13
+ "react-currency-input-field": "^3.6.11",
13
14
  "react-dropzone": "^14.2.3",
14
15
  "react-input-mask": "^2.0.4",
15
- "react-number-format": "4.7.3",
16
+ "react-number-format": "^5.2.2",
16
17
  "react-select": "^5.7.0",
17
18
  "typescript": "^4.9.4"
18
19
  },