@prosperitainova/mirage-ui 1.0.45 → 1.0.46
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 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/lib/InputCurrency/InputCurrency.d.ts +3 -1
- package/dist/index.d.ts +7 -4
- package/package.json +1 -1
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import "../../../src/theme/fonts/ProximaNova.css";
|
|
3
2
|
export type InputCurrencyProps = {
|
|
4
3
|
value?: string | number | boolean | readonly string[] | undefined;
|
|
4
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
name?: string;
|
|
5
7
|
error?: string | boolean;
|
|
6
8
|
success?: boolean;
|
|
7
9
|
helper?: 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$1, { ButtonHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, HTMLAttributes, LiHTMLAttributes } from 'react';
|
|
3
3
|
import { Props } from 'react-select';
|
|
4
4
|
|
|
5
5
|
type ItemsProps = {
|
|
@@ -59,8 +59,8 @@ type CheckboxProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
|
59
59
|
checked?: boolean;
|
|
60
60
|
position?: "top" | "bottom" | "left" | "right";
|
|
61
61
|
name?: string;
|
|
62
|
-
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
63
|
-
onClick?: (event: React.MouseEvent<HTMLInputElement>) => void;
|
|
62
|
+
onChange?: (event: React$1.ChangeEvent<HTMLInputElement>) => void;
|
|
63
|
+
onClick?: (event: React$1.MouseEvent<HTMLInputElement>) => void;
|
|
64
64
|
};
|
|
65
65
|
declare const Checkbox: ({ onChange, ...props }: CheckboxProps) => JSX.Element;
|
|
66
66
|
|
|
@@ -261,6 +261,9 @@ declare const Table: (props: TableProps) => JSX.Element;
|
|
|
261
261
|
|
|
262
262
|
type InputCurrencyProps = {
|
|
263
263
|
value?: string | number | boolean | readonly string[] | undefined;
|
|
264
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
265
|
+
placeholder?: string;
|
|
266
|
+
name?: string;
|
|
264
267
|
error?: string | boolean;
|
|
265
268
|
success?: boolean;
|
|
266
269
|
helper?: string;
|
|
@@ -305,7 +308,7 @@ type ParcelSelectorProps = {
|
|
|
305
308
|
value: number;
|
|
306
309
|
onChange: (value: number) => void;
|
|
307
310
|
};
|
|
308
|
-
declare const ParcelSelector: React.FC<ParcelSelectorProps>;
|
|
311
|
+
declare const ParcelSelector: React$1.FC<ParcelSelectorProps>;
|
|
309
312
|
|
|
310
313
|
type DropContainerProps = {
|
|
311
314
|
open?: boolean;
|