Skip to content

Releases: insin/react-maskedinput

v4.0.1

26 Jan 02:49
Compare
Choose a tag to compare

4.0.1 / 2018-01-26 🇦🇺

  • Fix auto-fill scenarios by using data from onChange events [#112]

  • Fix wrong scope in onPaste event [#108]

  • Include React 16 in peerDependencies [#115]

  • Update nwb to 0.21.x to fix UMD build, which was exporting an object with a default property

v4.0.0

04 Jul 05:17
Compare
Choose a tag to compare

4.0.0 / 2017-07-04

  • Potential breaking change as the peerDependencies range has been changed from "0.14.x || 15.x" to "^0.14.9 || ^15.3.0".

  • Use React.Component instead of React.createClass and the prop-types package instead of React.PropTypes to silence deprecation warnings [#94] [krvital]

  • Update nwb to 0.17.x:

    • module config replaces jsnext:main in package.json to specify the location of the ES6 modules build.
    • prop-types is bundled with the UMD development build and stripped from the production build, along with usage of propTypes.

v3.1.0

11 Feb 15:56
Compare
Choose a tag to compare
  • Added support for value behaving as a controlled component.

v3.0.0

23 Oct 05:28
Compare
Choose a tag to compare

Breaking change: Now uses a mask prop to define the input mask instead of pattern, to avoid preventing use of the the HTML5 pattern attribute in conjunction with the input mask.

Breaking change: React >= 0.14 is now required.

React 0.14 compatibility. [jquense]

Updated to inputmask-core@2.1.1

Updates based on inputmask-core@2.1.0:

  • Added placeholderChar prop to configure the placeholder character.
  • The mask's pattern is now changed if the pattern prop changes - the user's input so far is replayed with the new pattern (with mixed results - TBD).

UMD build is now available via npm in dist/. [muffinresearch]

v2.0.0

07 Apr 13:01
Compare
Choose a tag to compare

Updated to inputmask-core@2.0.0

Added undo/redo when Ctrl/Command + Z/Y are used.

v1.1.0

26 Mar 17:43
Compare
Choose a tag to compare

Updated to inputmask-core@1.2.0

A formatCharacters prop can now be passed to configure input mask format characters.

v1.0.0

25 Mar 20:50
Compare
Choose a tag to compare

Initial release features:

  • Based on inputmaask-core@1.1.0
  • Basic editing works:
    • Typing, backspacing, pasting, cutting and deleting
    • Invalid content will be ignored if typed or pasted
    • Static parts of the mask can't be modfied
    • Editing operations can handle text selections
    • Tested in latest versions of Firefox, Chrome, Opera and IE
  • Placeholder generation and display when the mask has no user input