@prosperitainova/mirage-ui 1.0.69 → 1.0.71

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 | undefined;
4
+ value?: string | number;
5
5
  error?: string | boolean;
6
6
  success?: boolean;
7
7
  helper?: string;
@@ -0,0 +1 @@
1
+ export declare const handleCurrencyInput: (string: string, noLeadingZeros?: boolean, thousandSeparator?: string, decimalSeparator?: string) => string;
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 | undefined;
261
+ value?: string | number;
262
262
  error?: string | boolean;
263
263
  success?: boolean;
264
264
  helper?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosperitainova/mirage-ui",
3
- "version": "1.0.69",
3
+ "version": "1.0.71",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "publishConfig": {