ri
5.0/51

react-imask

npm i react-imask

53 Versions

6.4.3

latest
2 months ago
  • fix bugs

6.4.3-alpha.1

3 months ago

6.4.3-alpha.0

3 months ago

6.4.2

10 months ago
  • React: now possible to pass ref to IMaskInput and get access to internal instance of Masked
  • React: fix types for IMaskInput #608
  • fix bugs around using eager with dynamic mask
  • update deps

6.4.1

10 months ago

6.4.1-alpha.0

10 months ago

6.4.0

10 months ago
  • refactor cursor positioning for pattern mask (seems i understand now how it works)
  • add new overflow: 'shift' flag
  • fix bugs

6.3.0

10 months ago

6.3.0-alpha.0

10 months ago

6.2.2

1 year ago
  • add Vue 3 support (via vue-demi) and useIMask composable. See install notes for using with Vue 2
  • add React hook and typings (thanks to Siarhei Dzeraviannik @ EPAM)
  • small fixes for Angular plugin
  • fix issues with typings

6.2.1

1 year ago

6.2.0

1 year ago

6.1.0

1 year ago
  • update angular plugin to work with Angular 12+
  • fix some typings
  • update deps

6.0.7

2 years ago
  • small bug fixes
  • fix esm builds

6.0.6

2 years ago

6.0.5

3 years ago
  • minor bug fixes

6.0.3

3 years ago
  • small bug fixes
  • use globalThis from core-js only in polyfill
  • update deps
  • Angular: add ivy support
  • Svelte: fix action, add external maskRef support

6.0.2

3 years ago

6.0.1

3 years ago
  • fix some minor bugs

6.0.0

3 years ago

6.0.0-alpha.0

beta
3 years ago

5.2.1

3 years ago
  • Angular: remove onTouched trigger on change
  • fix esm exports
  • update deps

5.2.0

3 years ago
  • add esm build (package.module)
  • fix update options for Angular
  • fix overwrite option for dynamic mask
  • update deps

5.1.9

3 years ago

Angular: use ng-packagr

Many thanks to @listepo-alterpost!


5.1.8

3 years ago
  • fix babel config, now should work in IE 11
  • fix typings

Many thanks to @AxelMarckx @git4spsumar!


5.1.7

3 years ago
  • fix bugs with pattern and dynamic masks
  • improve typings
  • update deps

5.1.6

3 years ago
  • fix bugs

Many thanks to @ejuo @listepo-alterpost for contributing!


5.1.5

4 years ago
  • fix bugs

5.1.4

4 years ago
  • fix npm packages content

5.1.3

4 years ago
  • fix bugs thanks to @mucer @Odrin @WiseBird

5.1.2

4 years ago
  • fix bug with setting value in overwrite mode #171

Thanks to @AriasBros!


5.1.1

4 years ago
  • fix #162
  • add missed typings for autofix option

5.1.0

4 years ago
  • add autofix option for Range and Date masks. Note, that for Date mask this option works only on block level and does not consider whole date (e.g. 31.02.1990 will not be fixed)

5.0.0

4 years ago
  • add typescript typings
  • new overwrite mode (example)
  • Number mask:
    • empty value in input is allowed when min > 0
    • thousandsSeparator now can be of any length
    • better cursor positioning
  • Pattern mask: improved nested blocks processing with stops
  • use blur event instead of change to commit changes (can be changed back in IMask.HTMLMaskElement.EVENTS_MAP)
  • update dependencies

Many thanks to @ivanov-v !


4.1.5

4 years ago

4.1.4

4 years ago
  • fix minor bugs
  • update deps

Special thanks to @c01nd01r and @ryanbuening. With your support i am still able to allocate some time on improving imask. Thank you, guys! And Happy New Year!


4.1.3

4 years ago
  • fix bugs with updating options

Thanks to @ryanbuening


4.1.2

4 years ago

4.1.1

4 years ago

