@typeolymp/ui-components 1.19.6 → 1.19.7

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.
@@ -8,7 +8,7 @@ export declare type PropsType = {
8
8
  disabled?: boolean;
9
9
  id?: string;
10
10
  onChange?(value: number): void;
11
- onBlur?(): void;
11
+ onBlur?(value?: number): void;
12
12
  };
13
13
  declare const Number: FC<PropsType>;
14
14
  export default Number;
package/build/index.es.js CHANGED
@@ -8030,7 +8030,7 @@ var Number$1 = function (props) {
8030
8030
  if (value !== newValue && !!props.onChange)
8031
8031
  onChange();
8032
8032
  if (!!props.onBlur)
8033
- props.onBlur();
8033
+ props.onBlur(newValue);
8034
8034
  };
8035
8035
  var decrease = function () {
8036
8036
  var value = parseInt(inputRef.current.value) - 1;