Compare commits

..

262 Commits

Author SHA1 Message Date
Francisco Hodge
56fc194ad6 Added physicalKeyboardHighlightPress option. Fixes #735 2020-10-20 20:54:31 -04:00
Francisco Hodge
114f82525f Build update 2020-10-20 18:29:14 +00:00
Francisco Hodge
dd34621720 2.31.12 2020-10-20 18:29:09 +00:00
Francisco Hodge
0aac95f608 Update stale.yml 2020-10-20 14:27:11 -04:00
Francisco Hodge
6c8c34dfe1 Build update 2020-10-19 23:38:38 +00:00
Francisco Hodge
54082f1b95 2.31.11 2020-10-19 23:38:33 +00:00
dependabot-preview[bot]
a949ee7926 Merge pull request #744 from hodgef/dependabot/npm_and_yarn/resolve-1.18.1 2020-10-19 23:37:06 +00:00
Francisco Hodge
e0a055284e Build update 2020-10-19 23:35:03 +00:00
Francisco Hodge
1f4f46a1a2 2.31.10 2020-10-19 23:34:58 +00:00
dependabot-preview[bot]
28ba4daf8c Bump resolve from 1.17.0 to 1.18.1
Bumps [resolve](https://github.com/browserify/resolve) from 1.17.0 to 1.18.1.
- [Release notes](https://github.com/browserify/resolve/releases)
- [Commits](https://github.com/browserify/resolve/compare/v1.17.0...v1.18.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 23:34:11 +00:00
dependabot-preview[bot]
337ded8311 Merge pull request #746 from hodgef/dependabot/npm_and_yarn/jest-resolve-26.6.0 2020-10-19 23:33:21 +00:00
Francisco Hodge
6edc53285a Build update 2020-10-19 23:33:02 +00:00
Francisco Hodge
3511e26c6d 2.31.9 2020-10-19 23:32:57 +00:00
dependabot-preview[bot]
2edf58291b Merge pull request #747 from hodgef/dependabot/npm_and_yarn/babel-jest-26.6.0 2020-10-19 23:31:28 +00:00
dependabot-preview[bot]
86c9251861 Bump jest-resolve from 26.5.2 to 26.6.0
Bumps [jest-resolve](https://github.com/facebook/jest/tree/HEAD/packages/jest-resolve) from 26.5.2 to 26.6.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v26.6.0/packages/jest-resolve)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 23:30:44 +00:00
Francisco Hodge
92414394ee Build update 2020-10-19 23:29:10 +00:00
Francisco Hodge
3db163a406 2.31.8 2020-10-19 23:29:05 +00:00
dependabot-preview[bot]
4c8001bba5 Bump babel-jest from 26.5.2 to 26.6.0
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 26.5.2 to 26.6.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v26.6.0/packages/babel-jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 23:28:48 +00:00
dependabot-preview[bot]
e6b9cc43e0 Merge pull request #745 from hodgef/dependabot/npm_and_yarn/jest-26.6.0 2020-10-19 23:27:47 +00:00
Francisco Hodge
cf0507a097 Build update 2020-10-19 23:25:27 +00:00
Francisco Hodge
bc65517097 2.31.7 2020-10-19 23:25:22 +00:00
dependabot-preview[bot]
3d1dbea26b Bump jest from 26.5.3 to 26.6.0
Bumps [jest](https://github.com/facebook/jest) from 26.5.3 to 26.6.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.5.3...v26.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 23:25:12 +00:00
dependabot-preview[bot]
d2f271bce3 Merge pull request #743 from hodgef/dependabot/npm_and_yarn/mini-css-extract-plugin-1.1.0 2020-10-19 23:24:12 +00:00
dependabot-preview[bot]
ce2f132433 Bump mini-css-extract-plugin from 1.0.0 to 1.1.0
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v1.0.0...v1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 23:21:27 +00:00
Francisco Hodge
78544a2aee Build update 2020-10-17 11:30:13 +00:00
Francisco Hodge
5ddfcdcb5c 2.31.6 2020-10-17 11:30:07 +00:00
dependabot-preview[bot]
808fdd4a8d Merge pull request #740 from hodgef/dependabot/npm_and_yarn/babel/plugin-proposal-class-properties-7.12.1 2020-10-17 11:28:46 +00:00
dependabot-preview[bot]
dcb4b116f6 Bump @babel/plugin-proposal-class-properties from 7.10.4 to 7.12.1
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-class-properties) from 7.10.4 to 7.12.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.1/packages/babel-plugin-proposal-class-properties)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-17 11:25:46 +00:00
Francisco Hodge
9257beac1c Build update 2020-10-17 11:16:16 +00:00
Francisco Hodge
2580003ba2 2.31.5 2020-10-17 11:16:10 +00:00
dependabot-preview[bot]
f19464a245 Merge pull request #738 from hodgef/dependabot/npm_and_yarn/babel/preset-react-7.12.1 2020-10-17 11:14:42 +00:00
dependabot-preview[bot]
3a410b6700 Bump @babel/preset-react from 7.10.4 to 7.12.1
Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) from 7.10.4 to 7.12.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.1/packages/babel-preset-react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-17 11:12:09 +00:00
Francisco Hodge
010bfdb9b5 Build update 2020-10-16 23:03:31 +00:00
Francisco Hodge
f6d2ff182a 2.31.4 2020-10-16 23:03:25 +00:00
dependabot-preview[bot]
83850686eb Merge pull request #741 from hodgef/dependabot/npm_and_yarn/babel/core-7.12.3 2020-10-16 23:01:58 +00:00
Francisco Hodge
97120ce00e Build update 2020-10-16 23:00:33 +00:00
Francisco Hodge
cff0d2f6f2 2.31.3 2020-10-16 23:00:28 +00:00
dependabot-preview[bot]
1aa6c3f483 Bump @babel/core from 7.12.0 to 7.12.3
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.0 to 7.12.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.3/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-16 22:59:22 +00:00
dependabot-preview[bot]
d2991c7452 Merge pull request #739 from hodgef/dependabot/npm_and_yarn/react-dom-16.14.0 2020-10-16 22:59:12 +00:00
Francisco Hodge
4b79de583d Build update 2020-10-16 22:57:29 +00:00
Francisco Hodge
47650485a3 2.31.2 2020-10-16 22:57:24 +00:00
dependabot-preview[bot]
b844990e98 Bump react-dom from 16.13.1 to 16.14.0
Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) from 16.13.1 to 16.14.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v16.14.0/packages/react-dom)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-16 22:56:44 +00:00
dependabot-preview[bot]
d4f7b45ffc Merge pull request #737 from hodgef/dependabot/npm_and_yarn/babel/preset-env-7.12.1 2020-10-16 22:55:47 +00:00
dependabot-preview[bot]
4bdff64f39 Bump @babel/preset-env from 7.12.0 to 7.12.1
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.0 to 7.12.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.1/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-16 22:53:00 +00:00
Francisco Hodge
f4b87e76a8 Build update 2020-10-16 04:15:31 +00:00
Francisco Hodge
d22362468a 2.31.1 2020-10-16 04:15:26 +00:00
Francisco Hodge
58fad19e21 Added rtl option. Fixes #712 2020-10-16 00:09:09 -04:00
Francisco Hodge
11593c33b0 Build update 2020-10-15 21:49:58 +00:00
Francisco Hodge
9aa6834eb7 2.30.50 2020-10-15 21:49:53 +00:00
dependabot-preview[bot]
7fc2d154c7 Merge pull request #732 from hodgef/dependabot/npm_and_yarn/babel/preset-env-7.12.0 2020-10-15 21:48:20 +00:00
dependabot-preview[bot]
32384b0018 Bump @babel/preset-env from 7.11.5 to 7.12.0
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.11.5 to 7.12.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.0/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-15 21:45:08 +00:00
Francisco Hodge
378c7634af Build update 2020-10-15 21:32:13 +00:00
Francisco Hodge
8a0b8e0c4a 2.30.49 2020-10-15 21:32:08 +00:00
dependabot-preview[bot]
5225cfbdc8 Merge pull request #733 from hodgef/dependabot/npm_and_yarn/testing-library/react-11.1.0 2020-10-15 21:30:54 +00:00
dependabot-preview[bot]
76e461db16 Bump @testing-library/react from 11.0.4 to 11.1.0
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 11.0.4 to 11.1.0.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v11.0.4...v11.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-15 21:27:57 +00:00
Francisco Hodge
bab98a45b7 Build update 2020-10-15 14:51:33 +00:00
Francisco Hodge
b0e3fa9479 2.30.48 2020-10-15 14:51:28 +00:00
dependabot-preview[bot]
6c9d8720e9 Merge pull request #731 from hodgef/dependabot/npm_and_yarn/babel/core-7.12.0 2020-10-15 14:49:55 +00:00
Francisco Hodge
eae8f48427 Build update 2020-10-15 14:49:14 +00:00
Francisco Hodge
5b395a541c 2.30.47 2020-10-15 14:49:09 +00:00
dependabot-preview[bot]
cec41693fd Merge pull request #730 from hodgef/dependabot/npm_and_yarn/testing-library/user-event-12.1.8 2020-10-15 14:47:52 +00:00
dependabot-preview[bot]
25bb1f76f5 Merge pull request #729 from hodgef/dependabot/npm_and_yarn/react-16.14.0 2020-10-15 14:47:46 +00:00
dependabot-preview[bot]
e746425035 Bump @babel/core from 7.11.6 to 7.12.0
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.11.6 to 7.12.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.0/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-15 14:47:13 +00:00
dependabot-preview[bot]
bcf026e5c3 Bump @testing-library/user-event from 12.1.7 to 12.1.8
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 12.1.7 to 12.1.8.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v12.1.7...v12.1.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-15 14:44:48 +00:00
dependabot-preview[bot]
ba3cbd2fb5 Bump react from 16.13.1 to 16.14.0
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 16.13.1 to 16.14.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v16.14.0/packages/react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-15 14:44:03 +00:00
Francisco Hodge
22c0f0c191 Build update 2020-10-14 08:14:27 +00:00
Francisco Hodge
75218e3734 2.30.46 2020-10-14 08:14:23 +00:00
dependabot-preview[bot]
e64fe40094 Merge pull request #728 from hodgef/dependabot/npm_and_yarn/css-loader-5.0.0 2020-10-14 08:13:09 +00:00
dependabot-preview[bot]
e2e9f2079e Bump css-loader from 4.3.0 to 5.0.0
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 4.3.0 to 5.0.0.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v4.3.0...v5.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-14 08:08:46 +00:00
Francisco Hodge
f8eb12e858 Build update 2020-10-12 23:21:32 +00:00
Francisco Hodge
d41da28c9d 2.30.45 2020-10-12 23:21:27 +00:00
dependabot-preview[bot]
912e46a2a5 Merge pull request #727 from hodgef/dependabot/npm_and_yarn/jest-26.5.3 2020-10-12 23:20:04 +00:00
dependabot-preview[bot]
35e36f0708 Bump jest from 26.5.2 to 26.5.3
Bumps [jest](https://github.com/facebook/jest) from 26.5.2 to 26.5.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.5.2...v26.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-12 23:17:13 +00:00
Francisco Hodge
d7e20e2cd0 Build update 2020-10-11 15:27:50 +00:00
Francisco Hodge
4bc75cb61d 2.30.44 2020-10-11 15:27:45 +00:00
Francisco Hodge
f0c25d1d1e Update README.md 2020-10-11 11:26:18 -04:00
Francisco Hodge
189a92ca96 Build update 2020-10-11 02:47:39 +00:00
Francisco Hodge
32a4cc57ee 2.30.43 2020-10-11 02:47:33 +00:00
dependabot-preview[bot]
29d5d993a1 Merge pull request #726 from hodgef/dependabot/npm_and_yarn/camelcase-6.1.0 2020-10-11 02:46:04 +00:00
dependabot-preview[bot]
e2cd4cbb43 Bump camelcase from 6.0.0 to 6.1.0
Bumps [camelcase](https://github.com/sindresorhus/camelcase) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/sindresorhus/camelcase/releases)
- [Commits](https://github.com/sindresorhus/camelcase/compare/v6.0.0...v6.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-11 02:43:23 +00:00
Francisco Hodge
6c6c99437c Build update 2020-10-10 09:51:13 +00:00
Francisco Hodge
a5efea1895 2.30.42 2020-10-10 09:51:07 +00:00
dependabot-preview[bot]
c163658c59 Merge pull request #723 from hodgef/dependabot/npm_and_yarn/sass-loader-10.0.3 2020-10-10 09:49:42 +00:00
dependabot-preview[bot]
5c950df4fb Bump sass-loader from 10.0.2 to 10.0.3
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 10.0.2 to 10.0.3.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v10.0.2...v10.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-10 09:46:45 +00:00
Francisco Hodge
f485b29d51 Build update 2020-10-10 08:53:55 +00:00
Francisco Hodge
0fcdff1d7d 2.30.41 2020-10-10 08:53:50 +00:00
dependabot-preview[bot]
18a7948b59 Merge pull request #719 from hodgef/dependabot/npm_and_yarn/eslint-plugin-react-7.21.4 2020-10-10 08:52:23 +00:00
dependabot-preview[bot]
696c1a0165 Bump eslint-plugin-react from 7.21.3 to 7.21.4
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.21.3 to 7.21.4.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.21.3...v7.21.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-10 08:49:15 +00:00
Francisco Hodge
02d4f04b5e Build update 2020-10-09 22:42:35 +00:00
Francisco Hodge
b8bb94ebb4 2.30.40 2020-10-09 22:42:30 +00:00
Francisco Hodge
b56af2e0bd Build update 2020-10-09 22:35:39 +00:00
Francisco Hodge
2d1863b9d9 2.30.39 2020-10-09 22:35:34 +00:00
Francisco Hodge
641dd1aca7 Build update 2020-10-09 22:31:44 +00:00
Francisco Hodge
01164309e4 2.30.38 2020-10-09 22:31:39 +00:00
dependabot-preview[bot]
e177136a70 Merge pull request #722 from hodgef/dependabot/npm_and_yarn/url-loader-4.1.1 2020-10-09 22:29:44 +00:00
dependabot-preview[bot]
4ee46c6d3c Merge pull request #720 from hodgef/dependabot/npm_and_yarn/style-loader-2.0.0 2020-10-09 22:29:36 +00:00
dependabot-preview[bot]
842fdb3dd6 Merge pull request #721 from hodgef/dependabot/npm_and_yarn/mini-css-extract-plugin-1.0.0 2020-10-09 22:26:32 +00:00
dependabot-preview[bot]
b3d70ed7a4 Merge pull request #718 from hodgef/dependabot/npm_and_yarn/file-loader-6.1.1 2020-10-09 22:25:03 +00:00
dependabot-preview[bot]
7ca40a9be5 Bump url-loader from 4.1.0 to 4.1.1
Bumps [url-loader](https://github.com/webpack-contrib/url-loader) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/webpack-contrib/url-loader/releases)
- [Changelog](https://github.com/webpack-contrib/url-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/url-loader/compare/v4.1.0...v4.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-09 22:17:25 +00:00
dependabot-preview[bot]
9eadf0e496 Bump mini-css-extract-plugin from 0.12.0 to 1.0.0
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 0.12.0 to 1.0.0.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.12.0...v1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-09 22:16:23 +00:00
dependabot-preview[bot]
662d55e32c Bump style-loader from 1.3.0 to 2.0.0
Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 1.3.0 to 2.0.0.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases)
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v1.3.0...v2.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-09 22:15:27 +00:00
dependabot-preview[bot]
ff7078a817 Bump file-loader from 6.1.0 to 6.1.1
Bumps [file-loader](https://github.com/webpack-contrib/file-loader) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/webpack-contrib/file-loader/releases)
- [Changelog](https://github.com/webpack-contrib/file-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/file-loader/compare/v6.1.0...v6.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-09 22:11:39 +00:00
Francisco Hodge
3606f0b903 Build update 2020-10-08 18:58:04 +00:00
Francisco Hodge
9aec4fe41d 2.30.37 2020-10-08 18:57:59 +00:00
dependabot-preview[bot]
d85e22033c Merge pull request #717 from hodgef/dependabot/npm_and_yarn/mini-css-extract-plugin-0.12.0 2020-10-08 18:56:32 +00:00
dependabot-preview[bot]
2dab7dfd0a Merge pull request #716 from hodgef/dependabot/npm_and_yarn/terser-webpack-plugin-4.2.3 2020-10-08 18:55:03 +00:00
dependabot-preview[bot]
2a5ac9c418 Bump mini-css-extract-plugin from 0.11.3 to 0.12.0
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 0.11.3 to 0.12.0.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.11.3...v0.12.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-08 18:53:44 +00:00
dependabot-preview[bot]
77d6ba60fc Bump terser-webpack-plugin from 4.2.2 to 4.2.3
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v4.2.2...v4.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-08 18:52:17 +00:00
Francisco Hodge
0b06f8b46d Build update 2020-10-07 17:36:12 +00:00
Francisco Hodge
48895b2ed0 2.30.36 2020-10-07 17:36:08 +00:00
dependabot-preview[bot]
7522318c62 Merge pull request #715 from hodgef/dependabot/npm_and_yarn/jest-26.5.2 2020-10-07 17:34:49 +00:00
dependabot-preview[bot]
435e7418f6 Bump jest from 26.5.0 to 26.5.2
Bumps [jest](https://github.com/facebook/jest) from 26.5.0 to 26.5.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.5.0...v26.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-07 17:32:03 +00:00
Francisco Hodge
586f9dae7a Build update 2020-10-07 12:04:26 +00:00
Francisco Hodge
e8bd7fbd7b 2.30.35 2020-10-07 12:04:21 +00:00
dependabot-preview[bot]
765714b6c7 Merge pull request #714 from hodgef/dependabot/npm_and_yarn/babel-jest-26.5.2 2020-10-07 12:03:06 +00:00
dependabot-preview[bot]
1bf7ff15f0 Merge pull request #713 from hodgef/dependabot/npm_and_yarn/jest-resolve-26.5.2 2020-10-07 12:01:44 +00:00
dependabot-preview[bot]
eaddabfa7d Bump babel-jest from 26.5.0 to 26.5.2
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 26.5.0 to 26.5.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v26.5.2/packages/babel-jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-07 12:00:03 +00:00
dependabot-preview[bot]
42520960fe Bump jest-resolve from 26.5.0 to 26.5.2
Bumps [jest-resolve](https://github.com/facebook/jest/tree/HEAD/packages/jest-resolve) from 26.5.0 to 26.5.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v26.5.2/packages/jest-resolve)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-07 11:58:21 +00:00
Francisco Hodge
fab5770424 Build update 2020-10-05 23:37:33 +00:00
Francisco Hodge
db3cc1a369 2.30.34 2020-10-05 23:37:28 +00:00
dependabot-preview[bot]
aac3ea3640 Merge pull request #709 from hodgef/dependabot/npm_and_yarn/babel-jest-26.5.0 2020-10-05 23:35:57 +00:00
dependabot-preview[bot]
22de69fc6f Merge pull request #710 from hodgef/dependabot/npm_and_yarn/jest-resolve-26.5.0 2020-10-05 23:35:14 +00:00
Francisco Hodge
1bb3db28ab Build update 2020-10-05 23:33:42 +00:00
Francisco Hodge
f6ccca2b1a 2.30.33 2020-10-05 23:33:36 +00:00
dependabot-preview[bot]
8a071640ac Merge pull request #711 from hodgef/dependabot/npm_and_yarn/style-loader-1.3.0 2020-10-05 23:32:02 +00:00
dependabot-preview[bot]
adcd94b2a6 Bump jest-resolve from 26.4.0 to 26.5.0
Bumps [jest-resolve](https://github.com/facebook/jest/tree/HEAD/packages/jest-resolve) from 26.4.0 to 26.5.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v26.5.0/packages/jest-resolve)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-05 23:32:00 +00:00
dependabot-preview[bot]
3f7b532ae1 Bump babel-jest from 26.3.0 to 26.5.0
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 26.3.0 to 26.5.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v26.5.0/packages/babel-jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-05 23:31:59 +00:00
Francisco Hodge
eb1612e318 Build update 2020-10-05 23:30:35 +00:00
Francisco Hodge
37edf3c522 2.30.32 2020-10-05 23:30:30 +00:00
dependabot-preview[bot]
05918c4ca2 Bump style-loader from 1.2.1 to 1.3.0
Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases)
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v1.2.1...v1.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-05 23:29:35 +00:00
dependabot-preview[bot]
64aea6aab3 Merge pull request #708 from hodgef/dependabot/npm_and_yarn/jest-26.5.0 2020-10-05 23:29:10 +00:00
dependabot-preview[bot]
e6ad2845a3 Bump jest from 26.4.2 to 26.5.0
Bumps [jest](https://github.com/facebook/jest) from 26.4.2 to 26.5.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.4.2...v26.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-05 23:26:17 +00:00
Francisco Hodge
5038e5fa39 Build update 2020-10-03 06:55:29 +00:00
Francisco Hodge
5e57466e63 2.30.31 2020-10-03 06:55:24 +00:00
dependabot-preview[bot]
9663cb47db Merge pull request #707 from hodgef/dependabot/npm_and_yarn/eslint-plugin-react-7.21.3 2020-10-03 06:54:09 +00:00
Francisco Hodge
6521d21040 Build update 2020-10-03 06:52:50 +00:00
Francisco Hodge
bd476b93a9 2.30.30 2020-10-03 06:52:45 +00:00
dependabot-preview[bot]
604cb93044 Merge pull request #706 from hodgef/dependabot/npm_and_yarn/testing-library/user-event-12.1.7 2020-10-03 06:51:36 +00:00
dependabot-preview[bot]
b3db7a7816 Bump eslint-plugin-react from 7.21.2 to 7.21.3
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.21.2 to 7.21.3.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.21.2...v7.21.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-03 06:51:33 +00:00
dependabot-preview[bot]
78962ca708 Merge pull request #705 from hodgef/dependabot/npm_and_yarn/mini-css-extract-plugin-0.11.3 2020-10-03 06:50:55 +00:00
dependabot-preview[bot]
d49778f07c Bump @testing-library/user-event from 12.1.6 to 12.1.7
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 12.1.6 to 12.1.7.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v12.1.6...v12.1.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-03 06:48:47 +00:00
dependabot-preview[bot]
f896098dba Bump mini-css-extract-plugin from 0.11.2 to 0.11.3
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 0.11.2 to 0.11.3.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.11.2...v0.11.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-03 06:47:52 +00:00
Francisco Hodge
15f1fc3300 Build update 2020-09-29 00:32:18 +00:00
Francisco Hodge
e54e968f92 2.30.29 2020-09-29 00:32:13 +00:00
dependabot-preview[bot]
3882cf8fe6 Merge pull request #702 from hodgef/dependabot/npm_and_yarn/postcss-safe-parser-5.0.2 2020-09-28 22:56:11 +00:00
Francisco Hodge
12d1b55dfe Build update 2020-09-28 22:56:05 +00:00
Francisco Hodge
3d78e0a165 2.30.28 2020-09-28 22:55:59 +00:00
dependabot-preview[bot]
f7f104b706 Merge pull request #701 from hodgef/dependabot/npm_and_yarn/eslint-plugin-import-2.22.1 2020-09-28 22:54:03 +00:00
dependabot-preview[bot]
f3f611871f Bump postcss-safe-parser from 5.0.1 to 5.0.2
Bumps [postcss-safe-parser](https://github.com/postcss/postcss-safe-parser) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/postcss/postcss-safe-parser/releases)
- [Changelog](https://github.com/postcss/postcss-safe-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-safe-parser/compare/5.0.1...5.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 22:52:32 +00:00
dependabot-preview[bot]
c4fe85c91f Bump eslint-plugin-import from 2.22.0 to 2.22.1
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.22.0 to 2.22.1.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.22.0...v2.22.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 22:51:12 +00:00
Francisco Hodge
87bf34c2e2 Build update 2020-09-27 22:35:26 +00:00
Francisco Hodge
41c1e5d240 2.30.27 2020-09-27 22:35:21 +00:00
Francisco Hodge
f97a6d4ac8 Added preventMouseUpDefault, stopMouseUpPropagation. Fixes #700 2020-09-27 18:33:41 -04:00
Francisco Hodge
fb7cf50268 Build update 2020-09-25 06:48:57 +00:00
Francisco Hodge
ca46eccca0 2.30.26 2020-09-25 06:48:52 +00:00
dependabot-preview[bot]
5f10575341 Merge pull request #699 from hodgef/dependabot/npm_and_yarn/eslint-plugin-react-7.21.2 2020-09-25 06:47:26 +00:00
dependabot-preview[bot]
8cec4755cc Bump eslint-plugin-react from 7.21.1 to 7.21.2
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.21.1 to 7.21.2.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-25 06:44:20 +00:00
Francisco Hodge
9a02aff8e4 Build update 2020-09-24 07:01:34 +00:00
Francisco Hodge
bd7466d17b 2.30.25 2020-09-24 07:01:28 +00:00
dependabot-preview[bot]
f0e11b07b4 Merge pull request #698 from hodgef/dependabot/npm_and_yarn/eslint-plugin-react-7.21.1 2020-09-24 06:59:47 +00:00
dependabot-preview[bot]
dd15addfde Bump eslint-plugin-react from 7.21.0 to 7.21.1
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.21.0 to 7.21.1.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.21.0...v7.21.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-24 06:57:06 +00:00
Francisco Hodge
7a102650ee Build update 2020-09-24 03:08:12 +00:00
Francisco Hodge
91d6346403 2.30.24 2020-09-24 03:08:07 +00:00
Francisco Hodge
8e2339567d Address caret positioning issues. Fixes https://github.com/hodgef/simple-keyboard/issues/695 - Fixes https://github.com/hodgef/react-simple-keyboard/issues/788 2020-09-23 23:06:03 -04:00
Francisco Hodge
548cc8d753 Build update 2020-09-23 07:16:44 +00:00
Francisco Hodge
4daa582307 2.30.23 2020-09-23 07:16:39 +00:00
dependabot-preview[bot]
2ebd5a08ff Merge pull request #697 from hodgef/dependabot/npm_and_yarn/eslint-plugin-react-7.21.0 2020-09-23 07:15:07 +00:00
Francisco Hodge
b6ddae4efc Build update 2020-09-23 07:12:55 +00:00
Francisco Hodge
19530512c6 2.30.22 2020-09-23 07:12:50 +00:00
dependabot-preview[bot]
15069ab223 Merge pull request #696 from hodgef/dependabot/npm_and_yarn/testing-library/user-event-12.1.6 2020-09-23 07:11:22 +00:00
dependabot-preview[bot]
a93aee1fac Bump eslint-plugin-react from 7.20.6 to 7.21.0
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.20.6 to 7.21.0.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.20.6...v7.21.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-23 07:10:01 +00:00
dependabot-preview[bot]
29f4f61e5f Bump @testing-library/user-event from 12.1.5 to 12.1.6
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 12.1.5 to 12.1.6.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v12.1.5...v12.1.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-23 07:08:59 +00:00
Francisco Hodge
1a58059d19 Build update 2020-09-23 05:27:50 +00:00
Francisco Hodge
024a35e8cd 2.30.21 2020-09-23 05:27:45 +00:00
Francisco Hodge
9c4ab85c30 Temp fix for mobile caret issue. Fixes #695 2020-09-23 01:26:00 -04:00
Francisco Hodge
4e0e33720a Build update 2020-09-21 22:52:35 +00:00
Francisco Hodge
c438923cc8 2.30.20 2020-09-21 22:52:30 +00:00
dependabot-preview[bot]
e7eb84dfb2 Merge pull request #694 from hodgef/dependabot/npm_and_yarn/terser-webpack-plugin-4.2.2 2020-09-21 22:51:02 +00:00
Francisco Hodge
89026cf32b Build update 2020-09-21 22:50:46 +00:00
Francisco Hodge
1ee1239624 2.30.19 2020-09-21 22:50:41 +00:00
dependabot-preview[bot]
ff2c07b9d3 Merge pull request #693 from hodgef/dependabot/npm_and_yarn/html-webpack-plugin-4.5.0 2020-09-21 22:49:24 +00:00
dependabot-preview[bot]
b6365faed1 Bump terser-webpack-plugin from 4.2.1 to 4.2.2
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v4.2.1...v4.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-21 22:48:07 +00:00
dependabot-preview[bot]
263b85f6cd Bump html-webpack-plugin from 4.4.1 to 4.5.0
Bumps [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) from 4.4.1 to 4.5.0.
- [Release notes](https://github.com/jantimon/html-webpack-plugin/releases)
- [Changelog](https://github.com/jantimon/html-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jantimon/html-webpack-plugin/compare/v4.4.1...v4.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-21 22:46:31 +00:00
Francisco Hodge
5ac428fbb5 Build update 2020-09-18 06:48:04 +00:00
Francisco Hodge
b9887a2934 2.30.18 2020-09-18 06:47:59 +00:00
dependabot-preview[bot]
0f4d5f06c7 Merge pull request #692 from hodgef/dependabot/npm_and_yarn/webpack-4.44.2 2020-09-18 06:46:28 +00:00
dependabot-preview[bot]
9269007753 Bump webpack from 4.44.1 to 4.44.2
Bumps [webpack](https://github.com/webpack/webpack) from 4.44.1 to 4.44.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.44.1...v4.44.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-18 06:43:27 +00:00
Francisco Hodge
d7164578b7 Build update 2020-09-17 06:58:26 +00:00
Francisco Hodge
010322cd43 2.30.17 2020-09-17 06:58:21 +00:00
dependabot-preview[bot]
cc867b2003 Merge pull request #691 from hodgef/dependabot/npm_and_yarn/postcss-safe-parser-5.0.1 2020-09-17 06:56:58 +00:00
dependabot-preview[bot]
63af684e2b Bump postcss-safe-parser from 5.0.0 to 5.0.1
Bumps [postcss-safe-parser](https://github.com/postcss/postcss-safe-parser) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/postcss/postcss-safe-parser/releases)
- [Changelog](https://github.com/postcss/postcss-safe-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-safe-parser/compare/5.0.0...5.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-17 06:54:16 +00:00
Francisco Hodge
7f6cee8518 Build update 2020-09-16 07:40:08 +00:00
Francisco Hodge
1ad39bc799 2.30.16 2020-09-16 07:40:03 +00:00
dependabot-preview[bot]
24031d3c96 Merge pull request #690 from hodgef/dependabot/npm_and_yarn/terser-webpack-plugin-4.2.1 2020-09-16 07:38:37 +00:00
dependabot-preview[bot]
8285c7f43d Merge pull request #689 from hodgef/dependabot/npm_and_yarn/postcss-safe-parser-5.0.0 2020-09-16 07:37:20 +00:00
dependabot-preview[bot]
cb9dfde6ff Bump terser-webpack-plugin from 4.2.0 to 4.2.1
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v4.2.0...v4.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-16 07:36:05 +00:00
dependabot-preview[bot]
812606d19f Bump postcss-safe-parser from 4.0.2 to 5.0.0
Bumps [postcss-safe-parser](https://github.com/postcss/postcss-safe-parser) from 4.0.2 to 5.0.0.
- [Release notes](https://github.com/postcss/postcss-safe-parser/releases)
- [Changelog](https://github.com/postcss/postcss-safe-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-safe-parser/compare/4.0.2...5.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-16 07:33:56 +00:00
Francisco Hodge
5f7e391817 Build update 2020-09-14 23:10:02 +00:00
Francisco Hodge
47c3440a67 2.30.15 2020-09-14 23:09:57 +00:00
dependabot-preview[bot]
d701053b6a Merge pull request #688 from hodgef/dependabot/npm_and_yarn/testing-library/user-event-12.1.5 2020-09-14 23:08:30 +00:00
dependabot-preview[bot]
96d08078b5 Bump @testing-library/user-event from 12.1.4 to 12.1.5
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 12.1.4 to 12.1.5.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v12.1.4...v12.1.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-14 23:05:45 +00:00
Francisco Hodge
edda2ff4af Build update 2020-09-14 23:05:32 +00:00
Francisco Hodge
40c2e70ab3 2.30.14 2020-09-14 23:05:27 +00:00
dependabot-preview[bot]
ced1311ab1 Merge pull request #687 from hodgef/dependabot/npm_and_yarn/mini-css-extract-plugin-0.11.2 2020-09-14 23:03:57 +00:00
Francisco Hodge
26094a4af4 Build update 2020-09-14 23:02:58 +00:00
Francisco Hodge
d0382f1138 2.30.13 2020-09-14 23:02:53 +00:00
dependabot-preview[bot]
08c61cb2ff Merge pull request #686 from hodgef/dependabot/npm_and_yarn/testing-library/react-11.0.4 2020-09-14 23:01:33 +00:00
dependabot-preview[bot]
e7a37ac295 Bump mini-css-extract-plugin from 0.11.1 to 0.11.2
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 0.11.1 to 0.11.2.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.11.1...v0.11.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-14 23:00:48 +00:00
dependabot-preview[bot]
2006d83fe5 Bump @testing-library/react from 11.0.2 to 11.0.4
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 11.0.2 to 11.0.4.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v11.0.2...v11.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-14 22:58:46 +00:00
Francisco Hodge
dc40024284 Build update 2020-09-12 07:07:28 +00:00
Francisco Hodge
811dd0666a 2.30.12 2020-09-12 07:07:23 +00:00
dependabot-preview[bot]
317a98d1ad Merge pull request #685 from hodgef/dependabot/npm_and_yarn/terser-webpack-plugin-4.2.0 2020-09-12 07:06:06 +00:00
dependabot-preview[bot]
b21de5486e Merge pull request #684 from hodgef/dependabot/npm_and_yarn/eslint-plugin-react-hooks-4.1.2 2020-09-12 07:04:55 +00:00
dependabot-preview[bot]
a5b7e043ca Bump terser-webpack-plugin from 4.1.0 to 4.2.0
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v4.1.0...v4.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-12 07:02:43 +00:00
dependabot-preview[bot]
a386fce38c Bump eslint-plugin-react-hooks from 4.1.1 to 4.1.2
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/packages/eslint-plugin-react-hooks/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-12 07:01:53 +00:00
Francisco Hodge
803cacaa57 Build update 2020-09-11 07:10:58 +00:00
Francisco Hodge
a4b236de0d 2.30.11 2020-09-11 07:10:53 +00:00
dependabot-preview[bot]
7eb5aafab7 Merge pull request #683 from hodgef/dependabot/npm_and_yarn/eslint-plugin-react-hooks-4.1.1 2020-09-11 07:05:05 +00:00
dependabot-preview[bot]
f0eaed1e6f Bump eslint-plugin-react-hooks from 4.1.0 to 4.1.1
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/packages/eslint-plugin-react-hooks/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-11 07:01:49 +00:00
Francisco Hodge
42c97afc28 Build update 2020-09-10 07:02:18 +00:00
Francisco Hodge
b2bb7fa009 2.30.10 2020-09-10 07:02:14 +00:00
dependabot-preview[bot]
cbed73b881 Merge pull request #681 from hodgef/dependabot/npm_and_yarn/workbox-webpack-plugin-5.1.4 2020-09-10 07:01:08 +00:00
dependabot-preview[bot]
6b72071439 Bump workbox-webpack-plugin from 5.1.3 to 5.1.4
Bumps [workbox-webpack-plugin](https://github.com/googlechrome/workbox) from 5.1.3 to 5.1.4.
- [Release notes](https://github.com/googlechrome/workbox/releases)
- [Commits](https://github.com/googlechrome/workbox/compare/v5.1.3...v5.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-10 06:58:32 +00:00
Francisco Hodge
1e2e945cf7 Build update 2020-09-09 07:30:33 +00:00
Francisco Hodge
15f89c2866 2.30.9 2020-09-09 07:30:28 +00:00
dependabot-preview[bot]
ba02ea9847 Merge pull request #680 from hodgef/dependabot/npm_and_yarn/testing-library/user-event-12.1.4 2020-09-09 07:29:02 +00:00
Francisco Hodge
4c1eb41124 Build update 2020-09-09 07:27:53 +00:00
Francisco Hodge
beb0bc934e 2.30.8 2020-09-09 07:27:48 +00:00
dependabot-preview[bot]
4dce213552 Merge pull request #679 from hodgef/dependabot/npm_and_yarn/mini-css-extract-plugin-0.11.1 2020-09-09 07:26:34 +00:00
dependabot-preview[bot]
a3747de29e Merge pull request #678 from hodgef/dependabot/npm_and_yarn/css-loader-4.3.0 2020-09-09 07:26:24 +00:00
dependabot-preview[bot]
0f7a42ce3b Bump @testing-library/user-event from 12.1.3 to 12.1.4
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 12.1.3 to 12.1.4.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v12.1.3...v12.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-09 07:26:07 +00:00
dependabot-preview[bot]
ea97f8121f Bump mini-css-extract-plugin from 0.11.0 to 0.11.1
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.11.0...v0.11.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-09 07:24:14 +00:00
dependabot-preview[bot]
7258aeb297 Bump css-loader from 4.2.2 to 4.3.0
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 4.2.2 to 4.3.0.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v4.2.2...v4.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-09 07:22:59 +00:00
Francisco Hodge
47323c91c8 Build update 2020-09-08 22:57:27 +00:00
Francisco Hodge
1a8e51dacb 2.30.7 2020-09-08 22:57:22 +00:00
Francisco Hodge
a018472cc2 Stale issues handling 2020-09-08 18:55:11 -04:00
Francisco Hodge
6f3e608bf4 Build update 2020-09-07 23:25:48 +00:00
Francisco Hodge
8213e5e279 2.30.6 2020-09-07 23:25:42 +00:00
dependabot-preview[bot]
28d6adecc3 Merge pull request #675 from hodgef/dependabot/npm_and_yarn/jest-watch-typeahead-0.6.1 2020-09-07 23:24:19 +00:00
dependabot-preview[bot]
103d57a016 Bump jest-watch-typeahead from 0.6.0 to 0.6.1
Bumps [jest-watch-typeahead](https://github.com/jest-community/jest-watch-typeahead) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/jest-community/jest-watch-typeahead/releases)
- [Changelog](https://github.com/jest-community/jest-watch-typeahead/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jest-community/jest-watch-typeahead/compare/v0.6.0...v0.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-07 23:20:55 +00:00
Francisco Hodge
f672034cb6 Build update 2020-09-04 07:18:08 +00:00
Francisco Hodge
3affc4e5e0 2.30.5 2020-09-04 07:18:04 +00:00
dependabot-preview[bot]
149fcd43de Merge pull request #672 from hodgef/dependabot/npm_and_yarn/testing-library/react-11.0.2 2020-09-04 07:16:42 +00:00
dependabot-preview[bot]
1c825e1ab2 Merge pull request #674 from hodgef/dependabot/npm_and_yarn/sass-loader-10.0.2 2020-09-04 07:15:20 +00:00
dependabot-preview[bot]
59f9eabc79 Merge pull request #673 from hodgef/dependabot/npm_and_yarn/babel/core-7.11.6 2020-09-04 07:13:52 +00:00
dependabot-preview[bot]
2ca9e2d047 Bump @testing-library/react from 11.0.1 to 11.0.2
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 11.0.1 to 11.0.2.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v11.0.1...v11.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-04 07:13:26 +00:00
Francisco Hodge
61ba0bbc66 Build update 2020-09-04 07:12:11 +00:00
dependabot-preview[bot]
82da8b6eb7 Bump sass-loader from 10.0.1 to 10.0.2
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 10.0.1 to 10.0.2.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v10.0.1...v10.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-04 07:12:07 +00:00
Francisco Hodge
5b8671b28d 2.30.4 2020-09-04 07:12:05 +00:00
dependabot-preview[bot]
d748582280 Bump @babel/core from 7.11.5 to 7.11.6
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.11.5 to 7.11.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.11.6/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-04 07:11:16 +00:00
dependabot-preview[bot]
83af088ec3 Merge pull request #671 from hodgef/dependabot/npm_and_yarn/testing-library/user-event-12.1.3 2020-09-04 07:10:41 +00:00
dependabot-preview[bot]
7c065eccee Bump @testing-library/user-event from 7.2.1 to 12.1.3
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 7.2.1 to 12.1.3.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v7.2.1...v12.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-04 07:08:06 +00:00
Francisco Hodge
854d8c6093 Build update 2020-09-03 07:23:43 +00:00
Francisco Hodge
8857eed0dc 2.30.3 2020-09-03 07:23:38 +00:00
dependabot-preview[bot]
b9ab9b816c Merge pull request #670 from hodgef/dependabot/npm_and_yarn/testing-library/react-11.0.1 2020-09-03 07:22:06 +00:00
dependabot-preview[bot]
fd384429a5 Bump @testing-library/react from 9.5.0 to 11.0.1
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 9.5.0 to 11.0.1.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v9.5.0...v11.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-03 07:19:33 +00:00
Francisco Hodge
83c2996a3f Build update 2020-09-03 07:17:36 +00:00
Francisco Hodge
8ee308645c 2.30.2 2020-09-03 07:17:31 +00:00
dependabot-preview[bot]
9e12563e81 Merge pull request #669 from hodgef/dependabot/npm_and_yarn/testing-library/jest-dom-5.11.4 2020-09-03 07:16:05 +00:00
dependabot-preview[bot]
73de50c0d9 Merge pull request #668 from hodgef/dependabot/npm_and_yarn/babel/core-7.11.5 2020-09-03 07:15:09 +00:00
dependabot-preview[bot]
975d7289f2 Bump @testing-library/jest-dom from 4.2.4 to 5.11.4
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 4.2.4 to 5.11.4.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v4.2.4...v5.11.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-03 07:13:25 +00:00
dependabot-preview[bot]
0789c77eba Bump @babel/core from 7.9.0 to 7.11.5
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.9.0 to 7.11.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.11.5/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-03 07:12:26 +00:00
20 changed files with 4185 additions and 2091 deletions

17
.github/stale.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 5
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 2
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
# Label to use when marking an issue as stale
staleLabel: Stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false

View File

@@ -1,6 +1,6 @@
<p>
<a href="https://simple-keyboard.com/demo">
<img alt="simple-keyboard: Javscript Virtual Keyboard" src="https://i.imgur.com/Po6659n.gif">
<img alt="simple-keyboard: Javascript Virtual Keyboard" src="https://i.imgur.com/Po6659n.gif">
</a>
<a href="https://www.npmjs.com/package/simple-keyboard">

View File

@@ -1,6 +1,6 @@
/*!
*
* simple-keyboard v2.30.1
* simple-keyboard v2.32.0
* https://github.com/hodgef/simple-keyboard
*
* Copyright (c) Francisco Hodge (https://github.com/hodgef)

File diff suppressed because one or more lines are too long

34
build/index.d.ts vendored
View File

@@ -88,14 +88,9 @@ declare module 'simple-keyboard' {
physicalKeyboardHighlight?: boolean;
/**
* Calling preventDefault for the mousedown events keeps the focus on the input.
* Presses keys highlighted by physicalKeyboardHighlight
*/
preventMouseDownDefault?: boolean;
/**
* Stops pointer down events on simple-keyboard buttons from bubbling to parent elements.
*/
stopMouseDownPropagation?: boolean;
physicalKeyboardHighlightPress?: boolean;
/**
* Define the text color that the physical keyboard highlighted key should have.
@@ -107,6 +102,26 @@ declare module 'simple-keyboard' {
*/
physicalKeyboardHighlightBgColor?: string;
/**
* Calling preventDefault for the mousedown events keeps the focus on the input.
*/
preventMouseDownDefault?: boolean;
/**
* Calling preventDefault for the mouseup events.
*/
preventMouseUpDefault?: boolean;
/**
* Stops pointer down events on simple-keyboard buttons from bubbling to parent elements.
*/
stopMouseDownPropagation?: boolean;
/**
* Stops pointer up events on simple-keyboard buttons from bubbling to parent elements.
*/
stopMouseUpPropagation?: boolean;
/**
* Render buttons as a button element instead of a div element.
*/
@@ -142,6 +157,11 @@ declare module 'simple-keyboard' {
*/
disableButtonHold?: boolean;
/**
* Adds unicode right-to-left control characters to input return values.
*/
rtl?: boolean;
/**
* Executes the callback function on key press. Returns button layout name (i.e.: "{shift}").
*/

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

5512
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"name": "simple-keyboard",
"version": "2.30.1",
"version": "2.32.0",
"description": "On-screen Javascript Virtual Keyboard",
"main": "build/index.js",
"types": "build/index.d.ts",
@@ -40,70 +40,70 @@
],
"license": "MIT",
"devDependencies": {
"@babel/core": "7.9.0",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/preset-env": "^7.11.5",
"@babel/preset-react": "^7.10.4",
"@babel/core": "7.12.3",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.1",
"@svgr/webpack": "5.4.0",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.8",
"@typescript-eslint/eslint-plugin": "^2.10.0",
"@typescript-eslint/parser": "^2.10.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.3.0",
"babel-jest": "^26.6.0",
"babel-loader": "8.1.0",
"babel-plugin-named-asset-import": "^0.3.6",
"babel-preset-react-app": "^9.1.2",
"camelcase": "^6.0.0",
"camelcase": "^6.1.0",
"case-sensitive-paths-webpack-plugin": "2.3.0",
"copy-webpack-plugin": "^5.1.2",
"css-loader": "4.2.2",
"css-loader": "5.0.0",
"dotenv": "8.2.0",
"dotenv-expand": "5.1.0",
"eslint": "^6.8.0",
"eslint-config-react-app": "^5.0.1",
"eslint-loader": "4.0.2",
"eslint-plugin-flowtype": "4.7.0",
"eslint-plugin-import": "2.22.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jsx-a11y": "6.3.1",
"eslint-plugin-react": "7.20.6",
"eslint-plugin-react-hooks": "^4.1.0",
"file-loader": "6.1.0",
"eslint-plugin-react": "7.21.4",
"eslint-plugin-react-hooks": "^4.1.2",
"file-loader": "6.1.1",
"fs-extra": "9.0.1",
"html-webpack-plugin": "4.4.1",
"html-webpack-plugin": "4.5.0",
"identity-obj-proxy": "3.0.0",
"jest": "26.4.2",
"jest": "26.6.0",
"jest-environment-jsdom-fourteen": "1.0.1",
"jest-resolve": "26.4.0",
"jest-watch-typeahead": "0.6.0",
"mini-css-extract-plugin": "0.11.0",
"jest-resolve": "26.6.0",
"jest-watch-typeahead": "0.6.1",
"mini-css-extract-plugin": "1.1.0",
"optimize-css-assets-webpack-plugin": "5.0.4",
"pnp-webpack-plugin": "1.6.4",
"postcss-flexbugs-fixes": "4.2.1",
"postcss-loader": "3.0.0",
"postcss-normalize": "9.0.0",
"postcss-preset-env": "6.7.0",
"postcss-safe-parser": "4.0.2",
"postcss-safe-parser": "5.0.2",
"prettier": "^1.19.1",
"prettier-webpack-plugin": "^1.2.0",
"react": "^16.13.1",
"react": "^16.14.0",
"react-app-polyfill": "^1.0.6",
"react-dev-utils": "^10.2.1",
"react-dom": "^16.13.1",
"resolve": "1.17.0",
"react-dom": "^16.14.0",
"resolve": "1.18.1",
"resolve-url-loader": "3.1.1",
"sass-loader": "10.0.1",
"sass-loader": "10.0.3",
"semver": "7.3.2",
"style-loader": "1.2.1",
"terser-webpack-plugin": "4.1.0",
"style-loader": "2.0.0",
"terser-webpack-plugin": "4.2.3",
"ts-pnp": "1.2.0",
"uglifyjs-webpack-plugin": "^2.2.0",
"url-loader": "4.1.0",
"webpack": "4.44.1",
"url-loader": "4.1.1",
"webpack": "4.44.2",
"webpack-dev-server": "3.11.0",
"webpack-manifest-plugin": "2.2.0",
"workbox-webpack-plugin": "5.1.3"
"workbox-webpack-plugin": "5.1.4"
},
"eslintConfig": {
"extends": "react-app"

72
src/demo/RTLDemo.js Normal file
View File

@@ -0,0 +1,72 @@
import Keyboard from "../lib";
import "./css/RTLDemo.css";
const setDOM = () => {
document.querySelector("#root").innerHTML = `
<input class="input" placeholder="Tap on the virtual keyboard to start" />
<div class="simple-keyboard"></div>
`;
};
class Demo {
constructor() {
setDOM();
/**
* Demo Start
*/
this.keyboard = new Keyboard({
onChange: input => this.onChange(input),
onKeyPress: button => this.onKeyPress(button),
rtl: true,
layout: {
default: [
"\u05e5 1 2 3 4 5 6 7 8 9 0 - = {bksp}",
"{tab} \u05e3 \u05df \u05e7 \u05e8 \u05d0 \u05d8 \u05d5 \u05ea \u05dd \u05e4 ] [ \\",
"{lock} \u05e9 \u05d3 \u05d2 \u05db \u05e2 \u05d9 \u05d7 \u05dc \u05da : ' {enter}",
"{shift} \u05d6 \u05e1 \u05d1 \u05d4 \u05e0 \u05de \u05e6 , . / {shift}",
".com @ {space}"
],
shift: [
"~ ! @ # $ % ^ & * ( ) _ + {bksp}",
"{tab} Q W E R T Y U I O P { } |",
'{lock} A S D F G H J K L : " {enter}',
"{shift} Z X C V B N M < > ? {shift}",
".com @ {space}"
]
}
});
/**
* Update simple-keyboard when input is changed directly
*/
document.querySelector(".input").addEventListener("input", event => {
this.keyboard.setInput(event.target.value);
});
}
onChange(input) {
document.querySelector(".input").value = input;
console.log("Input changed", input, input.split(""));
}
onKeyPress(button) {
console.log("Button pressed", button);
/**
* If you want to handle the shift and caps lock buttons
*/
if (button === "{shift}" || button === "{lock}") this.handleShift();
}
handleShift() {
const currentLayout = this.keyboard.options.layoutName;
const shiftToggle = currentLayout === "default" ? "shift" : "default";
this.keyboard.setOptions({
layoutName: shiftToggle
});
}
}
export default Demo;

13
src/demo/css/RTLDemo.css Normal file
View File

@@ -0,0 +1,13 @@
input {
width: 100%;
height: 100px;
padding: 20px;
font-size: 20px;
border: none;
box-sizing: border-box;
direction: rtl;
}
.simple-keyboard {
max-width: 850px;
}

View File

@@ -4,6 +4,7 @@ import "./css/index.css";
* Demos
*/
import BasicDemo from "./BasicDemo";
//import RTLDemo from "./RTLDemo";
//import ButtonThemeDemo from "./ButtonThemeDemo";
//import DOMElementDemo from "./DOMElementDemo";
//import FullKeyboardDemo from "./FullKeyboardDemo";

View File

@@ -0,0 +1,72 @@
import { setDOM, removeRTLControls } from '../../utils/TestUtility';
import RTLDemo from '../RTLDemo';
it('Demo will load', () => {
setDOM();
new RTLDemo();
});
it('Demo onDOMLoaded will work', () => {
setDOM();
const demo = new RTLDemo();
expect(demo.keyboard).toBeTruthy();
});
it('Demo onChange will work', () => {
setDOM();
const demo = new RTLDemo();
demo.onChange("test");
expect(removeRTLControls(document.body.querySelector('.input').value)).toBe("test");
});
it('Demo onChange will work', () => {
setDOM();
const demo = new RTLDemo();
demo.keyboard.getButtonElement(".").onclick();
expect(removeRTLControls(document.body.querySelector('.input').value)).toBe(".");
});
it('Demo input change will work', () => {
setDOM();
const demo = new RTLDemo();
document.body.querySelector('.input').value = "test";
document.body.querySelector('.input').dispatchEvent(new Event('input'));
expect(removeRTLControls(demo.keyboard.getInput())).toBe("test");
});
it('Demo handleShiftButton will work', () => {
setDOM();
const demo = new RTLDemo();
demo.keyboard.getButtonElement("{shift}")[0].onclick();
expect(demo.keyboard.options.layoutName).toBe("shift");
demo.keyboard.getButtonElement("{shift}")[0].onclick();
expect(demo.keyboard.options.layoutName).toBe("default");
});
it('RTL control caracters will be added to ', () => {
setDOM();
const demo = new RTLDemo();
demo.keyboard.getButtonElement("פ").onclick();
demo.keyboard.getButtonElement("ם").onclick();
demo.keyboard.getButtonElement("[").onclick();
expect(demo.keyboard.getInput()).toBe("‫פם[");
expect(demo.keyboard.input[demo.keyboard.options.inputName]).toBe("פם[");
});

View File

@@ -88,14 +88,9 @@ declare module 'simple-keyboard' {
physicalKeyboardHighlight?: boolean;
/**
* Calling preventDefault for the mousedown events keeps the focus on the input.
* Presses keys highlighted by physicalKeyboardHighlight
*/
preventMouseDownDefault?: boolean;
/**
* Stops pointer down events on simple-keyboard buttons from bubbling to parent elements.
*/
stopMouseDownPropagation?: boolean;
physicalKeyboardHighlightPress?: boolean;
/**
* Define the text color that the physical keyboard highlighted key should have.
@@ -107,6 +102,26 @@ declare module 'simple-keyboard' {
*/
physicalKeyboardHighlightBgColor?: string;
/**
* Calling preventDefault for the mousedown events keeps the focus on the input.
*/
preventMouseDownDefault?: boolean;
/**
* Calling preventDefault for the mouseup events.
*/
preventMouseUpDefault?: boolean;
/**
* Stops pointer down events on simple-keyboard buttons from bubbling to parent elements.
*/
stopMouseDownPropagation?: boolean;
/**
* Stops pointer up events on simple-keyboard buttons from bubbling to parent elements.
*/
stopMouseUpPropagation?: boolean;
/**
* Render buttons as a button element instead of a div element.
*/
@@ -142,6 +157,11 @@ declare module 'simple-keyboard' {
*/
disableButtonHold?: boolean;
/**
* Adds unicode right-to-left control characters to input return values.
*/
rtl?: boolean;
/**
* Executes the callback function on key press. Returns button layout name (i.e.: "{shift}").
*/

View File

@@ -64,10 +64,13 @@ class SimpleKeyboard {
* @property {object} maxLength Restrains simple-keyboards individual inputs to a certain length. This should be used in addition to the input elements maxlengthattribute.
* @property {boolean} syncInstanceInputs When set to true, this option synchronizes the internal input of every simple-keyboard instance.
* @property {boolean} physicalKeyboardHighlight Enable highlighting of keys pressed on physical keyboard.
* @property {boolean} preventMouseDownDefault Calling preventDefault for the mousedown events keeps the focus on the input.
* @property {boolean} stopMouseDownPropagation Stops pointer down events on simple-keyboard buttons from bubbling to parent elements.
* @property {boolean} physicalKeyboardHighlightPress Presses keys highlighted by physicalKeyboardHighlight
* @property {string} physicalKeyboardHighlightTextColor Define the text color that the physical keyboard highlighted key should have.
* @property {string} physicalKeyboardHighlightBgColor Define the background color that the physical keyboard highlighted key should have.
* @property {boolean} preventMouseDownDefault Calling preventDefault for the mousedown events keeps the focus on the input.
* @property {boolean} preventMouseUpDefault Calling preventDefault for the mouseup events.
* @property {boolean} stopMouseDownPropagation Stops pointer down events on simple-keyboard buttons from bubbling to parent elements.
* @property {boolean} stopMouseUpPropagation Stops pointer up events on simple-keyboard buttons from bubbling to parent elements.
* @property {function(button: string):string} onKeyPress Executes the callback function on key press. Returns button layout name (i.e.: “{shift}”).
* @property {function(input: string):string} onChange Executes the callback function on input change. Returns the current inputs string.
* @property {function} onRender Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).
@@ -81,6 +84,7 @@ class SimpleKeyboard {
* @property {boolean} useMouseEvents Opt out of PointerEvents handling, falling back to the prior mouse event logic.
* @property {function} destroy Clears keyboard listeners and DOM elements.
* @property {boolean} disableButtonHold Disable button hold action.
* @property {boolean} rtl Adds unicode right-to-left control characters to input return values.
* @property {function} onKeyReleased Executes the callback function on key release.
* @property {array} modules Module classes to be loaded by simple-keyboard.
*/
@@ -290,7 +294,7 @@ class SimpleKeyboard {
true
);
if (debug) console.log("Input changed:", this.input);
if (debug) console.log("Input changed:", this.getAllInputs());
if (this.options.debug) {
console.log(
@@ -310,13 +314,13 @@ class SimpleKeyboard {
* Calling onChange
*/
if (typeof this.options.onChange === "function")
this.options.onChange(this.input[this.options.inputName]);
this.options.onChange(this.getInput(this.options.inputName, true));
/**
* Calling onChangeAll
*/
if (typeof this.options.onChangeAll === "function")
this.options.onChangeAll(this.input);
this.options.onChangeAll(this.getAllInputs());
}
if (debug) {
@@ -379,20 +383,25 @@ class SimpleKeyboard {
/**
* Handles button mouseup
*/
handleButtonMouseUp(button) {
this.dispatch(instance => {
handleButtonMouseUp(button = null, e = null) {
if (e) {
/**
* Remove active class
* Handle event options
*/
instance.recurseButtons(buttonElement => {
buttonElement.classList.remove(this.activeButtonClass);
});
if (this.options.preventMouseUpDefault) e.preventDefault();
if (this.options.stopMouseUpPropagation) e.stopPropagation();
}
instance.isMouseHold = false;
if (instance.holdInteractionTimeout)
clearTimeout(instance.holdInteractionTimeout);
/**
* Remove active class
*/
this.recurseButtons(buttonElement => {
buttonElement.classList.remove(this.activeButtonClass);
});
this.isMouseHold = false;
if (this.holdInteractionTimeout) clearTimeout(this.holdInteractionTimeout);
/**
* Calling onKeyReleased
*/
@@ -463,15 +472,38 @@ class SimpleKeyboard {
* Get the keyboards input (You can also get it from the onChange prop).
* @param {string} [inputName] optional - the internal input to select
*/
getInput(inputName) {
getInput(inputName, skipSync = false) {
inputName = inputName || this.options.inputName;
/**
* Enforce syncInstanceInputs, if set
*/
if (this.options.syncInstanceInputs) this.syncInstanceInputs();
if (this.options.syncInstanceInputs && !skipSync) this.syncInstanceInputs();
return this.input[inputName];
if (this.options.rtl) {
// Remove existing control chars
const inputWithoutRTLControl = this.input[inputName]
.replace("\u202B", "")
.replace("\u202C", "");
return "\u202B" + inputWithoutRTLControl + "\u202C";
} else {
return this.input[inputName];
}
}
/**
* Get all simple-keyboard inputs
*/
getAllInputs() {
const output = {};
const inputNames = Object.keys(this.input);
inputNames.forEach(inputName => {
output[inputName] = this.getInput(inputName, true);
});
return output;
}
/**
@@ -543,7 +575,6 @@ class SimpleKeyboard {
/**
* inputName changed. This requires a caretPosition reset
*/
// TODO: Review side-effects
if (this.options.debug) {
console.log("inputName changed. caretPosition reset.");
}
@@ -741,8 +772,6 @@ class SimpleKeyboard {
* Handles simple-keyboard event listeners
*/
setEventListeners() {
const { useTouchEvents, useMouseEvents } = this.options;
/**
* Only first instance should set the event listeners
*/
@@ -754,42 +783,10 @@ class SimpleKeyboard {
/**
* Event Listeners
*/
document.onkeyup = this.handleKeyUp;
document.onkeydown = this.handleKeyDown;
/**
* Pointer events
*/
if (
this.utilities.pointerEventsSupported() &&
!useTouchEvents &&
!useMouseEvents
) {
document.onpointerdown = this.handlePointerDown;
document.onpointerup = this.handlePointerUp;
document.onpointercancel = this.handlePointerUp;
this.keyboardDOM.onpointerdown = this.handleKeyboardContainerMouseDown;
/**
* Touch events
*/
} else if (useTouchEvents) {
document.ontouchstart = this.handlePointerDown;
document.ontouchend = this.handlePointerUp;
document.ontouchcancel = this.handlePointerUp;
this.keyboardDOM.ontouchstart = this.handleKeyboardContainerMouseDown;
/**
* Mouse events
*/
} else if (!useTouchEvents) {
document.onmousedown = this.handlePointerDown;
document.onmouseup = this.handlePointerUp;
this.keyboardDOM.onmousedown = this.handleKeyboardContainerMouseDown;
}
document.addEventListener("keyup", this.handleKeyUp);
document.addEventListener("keydown", this.handleKeyDown);
document.addEventListener("mouseup", this.handleMouseUp);
document.addEventListener("touchend", this.handleTouchEnd);
}
}
@@ -814,17 +811,17 @@ class SimpleKeyboard {
}
/**
* Event Handler: PointerDown
* Event Handler: MouseUp
*/
handlePointerDown(event) {
handleMouseUp(event) {
this.caretEventHandler(event);
}
/**
* Event Handler: PointerUp
* Event Handler: TouchEnd
*/
handlePointerUp(event) {
this.handleButtonMouseUp();
/* istanbul ignore next */
handleTouchEnd(event) {
this.caretEventHandler(event);
}
@@ -832,28 +829,24 @@ class SimpleKeyboard {
* Called by {@link setEventListeners} when an event that warrants a cursor position update is triggered
*/
caretEventHandler(event) {
if (this.options.disableCaretPositioning) {
this.setCaretPosition(null);
return;
}
let targetTagName;
if (event.target.tagName) {
targetTagName = event.target.tagName.toLowerCase();
}
/* istanbul ignore next */
this.dispatch(instance => {
const isKeyboard =
event.target === instance.keyboardDOM ||
(event.target && instance.keyboardDOM.contains(event.target));
// if (!this.isMouseHold) {
// instance.isMouseHold = false;
// }
if (instance.isMouseHold) {
instance.isMouseHold = false;
}
if (targetTagName === "textarea" || targetTagName === "input") {
if (
(targetTagName === "textarea" || targetTagName === "input") &&
!instance.options.disableCaretPositioning
) {
/**
* Tracks current cursor position
* As keys are pressed, text will be added/removed at that position within the input.
@@ -872,9 +865,10 @@ class SimpleKeyboard {
`(${instance.keyboardDOMClass})`
);
}
// TODO: Review side-effects
} else if (!isKeyboard) {
} else if (instance.options.disableCaretPositioning || !isKeyboard) {
/**
* If we toggled off disableCaretPositioning, we must ensure caretPosition doesn't persist once reactivated.
*/
instance.setCaretPosition(null);
}
});
@@ -900,6 +894,18 @@ class SimpleKeyboard {
`Destroying simple-keyboard instance: ${this.currentInstanceName}`
);
/**
* Remove document listeners
*/
document.removeEventListener("keyup", this.handleKeyUp);
document.removeEventListener("keydown", this.handleKeyDown);
document.removeEventListener("mouseup", this.handleMouseUp);
document.removeEventListener("touchend", this.handleTouchEnd);
document.onpointerup = null;
document.ontouchend = null;
document.ontouchcancel = null;
document.onmouseup = null;
/**
* Remove buttons
*/
@@ -919,6 +925,8 @@ class SimpleKeyboard {
};
this.recurseButtons(deleteButton);
this.recurseButtons = null;
deleteButton = null;
/**
@@ -933,55 +941,12 @@ class SimpleKeyboard {
*/
this.clear();
/**
* Remove timouts
*/
/* istanbul ignore next */
if (this.holdInteractionTimeout) clearTimeout(this.holdInteractionTimeout);
/* istanbul ignore next */
if (this.holdTimeout) clearTimeout(this.holdTimeout);
/**
* Remove instance
*/
window["SimpleKeyboardInstances"][this.currentInstanceName] = null;
delete window["SimpleKeyboardInstances"][this.currentInstanceName];
/**
* Removing document listeners if there are no more instances
*/
if (!Object.keys(window["SimpleKeyboardInstances"]).length) {
/**
* Remove document listeners
*/
document.onkeydown = null;
document.onkeyup = null;
document.onpointerdown = null;
document.onpointerup = null;
document.onmousedown = null;
document.onmouseup = null;
document.ontouchstart = null;
document.ontouchend = null;
document.ontouchcancel = null;
if (this.options.debug) {
console.log(
"Destroy: No instances remaining. Document listeners removed",
window["SimpleKeyboardInstances"]
);
}
} else {
if (this.options.debug) {
console.log(
"Destroy: Instances remaining! Document listeners not removed",
window["SimpleKeyboardInstances"]
);
}
}
/**
* Reset initialized flag
*/
@@ -1466,11 +1431,11 @@ class SimpleKeyboard {
this.handleButtonClicked(button);
this.handleButtonMouseDown(button, e);
};
buttonDOM.onpointerup = () => {
this.handleButtonMouseUp(button);
buttonDOM.onpointerup = e => {
this.handleButtonMouseUp(button, e);
};
buttonDOM.onpointercancel = () => {
this.handleButtonMouseUp(button);
buttonDOM.onpointercancel = e => {
this.handleButtonMouseUp(button, e);
};
} else {
/**
@@ -1484,24 +1449,25 @@ class SimpleKeyboard {
this.handleButtonClicked(button);
this.handleButtonMouseDown(button, e);
};
buttonDOM.ontouchend = () => {
this.handleButtonMouseUp(button);
buttonDOM.ontouchend = e => {
this.handleButtonMouseUp(button, e);
};
buttonDOM.ontouchcancel = () => {
this.handleButtonMouseUp(button);
buttonDOM.ontouchcancel = e => {
this.handleButtonMouseUp(button, e);
};
} else {
/**
* Handle mouse events
*/
buttonDOM.onclick = () => {
this.isMouseHold = false;
this.handleButtonClicked(button);
};
buttonDOM.onmousedown = e => {
this.handleButtonMouseDown(button, e);
};
buttonDOM.onmouseup = () => {
this.handleButtonMouseUp(button);
buttonDOM.onmouseup = e => {
this.handleButtonMouseUp(button, e);
};
}
}
@@ -1565,6 +1531,36 @@ class SimpleKeyboard {
*/
this.initialized = true;
/**
* Handling parent events
*/
/* istanbul ignore next */
if (
this.utilities.pointerEventsSupported() &&
!useTouchEvents &&
!useMouseEvents
) {
document.onpointerup = () => this.handleButtonMouseUp();
this.keyboardDOM.onpointerdown = e =>
this.handleKeyboardContainerMouseDown(e);
} else if (useTouchEvents) {
/**
* Handling ontouchend, ontouchcancel
*/
document.ontouchend = () => this.handleButtonMouseUp();
document.ontouchcancel = () => this.handleButtonMouseUp();
this.keyboardDOM.ontouchstart = e =>
this.handleKeyboardContainerMouseDown(e);
} else if (!useTouchEvents) {
/**
* Handling mouseup
*/
document.onmouseup = () => this.handleButtonMouseUp();
this.keyboardDOM.onmousedown = e =>
this.handleKeyboardContainerMouseDown(e);
}
/**
* Calling onInit
*/

View File

@@ -590,13 +590,15 @@ it('Keyboard will receive physical keyboard events', () => {
physicalKeyboardHighlight: true
});
document.onkeyup({
document.dispatchEvent(new KeyboardEvent('keyup', {
charCode: 0,
code: "KeyF",
key: "f",
which: 70,
target: document.createElement('input')
});
target: {
tagName: "input"
}
}));
});
it('Keyboard caretEventHandler will detect input, textarea focus', () => {
@@ -927,14 +929,23 @@ it('Keyboard handleButtonMouseDown will work', () => {
it('Keyboard handleButtonMouseDown will work with preventMouseDownDefault', () => {
setDOM();
const keyboard = new Keyboard();
const keyboard = new Keyboard({
preventMouseDownDefault: true,
stopMouseDownPropagation: true
});
let called = false;
let called2 = false;
keyboard.options.preventMouseDownDefault = true;
keyboard.handleButtonMouseDown("q", {
target: keyboard.getButtonElement("q"),
preventDefault: () => {},
stopPropagation: () => {}
preventDefault: () => {
called = true;
},
stopPropagation: () => {
called2 = true;
}
});
keyboard.getButtonElement("q").onclick();
@@ -942,6 +953,37 @@ it('Keyboard handleButtonMouseDown will work with preventMouseDownDefault', () =
target: document.body
});
expect(called).toBe(true);
expect(called2).toBe(true);
});
it('Keyboard handleButtonMouseUp will work with preventMouseUpDefault and stopMouseUpPropagation', () => {
setDOM();
const keyboard = new Keyboard({
preventMouseUpDefault: true,
stopMouseUpPropagation: true
});
let called = false;
let called2 = false;
keyboard.handleButtonMouseUp("q", {
target: keyboard.getButtonElement("q"),
preventDefault: () => {
called = true
},
stopPropagation: () => {
called2 = true;
}
});
keyboard.getButtonElement("q").onclick();
document.onmouseup({
target: document.body
});
expect(called).toBe(true);
expect(called2).toBe(true);
});
it('Keyboard onModulesLoaded will work', () => {
@@ -1224,15 +1266,15 @@ it('Keyboard destroy will work', () => {
expect(document.onkeydown).toBe(null);
expect(document.onkeyup).toBe(null);
expect(document.onpointerdown).toBe(null);
expect(document.onpointerup).toBe(null);
// expect(document.onpointerdown).toBe(null);
// expect(document.onpointerup).toBe(null);
expect(document.onmousedown).toBe(null);
expect(document.onmouseup).toBe(null);
// expect(document.onmousedown).toBe(null);
// expect(document.onmouseup).toBe(null);
expect(document.ontouchstart).toBe(null);
expect(document.ontouchend).toBe(null);
expect(document.ontouchcancel).toBe(null);
// expect(document.ontouchstart).toBe(null);
// expect(document.ontouchend).toBe(null);
// expect(document.ontouchcancel).toBe(null);
expect(keyboard.initialized).toBe(false);
});
@@ -1263,7 +1305,6 @@ it('Keyboard caretEventHandler will be triggered on mouseup and ontouchend', ()
});
keyboard.setCaretPosition(6);
expect(keyboard.getCaretPosition()).toBe(6);
const event = {
@@ -1380,17 +1421,32 @@ it('Keyboard handleKeyboardContainerMouseDown will respect preventMouseDownDefau
expect(works).toBe(true);
});
it('Keyboard handlePointerDown will work', () => {
it('Keyboard caret positioning will work', () => {
setDOM();
const keyboard = new Keyboard();
const keyboard = new Keyboard({
onKeyPress: (button) => {
if (button === "{shift}" || button === "{lock}") handleShift();
else if (keyboard.options.layoutName === "shift") handleShift();
}
});
keyboard.setCaretPosition(3);
expect(keyboard.getCaretPosition()).toBe(3);
function handleShift() {
const currentLayout = keyboard.options.layoutName;
const shiftToggle = currentLayout === "default" ? "shift" : "default";
keyboard.setOptions({
layoutName: shiftToggle
});
}
triggerDocumentPointerDown({
target: document.body
})
keyboard.getButtonElement("h").onpointerdown();
keyboard.getButtonElement("o").onpointerdown();
keyboard.setCaretPosition(1);
keyboard.getButtonElement("{shift}")[0].onpointerdown();
keyboard.getButtonElement("E").onpointerdown();
keyboard.getButtonElement("l").onpointerdown();
keyboard.getButtonElement("l").onpointerdown();
expect(keyboard.getCaretPosition()).toBe(null);
expect(keyboard.getInput()).toBe("hEllo");
});

View File

@@ -34,11 +34,24 @@ class PhysicalKeyboard {
options.physicalKeyboardHighlightBgColor || "#dadce4";
buttonDOM.style.color =
options.physicalKeyboardHighlightTextColor || "black";
if (options.physicalKeyboardHighlightPress) {
/**
* Trigger mousedown
*/
(
buttonDOM.onpointerdown ||
buttonDOM.onmousedown ||
buttonDOM.ontouchstart ||
Utilities.noop
)();
}
}
});
}
handleHighlightKeyUp(event) {
const options = this.getOptions();
const buttonPressed = this.getSimpleKeyboardLayoutKey(event);
this.dispatch(instance => {
@@ -48,6 +61,18 @@ class PhysicalKeyboard {
if (buttonDOM && buttonDOM.removeAttribute) {
buttonDOM.removeAttribute("style");
if (options.physicalKeyboardHighlightPress) {
/**
* Trigger mousedown
*/
(
buttonDOM.onpointerup ||
buttonDOM.onmouseup ||
buttonDOM.ontouchend ||
Utilities.noop
)();
}
}
});
}

View File

@@ -430,6 +430,8 @@ class Utilities {
word.length ? str + word[0].toUpperCase() + word.slice(1) : str
);
}
static noop = () => {};
}
export default Utilities;

View File

@@ -113,4 +113,57 @@ it('PhysicalKeyboard will work with F1-F12 keys', () => {
tagName: "input"
}
}));
});
it('PhysicalKeyboard will work with physicalKeyboardHighlightPress', () => {
setDOM();
new Keyboard({
physicalKeyboardHighlight: true,
physicalKeyboardHighlightPress: true,
debug: true
});
document.dispatchEvent(new KeyboardEvent('keydown', {
code: "KeyF",
key: "f",
target: {
tagName: "input"
}
}));
document.dispatchEvent(new KeyboardEvent('keyup', {
code: "KeyF",
key: "f",
target: {
tagName: "input"
}
}));
});
it('PhysicalKeyboard will work with physicalKeyboardHighlightPress (touch)', () => {
setDOM();
new Keyboard({
physicalKeyboardHighlight: true,
physicalKeyboardHighlightPress: true,
useTouchEvents: true,
debug: true
});
document.dispatchEvent(new KeyboardEvent('keydown', {
code: "KeyF",
key: "f",
target: {
tagName: "input"
}
}));
document.dispatchEvent(new KeyboardEvent('keyup', {
code: "KeyF",
key: "f",
target: {
tagName: "input"
}
}));
});

View File

@@ -26,13 +26,17 @@
/**
* Trigger pointerup
*/
export const triggerDocumentPointerUp = (e = {}) => (document.onpointerup || document.onmouseup || document.ontouchstart)(e);
export const triggerDocumentPointerUp = (e = {}) => {
document.dispatchEvent(new MouseEvent('mouseup', e));
};
/**
* Trigger pointerdown
*/
export const triggerDocumentPointerDown = (e = {}) => (document.onpointerdown || document.onmousedown || document.ontouchend)(e);
export const triggerDocumentPointerDown = (e = {}) => {
document.dispatchEvent(new MouseEvent('mousedown', e));
};
/**
* Test if standard buttons respect maxLength and do input a value
*/
@@ -118,3 +122,10 @@
});
});
}
/**
* Remove RTL control chars
*/
export const removeRTLControls = (input) => {
return input.replace("\u202B", "").replace("\u202C", "");
}