Fix bugs. React: add inputRef prop to IMaskElement to get access to element, see https://github.com/uNmAnNeR/imaskjs/pull/112, thanks to @iseredov


4.1.0

4 years ago

Some bugs fixed.

Core:

  • update dependencies
  • use fixed core dependency version for plugins

Angular plugin:


4.0.0

4 years ago

IMask became recursive! Nested masks now can be used with Pattern mask as independent blocks.

Pattern Groups were removed:

  • instead MaskedPattern.PatternGroup.Range and MaskedPattern.PatternGroup.Enum use MaskedRange and MaskedEnum
  • groups option renamed to blocks
  • Date mask changed accordingly

All dependencies were updated, babel 7 is used. Some bugs were fixed. Many other internal changes and improvements. That was a huge refactoring!


3.4.0

5 years ago

3.3.0

5 years ago
  • add typedValue mask property. Can be useful for typed masks like Number or Date.
  • add unmask='typed' option to plugins

3.2.4

5 years ago
  • discard rollup-plugin-multi-entry

3.2.3

5 years ago
  • update dependencies
  • fix some bugs

3.2.2

5 years ago
  • Use Lerna and switch to fixed versioning mode
  • Switch PhantomJS to Puppeteer
  • Align cursor on focus

2.2.1

5 years ago

2.2.0

5 years ago

2.1.0

5 years ago
  • split pattern placeholder option to placeholderChar and placeholderLazy
  • unwrap postFormat options
  • use pkg.module option (thanks to @marcobiedermann)
  • ready to publish React plugin (thanks to @yordis)

2.0.0

5 years ago
  • dynamic/on-the-fly masking, e.g.
  • fix some bugs and refactor

1.0.0

5 years ago
  • major API changes and improvements
  • new Masked model abstraction
  • new InputMask view abstraction
  • new Number mask
  • new Date mask
  • Pipe mask was removed (use function composition and/or inherite from Masked instead)
  • Common: rename rawValue prop to value
  • Common: use updateOptions now to update any masked properties and sync with view
  • Pattern: change quote (') definition to back quote (`)
  • Pattern: lazy property is now of Boolean type
  • fix some bugs

0.1.0

5 years ago
  • add mask types: function, regexp, BaseMask and
  • pattern
    • lazy and always modes
    • fixed and optional input parts
    • get and set raw and unmasked values
    • custom symbol definitions
    • accept and complete events

0.0.1

5 years ago

53 Versions

TagPublished
6.4.3latest2mos ago
6.4.3-alpha.13mos ago
6.4.3-alpha.03mos ago
6.4.210mos ago
6.4.110mos ago
6.4.1-alpha.010mos ago
6.4.010mos ago
6.3.010mos ago
6.3.0-alpha.010mos ago
6.2.21yr ago
6.2.11yr ago
6.2.01yr ago
6.1.01yr ago
6.0.72yrs ago
6.0.62yrs ago
6.0.53yrs ago
6.0.33yrs ago
6.0.23yrs ago
6.0.13yrs ago
6.0.03yrs ago
6.0.0-alpha.0beta3yrs ago
5.2.13yrs ago
5.2.03yrs ago
5.1.93yrs ago
5.1.83yrs ago
5.1.73yrs ago
5.1.63yrs ago
5.1.54yrs ago
5.1.44yrs ago
5.1.34yrs ago
5.1.24yrs ago
5.1.14yrs ago
5.1.04yrs ago
5.0.04yrs ago
4.1.54yrs ago
4.1.44yrs ago
4.1.34yrs ago
4.1.24yrs ago
4.1.14yrs ago
4.1.04yrs ago
4.0.04yrs ago
3.4.05yrs ago
3.3.05yrs ago
3.2.45yrs ago
3.2.35yrs ago
3.2.25yrs ago
2.2.15yrs ago
2.2.05yrs ago
2.1.05yrs ago
2.0.05yrs ago
1.0.05yrs ago
0.1.05yrs ago
0.0.15yrs ago