@prosperitainova/mirage-ui 1.0.73 → 1.0.75
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.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/lib/InputCurrency/InputCurrency.d.ts +3 -3
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/lib/InputCurrency/InputCurrency.d.ts +3 -3
- package/dist/index.d.ts +3 -3
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { InputHTMLAttributes, TextareaHTMLAttributes } from "react";
|
|
1
|
+
import { ChangeEvent, InputHTMLAttributes, TextareaHTMLAttributes } from "react";
|
|
2
2
|
import "../../../src/theme/fonts/ProximaNova.css";
|
|
3
3
|
export type InputCurrencyProps = InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
|
4
|
-
value?: string
|
|
4
|
+
value?: string;
|
|
5
5
|
error?: string | boolean;
|
|
6
6
|
success?: boolean;
|
|
7
7
|
helper?: string;
|
|
@@ -13,7 +13,7 @@ export type InputCurrencyProps = InputHTMLAttributes<HTMLInputElement> & Textare
|
|
|
13
13
|
required?: boolean;
|
|
14
14
|
disabled?: boolean;
|
|
15
15
|
type?: string;
|
|
16
|
-
onChange?: (e:
|
|
16
|
+
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
17
17
|
maxLength?: number;
|
|
18
18
|
fontSize?: "normal" | "large";
|
|
19
19
|
name?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React, { ButtonHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, HTMLAttributes, LiHTMLAttributes } from 'react';
|
|
2
|
+
import React, { ButtonHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, HTMLAttributes, ChangeEvent, LiHTMLAttributes } from 'react';
|
|
3
3
|
import { Props } from 'react-select';
|
|
4
4
|
|
|
5
5
|
type ItemsProps = {
|
|
@@ -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
|
|
261
|
+
value?: string;
|
|
262
262
|
error?: string | boolean;
|
|
263
263
|
success?: boolean;
|
|
264
264
|
helper?: string;
|
|
@@ -270,7 +270,7 @@ type InputCurrencyProps = InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAt
|
|
|
270
270
|
required?: boolean;
|
|
271
271
|
disabled?: boolean;
|
|
272
272
|
type?: string;
|
|
273
|
-
onChange?: (e:
|
|
273
|
+
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
274
274
|
maxLength?: number;
|
|
275
275
|
fontSize?: "normal" | "large";
|
|
276
276
|
name?: string;
|