Commit Graph

186 Commits

Author SHA1 Message Date
Francisco Hodge
e88d0fdb12 2.21.0 2019-04-27 22:19:34 -04:00
Francisco Hodge
1b55cbe774 SyncInstanceInputs caret position and tests improvements. Fixes #65 2019-04-27 14:31:26 -04:00
Francisco Hodge
06873ec0d2 npm update 2019-04-18 10:15:51 -04:00
Francisco Hodge
2926b554a2 Tests update 2019-04-18 10:13:09 -04:00
Francisco Hodge
20d24d97fd caretPosition reset when inputName is changed through setOptions 2019-04-18 10:13:02 -04:00
Francisco Hodge
194c60c6c9 Fix mouseHold for preventMouseDownDefault 2019-04-18 09:01:22 -04:00
Francisco Hodge
2e20230cf7 Reset caret position on clearInput, replaceInput 2019-04-15 10:40:26 -04:00
Francisco Hodge
efc502741e Updated types 2019-04-09 20:40:14 -04:00
Francisco Hodge
f9d594b8a0 Updated types 2019-04-09 20:27:19 -04:00
Francisco Hodge
2afc8a1401 Updated dev dependencies 2019-03-26 23:31:52 -04:00
Francisco Hodge
dadad31fdd Tests update 2019-03-11 18:26:00 -04:00
Francisco Hodge
8582350774 Added stopMouseDownPropagation option 2019-03-11 18:25:51 -04:00
Francisco Hodge
39c4acba85 Tests update 2019-03-09 21:47:39 -05:00
Francisco Hodge
69b830c632 Added row button grouping functionality 2019-03-09 21:47:31 -05:00
Francisco Hodge
96206d1b47 Remove PointerEvents debug message when useMouseEvents is enabled 2019-03-07 21:26:22 -05:00
Francisco Hodge
90b67ec416 Support Utilities access through Typescript 2019-03-07 20:53:07 -05:00
Francisco Hodge
6208d5f7e1 Fixed getInput output when inputName is passed 2019-03-07 20:52:40 -05:00
Francisco Hodge
bd0274415b Fixed onChangeAll callback 2019-03-07 20:51:57 -05:00
Francisco Hodge
30941f4ba0 Adding useMouseEvents option 2019-03-07 20:51:29 -05:00
Francisco Hodge
6e54729f46 Tests update 2019-03-07 07:32:15 -05:00
Francisco Hodge
5ab58f2528 Using PointerEvents on browsers that support it 2019-03-07 07:32:07 -05:00
Francisco Hodge
ae1436a52d Reinstating method bindings 2019-03-06 20:22:09 -05:00
Francisco Hodge
ec983bf82b Build update 2019-03-06 20:00:48 -05:00
Francisco Hodge
0d82696868 Tests update 2019-03-06 19:45:08 -05:00
Francisco Hodge
477972f26f Build update 2019-03-06 19:37:49 -05:00
Francisco Hodge
18a3aa9dd5 Added methods beforeRender, beforeFirstRender 2019-03-06 19:33:28 -05:00
Francisco Hodge
c007f7406a Added enabling isMouseHold for delete and backspace buttons 2019-03-06 19:32:46 -05:00
Francisco Hodge
1a53fae5d6 Added isTouchDevice and touch device helper methods 2019-03-06 19:32:03 -05:00
Francisco Hodge
00f8daff3c Added binding of methods 2019-03-06 19:31:07 -05:00
Francisco Hodge
abacee54ee Updated tests 2019-03-06 19:30:06 -05:00
Francisco Hodge
93a45a7c26 Added internal getButtonTheme 2019-03-06 19:29:29 -05:00
Francisco Hodge
c4005e7409 Updated types 2019-03-06 19:28:24 -05:00
Francisco Hodge
ed944d1204 Added autoUseTouchEvents and related touch device fixes 2019-03-06 19:28:12 -05:00
Francisco Hodge
30042d5d72 Disable pointer events for .hg-button span elements 2019-03-06 19:25:55 -05:00
Francisco Hodge
bee709e3b5 Remove max-width for standard buttons 2019-02-25 20:26:30 -05:00
Francisco Hodge
70d2cca7ac Adding PrettierPlugin to build process 2019-02-15 21:49:27 -05:00
Francisco Hodge
effee00b87 Added new inputPattern option 2019-01-24 23:04:59 -05:00
Francisco Hodge
90b408eff6 Tests update 2019-01-24 23:03:48 -05:00
Francisco Hodge
21fa732b1f Types update 2019-01-24 23:03:23 -05:00
Francisco Hodge
c59f819db9 Tests update 2019-01-17 18:36:19 -05:00
Francisco Hodge
1f9efb0c66 Ensure caretPosition is unset on disableCaretPositioning 2019-01-17 18:36:09 -05:00
Francisco Hodge
6c2236f762 Adding types for disableCaretPositioning option 2019-01-16 19:38:42 -05:00
Francisco Hodge
c316d493c7 Tests update 2018-12-27 13:46:15 -05:00
Aleh Kashnikau
7432e01740
fixed camelCase function
Added check for empty word
2018-12-27 21:29:05 +03:00
Francisco Hodge
a5c177e41c Specifying layout class on keyboard element 2018-12-24 13:30:52 -05:00
Francisco Hodge
4335f477a1 Adding new option: useButtonTag 2018-12-14 00:28:18 -05:00
Francisco Hodge
d03f00c0d1 Updated devDependencies 2018-12-08 15:49:33 -05:00
Francisco Hodge
82e242a806 Modified getInput return type 2018-12-04 20:06:32 -05:00
Armno
4a9d485d5b
add return type for getButtonElement in type definition file 2018-12-04 10:42:05 +07:00
Francisco Hodge
6ffd2e77ad Improved Angular types support 2018-12-02 14:48:46 -05:00
Armno
ff037ad5b7
remove exporting KeyboardOptions interface 2018-11-28 12:43:13 +07:00
Armno
ede2ce04b1
add overloaded constructor type definition 2018-11-28 11:56:00 +07:00
Armno
10380099e6
add more types 2018-11-28 11:20:32 +07:00
Armno
b5cbfa780b add public methods type definitions 2018-11-27 23:43:20 +07:00
Armno
5c40dd3109
WIP: create type definition file 2018-11-27 19:57:08 +07:00
Francisco Hodge
0512e2c624 Fix full keyboard numpad cursor positioning 2018-11-25 21:48:08 -05:00
Francisco Hodge
125f6b6504 Tests update 2018-11-25 18:11:09 -05:00
Francisco Hodge
97b475a2b7 Setting preventMouseDownDefault false by default 2018-11-25 12:03:40 -05:00
Francisco Hodge
d8c1327eff Bind caret handler events once regardless of number of instances 2018-11-24 21:12:19 -05:00
Francisco Hodge
b8fc9425ba Demo test update 2018-11-24 21:10:47 -05:00
Francisco Hodge
5c42ae3fbb Demo update 2018-11-24 21:10:33 -05:00
Francisco Hodge
bc420bb60c Adding ternary condition for preventMouseDownDefault 2018-11-24 20:11:48 -05:00
Robert Stein
1aedf9c487 - changes mousedown event simulation so that event object is passed
to `onmousedown` handler
2018-11-24 16:43:30 +01:00
Robert Stein
0052efa582 - preventDefault is now called for mousedown event by default
- this can be disabled by setting preventMouseDownDefault to false
2018-11-24 16:29:13 +01:00
Francisco Hodge
316319a311 Tests update 2018-11-19 09:32:04 -05:00
Francisco Hodge
d38433be1c Fix buttonHold issue 2018-11-19 09:29:49 -05:00
Francisco Hodge
366f4cd98e Fix clearInput issue 2018-11-19 09:25:27 -05:00
Francisco Hodge
e6d6c78389 Updating tests 2018-11-16 23:30:57 -05:00
Julien Sergent
f8fb18e244 feat(Keyboard): add touch events
Can be enabled passing `useTouchEvents` option to the Keyboard constructor.
2018-11-15 17:05:39 +01:00
Francisco Hodge
7698e29373 2.8.0 - Webpack 4, Babel 7 2018-11-09 11:06:46 -05:00
Francisco Hodge
d1100cef92 Fixing caret issue when using maxLength 2018-11-05 17:34:16 -05:00
Francisco Hodge
9abb36172d Adding disableCaretPositioning option 2018-11-04 17:25:39 -05:00
Francisco Hodge
2eb88579ca Button hold adjustment 2018-11-03 01:39:41 -04:00
Francisco Hodge
550715001d Adjusting button hold handler 2018-11-01 12:46:30 -04:00
Francisco Hodge
265f88c7d6 Adding onModulesLoaded 2018-11-01 00:16:11 -04:00
Francisco Hodge
824c3578d0 Add class per plugin 2018-10-31 19:48:17 -04:00
Francisco Hodge
7c5f0528f2 Adjusting module loading 2018-10-31 18:43:23 -04:00
Francisco Hodge
843db06345 Module handling improvements 2018-10-31 17:57:33 -04:00
Francisco Hodge
6001d044f2 Tests update 2018-10-31 17:57:14 -04:00
Francisco Hodge
472df83482 Tests update 2018-10-30 23:38:56 -04:00
Francisco Hodge
cfdf7574ca Tests update 2018-10-30 23:28:39 -04:00
Francisco Hodge
d567b3ac01 Enhancing add-on compatibility 2018-10-30 23:28:23 -04:00
Francisco Hodge
3070479369 build update 2018-10-24 20:27:29 -04:00
Francisco Hodge
fe0036f88e Removing uneeded logging 2018-10-24 18:43:44 -04:00
Francisco Hodge
f284eed9ef Removing unneeded logging 2018-10-24 18:39:45 -04:00
Francisco Hodge
2e3ca5716b Docs update 2018-10-24 18:18:24 -04:00
Francisco Hodge
ce949fdae1 Readme update 2018-10-17 14:53:20 -04:00
Francisco Hodge
3c5b94abf8 2.6.0 cleanup 2018-10-16 17:31:13 -04:00
Francisco Hodge
48c4e362b3 Demo adjustments 2018-10-16 17:29:32 -04:00
Francisco Hodge
befa988090 Updated CI tests 2018-10-16 17:26:21 -04:00
Francisco Hodge
025e351583 tests update 2018-10-14 22:46:10 -04:00
Francisco Hodge
fec9d24a19 Fix caret positioning 2018-10-12 18:14:22 -04:00
Francisco Hodge
e8216fee35 Demo update 2018-10-10 12:20:10 -04:00
Francisco Hodge
4f5af90d8d Fix curly brace output 2018-10-10 12:20:02 -04:00
Francisco Hodge
6e83a1f402 Adding highlighting support for control, alt, meta keys 2018-10-07 22:16:15 -04:00
Francisco Hodge
88b804643b Removing caret position reset 2018-10-06 22:25:29 -04:00
Francisco Hodge
ab6b54dc43 Fix mixed props 2018-10-06 13:49:31 -04:00
Francisco Hodge
0c773151c7 Avoid cursor position change when maxLength is set 2018-10-06 13:35:33 -04:00
Francisco Hodge
9633c99dad Caret bounds fix 2018-10-06 04:06:09 -04:00
Francisco Hodge
92bae5f3fb Demo update 2018-10-06 02:31:09 -04:00