Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rc-input-number

Package Overview
Dependencies
Maintainers
7
Versions
218
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-input-number - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

19

es/InputNumber.d.ts

@@ -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>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc