rc-input-number
Advanced tools
Comparing version 6.0.0 to 6.0.1
@@ -0,1 +1,2 @@ | ||
/// <reference types="node" /> | ||
import React from 'react'; | ||
@@ -22,13 +23,13 @@ import { InputNumberProps, InputNumberState } from './interface'; | ||
}; | ||
pressingUpOrDown: any; | ||
inputting: any; | ||
pressingUpOrDown: boolean; | ||
inputting: boolean; | ||
rawInput: any; | ||
cursorStart: any; | ||
cursorAfter: any; | ||
input: any; | ||
cursorStart: number; | ||
cursorAfter: number | string; | ||
input: HTMLInputElement; | ||
lastKeyCode: any; | ||
currentValue: number; | ||
cursorEnd: any; | ||
cursorBefore: any; | ||
autoStepTimer: any; | ||
currentValue: number | string; | ||
cursorEnd: number; | ||
cursorBefore: string; | ||
autoStepTimer: NodeJS.Timer; | ||
constructor(props: InputNumberProps); | ||
@@ -35,0 +36,0 @@ componentDidMount(): void; |
@@ -757,3 +757,4 @@ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; | ||
onPaste = _this$props5.onPaste, | ||
rest = _objectWithoutProperties(_this$props5, ["prefixCls", "disabled", "readOnly", "useTouch", "autoComplete", "upHandler", "downHandler", "className", "max", "min", "style", "title", "onMouseEnter", "onMouseLeave", "onMouseOver", "onMouseOut", "required", "onClick", "tabIndex", "type", "placeholder", "id", "inputMode", "pattern", "step", "maxLength", "autoFocus", "name", "onPaste"]); | ||
onInput = _this$props5.onInput, | ||
rest = _objectWithoutProperties(_this$props5, ["prefixCls", "disabled", "readOnly", "useTouch", "autoComplete", "upHandler", "downHandler", "className", "max", "min", "style", "title", "onMouseEnter", "onMouseLeave", "onMouseOver", "onMouseOut", "required", "onClick", "tabIndex", "type", "placeholder", "id", "inputMode", "pattern", "step", "maxLength", "autoFocus", "name", "onPaste", "onInput"]); | ||
@@ -868,3 +869,4 @@ var _this$state = this.state, | ||
pattern: pattern, | ||
inputMode: inputMode | ||
inputMode: inputMode, | ||
onInput: onInput | ||
}, dataOrAriaAttributeProps)))); | ||
@@ -871,0 +873,0 @@ } |
@@ -0,1 +1,2 @@ | ||
/// <reference types="node" /> | ||
import React from 'react'; | ||
@@ -22,13 +23,13 @@ import { InputNumberProps, InputNumberState } from './interface'; | ||
}; | ||
pressingUpOrDown: any; | ||
inputting: any; | ||
pressingUpOrDown: boolean; | ||
inputting: boolean; | ||
rawInput: any; | ||
cursorStart: any; | ||
cursorAfter: any; | ||
input: any; | ||
cursorStart: number; | ||
cursorAfter: number | string; | ||
input: HTMLInputElement; | ||
lastKeyCode: any; | ||
currentValue: number; | ||
cursorEnd: any; | ||
cursorBefore: any; | ||
autoStepTimer: any; | ||
currentValue: number | string; | ||
cursorEnd: number; | ||
cursorBefore: string; | ||
autoStepTimer: NodeJS.Timer; | ||
constructor(props: InputNumberProps); | ||
@@ -35,0 +36,0 @@ componentDidMount(): void; |
@@ -772,3 +772,4 @@ "use strict"; | ||
onPaste = _this$props5.onPaste, | ||
rest = (0, _objectWithoutProperties2.default)(_this$props5, ["prefixCls", "disabled", "readOnly", "useTouch", "autoComplete", "upHandler", "downHandler", "className", "max", "min", "style", "title", "onMouseEnter", "onMouseLeave", "onMouseOver", "onMouseOut", "required", "onClick", "tabIndex", "type", "placeholder", "id", "inputMode", "pattern", "step", "maxLength", "autoFocus", "name", "onPaste"]); | ||
onInput = _this$props5.onInput, | ||
rest = (0, _objectWithoutProperties2.default)(_this$props5, ["prefixCls", "disabled", "readOnly", "useTouch", "autoComplete", "upHandler", "downHandler", "className", "max", "min", "style", "title", "onMouseEnter", "onMouseLeave", "onMouseOver", "onMouseOut", "required", "onClick", "tabIndex", "type", "placeholder", "id", "inputMode", "pattern", "step", "maxLength", "autoFocus", "name", "onPaste", "onInput"]); | ||
var _this$state = this.state, | ||
@@ -882,3 +883,4 @@ value = _this$state.value, | ||
pattern: pattern, | ||
inputMode: inputMode | ||
inputMode: inputMode, | ||
onInput: onInput | ||
}, dataOrAriaAttributeProps)))); | ||
@@ -885,0 +887,0 @@ } |
{ | ||
"name": "rc-input-number", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"description": "React input-number component", | ||
@@ -64,4 +64,4 @@ "keywords": [ | ||
"sinon": "^9.0.1", | ||
"typescript": "^3.7.2" | ||
"typescript": "^4.0.2" | ||
} | ||
} |
@@ -58,3 +58,3 @@ # rc-input-number | ||
online example: http://react-component.github.io/input-number/examples/ | ||
online example: http://react-component.github.io/input-number/examples | ||
@@ -178,2 +178,8 @@ ## API | ||
<tr> | ||
<td>onBlur</td> | ||
<td>Function</td> | ||
<td></td> | ||
<td>Called when user leaves an input field</td> | ||
</tr> | ||
<tr> | ||
<td>onPressEnter</td> | ||
@@ -180,0 +186,0 @@ <td>Function</td> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
82039
1845
268
0