@unizap/uniui 1.0.50 → 1.0.51

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.
@@ -3,6 +3,7 @@ import { default as React } from 'react';
3
3
  export interface DialogProps {
4
4
  open?: boolean;
5
5
  onClose?: () => void;
6
+ shouldClose?: boolean;
6
7
  className?: string;
7
8
  title?: string;
8
9
  children: React.ReactNode;
@@ -0,0 +1,4 @@
1
+ import { INumberInputProps } from './NumberInput.types';
2
+
3
+ declare const NumberInput: import('react').ForwardRefExoticComponent<INumberInputProps & import('react').RefAttributes<HTMLInputElement>>;
4
+ export default NumberInput;
@@ -0,0 +1,16 @@
1
+ export interface INumberInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> {
2
+ placeholder?: string;
3
+ value?: string;
4
+ onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
5
+ labelClass?: string;
6
+ className?: string;
7
+ inputClass?: string;
8
+ iconStyle?: string;
9
+ startIcon?: React.ReactNode;
10
+ endIcon?: React.ReactNode;
11
+ error?: string;
12
+ maxLength?: number;
13
+ label?: string;
14
+ variant?: 'outlined' | 'filled';
15
+ size?: 'small' | 'medium' | 'large';
16
+ }
@@ -0,0 +1 @@
1
+ export { default } from './NumberInput';
@@ -14,6 +14,7 @@ export { default as List } from './List';
14
14
  export { default as ListItem } from './List/ListItem';
15
15
  export { default as Backdrop } from './Backdrop';
16
16
  export { default as TextInput } from './TextInput';
17
+ export { default as NumberInput } from './NumberInput';
17
18
  export { default as Skeleton } from './Skeleton';
18
19
  export { default as TextArea } from './TextArea';
19
20
  export { default as Slider } from './Slider';