@yusr_systems/ui 6.0.17 → 6.0.18

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/index.d.ts CHANGED
@@ -836,10 +836,11 @@ declare interface NumberFieldProps extends NumberInputProps {
836
836
  required?: boolean;
837
837
  }
838
838
 
839
- export declare function NumberInput({ onChange, min, max, isInvalid, className, ...props }: NumberInputProps): JSX.Element;
839
+ export declare function NumberInput({ value, onChange, min, max, isInvalid, className, ...props }: NumberInputProps): JSX.Element;
840
840
 
841
- export declare interface NumberInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange"> {
841
+ export declare interface NumberInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value"> {
842
842
  isInvalid?: boolean;
843
+ value?: string | number;
843
844
  onChange?: (val: number | undefined) => void;
844
845
  }
845
846