Compare commits

...

640 Commits

Author SHA1 Message Date
Francisco Hodge
067e263996 Build update 2020-02-07 02:48:56 +00:00
Francisco Hodge
a6c5e82abd 2.28.1 2020-02-07 02:48:51 +00:00
Francisco Hodge
3bb940ee27 Merge branch 'master' of https://github.com/hodgef/simple-keyboard 2020-02-06 21:46:51 -05:00
Francisco Hodge
816f4c7e2c Build update 2020-02-06 10:35:18 +00:00
Francisco Hodge
b53ff0af0a 2.27.87 2020-02-06 10:35:12 +00:00
dependabot-preview[bot]
e190285635 Merge pull request #418 from hodgef/dependabot/npm_and_yarn/resolve-1.15.1 2020-02-06 10:33:29 +00:00
dependabot-preview[bot]
a8e7a5ce7c Bump resolve from 1.15.0 to 1.15.1
Bumps [resolve](https://github.com/browserify/resolve) from 1.15.0 to 1.15.1.
- [Release notes](https://github.com/browserify/resolve/releases)
- [Commits](https://github.com/browserify/resolve/compare/v1.15.0...v1.15.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-06 10:29:39 +00:00
Francisco Hodge
fb4760da9c Build update 2020-02-06 10:28:58 +00:00
Francisco Hodge
615ac63476 2.27.86 2020-02-06 10:28:53 +00:00
dependabot-preview[bot]
15a15d46de Merge pull request #417 from hodgef/dependabot/npm_and_yarn/webpack-dev-server-3.10.3 2020-02-06 10:27:21 +00:00
dependabot-preview[bot]
bcd76de6d3 Bump webpack-dev-server from 3.10.2 to 3.10.3
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 3.10.2 to 3.10.3.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v3.10.2...v3.10.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-06 10:24:07 +00:00
Francisco Hodge
ed0abfeea6 Assign theme styles to default theme 2020-02-06 00:31:32 -05:00
Francisco Hodge
1a5d917a7d Supporting DOM element param 2020-02-06 00:30:41 -05:00
Francisco Hodge
304f47701e Linting codebase 2020-02-06 00:26:22 -05:00
Francisco Hodge
7fd757cd02 Customize eslint, config 2020-02-05 23:41:59 -05:00
Francisco Hodge
042ba7fc5c Build update 2020-02-05 10:31:03 +00:00
Francisco Hodge
6938d4b00d 2.27.85 2020-02-05 10:30:58 +00:00
dependabot-preview[bot]
d2880e8322 Merge pull request #415 from hodgef/dependabot/npm_and_yarn/postcss-flexbugs-fixes-4.2.0 2020-02-05 10:29:24 +00:00
dependabot-preview[bot]
e2b702e063 Bump postcss-flexbugs-fixes from 4.1.0 to 4.2.0
Bumps [postcss-flexbugs-fixes](https://github.com/luisrudge/postcss-flexbugs-fixes) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/luisrudge/postcss-flexbugs-fixes/releases)
- [Changelog](https://github.com/luisrudge/postcss-flexbugs-fixes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/luisrudge/postcss-flexbugs-fixes/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-05 10:26:00 +00:00
Francisco Hodge
d7567c3aea Build update 2020-02-03 12:13:41 +00:00
Francisco Hodge
bf958ba4f2 2.27.84 2020-02-03 12:13:35 +00:00
dependabot-preview[bot]
3e465b9193 Merge pull request #413 from hodgef/dependabot/npm_and_yarn/eslint-plugin-import-2.20.1 2020-02-03 12:11:42 +00:00
Francisco Hodge
dabf471a8f Build update 2020-02-03 12:10:33 +00:00
Francisco Hodge
4f644d19e0 2.27.83 2020-02-03 12:10:28 +00:00
dependabot-preview[bot]
aa4a262d79 Merge pull request #414 from hodgef/dependabot/npm_and_yarn/webpack-dev-server-3.10.2 2020-02-03 12:08:47 +00:00
dependabot-preview[bot]
5ef6f640c4 Bump eslint-plugin-import from 2.20.0 to 2.20.1
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.20.0 to 2.20.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.20.0...v2.20.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 12:07:48 +00:00
Francisco Hodge
33b9a70bf6 Build update 2020-02-03 12:07:09 +00:00
Francisco Hodge
c7226298ab 2.27.82 2020-02-03 12:07:04 +00:00
dependabot-preview[bot]
580662fced Merge pull request #412 from hodgef/dependabot/npm_and_yarn/eslint-plugin-react-7.18.3 2020-02-03 12:05:27 +00:00
dependabot-preview[bot]
31cfd468eb Bump webpack-dev-server from 3.10.1 to 3.10.2
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 3.10.1 to 3.10.2.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v3.10.1...v3.10.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 12:05:02 +00:00
dependabot-preview[bot]
31a55dd8f0 Bump eslint-plugin-react from 7.18.0 to 7.18.3
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.18.0 to 7.18.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.18.0...v7.18.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 12:02:01 +00:00
Francisco Hodge
5429193def Build update 2020-01-31 11:08:53 +00:00
Francisco Hodge
08e178129f 2.27.81 2020-01-31 11:08:47 +00:00
dependabot-preview[bot]
1b53dfbbd5 Merge pull request #410 from hodgef/dependabot/npm_and_yarn/babel/core-7.8.4 2020-01-31 11:07:07 +00:00
dependabot-preview[bot]
58c7b04920 Merge pull request #411 from hodgef/dependabot/npm_and_yarn/babel-plugin-named-asset-import-0.3.6 2020-01-31 11:06:45 +00:00
dependabot-preview[bot]
fb22ecb989 Bump @babel/core from 7.8.3 to 7.8.4
Bumps [@babel/core](https://github.com/babel/babel) from 7.8.3 to 7.8.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.3...v7.8.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-31 11:03:28 +00:00
dependabot-preview[bot]
bc45759719 Bump babel-plugin-named-asset-import from 0.3.5 to 0.3.6
Bumps [babel-plugin-named-asset-import](https://github.com/facebook/create-react-app/tree/HEAD/packages/babel-plugin-named-asset-import) from 0.3.5 to 0.3.6.
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG-1.x.md)
- [Commits](https://github.com/facebook/create-react-app/commits/babel-plugin-named-asset-import@0.3.6/packages/babel-plugin-named-asset-import)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-31 11:03:24 +00:00
Francisco Hodge
5e072db2d0 Build update 2020-01-31 11:03:16 +00:00
Francisco Hodge
2582b646fe 2.27.80 2020-01-31 11:03:11 +00:00
dependabot-preview[bot]
39cad2bf91 Merge pull request #407 from hodgef/dependabot/npm_and_yarn/react-dev-utils-10.1.0 2020-01-31 11:01:28 +00:00
dependabot-preview[bot]
ba01a6a7ae Merge pull request #409 from hodgef/dependabot/npm_and_yarn/babel/preset-env-7.8.4 2020-01-31 11:00:59 +00:00
dependabot-preview[bot]
c4f7a8ae00 Merge pull request #408 from hodgef/dependabot/npm_and_yarn/terser-webpack-plugin-2.3.4 2020-01-31 10:59:22 +00:00
Francisco Hodge
bab6f45da4 Build update 2020-01-31 10:58:51 +00:00
Francisco Hodge
447dd76da3 2.27.79 2020-01-31 10:58:46 +00:00
dependabot-preview[bot]
73da0d0fae Bump react-dev-utils from 10.0.0 to 10.1.0
Bumps [react-dev-utils](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-dev-utils) from 10.0.0 to 10.1.0.
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG-1.x.md)
- [Commits](https://github.com/facebook/create-react-app/commits/react-dev-utils@10.1.0/packages/react-dev-utils)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-31 10:57:51 +00:00
dependabot-preview[bot]
10bf33aa74 Bump @babel/preset-env from 7.8.3 to 7.8.4
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.8.3 to 7.8.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.3...v7.8.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-31 10:57:23 +00:00
dependabot-preview[bot]
5bedce1b5e Merge pull request #406 from hodgef/dependabot/npm_and_yarn/babel-preset-react-app-9.1.1 2020-01-31 10:57:10 +00:00
dependabot-preview[bot]
74e7d2897b Merge pull request #405 from hodgef/dependabot/npm_and_yarn/react-app-polyfill-1.0.6 2020-01-31 10:55:31 +00:00
dependabot-preview[bot]
c00206311b Bump terser-webpack-plugin from 2.3.3 to 2.3.4
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.3.3 to 2.3.4.
- [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/v2.3.3...v2.3.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-31 10:55:25 +00:00
dependabot-preview[bot]
51e8670bdc Merge pull request #404 from hodgef/dependabot/npm_and_yarn/semver-7.1.2 2020-01-31 10:54:28 +00:00
dependabot-preview[bot]
f6913455d1 Bump babel-preset-react-app from 9.1.0 to 9.1.1
Bumps [babel-preset-react-app](https://github.com/facebook/create-react-app/tree/HEAD/packages/babel-preset-react-app) from 9.1.0 to 9.1.1.
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG-1.x.md)
- [Commits](https://github.com/facebook/create-react-app/commits/babel-preset-react-app@9.1.1/packages/babel-preset-react-app)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-31 10:53:40 +00:00
dependabot-preview[bot]
f740cb0099 Bump react-app-polyfill from 1.0.5 to 1.0.6
Bumps [react-app-polyfill](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-app-polyfill) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG-1.x.md)
- [Commits](https://github.com/facebook/create-react-app/commits/react-app-polyfill@1.0.6/packages/react-app-polyfill)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-31 10:52:04 +00:00
dependabot-preview[bot]
c57c9b90c0 Bump semver from 7.1.1 to 7.1.2
Bumps [semver](https://github.com/npm/node-semver) from 7.1.1 to 7.1.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/master/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.1.1...v7.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-31 10:51:00 +00:00
Francisco Hodge
ad23041c3e Build update 2020-01-29 10:25:29 +00:00
Francisco Hodge
b696846d15 2.27.78 2020-01-29 10:25:23 +00:00
dependabot-preview[bot]
78516edc92 Merge pull request #401 from hodgef/dependabot/npm_and_yarn/workbox-webpack-plugin-5.0.0 2020-01-29 10:23:39 +00:00
dependabot-preview[bot]
6fefde3c16 Merge pull request #400 from hodgef/dependabot/npm_and_yarn/terser-webpack-plugin-2.3.3 2020-01-29 10:22:03 +00:00
dependabot-preview[bot]
930426d909 Bump workbox-webpack-plugin from 4.3.1 to 5.0.0
Bumps [workbox-webpack-plugin](https://github.com/googlechrome/workbox) from 4.3.1 to 5.0.0.
- [Release notes](https://github.com/googlechrome/workbox/releases)
- [Commits](https://github.com/googlechrome/workbox/compare/v4.3.1...v5.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-29 10:20:40 +00:00
dependabot-preview[bot]
ba7b99bcd5 Bump terser-webpack-plugin from 2.3.2 to 2.3.3
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.3.2 to 2.3.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/v2.3.2...v2.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-29 10:19:09 +00:00
Francisco Hodge
efa83a6c5e Build update 2020-01-28 10:35:48 +00:00
Francisco Hodge
b54e70d0ab 2.27.77 2020-01-28 10:35:43 +00:00
dependabot-preview[bot]
470170678c Merge pull request #399 from hodgef/dependabot/npm_and_yarn/pnp-webpack-plugin-1.6.0 2020-01-28 10:34:10 +00:00
dependabot-preview[bot]
ddccc24d77 Bump pnp-webpack-plugin from 1.5.0 to 1.6.0
Bumps [pnp-webpack-plugin](https://github.com/arcanis/pnp-webpack-plugin) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/arcanis/pnp-webpack-plugin/releases)
- [Commits](https://github.com/arcanis/pnp-webpack-plugin/compare/v1.5.0...v1.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-28 10:31:04 +00:00
Francisco Hodge
a80d78da9a Build update 2020-01-22 11:07:14 +00:00
Francisco Hodge
33140ccd91 2.27.76 2020-01-22 11:07:09 +00:00
dependabot-preview[bot]
3129cd4123 Merge pull request #397 from hodgef/dependabot/npm_and_yarn/jest-25.1.0 2020-01-22 11:05:30 +00:00
dependabot-preview[bot]
90c0969db5 Bump jest from 24.9.0 to 25.1.0
Bumps [jest](https://github.com/facebook/jest) from 24.9.0 to 25.1.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/v24.9.0...v25.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-22 11:02:01 +00:00
Francisco Hodge
9862a66384 Build update 2020-01-22 11:01:19 +00:00
Francisco Hodge
e7496e124f 2.27.75 2020-01-22 11:01:13 +00:00
dependabot-preview[bot]
a7c14502e5 Merge pull request #396 from hodgef/dependabot/npm_and_yarn/babel-jest-25.1.0 2020-01-22 10:59:44 +00:00
dependabot-preview[bot]
152a7e3535 Merge pull request #395 from hodgef/dependabot/npm_and_yarn/resolve-1.15.0 2020-01-22 10:59:16 +00:00
dependabot-preview[bot]
4986d616c4 Bump babel-jest from 24.9.0 to 25.1.0
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 24.9.0 to 25.1.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/v25.1.0/packages/babel-jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-22 10:55:55 +00:00
dependabot-preview[bot]
ff35c2ce9d Bump resolve from 1.14.2 to 1.15.0
Bumps [resolve](https://github.com/browserify/resolve) from 1.14.2 to 1.15.0.
- [Release notes](https://github.com/browserify/resolve/releases)
- [Commits](https://github.com/browserify/resolve/compare/v1.14.2...v1.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-22 10:55:55 +00:00
Francisco Hodge
e415e93f71 Build update 2020-01-22 10:55:20 +00:00
Francisco Hodge
cafe4550c3 2.27.74 2020-01-22 10:55:14 +00:00
dependabot-preview[bot]
ded2173743 Merge pull request #394 from hodgef/dependabot/npm_and_yarn/jest-resolve-25.1.0 2020-01-22 10:53:39 +00:00
dependabot-preview[bot]
ba21a94cd3 Bump jest-resolve from 24.9.0 to 25.1.0
Bumps [jest-resolve](https://github.com/facebook/jest/tree/HEAD/packages/jest-resolve) from 24.9.0 to 25.1.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/v25.1.0/packages/jest-resolve)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-22 10:50:42 +00:00
Francisco Hodge
6481b486ae Build update 2020-01-21 10:23:51 +00:00
Francisco Hodge
3346506b1c 2.27.73 2020-01-21 10:23:45 +00:00
dependabot-preview[bot]
c5b7793a5c Merge pull request #393 from hodgef/dependabot/npm_and_yarn/svgr/webpack-5.1.0 2020-01-21 10:22:14 +00:00
dependabot-preview[bot]
11738a5ad6 Bump @svgr/webpack from 5.0.1 to 5.1.0
Bumps [@svgr/webpack](https://github.com/gregberge/svgr) from 5.0.1 to 5.1.0.
- [Release notes](https://github.com/gregberge/svgr/releases)
- [Changelog](https://github.com/gregberge/svgr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gregberge/svgr/compare/v5.0.1...v5.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-21 10:18:53 +00:00
Francisco Hodge
40553f2201 Build update 2020-01-20 11:33:49 +00:00
Francisco Hodge
b800ea17f9 2.27.72 2020-01-20 11:33:44 +00:00
dependabot-preview[bot]
055dffbcad Merge pull request #392 from hodgef/dependabot/npm_and_yarn/style-loader-1.1.3 2020-01-20 11:32:12 +00:00
dependabot-preview[bot]
5e136a133f Bump style-loader from 1.1.2 to 1.1.3
Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 1.1.2 to 1.1.3.
- [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.1.2...v1.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 11:29:06 +00:00
Francisco Hodge
c3ea9e2d52 Build update 2020-01-16 21:38:32 +00:00
Francisco Hodge
27e432a0be 2.27.71 2020-01-16 21:38:26 +00:00
Francisco Hodge
bd0125c735 Update publish.yml 2020-01-16 16:36:52 -05:00
Francisco Hodge
b5a3e63e65 Build update 2020-01-16 11:00:22 +00:00
Francisco Hodge
ed3ba17d9c 2.27.70 2020-01-16 11:00:17 +00:00
dependabot-preview[bot]
fa97d4d1ed Merge pull request #390 from hodgef/dependabot/npm_and_yarn/case-sensitive-paths-webpack-plugin-2.3.0 2020-01-16 10:58:49 +00:00
Francisco Hodge
81d2db7a35 Build update 2020-01-16 10:58:43 +00:00
Francisco Hodge
a1fdbd540f 2.27.69 2020-01-16 10:58:37 +00:00
dependabot-preview[bot]
43720df656 Merge pull request #389 from hodgef/dependabot/npm_and_yarn/eslint-plugin-react-7.18.0 2020-01-16 10:57:05 +00:00
dependabot-preview[bot]
b85684a25b Bump case-sensitive-paths-webpack-plugin from 2.2.0 to 2.3.0
Bumps [case-sensitive-paths-webpack-plugin](https://github.com/Urthen/case-sensitive-paths-webpack-plugin) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/Urthen/case-sensitive-paths-webpack-plugin/releases)
- [Changelog](https://github.com/Urthen/case-sensitive-paths-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Urthen/case-sensitive-paths-webpack-plugin/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-16 10:55:36 +00:00
dependabot-preview[bot]
27910f25eb Bump eslint-plugin-react from 7.17.0 to 7.18.0
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.17.0 to 7.18.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.17.0...v7.18.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-16 10:53:49 +00:00
Francisco Hodge
5f390a4a31 Build update 2020-01-14 10:53:44 +00:00
Francisco Hodge
63fa6471e1 2.27.68 2020-01-14 10:53:38 +00:00
dependabot-preview[bot]
c4d27dc670 Merge pull request #386 from hodgef/dependabot/npm_and_yarn/babel/plugin-proposal-class-properties-7.8.3 2020-01-14 10:52:10 +00:00
dependabot-preview[bot]
e490029c0c Bump @babel/plugin-proposal-class-properties from 7.8.0 to 7.8.3
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel) from 7.8.0 to 7.8.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.0...v7.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-14 10:48:56 +00:00
Francisco Hodge
fda25e37e6 Build update 2020-01-14 10:48:36 +00:00
Francisco Hodge
564694e88a 2.27.67 2020-01-14 10:48:31 +00:00
dependabot-preview[bot]
5195f3de97 Merge pull request #388 from hodgef/dependabot/npm_and_yarn/babel/preset-env-7.8.3 2020-01-14 10:46:48 +00:00
Francisco Hodge
21926a9e71 Build update 2020-01-14 10:44:16 +00:00
Francisco Hodge
aa200d6d01 2.27.66 2020-01-14 10:44:10 +00:00
dependabot-preview[bot]
3c3bd6c096 Bump @babel/preset-env from 7.8.2 to 7.8.3
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.8.2 to 7.8.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.2...v7.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-14 10:43:27 +00:00
dependabot-preview[bot]
8272f2501e Merge pull request #387 from hodgef/dependabot/npm_and_yarn/babel/core-7.8.3 2020-01-14 10:42:37 +00:00
Francisco Hodge
9b06121360 Build update 2020-01-14 10:41:14 +00:00
Francisco Hodge
cacc2b3f5e 2.27.65 2020-01-14 10:41:08 +00:00
dependabot-preview[bot]
d7eec56879 Merge pull request #385 from hodgef/dependabot/npm_and_yarn/sass-loader-8.0.2 2020-01-14 10:39:31 +00:00
dependabot-preview[bot]
ba8663b2cc Bump @babel/core from 7.8.0 to 7.8.3
Bumps [@babel/core](https://github.com/babel/babel) from 7.8.0 to 7.8.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.0...v7.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-14 10:39:21 +00:00
dependabot-preview[bot]
5474f93af0 Merge pull request #384 from hodgef/dependabot/npm_and_yarn/babel/preset-react-7.8.3 2020-01-14 10:38:46 +00:00
dependabot-preview[bot]
577919fbe3 Bump sass-loader from 8.0.1 to 8.0.2
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 8.0.1 to 8.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/v8.0.1...v8.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-14 10:36:20 +00:00
dependabot-preview[bot]
5ab3f9bbb8 Bump @babel/preset-react from 7.8.0 to 7.8.3
Bumps [@babel/preset-react](https://github.com/babel/babel) from 7.8.0 to 7.8.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.0...v7.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-14 10:35:33 +00:00
Francisco Hodge
9eee8b22ff Build update 2020-01-13 12:25:16 +00:00
Francisco Hodge
5b32ed7b4b 2.27.64 2020-01-13 12:25:10 +00:00
dependabot-preview[bot]
5a45ecc6c2 Merge pull request #380 from hodgef/dependabot/npm_and_yarn/babel/plugin-proposal-class-properties-7.8.0 2020-01-13 12:23:39 +00:00
dependabot-preview[bot]
e08e17f42e Bump @babel/plugin-proposal-class-properties from 7.7.4 to 7.8.0
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel) from 7.7.4 to 7.8.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.4...v7.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 12:17:15 +00:00
Francisco Hodge
d67461f602 Build update 2020-01-13 12:16:40 +00:00
Francisco Hodge
26cb250af3 2.27.63 2020-01-13 12:16:34 +00:00
dependabot-preview[bot]
e97888bb55 Merge pull request #383 from hodgef/dependabot/npm_and_yarn/babel/core-7.8.0 2020-01-13 12:15:02 +00:00
dependabot-preview[bot]
e829181ff1 Bump @babel/core from 7.7.7 to 7.8.0
Bumps [@babel/core](https://github.com/babel/babel) from 7.7.7 to 7.8.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.7...v7.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 12:11:53 +00:00
Francisco Hodge
2dfaeaa352 Build update 2020-01-13 12:11:19 +00:00
Francisco Hodge
fa252e673c 2.27.62 2020-01-13 12:11:13 +00:00
dependabot-preview[bot]
e19e825c7f Merge pull request #381 from hodgef/dependabot/npm_and_yarn/babel/preset-env-7.8.2 2020-01-13 12:09:44 +00:00
Francisco Hodge
fd72f373b3 Build update 2020-01-13 12:07:01 +00:00
Francisco Hodge
5cdfdfcdac 2.27.61 2020-01-13 12:06:55 +00:00
dependabot-preview[bot]
5e70c0039f Bump @babel/preset-env from 7.7.7 to 7.8.2
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.7 to 7.8.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.7...v7.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 12:06:48 +00:00
dependabot-preview[bot]
171bec5152 Merge pull request #382 from hodgef/dependabot/npm_and_yarn/css-loader-3.4.2 2020-01-13 12:05:27 +00:00
dependabot-preview[bot]
c100f15011 Merge pull request #379 from hodgef/dependabot/npm_and_yarn/babel/preset-react-7.8.0 2020-01-13 12:04:40 +00:00
Francisco Hodge
469d71948d Build update 2020-01-13 12:02:30 +00:00
Francisco Hodge
bcf303cf8c 2.27.60 2020-01-13 12:02:23 +00:00
dependabot-preview[bot]
c7504ec8c4 Bump css-loader from 3.4.1 to 3.4.2
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.4.1 to 3.4.2.
- [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/v3.4.1...v3.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 12:02:10 +00:00
dependabot-preview[bot]
9c00c3b8f0 Merge pull request #378 from hodgef/dependabot/npm_and_yarn/sass-loader-8.0.1 2020-01-13 12:00:49 +00:00
dependabot-preview[bot]
eb80655d4d Merge pull request #377 from hodgef/dependabot/npm_and_yarn/eslint-plugin-import-2.20.0 2020-01-13 11:59:24 +00:00
dependabot-preview[bot]
333f970bb7 Bump @babel/preset-react from 7.7.4 to 7.8.0
Bumps [@babel/preset-react](https://github.com/babel/babel) from 7.7.4 to 7.8.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.4...v7.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 11:58:30 +00:00
dependabot-preview[bot]
6fab38a8ba Bump sass-loader from 7.3.1 to 8.0.1
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 7.3.1 to 8.0.1.
- [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/v7.3.1...v8.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 11:57:39 +00:00
dependabot-preview[bot]
73d25710d3 Bump eslint-plugin-import from 2.19.1 to 2.20.0
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.19.1 to 2.20.0.
- [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.19.1...v2.20.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 11:56:26 +00:00
Francisco Hodge
e98d6ac70e Build update 2020-01-10 10:02:52 +00:00
Francisco Hodge
8a8634f8f7 2.27.59 2020-01-10 10:02:46 +00:00
dependabot-preview[bot]
a42416b656 Merge pull request #376 from hodgef/dependabot/npm_and_yarn/terser-webpack-plugin-2.3.2 2020-01-10 10:01:19 +00:00
dependabot-preview[bot]
ed1f133847 Bump terser-webpack-plugin from 2.3.1 to 2.3.2
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.3.1 to 2.3.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/v2.3.1...v2.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-10 09:58:23 +00:00
Francisco Hodge
499ddaf1a2 Build update 2020-01-07 10:14:28 +00:00
Francisco Hodge
751b576eb6 2.27.58 2020-01-07 10:14:21 +00:00
dependabot-preview[bot]
da05617dbd Merge pull request #375 from hodgef/dependabot/npm_and_yarn/resolve-1.14.2 2020-01-07 10:12:55 +00:00
dependabot-preview[bot]
a46a47266a Bump resolve from 1.14.1 to 1.14.2
Bumps [resolve](https://github.com/browserify/resolve) from 1.14.1 to 1.14.2.
- [Release notes](https://github.com/browserify/resolve/releases)
- [Commits](https://github.com/browserify/resolve/compare/v1.14.1...v1.14.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-07 10:09:25 +00:00
Francisco Hodge
6d9983698c Build update 2020-01-06 10:58:36 +00:00
Francisco Hodge
477b5ebf89 2.27.57 2020-01-06 10:58:30 +00:00
dependabot-preview[bot]
ecaa9e957e Merge pull request #374 from hodgef/dependabot/npm_and_yarn/css-loader-3.4.1 2020-01-06 10:57:04 +00:00
dependabot-preview[bot]
e6f1b10380 Bump css-loader from 3.4.0 to 3.4.1
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.4.0 to 3.4.1.
- [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/v3.4.0...v3.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 10:50:06 +00:00
Francisco Hodge
d771bdfaac Build update 2019-12-30 10:05:44 +00:00
Francisco Hodge
48077022e9 2.27.56 2019-12-30 10:05:37 +00:00
dependabot-preview[bot]
73ca8ad39b Merge pull request #371 from hodgef/dependabot/npm_and_yarn/svgr/webpack-5.0.1 2019-12-30 10:04:03 +00:00
dependabot-preview[bot]
0cdb9f3aa3 Merge pull request #370 from hodgef/dependabot/npm_and_yarn/webpack-4.41.5 2019-12-30 10:02:35 +00:00
dependabot-preview[bot]
957eb1eb81 Bump @svgr/webpack from 5.0.0 to 5.0.1
Bumps [@svgr/webpack](https://github.com/gregberge/svgr) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/gregberge/svgr/releases)
- [Changelog](https://github.com/gregberge/svgr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gregberge/svgr/compare/v5.0.0...v5.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-30 10:00:42 +00:00
dependabot-preview[bot]
a3557928f2 Bump webpack from 4.41.4 to 4.41.5
Bumps [webpack](https://github.com/webpack/webpack) from 4.41.4 to 4.41.5.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.41.4...v4.41.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-30 09:59:35 +00:00
Francisco Hodge
da7a38aebb Build update 2019-12-26 09:25:02 +00:00
Francisco Hodge
f6e8ee2aed 2.27.55 2019-12-26 09:24:56 +00:00
dependabot-preview[bot]
c6fb63ed79 Merge pull request #369 from hodgef/dependabot/npm_and_yarn/style-loader-1.1.2 2019-12-26 09:23:35 +00:00
dependabot-preview[bot]
574d3745da Bump style-loader from 1.1.1 to 1.1.2
Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 1.1.1 to 1.1.2.
- [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.1.1...v1.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-26 09:19:54 +00:00
Francisco Hodge
f61f6b63d8 Build update 2019-12-24 09:38:26 +00:00
Francisco Hodge
b48b5343f3 2.27.54 2019-12-24 09:38:19 +00:00
dependabot-preview[bot]
d44191ed8f Merge pull request #368 from hodgef/dependabot/npm_and_yarn/svgr/webpack-5.0.0 2019-12-24 09:36:48 +00:00
dependabot-preview[bot]
6a0a34fff2 Bump @svgr/webpack from 4.3.3 to 5.0.0
Bumps [@svgr/webpack](https://github.com/smooth-code/svgr) from 4.3.3 to 5.0.0.
- [Release notes](https://github.com/smooth-code/svgr/releases)
- [Changelog](https://github.com/smooth-code/svgr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/smooth-code/svgr/compare/v4.3.3...v5.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-24 09:33:45 +00:00
Francisco Hodge
21fe8fe6f5 Build update 2019-12-23 10:53:20 +00:00
Francisco Hodge
1def9346d1 2.27.53 2019-12-23 10:53:13 +00:00
dependabot-preview[bot]
2c27b29bba Merge pull request #366 from hodgef/dependabot/npm_and_yarn/style-loader-1.1.1 2019-12-23 10:51:45 +00:00
Francisco Hodge
27e316bc85 Build update 2019-12-23 10:51:38 +00:00
Francisco Hodge
49e292c38b 2.27.52 2019-12-23 10:51:31 +00:00
dependabot-preview[bot]
722da50075 Merge pull request #367 from hodgef/dependabot/npm_and_yarn/mini-css-extract-plugin-0.9.0 2019-12-23 10:50:02 +00:00
Francisco Hodge
81bab0cc7f Build update 2019-12-23 10:49:33 +00:00
Francisco Hodge
25d81255a6 2.27.51 2019-12-23 10:49:26 +00:00
dependabot-preview[bot]
5a4b450424 Merge pull request #365 from hodgef/dependabot/npm_and_yarn/eslint-6.8.0 2019-12-23 10:48:00 +00:00
dependabot-preview[bot]
4b1d916ead Bump mini-css-extract-plugin from 0.8.2 to 0.9.0
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 0.8.2 to 0.9.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.8.2...v0.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 10:47:14 +00:00
dependabot-preview[bot]
1931f7d586 Bump style-loader from 1.0.2 to 1.1.1
Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 1.0.2 to 1.1.1.
- [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.0.2...v1.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 10:45:39 +00:00
dependabot-preview[bot]
de79e024c4 Bump eslint from 6.7.2 to 6.8.0
Bumps [eslint](https://github.com/eslint/eslint) from 6.7.2 to 6.8.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.7.2...v6.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 10:44:48 +00:00
Francisco Hodge
c100d8f121 Build update 2019-12-20 10:02:02 +00:00
Francisco Hodge
0dde36cd40 2.27.50 2019-12-20 10:01:55 +00:00
dependabot-preview[bot]
cf373f96f1 Merge pull request #364 from hodgef/dependabot/npm_and_yarn/webpack-dev-server-3.10.1 2019-12-20 10:00:30 +00:00
dependabot-preview[bot]
159ecab351 Bump webpack-dev-server from 3.10.0 to 3.10.1
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 3.10.0 to 3.10.1.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/v3.10.1/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v3.10.0...v3.10.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-20 09:57:25 +00:00
Francisco Hodge
cec0939258 Build update 2019-12-19 10:35:29 +00:00
Francisco Hodge
ffacdc5a18 2.27.49 2019-12-19 10:35:22 +00:00
dependabot-preview[bot]
6c21740033 Merge pull request #361 from hodgef/dependabot/npm_and_yarn/babel/preset-env-7.7.7 2019-12-19 10:33:56 +00:00
dependabot-preview[bot]
99f57474ef Merge pull request #362 from hodgef/dependabot/npm_and_yarn/webpack-dev-server-3.10.0 2019-12-19 10:33:38 +00:00
dependabot-preview[bot]
ce31e09de5 Bump @babel/preset-env from 7.7.6 to 7.7.7
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.6 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.6...v7.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-19 10:30:59 +00:00
dependabot-preview[bot]
7a8f6c820c Bump webpack-dev-server from 3.9.0 to 3.10.0
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 3.9.0 to 3.10.0.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v3.9.0...v3.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-19 10:30:36 +00:00
Francisco Hodge
df055ca208 Build update 2019-12-19 10:30:04 +00:00
Francisco Hodge
def4992ceb 2.27.48 2019-12-19 10:29:58 +00:00
dependabot-preview[bot]
2ef451cd07 Merge pull request #360 from hodgef/dependabot/npm_and_yarn/babel/core-7.7.7 2019-12-19 10:28:33 +00:00
dependabot-preview[bot]
c77f8373b7 Merge pull request #359 from hodgef/dependabot/npm_and_yarn/webpack-4.41.4 2019-12-19 10:27:26 +00:00
dependabot-preview[bot]
942fcd816f Merge pull request #358 from hodgef/dependabot/npm_and_yarn/resolve-1.14.1 2019-12-19 10:26:00 +00:00
dependabot-preview[bot]
9a6b835a4d Bump @babel/core from 7.7.5 to 7.7.7
Bumps [@babel/core](https://github.com/babel/babel) from 7.7.5 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.5...v7.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-19 10:25:14 +00:00
dependabot-preview[bot]
b8006a49b4 Bump webpack from 4.41.3 to 4.41.4
Bumps [webpack](https://github.com/webpack/webpack) from 4.41.3 to 4.41.4.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.41.3...v4.41.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-19 10:24:29 +00:00
dependabot-preview[bot]
a22cef5acc Bump resolve from 1.14.0 to 1.14.1
Bumps [resolve](https://github.com/browserify/resolve) from 1.14.0 to 1.14.1.
- [Release notes](https://github.com/browserify/resolve/releases)
- [Commits](https://github.com/browserify/resolve/compare/v1.14.0...v1.14.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-19 10:23:13 +00:00
Francisco Hodge
2721107490 Build update 2019-12-18 10:02:13 +00:00
Francisco Hodge
6cf8acc200 2.27.47 2019-12-18 10:02:07 +00:00
dependabot-preview[bot]
bc95a52bd7 Merge pull request #357 from hodgef/dependabot/npm_and_yarn/style-loader-1.0.2 2019-12-18 10:00:36 +00:00
dependabot-preview[bot]
aa2d6e2cdd Merge pull request #353 from hodgef/dependabot/npm_and_yarn/resolve-1.14.0 2019-12-18 10:00:08 +00:00
dependabot-preview[bot]
2c037fc3a6 Bump style-loader from 1.0.1 to 1.0.2
Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 1.0.1 to 1.0.2.
- [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.0.1...v1.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-18 09:57:48 +00:00
Francisco Hodge
5ccb748bb5 Build update 2019-12-18 09:57:23 +00:00
Francisco Hodge
4586780312 2.27.46 2019-12-18 09:57:16 +00:00
dependabot-preview[bot]
aff7c2ec2e Bump resolve from 1.13.1 to 1.14.0
Bumps [resolve](https://github.com/browserify/resolve) from 1.13.1 to 1.14.0.
- [Release notes](https://github.com/browserify/resolve/releases)
- [Commits](https://github.com/browserify/resolve/compare/v1.13.1...v1.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-18 09:57:15 +00:00
dependabot-preview[bot]
995e0749be Merge pull request #356 from hodgef/dependabot/npm_and_yarn/mini-css-extract-plugin-0.8.2 2019-12-18 09:55:49 +00:00
dependabot-preview[bot]
d001d305c8 Merge pull request #355 from hodgef/dependabot/npm_and_yarn/semver-7.1.1 2019-12-18 09:55:08 +00:00
dependabot-preview[bot]
6244c1a59f Merge pull request #354 from hodgef/dependabot/npm_and_yarn/css-loader-3.4.0 2019-12-18 09:53:47 +00:00
Francisco Hodge
5289c873b2 Build update 2019-12-18 09:53:24 +00:00
Francisco Hodge
2af73414be 2.27.45 2019-12-18 09:53:17 +00:00
dependabot-preview[bot]
2f57368cd0 Bump mini-css-extract-plugin from 0.8.0 to 0.8.2
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 0.8.0 to 0.8.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.8.0...v0.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-18 09:52:46 +00:00
dependabot-preview[bot]
0a9944bfd7 Bump semver from 7.1.0 to 7.1.1
Bumps [semver](https://github.com/npm/node-semver) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/master/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.1.0...v7.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-18 09:52:00 +00:00
dependabot-preview[bot]
c774a39bba Merge pull request #352 from hodgef/dependabot/npm_and_yarn/terser-webpack-plugin-2.3.1 2019-12-18 09:51:50 +00:00
dependabot-preview[bot]
c555b11c05 Bump css-loader from 3.3.2 to 3.4.0
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.3.2 to 3.4.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/v3.3.2...v3.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-18 09:51:05 +00:00
dependabot-preview[bot]
684698f0f6 Bump terser-webpack-plugin from 2.3.0 to 2.3.1
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.3.0 to 2.3.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/v2.3.0...v2.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-18 09:48:38 +00:00
Francisco Hodge
116edf3d82 Build update 2019-12-17 09:47:20 +00:00
Francisco Hodge
f43aa20056 2.27.44 2019-12-17 09:47:14 +00:00
dependabot-preview[bot]
40814c74c7 Merge pull request #351 from hodgef/dependabot/npm_and_yarn/semver-7.1.0 2019-12-17 09:45:57 +00:00
dependabot-preview[bot]
70e5db4ff8 Bump semver from 7.0.0 to 7.1.0
Bumps [semver](https://github.com/npm/node-semver) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/master/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.0.0...v7.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-17 09:42:45 +00:00
Francisco Hodge
8a0002b126 Build update 2019-12-16 10:58:25 +00:00
Francisco Hodge
453efa1e47 2.27.43 2019-12-16 10:58:18 +00:00
dependabot-preview[bot]
dded50fde7 Merge pull request #350 from hodgef/dependabot/npm_and_yarn/webpack-4.41.3 2019-12-16 10:56:52 +00:00
dependabot-preview[bot]
e7edbcc7c9 Bump webpack from 4.41.2 to 4.41.3
Bumps [webpack](https://github.com/webpack/webpack) from 4.41.2 to 4.41.3.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.41.2...v4.41.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 10:54:05 +00:00
Francisco Hodge
786198724f Build update 2019-12-16 10:53:25 +00:00
Francisco Hodge
060f57bfd7 2.27.42 2019-12-16 10:53:19 +00:00
dependabot-preview[bot]
ef67533fac Merge pull request #349 from hodgef/dependabot/npm_and_yarn/semver-7.0.0 2019-12-16 10:52:02 +00:00
dependabot-preview[bot]
05d39f7ab6 Bump semver from 6.3.0 to 7.0.0
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 7.0.0.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/master/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v7.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 10:48:32 +00:00
Francisco Hodge
171ff97a06 Build update 2019-12-13 09:38:02 +00:00
Francisco Hodge
27bb6bca8b 2.27.41 2019-12-13 09:37:55 +00:00
dependabot-preview[bot]
ebef626bb5 Merge pull request #346 from hodgef/dependabot/npm_and_yarn/copy-webpack-plugin-5.1.1 2019-12-13 09:36:31 +00:00
Francisco Hodge
ac23908870 Build update 2019-12-13 09:35:51 +00:00
Francisco Hodge
f1f97cd768 2.27.40 2019-12-13 09:35:45 +00:00
dependabot-preview[bot]
2bf20c133f Merge pull request #347 from hodgef/dependabot/npm_and_yarn/terser-webpack-plugin-2.3.0 2019-12-13 09:34:26 +00:00
dependabot-preview[bot]
67a4806268 Bump copy-webpack-plugin from 5.1.0 to 5.1.1
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v5.1.0...v5.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-13 09:33:35 +00:00
Francisco Hodge
ffd1d98ebe Build update 2019-12-13 09:32:50 +00:00
Francisco Hodge
c9d1dd666e 2.27.39 2019-12-13 09:32:44 +00:00
dependabot-preview[bot]
a6a2ed0d08 Merge pull request #345 from hodgef/dependabot/npm_and_yarn/css-loader-3.3.2 2019-12-13 09:31:25 +00:00
dependabot-preview[bot]
f9f82e8102 Bump terser-webpack-plugin from 2.2.3 to 2.3.0
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.2.3 to 2.3.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/v2.2.3...v2.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-13 09:31:18 +00:00
dependabot-preview[bot]
e1ec7d2144 Bump css-loader from 3.3.0 to 3.3.2
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.3.0 to 3.3.2.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/v3.3.2/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.3.0...v3.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-13 09:28:08 +00:00
Francisco Hodge
df8ecc9b63 Build update 2019-12-12 09:52:56 +00:00
Francisco Hodge
402bfe5c74 2.27.38 2019-12-12 09:52:50 +00:00
dependabot-preview[bot]
faf3590cfc Merge pull request #344 from hodgef/dependabot/npm_and_yarn/terser-webpack-plugin-2.2.3 2019-12-12 09:51:26 +00:00
dependabot-preview[bot]
3c3c300d65 Bump terser-webpack-plugin from 2.2.2 to 2.2.3
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.2.2 to 2.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/v2.2.2...v2.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-12 09:48:41 +00:00
Francisco Hodge
32880a914f Build update 2019-12-10 09:24:51 +00:00
Francisco Hodge
d31612f01b 2.27.37 2019-12-10 09:24:45 +00:00
dependabot-preview[bot]
eddd2c4349 Merge pull request #342 from hodgef/dependabot/npm_and_yarn/css-loader-3.3.0 2019-12-10 09:23:15 +00:00
dependabot-preview[bot]
d81b0dc253 Bump css-loader from 3.2.1 to 3.3.0
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.2.1 to 3.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/v3.2.1...v3.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-10 09:20:10 +00:00
Francisco Hodge
6d6111da98 Build update 2019-12-10 09:19:10 +00:00
Francisco Hodge
ed5c00fa3f 2.27.36 2019-12-10 09:19:04 +00:00
dependabot-preview[bot]
d69a7fe928 Merge pull request #341 from hodgef/dependabot/npm_and_yarn/copy-webpack-plugin-5.1.0 2019-12-10 09:17:38 +00:00
dependabot-preview[bot]
7acc785637 Bump copy-webpack-plugin from 5.0.5 to 5.1.0
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 5.0.5 to 5.1.0.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v5.0.5...v5.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-10 09:14:43 +00:00
Francisco Hodge
b92e732045 Build update 2019-12-09 09:25:22 +00:00
Francisco Hodge
8fd20caa6c 2.27.35 2019-12-09 09:25:15 +00:00
dependabot-preview[bot]
4be2e97851 Merge pull request #339 from hodgef/dependabot/npm_and_yarn/babel/preset-env-7.7.6 2019-12-09 09:23:53 +00:00
Francisco Hodge
b98dcdfc45 Build update 2019-12-09 09:23:45 +00:00
Francisco Hodge
ea218c6827 2.27.34 2019-12-09 09:23:40 +00:00
dependabot-preview[bot]
5cc57cb96e Merge pull request #337 from hodgef/dependabot/npm_and_yarn/eslint-loader-3.0.3 2019-12-09 09:22:25 +00:00
Francisco Hodge
f8f963e4ac Build update 2019-12-09 09:22:05 +00:00
Francisco Hodge
6dc4c6514c 2.27.33 2019-12-09 09:21:59 +00:00
dependabot-preview[bot]
9eb7982c90 Bump @babel/preset-env from 7.7.4 to 7.7.6
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.4 to 7.7.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.4...v7.7.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-09 09:20:48 +00:00
dependabot-preview[bot]
1f83c23af9 Merge pull request #338 from hodgef/dependabot/npm_and_yarn/terser-webpack-plugin-2.2.2 2019-12-09 09:20:41 +00:00
Francisco Hodge
32b2bf1e1e Build update 2019-12-09 09:20:15 +00:00
Francisco Hodge
2f1db1b0cc 2.27.32 2019-12-09 09:20:09 +00:00
dependabot-preview[bot]
548261320a Bump eslint-loader from 3.0.2 to 3.0.3
Bumps [eslint-loader](https://github.com/webpack-contrib/eslint-loader) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/webpack-contrib/eslint-loader/releases)
- [Changelog](https://github.com/webpack-contrib/eslint-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/eslint-loader/compare/v3.0.2...v3.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-09 09:19:16 +00:00
dependabot-preview[bot]
0a7ca1b9e7 Merge pull request #336 from hodgef/dependabot/npm_and_yarn/babel/core-7.7.5 2019-12-09 09:18:46 +00:00
Francisco Hodge
ea9eb80221 Build update 2019-12-09 09:18:35 +00:00
Francisco Hodge
0ef76329d1 2.27.31 2019-12-09 09:18:29 +00:00
dependabot-preview[bot]
ba0791069c Bump terser-webpack-plugin from 2.2.1 to 2.2.2
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.2.1 to 2.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/v2.2.1...v2.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-09 09:17:25 +00:00
dependabot-preview[bot]
eaecfa4efc Merge pull request #335 from hodgef/dependabot/npm_and_yarn/eslint-plugin-import-2.19.1 2019-12-09 09:17:10 +00:00
dependabot-preview[bot]
a94c43c6f0 Bump @babel/core from 7.7.4 to 7.7.5
Bumps [@babel/core](https://github.com/babel/babel) from 7.7.4 to 7.7.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.4...v7.7.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-09 09:15:30 +00:00
dependabot-preview[bot]
ba5559927d Bump eslint-plugin-import from 2.18.2 to 2.19.1
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.18.2 to 2.19.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.18.2...v2.19.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-09 09:13:58 +00:00
Francisco Hodge
51e9b7b6af Build update 2019-12-05 09:25:38 +00:00
Francisco Hodge
6b02948345 2.27.30 2019-12-05 09:25:32 +00:00
dependabot-preview[bot]
af372680ea Merge pull request #332 from hodgef/dependabot/npm_and_yarn/babel-plugin-named-asset-import-0.3.5 2019-12-05 09:24:20 +00:00
dependabot-preview[bot]
dd515e3391 Merge pull request #333 from hodgef/dependabot/npm_and_yarn/react-dev-utils-10.0.0 2019-12-05 09:23:41 +00:00
dependabot-preview[bot]
a5aa4eb259 Bump babel-plugin-named-asset-import from 0.3.4 to 0.3.5
Bumps [babel-plugin-named-asset-import](https://github.com/facebook/create-react-app/tree/HEAD/packages/babel-plugin-named-asset-import) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG-1.x.md)
- [Commits](https://github.com/facebook/create-react-app/commits/babel-plugin-named-asset-import@0.3.5/packages/babel-plugin-named-asset-import)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-05 09:21:19 +00:00
dependabot-preview[bot]
4a97b1763f Bump react-dev-utils from 9.1.0 to 10.0.0
Bumps [react-dev-utils](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-dev-utils) from 9.1.0 to 10.0.0.
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG-1.x.md)
- [Commits](https://github.com/facebook/create-react-app/commits/react-dev-utils@10.0.0/packages/react-dev-utils)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-05 09:20:57 +00:00
Francisco Hodge
3d5443f537 Build update 2019-12-05 09:20:41 +00:00
Francisco Hodge
c0bfe1108f 2.27.29 2019-12-05 09:20:36 +00:00
dependabot-preview[bot]
beb33c187b Merge pull request #331 from hodgef/dependabot/npm_and_yarn/babel-preset-react-app-9.1.0 2019-12-05 09:19:10 +00:00
Francisco Hodge
e773509fd6 Build update 2019-12-05 09:18:53 +00:00
Francisco Hodge
e50f7fc7f4 2.27.28 2019-12-05 09:18:48 +00:00
dependabot-preview[bot]
5f7fb53701 Merge pull request #330 from hodgef/dependabot/npm_and_yarn/react-app-polyfill-1.0.5 2019-12-05 09:17:30 +00:00
dependabot-preview[bot]
b53dd26c8e Bump babel-preset-react-app from 9.0.2 to 9.1.0
Bumps [babel-preset-react-app](https://github.com/facebook/create-react-app/tree/HEAD/packages/babel-preset-react-app) from 9.0.2 to 9.1.0.
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG-1.x.md)
- [Commits](https://github.com/facebook/create-react-app/commits/babel-preset-react-app@9.1.0/packages/babel-preset-react-app)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-05 09:15:42 +00:00
dependabot-preview[bot]
918bc466f8 Bump react-app-polyfill from 1.0.4 to 1.0.5
Bumps [react-app-polyfill](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-app-polyfill) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG-1.x.md)
- [Commits](https://github.com/facebook/create-react-app/commits/react-app-polyfill@1.0.5/packages/react-app-polyfill)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-05 09:14:51 +00:00
Francisco Hodge
a6bae74706 Build update 2019-12-03 09:19:27 +00:00
Francisco Hodge
e5c84a43f8 2.27.27 2019-12-03 09:19:21 +00:00
dependabot-preview[bot]
63f3b829b6 Merge pull request #327 from hodgef/dependabot/npm_and_yarn/css-loader-3.2.1 2019-12-03 09:18:01 +00:00
dependabot-preview[bot]
97a1d42616 Bump css-loader from 3.2.0 to 3.2.1
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.2.0 to 3.2.1.
- [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/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-03 09:15:07 +00:00
Francisco Hodge
86f322f08b Build update 2019-12-03 03:07:33 +00:00
Francisco Hodge
e1655ac0f7 2.27.26 2019-12-03 03:07:27 +00:00
Francisco Hodge
883a53af96 Build update 2019-12-02 22:05:59 -05:00
Francisco Hodge
0deeda65d0 Build update 2019-12-02 09:19:59 +00:00
Francisco Hodge
27c5da0098 2.27.25 2019-12-02 09:19:53 +00:00
dependabot-preview[bot]
e0fd3e22e1 Merge pull request #326 from hodgef/dependabot/npm_and_yarn/eslint-6.7.2 2019-12-02 09:18:31 +00:00
dependabot-preview[bot]
5ba1c707eb Merge pull request #325 from hodgef/dependabot/npm_and_yarn/jest-environment-jsdom-fourteen-1.0.1 2019-12-02 09:17:15 +00:00
dependabot-preview[bot]
39889d8de5 Bump eslint from 6.7.1 to 6.7.2
Bumps [eslint](https://github.com/eslint/eslint) from 6.7.1 to 6.7.2.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.7.1...v6.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 09:15:19 +00:00
dependabot-preview[bot]
b270a3f159 Bump jest-environment-jsdom-fourteen from 1.0.0 to 1.0.1
Bumps [jest-environment-jsdom-fourteen](https://github.com/ianschmitz/jest-environment-jsdom-fourteen) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/ianschmitz/jest-environment-jsdom-fourteen/releases)
- [Changelog](https://github.com/ianschmitz/jest-environment-jsdom-fourteen/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ianschmitz/jest-environment-jsdom-fourteen/compare/v1.0.0...v1.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 09:14:08 +00:00
Francisco Hodge
31a05d6a3a Build update 2019-11-29 09:19:24 +00:00
Francisco Hodge
ed52635e09 2.27.24 2019-11-29 09:19:19 +00:00
dependabot-preview[bot]
9f88495a7a Merge pull request #324 from hodgef/dependabot/npm_and_yarn/eslint-plugin-react-7.17.0 2019-11-29 09:18:04 +00:00
dependabot-preview[bot]
a899c8ea77 Merge pull request #323 from hodgef/dependabot/npm_and_yarn/style-loader-1.0.1 2019-11-29 09:17:08 +00:00
dependabot-preview[bot]
d7168c6f70 Bump eslint-plugin-react from 7.16.0 to 7.17.0
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.16.0 to 7.17.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.16.0...v7.17.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-29 09:15:16 +00:00
dependabot-preview[bot]
d8bed21bcc Bump style-loader from 1.0.0 to 1.0.1
Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 1.0.0 to 1.0.1.
- [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.0.0...v1.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-29 09:13:40 +00:00
Francisco Hodge
d91a72aa7a Build update 2019-11-28 09:22:27 +00:00
Francisco Hodge
23bffd56d7 2.27.23 2019-11-28 09:22:21 +00:00
dependabot-preview[bot]
37a031b92d Merge pull request #322 from hodgef/dependabot/npm_and_yarn/jest-environment-jsdom-fourteen-1.0.0 2019-11-28 09:21:06 +00:00
dependabot-preview[bot]
0dfcf5df20 Bump jest-environment-jsdom-fourteen from 0.1.0 to 1.0.0
Bumps [jest-environment-jsdom-fourteen](https://github.com/ianschmitz/jest-environment-jsdom-fourteen) from 0.1.0 to 1.0.0.
- [Release notes](https://github.com/ianschmitz/jest-environment-jsdom-fourteen/releases)
- [Changelog](https://github.com/ianschmitz/jest-environment-jsdom-fourteen/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ianschmitz/jest-environment-jsdom-fourteen/compare/v0.1.0...v1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-28 09:15:36 +00:00
Francisco Hodge
079205c548 Build update 2019-11-27 09:28:04 +00:00
Francisco Hodge
73850b2554 2.27.22 2019-11-27 09:27:57 +00:00
dependabot-preview[bot]
ae077121bf Merge pull request #321 from hodgef/dependabot/npm_and_yarn/resolve-1.13.1 2019-11-27 09:26:32 +00:00
dependabot-preview[bot]
0b303679b0 Bump resolve from 1.13.0 to 1.13.1
Bumps [resolve](https://github.com/browserify/resolve) from 1.13.0 to 1.13.1.
- [Release notes](https://github.com/browserify/resolve/releases)
- [Commits](https://github.com/browserify/resolve/compare/v1.13.0...v1.13.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-27 09:23:47 +00:00
Francisco Hodge
e312456091 Build update 2019-11-27 09:22:40 +00:00
Francisco Hodge
2e1f87d1d0 2.27.21 2019-11-27 09:22:34 +00:00
dependabot-preview[bot]
b55d488b36 Merge pull request #320 from hodgef/dependabot/npm_and_yarn/url-loader-3.0.0 2019-11-27 09:21:08 +00:00
dependabot-preview[bot]
0963ec7551 Bump url-loader from 2.3.0 to 3.0.0
Bumps [url-loader](https://github.com/webpack-contrib/url-loader) from 2.3.0 to 3.0.0.
- [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/v2.3.0...v3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-27 09:17:56 +00:00
Francisco Hodge
4a3c4f9fa6 Build update 2019-11-26 09:19:49 +00:00
Francisco Hodge
ed2c793268 2.27.20 2019-11-26 09:19:43 +00:00
dependabot-preview[bot]
d77279b011 Merge pull request #318 from hodgef/dependabot/npm_and_yarn/file-loader-5.0.2 2019-11-26 09:18:29 +00:00
Francisco Hodge
b21ccd1331 Build update 2019-11-26 09:18:06 +00:00
Francisco Hodge
2def3368a7 2.27.19 2019-11-26 09:18:01 +00:00
dependabot-preview[bot]
169c5d82bc Merge pull request #317 from hodgef/dependabot/npm_and_yarn/resolve-1.13.0 2019-11-26 09:16:47 +00:00
dependabot-preview[bot]
e5fd8d9f61 Bump file-loader from 4.3.0 to 5.0.2
Bumps [file-loader](https://github.com/webpack-contrib/file-loader) from 4.3.0 to 5.0.2.
- [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/v4.3.0...v5.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-26 09:15:21 +00:00
dependabot-preview[bot]
7ad9a0702f Bump resolve from 1.12.2 to 1.13.0
Bumps [resolve](https://github.com/browserify/resolve) from 1.12.2 to 1.13.0.
- [Release notes](https://github.com/browserify/resolve/releases)
- [Commits](https://github.com/browserify/resolve/compare/v1.12.2...v1.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-26 09:13:46 +00:00
Francisco Hodge
509120f1f4 Build update 2019-11-25 09:39:16 +00:00
Francisco Hodge
d38bc780e9 2.27.18 2019-11-25 09:39:11 +00:00
dependabot-preview[bot]
711664207c Merge pull request #312 from hodgef/dependabot/npm_and_yarn/babel/plugin-proposal-class-properties-7.7.4 2019-11-25 09:37:56 +00:00
dependabot-preview[bot]
53866824d7 Bump @babel/plugin-proposal-class-properties from 7.7.0 to 7.7.4
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel) from 7.7.0 to 7.7.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.0...v7.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 09:30:46 +00:00
Francisco Hodge
6b79175dc0 Build update 2019-11-25 09:29:51 +00:00
Francisco Hodge
ff59420b4a 2.27.17 2019-11-25 09:29:45 +00:00
dependabot-preview[bot]
3992909e14 Merge pull request #314 from hodgef/dependabot/npm_and_yarn/babel/preset-react-7.7.4 2019-11-25 09:28:23 +00:00
dependabot-preview[bot]
7627bc3706 Bump @babel/preset-react from 7.7.0 to 7.7.4
Bumps [@babel/preset-react](https://github.com/babel/babel) from 7.7.0 to 7.7.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.0...v7.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 09:24:49 +00:00
Francisco Hodge
f66b973b46 Build update 2019-11-25 09:24:00 +00:00
Francisco Hodge
b547622202 2.27.16 2019-11-25 09:23:54 +00:00
dependabot-preview[bot]
413680bcaa Merge pull request #313 from hodgef/dependabot/npm_and_yarn/babel/core-7.7.4 2019-11-25 09:22:30 +00:00
dependabot-preview[bot]
613e0a9325 Merge pull request #315 from hodgef/dependabot/npm_and_yarn/eslint-6.7.1 2019-11-25 09:21:55 +00:00
dependabot-preview[bot]
628d66cf6a Bump @babel/core from 7.7.2 to 7.7.4
Bumps [@babel/core](https://github.com/babel/babel) from 7.7.2 to 7.7.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.2...v7.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 09:19:22 +00:00
dependabot-preview[bot]
5bcb6b71ba Bump eslint from 6.6.0 to 6.7.1
Bumps [eslint](https://github.com/eslint/eslint) from 6.6.0 to 6.7.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.6.0...v6.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 09:18:34 +00:00
Francisco Hodge
e21629c99d Build update 2019-11-25 09:18:30 +00:00
Francisco Hodge
8f7b0695fb 2.27.15 2019-11-25 09:18:24 +00:00
dependabot-preview[bot]
bf97fa5b63 Merge pull request #311 from hodgef/dependabot/npm_and_yarn/babel/preset-env-7.7.4 2019-11-25 09:17:07 +00:00
dependabot-preview[bot]
a7ff8661e2 Bump @babel/preset-env from 7.7.1 to 7.7.4
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.1 to 7.7.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.1...v7.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 09:13:36 +00:00
Francisco Hodge
3f3af0e074 Build update 2019-11-22 09:26:19 +00:00
Francisco Hodge
1966887fc0 2.27.14 2019-11-22 09:26:14 +00:00
dependabot-preview[bot]
7f5a604d50 Merge pull request #310 from hodgef/dependabot/npm_and_yarn/resolve-1.12.2 2019-11-22 09:24:57 +00:00
dependabot-preview[bot]
abc8ea5b38 Bump resolve from 1.12.0 to 1.12.2
Bumps [resolve](https://github.com/browserify/resolve) from 1.12.0 to 1.12.2.
- [Release notes](https://github.com/browserify/resolve/releases)
- [Commits](https://github.com/browserify/resolve/compare/v1.12.0...v1.12.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-22 09:21:45 +00:00
Francisco Hodge
a78ffbbfb3 Build update 2019-11-22 09:20:56 +00:00
Francisco Hodge
570cf9196e 2.27.13 2019-11-22 09:20:51 +00:00
dependabot-preview[bot]
200e9154e6 Merge pull request #309 from hodgef/dependabot/npm_and_yarn/url-loader-2.3.0 2019-11-22 09:19:36 +00:00
Francisco Hodge
3e5d9b3adb Build update 2019-11-22 09:18:32 +00:00
Francisco Hodge
a2e9445de1 2.27.12 2019-11-22 09:18:26 +00:00
dependabot-preview[bot]
e66e5aefa5 Merge pull request #308 from hodgef/dependabot/npm_and_yarn/file-loader-4.3.0 2019-11-22 09:17:06 +00:00
dependabot-preview[bot]
23c23c2a8d Bump url-loader from 2.2.0 to 2.3.0
Bumps [url-loader](https://github.com/webpack-contrib/url-loader) from 2.2.0 to 2.3.0.
- [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/v2.2.0...v2.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-22 09:15:42 +00:00
dependabot-preview[bot]
fbc809edda Bump file-loader from 4.2.0 to 4.3.0
Bumps [file-loader](https://github.com/webpack-contrib/file-loader) from 4.2.0 to 4.3.0.
- [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/v4.2.0...v4.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-22 09:14:08 +00:00
Francisco Hodge
c9d3070d42 Build update 2019-11-20 22:01:09 +00:00
Francisco Hodge
48439af6f4 2.27.11 2019-11-20 22:01:03 +00:00
Francisco Hodge
0571fb7780 Merge pull request #307 from hodgef/hodgef-patch-1
Adding stopMouseDownPropagation to types
2019-11-20 13:59:45 -08:00
Francisco Hodge
de177c62fc Update index.d.ts 2019-11-20 16:51:45 -05:00
Francisco Hodge
b185fd8b4f Update Keyboard.js 2019-11-20 16:49:34 -05:00
Francisco Hodge
0b6a740cba Build update 2019-11-16 00:21:55 +00:00
Francisco Hodge
adac01f05b 2.27.10 2019-11-16 00:21:50 +00:00
Francisco Hodge
45b1611fe3 Update TestUtility.js 2019-11-15 19:20:36 -05:00
Francisco Hodge
01cae8beeb Build update 2019-11-15 10:42:40 +00:00
Francisco Hodge
a1d3821fa3 2.27.9 2019-11-15 10:42:35 +00:00
dependabot-preview[bot]
c6dbaafd89 Merge pull request #302 from hodgef/dependabot/npm_and_yarn/react-16.12.0 2019-11-15 10:41:25 +00:00
dependabot-preview[bot]
7a77b19650 Bump react from 16.11.0 to 16.12.0
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 16.11.0 to 16.12.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.12.0/packages/react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-15 10:35:16 +00:00
Francisco Hodge
1ceacc753e Build update 2019-11-15 10:34:22 +00:00
Francisco Hodge
7bea4b8d63 2.27.8 2019-11-15 10:34:16 +00:00
dependabot-preview[bot]
da74a396d0 Merge pull request #304 from hodgef/dependabot/npm_and_yarn/eslint-plugin-react-hooks-2.3.0 2019-11-15 10:33:02 +00:00
Francisco Hodge
4aa998fcbf Build update 2019-11-15 10:30:21 +00:00
Francisco Hodge
46224baa72 2.27.7 2019-11-15 10:30:15 +00:00
dependabot-preview[bot]
b72085e5b8 Merge pull request #303 from hodgef/dependabot/npm_and_yarn/react-dom-16.12.0 2019-11-15 10:29:00 +00:00
dependabot-preview[bot]
9f761fc8ba Bump eslint-plugin-react-hooks from 2.2.0 to 2.3.0
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 2.2.0 to 2.3.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/HEAD/packages/eslint-plugin-react-hooks)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-15 10:26:26 +00:00
dependabot-preview[bot]
b4b33ac3ec Bump react-dom from 16.11.0 to 16.12.0
Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) from 16.11.0 to 16.12.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.12.0/packages/react-dom)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-15 10:23:55 +00:00
Francisco Hodge
1d7a85e34b Build update 2019-11-13 12:36:22 +00:00
Francisco Hodge
eb35fc174d 2.27.6 2019-11-13 12:36:17 +00:00
Francisco Hodge
6b7844b9f4 Tests coverage 2019-11-13 07:34:57 -05:00
Francisco Hodge
ec1be1a988 Build update 2019-11-13 12:16:35 +00:00
Francisco Hodge
38fd4fcab1 2.27.5 2019-11-13 12:16:29 +00:00
Francisco Hodge
51a4f6d2a1 Tests update 2019-11-13 07:15:03 -05:00
Francisco Hodge
9273f3320e Reset initialized flag on destroy 2019-11-13 07:14:49 -05:00
Francisco Hodge
53b1ee6e09 Build update 2019-11-13 12:01:02 +00:00
Francisco Hodge
d10f3c72ba 2.27.4 2019-11-13 12:00:56 +00:00
Francisco Hodge
3ab228cddf Tests update 2019-11-13 06:59:31 -05:00
Francisco Hodge
c36acbb5f6 Prevent wrapper removal on destroy. Fixes #294 2019-11-13 06:59:24 -05:00
Francisco Hodge
ad1e93c75b Build update 2019-11-12 10:24:58 +00:00
Francisco Hodge
ce4dbb68c0 2.27.3 2019-11-12 10:24:53 +00:00
dependabot-preview[bot]
656c201f9b Merge pull request #301 from hodgef/dependabot/npm_and_yarn/html-webpack-plugin-4.0.0-beta.11 2019-11-12 10:23:41 +00:00
dependabot-preview[bot]
5c6a83acc0 Bump html-webpack-plugin from 4.0.0-beta.8 to 4.0.0-beta.11
Bumps [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) from 4.0.0-beta.8 to 4.0.0-beta.11.
- [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/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-12 10:17:22 +00:00
Francisco Hodge
dc58bf92d3 Build update 2019-11-11 11:45:58 +00:00
Francisco Hodge
04ccc4903c 2.27.2 2019-11-11 11:45:52 +00:00
dependabot-preview[bot]
07a42bb541 Merge pull request #299 from hodgef/dependabot/npm_and_yarn/jest-watch-typeahead-0.4.2 2019-11-11 11:44:36 +00:00
dependabot-preview[bot]
358e6e17a0 Merge pull request #297 from hodgef/dependabot/npm_and_yarn/resolve-url-loader-3.1.1 2019-11-11 11:44:08 +00:00
dependabot-preview[bot]
0d94d065b4 Merge pull request #300 from hodgef/dependabot/npm_and_yarn/prettier-1.19.1 2019-11-11 11:43:58 +00:00
dependabot-preview[bot]
28e787e79d Merge pull request #298 from hodgef/dependabot/npm_and_yarn/ts-pnp-1.1.5 2019-11-11 11:42:51 +00:00
dependabot-preview[bot]
13ac4b77f7 Bump prettier from 1.18.2 to 1.19.1
Bumps [prettier](https://github.com/prettier/prettier) from 1.18.2 to 1.19.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.18.2...1.19.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-11 11:40:39 +00:00
dependabot-preview[bot]
4bb99fab9b Bump jest-watch-typeahead from 0.4.0 to 0.4.2
Bumps [jest-watch-typeahead](https://github.com/jest-community/jest-watch-typeahead) from 0.4.0 to 0.4.2.
- [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.4.0...v0.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-11 11:40:05 +00:00
dependabot-preview[bot]
021f3294f4 Bump ts-pnp from 1.1.4 to 1.1.5
Bumps [ts-pnp](https://github.com/arcanis/ts-pnp) from 1.1.4 to 1.1.5.
- [Release notes](https://github.com/arcanis/ts-pnp/releases)
- [Commits](https://github.com/arcanis/ts-pnp/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-11 11:39:21 +00:00
dependabot-preview[bot]
3b985eeb5a Bump resolve-url-loader from 3.1.0 to 3.1.1
Bumps [resolve-url-loader](https://github.com/bholloway/resolve-url-loader) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/bholloway/resolve-url-loader/releases)
- [Commits](https://github.com/bholloway/resolve-url-loader/compare/3.1.0...3.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-11 11:38:11 +00:00
Francisco Hodge
f2479c47d2 Build update 2019-11-07 16:30:07 +00:00
Francisco Hodge
0e94d9c4e7 2.27.1 2019-11-07 16:30:00 +00:00
Francisco Hodge
d47d3d60ae Build update 2019-11-07 11:28:42 -05:00
Francisco Hodge
f2a97b6dcb Tests update 2019-11-07 11:26:27 -05:00
Francisco Hodge
70b99b44c6 Demo update 2019-11-07 11:26:19 -05:00
Francisco Hodge
0c481cb29a Fix activeButtonClass handling 2019-11-07 11:25:43 -05:00
Francisco Hodge
d92f84f5c3 Expand garbage collection 2019-11-07 11:25:18 -05:00
Francisco Hodge
6fe56c3abc Build update 2019-11-07 10:31:09 +00:00
Francisco Hodge
6578a8d867 2.26.25 2019-11-07 10:31:04 +00:00
dependabot-preview[bot]
b6303de61f Merge pull request #292 from hodgef/dependabot/npm_and_yarn/copy-webpack-plugin-5.0.5 2019-11-07 10:29:45 +00:00
dependabot-preview[bot]
4e888c5e91 Merge pull request #293 from hodgef/dependabot/npm_and_yarn/babel/core-7.7.2 2019-11-07 10:28:56 +00:00
dependabot-preview[bot]
d9c9e40800 Bump @babel/core from 7.7.0 to 7.7.2
Bumps [@babel/core](https://github.com/babel/babel) from 7.7.0 to 7.7.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.0...v7.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-07 10:25:31 +00:00
dependabot-preview[bot]
6996e59871 Bump copy-webpack-plugin from 5.0.4 to 5.0.5
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 5.0.4 to 5.0.5.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v5.0.4...v5.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-07 10:23:51 +00:00
Francisco Hodge
35f26a4882 Build update 2019-11-06 10:53:05 +00:00
Francisco Hodge
e1c146d66e 2.26.24 2019-11-06 10:53:00 +00:00
dependabot-preview[bot]
c4382e586d Merge pull request #289 from hodgef/dependabot/npm_and_yarn/babel/preset-env-7.7.1 2019-11-06 10:51:42 +00:00
dependabot-preview[bot]
ff69ff516b Bump @babel/preset-env from 7.6.3 to 7.7.1
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.6.3 to 7.7.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.6.3...v7.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-06 10:46:27 +00:00
Francisco Hodge
3c71de374c Build update 2019-11-06 10:45:05 +00:00
Francisco Hodge
57a1240505 2.26.23 2019-11-06 10:45:00 +00:00
dependabot-preview[bot]
6f3d749f19 Merge pull request #291 from hodgef/dependabot/npm_and_yarn/babel/core-7.7.0 2019-11-06 10:43:47 +00:00
dependabot-preview[bot]
a0dd220b1b Bump @babel/core from 7.6.4 to 7.7.0
Bumps [@babel/core](https://github.com/babel/babel) from 7.6.4 to 7.7.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.6.4...v7.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-06 10:38:08 +00:00
Francisco Hodge
30bbf0a44f Build update 2019-11-06 10:37:18 +00:00
Francisco Hodge
5a11fa9b1d 2.26.22 2019-11-06 10:37:13 +00:00
dependabot-preview[bot]
39830f3ca0 Merge pull request #290 from hodgef/dependabot/npm_and_yarn/babel/preset-react-7.7.0 2019-11-06 10:35:41 +00:00
dependabot-preview[bot]
ef91217dd2 Bump @babel/preset-react from 7.6.3 to 7.7.0
Bumps [@babel/preset-react](https://github.com/babel/babel) from 7.6.3 to 7.7.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.6.3...v7.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-06 10:30:31 +00:00
Francisco Hodge
020fa57a97 Build update 2019-11-06 10:29:46 +00:00
Francisco Hodge
acd511de86 2.26.21 2019-11-06 10:29:40 +00:00
dependabot-preview[bot]
e4c0a1a767 Merge pull request #288 from hodgef/dependabot/npm_and_yarn/babel/plugin-proposal-class-properties-7.7.0 2019-11-06 10:28:08 +00:00
dependabot-preview[bot]
49a24dad17 Bump @babel/plugin-proposal-class-properties from 7.5.5 to 7.7.0
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel) from 7.5.5 to 7.7.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.5.5...v7.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-06 10:20:37 +00:00
Francisco Hodge
80ae730f4b Build update 2019-11-04 01:28:09 +00:00
Francisco Hodge
44347b8450 2.26.20 2019-11-04 01:28:03 +00:00
Francisco Hodge
2ac055b8d2 Update README.md 2019-11-03 20:26:45 -05:00
Francisco Hodge
9f772a1b28 Build update 2019-11-02 15:05:06 +00:00
Francisco Hodge
6df471aff7 2.26.19 2019-11-02 15:05:01 +00:00
Francisco Hodge
315ddc3892 Merge pull request #287 from Entkenntnis/master
Visual feedback on mobile&desktop
2019-11-02 08:03:48 -07:00
Francisco Hodge
68cbe73b23 Setting lighter tone for activeButton 2019-11-02 10:59:41 -04:00
Francisco Hodge
1cf6f3884f Build update 2019-11-02 14:26:07 +00:00
Francisco Hodge
1bfe7bac85 2.26.18 2019-11-02 14:26:02 +00:00
Francisco Hodge
cb44bdaaf1 Update pull_request_template.md 2019-11-02 10:24:52 -04:00
David Li
15f8ef056b don't change useTouchEventsAuto default 2019-11-02 09:23:12 +01:00
David Li
5b608d4f71 Visual feedback on mobile&desktop 2019-11-02 09:00:19 +01:00
Francisco Hodge
0c49b12341 Build update 2019-10-29 15:17:12 +00:00
Francisco Hodge
dcfd0f160d 2.26.17 2019-10-29 15:17:06 +00:00
Francisco Hodge
7206558540 Merge pull request #285 from vickylance/master
Changed the condition to >= to check for character string inputs like ".com"
2019-10-29 08:12:24 -07:00
Francisco Hodge
d1cdbd2d11 Update Utilities.js 2019-10-29 10:58:24 -04:00
Francisco Hodge
6cf99720c4 Update Utilities.test.js 2019-10-29 10:57:45 -04:00
Vignesh S
86caf021fa Update Utilities.js 2019-10-29 20:03:08 +05:30
Francisco Hodge
6c3df6725b Build update 2019-10-28 09:24:00 +00:00
Francisco Hodge
fb3daa3e7a 2.26.16 2019-10-28 09:23:54 +00:00
dependabot-preview[bot]
06f36cffda Merge pull request #284 from hodgef/dependabot/npm_and_yarn/eslint-6.6.0 2019-10-28 09:22:22 +00:00
dependabot-preview[bot]
38eb1d4975 Bump eslint from 6.5.1 to 6.6.0
Bumps [eslint](https://github.com/eslint/eslint) from 6.5.1 to 6.6.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.5.1...v6.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-28 09:17:47 +00:00
Francisco Hodge
eab836e4e9 Build update 2019-10-23 09:28:41 +00:00
Francisco Hodge
e2ff5e29c4 2.26.15 2019-10-23 09:28:36 +00:00
dependabot-preview[bot]
4a8bc0e16d Merge pull request #283 from hodgef/dependabot/npm_and_yarn/react-dom-16.11.0 2019-10-23 09:27:12 +00:00
dependabot-preview[bot]
9c896fd2f5 Merge pull request #280 from hodgef/dependabot/npm_and_yarn/webpack-dev-server-3.9.0 2019-10-23 09:25:18 +00:00
dependabot-preview[bot]
9a6fae4968 Merge pull request #282 from hodgef/dependabot/npm_and_yarn/terser-webpack-plugin-2.2.1 2019-10-23 09:24:24 +00:00
dependabot-preview[bot]
a921edd637 Merge pull request #281 from hodgef/dependabot/npm_and_yarn/eslint-plugin-react-hooks-2.2.0 2019-10-23 09:23:26 +00:00
Francisco Hodge
0471e84958 Build update 2019-10-23 09:22:38 +00:00
Francisco Hodge
757504d929 2.26.14 2019-10-23 09:22:33 +00:00
dependabot-preview[bot]
b013025762 Bump react-dom from 16.10.2 to 16.11.0
Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) from 16.10.2 to 16.11.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.11.0/packages/react-dom)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-23 09:22:28 +00:00
dependabot-preview[bot]
ae993c4a58 Merge pull request #279 from hodgef/dependabot/npm_and_yarn/react-16.11.0 2019-10-23 09:20:00 +00:00
dependabot-preview[bot]
587933f14b Bump terser-webpack-plugin from 2.1.3 to 2.2.1
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.1.3 to 2.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/v2.1.3...v2.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-23 09:19:38 +00:00
dependabot-preview[bot]
1e21d0e759 Bump eslint-plugin-react-hooks from 2.1.2 to 2.2.0
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 2.1.2 to 2.2.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/HEAD/packages/eslint-plugin-react-hooks)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-23 09:18:40 +00:00
dependabot-preview[bot]
775c4866b3 Bump webpack-dev-server from 3.8.2 to 3.9.0
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 3.8.2 to 3.9.0.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v3.8.2...v3.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-23 09:16:55 +00:00
dependabot-preview[bot]
e2e7dbd571 Bump react from 16.10.2 to 16.11.0
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 16.10.2 to 16.11.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.11.0/packages/react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-23 09:14:31 +00:00
Francisco Hodge
2b1a875f01 Build update 2019-10-16 03:16:16 +00:00
Francisco Hodge
c4713082f8 2.26.13 2019-10-16 03:16:11 +00:00
dependabot-preview[bot]
1282464e3b Merge pull request #277 from hodgef/dependabot/npm_and_yarn/dotenv-8.2.0 2019-10-16 03:14:42 +00:00
dependabot-preview[bot]
368cf1588d Merge pull request #276 from hodgef/dependabot/npm_and_yarn/webpack-4.41.2 2019-10-16 03:13:14 +00:00
dependabot-preview[bot]
997e448ed2 Bump dotenv from 8.1.0 to 8.2.0
Bumps [dotenv](https://github.com/motdotla/dotenv) from 8.1.0 to 8.2.0.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v8.1.0...v8.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-16 03:10:35 +00:00
dependabot-preview[bot]
460cd8753d Bump webpack from 4.41.1 to 4.41.2
Bumps [webpack](https://github.com/webpack/webpack) from 4.41.1 to 4.41.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.41.1...v4.41.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-16 03:08:54 +00:00
Francisco Hodge
2c0bce1d93 Build update 2019-10-15 21:01:59 +00:00
Francisco Hodge
d5caa8161c 2.26.12 2019-10-15 21:01:53 +00:00
Francisco Hodge
ce24a1b5e0 Update README.md 2019-10-15 17:00:15 -04:00
Francisco Hodge
3f465f2514 Build update 2019-10-13 16:05:32 +00:00
Francisco Hodge
91b66183cb 2.26.11 2019-10-13 16:05:26 +00:00
Francisco Hodge
a71bf0c81d Update README.md 2019-10-13 12:03:48 -04:00
Francisco Hodge
9e7bc9f303 Build update 2019-10-13 04:22:59 +00:00
Francisco Hodge
b03864d0e5 2.26.10 2019-10-13 04:22:54 +00:00
Francisco Hodge
be0f4a016d Update publish.yml 2019-10-13 00:21:46 -04:00
Francisco Hodge
3472031203 Build Update 2019-10-13 04:16:26 +00:00
Francisco Hodge
7c5def8e40 2.26.9 2019-10-13 04:16:20 +00:00
Francisco Hodge
2af26a861f Update publish.yml 2019-10-13 00:15:12 -04:00
Francisco Hodge
7ed08cff0d Build Update 2019-10-13 03:28:40 +00:00
Francisco Hodge
8c2ad22c48 2.26.8 2019-10-13 03:28:35 +00:00
Francisco Hodge
c6e96c5fa4 Update publish.yml 2019-10-12 23:27:28 -04:00
Francisco Hodge
71b451f02a Update publish.yml 2019-10-12 23:23:48 -04:00
Francisco Hodge
9aa1490087 2.26.7 2019-10-13 03:11:46 +00:00
Francisco Hodge
f1b6d5cbd8 Build Update 2019-10-13 03:11:45 +00:00
Francisco Hodge
46302acff0 Update publish.yml 2019-10-12 23:10:36 -04:00
Francisco Hodge
a43b32954d Update publish.yml 2019-10-12 23:01:48 -04:00
Francisco Hodge
3764e7b6f9 Update publish.yml 2019-10-12 22:58:04 -04:00
Francisco Hodge
17ac7b56de Update publish.yml 2019-10-12 22:54:08 -04:00
Francisco Hodge
991a5c58c8 Create publish.yml 2019-10-12 22:44:26 -04:00
Francisco Hodge
a7323fa8ce Delete publish.yml 2019-10-12 22:36:15 -04:00
Francisco Hodge
45396c0a0f Create publish.yml 2019-10-12 15:18:28 -04:00
Francisco Hodge
116f90910d Publishing workflow 2019-10-12 15:17:39 -04:00
dependabot-preview[bot]
14c7d33664 Merge pull request #273 from hodgef/dependabot/npm_and_yarn/babel/preset-env-7.6.3 2019-10-12 09:29:59 +00:00
dependabot-preview[bot]
7906ff209f Merge pull request #271 from hodgef/dependabot/npm_and_yarn/webpack-4.41.1 2019-10-12 09:29:27 +00:00
dependabot-preview[bot]
e2522931a7 Merge pull request #272 from hodgef/dependabot/npm_and_yarn/babel/preset-react-7.6.3 2019-10-12 09:28:04 +00:00
dependabot-preview[bot]
a9b475782f Bump @babel/preset-env from 7.6.2 to 7.6.3
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.6.2 to 7.6.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.6.2...v7.6.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-12 09:26:25 +00:00
dependabot-preview[bot]
49f3357975 Bump webpack from 4.41.0 to 4.41.1
Bumps [webpack](https://github.com/webpack/webpack) from 4.41.0 to 4.41.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.41.0...v4.41.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-12 09:26:23 +00:00
dependabot-preview[bot]
bddc1ccdf1 Bump @babel/preset-react from 7.0.0 to 7.6.3
Bumps [@babel/preset-react](https://github.com/babel/babel) from 7.0.0 to 7.6.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.0.0...v7.6.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-12 09:24:44 +00:00
dependabot-preview[bot]
735928e7fc Merge pull request #270 from hodgef/dependabot/npm_and_yarn/terser-webpack-plugin-2.1.3 2019-10-12 09:24:14 +00:00
dependabot-preview[bot]
b6130d2834 Bump terser-webpack-plugin from 2.1.2 to 2.1.3
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.1.2 to 2.1.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/v2.1.2...v2.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-12 09:20:51 +00:00
dependabot-preview[bot]
949876e7f4 Merge pull request #269 from hodgef/dependabot/npm_and_yarn/babel/core-7.6.4 2019-10-12 09:17:09 +00:00
dependabot-preview[bot]
fd82ea8f3f Bump @babel/core from 7.6.2 to 7.6.4
Bumps [@babel/core](https://github.com/babel/babel) from 7.6.2 to 7.6.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.6.2...v7.6.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-12 09:13:45 +00:00
Francisco Hodge
7c4c40cfd4 Build update 2019-10-08 18:17:41 -04:00
Francisco Hodge
4505438932 Build update 2019-10-08 18:11:01 -04:00
Francisco Hodge
6280875f4c Updated devDependencies 2019-10-08 18:10:53 -04:00
Francisco Hodge
46c809cbf9 Removing unneeded arg in syncInstanceInputs 2019-10-08 18:10:34 -04:00
dependabot-preview[bot]
f71917377f Merge pull request #265 from hodgef/dependabot/npm_and_yarn/webpack-dev-server-3.8.2 2019-10-05 09:35:49 +00:00
dependabot-preview[bot]
3321b92f73 Bump webpack-dev-server from 3.8.1 to 3.8.2
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 3.8.1 to 3.8.2.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v3.8.1...v3.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-05 09:31:31 +00:00
dependabot-preview[bot]
bb830ad60a Merge pull request #267 from hodgef/dependabot/npm_and_yarn/eslint-6.5.1 2019-10-05 09:31:25 +00:00
dependabot-preview[bot]
978f969634 Merge pull request #261 from hodgef/dependabot/npm_and_yarn/react-16.10.2 2019-10-05 09:30:56 +00:00
dependabot-preview[bot]
be7365ec64 Merge pull request #266 from hodgef/dependabot/npm_and_yarn/url-loader-2.2.0 2019-10-05 09:29:16 +00:00
dependabot-preview[bot]
f16798e1b0 Bump eslint from 6.4.0 to 6.5.1
Bumps [eslint](https://github.com/eslint/eslint) from 6.4.0 to 6.5.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.4.0...v6.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-05 09:26:49 +00:00
dependabot-preview[bot]
1824635d47 Bump react from 16.10.0 to 16.10.2
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 16.10.0 to 16.10.2.
- [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.10.2/packages/react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-05 09:26:26 +00:00
dependabot-preview[bot]
50d08c848f Bump url-loader from 2.1.0 to 2.2.0
Bumps [url-loader](https://github.com/webpack-contrib/url-loader) from 2.1.0 to 2.2.0.
- [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/v2.1.0...v2.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-05 09:24:49 +00:00
dependabot-preview[bot]
300ea34eea Merge pull request #264 from hodgef/dependabot/npm_and_yarn/eslint-plugin-react-7.16.0 2019-10-05 09:24:16 +00:00
dependabot-preview[bot]
85a467b6a6 Merge pull request #263 from hodgef/dependabot/npm_and_yarn/webpack-manifest-plugin-2.2.0 2019-10-05 09:23:05 +00:00
dependabot-preview[bot]
9467e4ffe3 Merge pull request #262 from hodgef/dependabot/npm_and_yarn/terser-webpack-plugin-2.1.2 2019-10-05 09:22:29 +00:00
dependabot-preview[bot]
7cfaf5e1c0 Merge pull request #260 from hodgef/dependabot/npm_and_yarn/react-dom-16.10.2 2019-10-05 09:20:52 +00:00
dependabot-preview[bot]
24497cfd97 Bump eslint-plugin-react from 7.14.3 to 7.16.0
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.14.3 to 7.16.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.14.3...v7.16.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-05 09:20:09 +00:00
dependabot-preview[bot]
6203c9cbd1 Merge pull request #259 from hodgef/dependabot/npm_and_yarn/react-app-polyfill-1.0.4 2019-10-05 09:19:35 +00:00
dependabot-preview[bot]
27cf742fd1 Bump webpack-manifest-plugin from 2.1.2 to 2.2.0
Bumps [webpack-manifest-plugin](https://github.com/danethurber/webpack-manifest-plugin) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/danethurber/webpack-manifest-plugin/releases)
- [Commits](https://github.com/danethurber/webpack-manifest-plugin/compare/v2.1.2...v2.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-05 09:19:01 +00:00
dependabot-preview[bot]
760def8e49 Merge pull request #258 from hodgef/dependabot/npm_and_yarn/react-dev-utils-9.1.0 2019-10-05 09:18:38 +00:00
dependabot-preview[bot]
bbaae9bdb4 Bump terser-webpack-plugin from 2.1.1 to 2.1.2
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.1.1 to 2.1.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/v2.1.1...v2.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-05 09:18:14 +00:00
dependabot-preview[bot]
baedb1dff4 Merge pull request #257 from hodgef/dependabot/npm_and_yarn/eslint-plugin-react-hooks-2.1.2 2019-10-05 09:17:53 +00:00
dependabot-preview[bot]
7f52cb603c Bump react-dom from 16.10.0 to 16.10.2
Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) from 16.10.0 to 16.10.2.
- [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.10.2/packages/react-dom)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-05 09:16:24 +00:00
dependabot-preview[bot]
ef4d072708 Bump react-app-polyfill from 1.0.3 to 1.0.4
Bumps [react-app-polyfill](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-app-polyfill) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG-1.x.md)
- [Commits](https://github.com/facebook/create-react-app/commits/react-app-polyfill@1.0.4/packages/react-app-polyfill)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-05 09:15:34 +00:00
dependabot-preview[bot]
52ebbe6198 Bump react-dev-utils from 9.0.4 to 9.1.0
Bumps [react-dev-utils](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-dev-utils) from 9.0.4 to 9.1.0.
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG-1.x.md)
- [Commits](https://github.com/facebook/create-react-app/commits/react-dev-utils@9.1.0/packages/react-dev-utils)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-05 09:14:30 +00:00
dependabot-preview[bot]
f7c46fad05 Bump eslint-plugin-react-hooks from 2.1.0 to 2.1.2
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 2.1.0 to 2.1.2.
- [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/HEAD/packages/eslint-plugin-react-hooks)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-05 09:13:42 +00:00
dependabot-preview[bot]
ec4864ad2a Merge pull request #249 from hodgef/dependabot/npm_and_yarn/webpack-4.41.0 2019-09-28 09:35:45 +00:00
dependabot-preview[bot]
da7112ea2b Merge pull request #248 from hodgef/dependabot/npm_and_yarn/react-16.10.0 2019-09-28 09:32:54 +00:00
dependabot-preview[bot]
7d4e17f405 Merge pull request #253 from hodgef/dependabot/npm_and_yarn/babel/preset-env-7.6.2 2019-09-28 09:32:19 +00:00
dependabot-preview[bot]
c40472f505 Bump webpack from 4.40.2 to 4.41.0
Bumps [webpack](https://github.com/webpack/webpack) from 4.40.2 to 4.41.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.40.2...v4.41.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-28 09:31:25 +00:00
dependabot-preview[bot]
fa5e9c55c4 Merge pull request #255 from hodgef/dependabot/npm_and_yarn/webpack-manifest-plugin-2.1.2 2019-09-28 09:29:15 +00:00
dependabot-preview[bot]
a3c7c75455 Bump react from 16.9.0 to 16.10.0
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 16.9.0 to 16.10.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.10.0/packages/react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-28 09:28:11 +00:00
dependabot-preview[bot]
a4ca5df208 Bump @babel/preset-env from 7.6.0 to 7.6.2
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.6.0 to 7.6.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.6.0...v7.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-28 09:28:06 +00:00
dependabot-preview[bot]
f75194bfd1 Merge pull request #254 from hodgef/dependabot/npm_and_yarn/react-dom-16.10.0 2019-09-28 09:26:55 +00:00
dependabot-preview[bot]
ebfc849029 Merge pull request #251 from hodgef/dependabot/npm_and_yarn/svgr/webpack-4.3.3 2019-09-28 09:25:52 +00:00
dependabot-preview[bot]
9f842afa91 Merge pull request #252 from hodgef/dependabot/npm_and_yarn/eslint-loader-3.0.2 2019-09-28 09:24:21 +00:00
dependabot-preview[bot]
d63f03afb7 Bump webpack-manifest-plugin from 2.0.4 to 2.1.2
Bumps [webpack-manifest-plugin](https://github.com/danethurber/webpack-manifest-plugin) from 2.0.4 to 2.1.2.
- [Release notes](https://github.com/danethurber/webpack-manifest-plugin/releases)
- [Commits](https://github.com/danethurber/webpack-manifest-plugin/compare/v2.0.4...v2.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-28 09:23:26 +00:00
dependabot-preview[bot]
80801cb254 Merge pull request #250 from hodgef/dependabot/npm_and_yarn/eslint-plugin-react-hooks-2.1.0 2019-09-28 09:22:29 +00:00
dependabot-preview[bot]
b626a0750b Bump react-dom from 16.9.0 to 16.10.0
Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) from 16.9.0 to 16.10.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.10.0/packages/react-dom)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-28 09:22:23 +00:00
dependabot-preview[bot]
ec2c4545ea Bump eslint-loader from 3.0.0 to 3.0.2
Bumps [eslint-loader](https://github.com/webpack-contrib/eslint-loader) from 3.0.0 to 3.0.2.
- [Release notes](https://github.com/webpack-contrib/eslint-loader/releases)
- [Changelog](https://github.com/webpack-contrib/eslint-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/eslint-loader/compare/v3.0.0...v3.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-28 09:20:04 +00:00
dependabot-preview[bot]
b201c68cb2 Merge pull request #247 from hodgef/dependabot/npm_and_yarn/babel/core-7.6.2 2019-09-28 09:19:59 +00:00
dependabot-preview[bot]
0c9d843040 Bump @svgr/webpack from 4.3.2 to 4.3.3
Bumps [@svgr/webpack](https://github.com/smooth-code/svgr) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/smooth-code/svgr/releases)
- [Changelog](https://github.com/smooth-code/svgr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/smooth-code/svgr/compare/v4.3.2...v4.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-28 09:19:17 +00:00
dependabot-preview[bot]
3c29289a11 Merge pull request #246 from hodgef/dependabot/npm_and_yarn/terser-webpack-plugin-2.1.1 2019-09-28 09:18:54 +00:00
dependabot-preview[bot]
767b11f092 Bump eslint-plugin-react-hooks from 2.0.1 to 2.1.0
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 2.0.1 to 2.1.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/HEAD/packages/eslint-plugin-react-hooks)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-28 09:18:11 +00:00
dependabot-preview[bot]
d8dda787ae Merge pull request #245 from hodgef/dependabot/npm_and_yarn/is-wsl-2.1.1 2019-09-28 09:18:06 +00:00
dependabot-preview[bot]
aa689d67cf Bump @babel/core from 7.6.0 to 7.6.2
Bumps [@babel/core](https://github.com/babel/babel) from 7.6.0 to 7.6.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.6.0...v7.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-28 09:15:20 +00:00
dependabot-preview[bot]
64dbe67c7b Bump terser-webpack-plugin from 2.1.0 to 2.1.1
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.1.0 to 2.1.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/v2.1.0...v2.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-28 09:14:33 +00:00
dependabot-preview[bot]
5fae64363d Bump is-wsl from 2.1.0 to 2.1.1
Bumps [is-wsl](https://github.com/sindresorhus/is-wsl) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/sindresorhus/is-wsl/releases)
- [Commits](https://github.com/sindresorhus/is-wsl/compare/v2.1.0...v2.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-28 09:13:46 +00:00
Francisco Hodge
1d01e3e433 Build update 2019-09-26 11:13:56 -04:00
Francisco Hodge
a3240e4315 Fixed issue in preventMouseDownDefault 2019-09-26 11:13:43 -04:00
Francisco Hodge
0872203d9e Update README.md 2019-09-25 11:50:04 -04:00
Francisco Hodge
5912880ae5 Update README.md 2019-09-25 11:41:12 -04:00
Francisco Hodge
84bda916ef Update README.md 2019-09-25 11:34:23 -04:00
dependabot-preview[bot]
95ba625268 Merge pull request #239 from hodgef/dependabot/npm_and_yarn/babel-preset-react-app-9.0.2 2019-09-21 09:23:01 +00:00
dependabot-preview[bot]
a9d56531d9 Merge pull request #238 from hodgef/dependabot/npm_and_yarn/react-app-polyfill-1.0.3 2019-09-21 09:22:13 +00:00
dependabot-preview[bot]
9a848dc9fe Merge pull request #237 from hodgef/dependabot/npm_and_yarn/babel-plugin-named-asset-import-0.3.4 2019-09-21 09:21:53 +00:00
dependabot-preview[bot]
c48517520b Merge pull request #236 from hodgef/dependabot/npm_and_yarn/react-dev-utils-9.0.4 2019-09-21 09:19:50 +00:00
dependabot-preview[bot]
91db170318 Merge pull request #235 from hodgef/dependabot/npm_and_yarn/terser-webpack-plugin-2.1.0 2019-09-21 09:19:24 +00:00
dependabot-preview[bot]
d1aff62d67 Bump babel-preset-react-app from 9.0.1 to 9.0.2
Bumps [babel-preset-react-app](https://github.com/facebook/create-react-app/tree/HEAD/packages/babel-preset-react-app) from 9.0.1 to 9.0.2.
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG-1.x.md)
- [Commits](https://github.com/facebook/create-react-app/commits/babel-preset-react-app@9.0.2/packages/babel-preset-react-app)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-21 09:18:38 +00:00
dependabot-preview[bot]
c627b05971 Merge pull request #234 from hodgef/dependabot/npm_and_yarn/webpack-dev-server-3.8.1 2019-09-21 09:18:20 +00:00
dependabot-preview[bot]
a21d490505 Bump react-app-polyfill from 1.0.2 to 1.0.3
Bumps [react-app-polyfill](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-app-polyfill) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG-1.x.md)
- [Commits](https://github.com/facebook/create-react-app/commits/react-app-polyfill@1.0.3/packages/react-app-polyfill)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-21 09:17:47 +00:00
dependabot-preview[bot]
696e641519 Bump babel-plugin-named-asset-import from 0.3.3 to 0.3.4
Bumps [babel-plugin-named-asset-import](https://github.com/facebook/create-react-app/tree/HEAD/packages/babel-plugin-named-asset-import) from 0.3.3 to 0.3.4.
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG-1.x.md)
- [Commits](https://github.com/facebook/create-react-app/commits/babel-plugin-named-asset-import@0.3.4/packages/babel-plugin-named-asset-import)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-21 09:17:02 +00:00
dependabot-preview[bot]
6a95ba8959 Bump react-dev-utils from 9.0.3 to 9.0.4
Bumps [react-dev-utils](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-dev-utils) from 9.0.3 to 9.0.4.
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG-1.x.md)
- [Commits](https://github.com/facebook/create-react-app/commits/react-dev-utils@9.0.4/packages/react-dev-utils)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-21 09:15:10 +00:00
dependabot-preview[bot]
9e3618fcea Bump terser-webpack-plugin from 2.0.1 to 2.1.0
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.0.1 to 2.1.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/v2.0.1...v2.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-21 09:13:55 +00:00
dependabot-preview[bot]
4d0860fa91 Bump webpack-dev-server from 3.8.0 to 3.8.1
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 3.8.0 to 3.8.1.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v3.8.0...v3.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-21 09:13:09 +00:00
Francisco Hodge
78f01d4675 Updated devDependencies 2019-09-19 18:04:13 -04:00
dependabot-preview[bot]
4440b26a88 Merge pull request #231 from hodgef/dependabot/npm_and_yarn/css-loader-3.2.0 2019-09-14 09:20:59 +00:00
dependabot-preview[bot]
41c76b1b6e Merge pull request #230 from hodgef/dependabot/npm_and_yarn/eslint-6.4.0 2019-09-14 09:20:09 +00:00
dependabot-preview[bot]
d2a271c9f3 Merge pull request #229 from hodgef/dependabot/npm_and_yarn/webpack-4.40.2 2019-09-14 09:19:19 +00:00
dependabot-preview[bot]
a5af9cd47c Bump css-loader from 2.1.1 to 3.2.0
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 2.1.1 to 3.2.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/v2.1.1...v3.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-14 09:16:35 +00:00
dependabot-preview[bot]
1dcb7972f4 Bump eslint from 6.3.0 to 6.4.0
Bumps [eslint](https://github.com/eslint/eslint) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.3.0...v6.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-14 09:15:49 +00:00
dependabot-preview[bot]
771ef9876f Bump webpack from 4.39.3 to 4.40.2
Bumps [webpack](https://github.com/webpack/webpack) from 4.39.3 to 4.40.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.39.3...v4.40.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-14 09:14:52 +00:00
dependabot-preview[bot]
2a042fbaff Merge pull request #226 from hodgef/dependabot/npm_and_yarn/babel/preset-env-7.6.0 2019-09-07 09:27:11 +00:00
dependabot-preview[bot]
b2591e38e8 Merge pull request #225 from hodgef/dependabot/npm_and_yarn/terser-webpack-plugin-2.0.1 2019-09-07 09:20:57 +00:00
dependabot-preview[bot]
fc9054010c Bump @babel/preset-env from 7.5.5 to 7.6.0
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.5.5 to 7.6.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.5.5...v7.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-07 09:20:51 +00:00
dependabot-preview[bot]
ff2435abd8 Merge pull request #224 from hodgef/dependabot/npm_and_yarn/fs-extra-8.1.0 2019-09-07 09:20:19 +00:00
dependabot-preview[bot]
66491c60e5 Merge pull request #223 from hodgef/dependabot/npm_and_yarn/babel/core-7.6.0 2019-09-07 09:18:38 +00:00
dependabot-preview[bot]
1f4b7c2fac Merge pull request #222 from hodgef/dependabot/npm_and_yarn/jest-24.9.0 2019-09-07 09:17:53 +00:00
dependabot-preview[bot]
1ff5759591 Bump terser-webpack-plugin from 1.4.1 to 2.0.1
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 1.4.1 to 2.0.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/v1.4.1...v2.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-07 09:16:08 +00:00
dependabot-preview[bot]
9517ea3e34 Bump fs-extra from 7.0.1 to 8.1.0
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 7.0.1 to 8.1.0.
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases)
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/7.0.1...8.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-07 09:15:00 +00:00
dependabot-preview[bot]
98d5da1475 Bump @babel/core from 7.5.5 to 7.6.0
Bumps [@babel/core](https://github.com/babel/babel) from 7.5.5 to 7.6.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.5.5...v7.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-07 09:14:12 +00:00
dependabot-preview[bot]
fbdee610cd Bump jest from 24.8.0 to 24.9.0
Bumps [jest](https://github.com/facebook/jest) from 24.8.0 to 24.9.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/v24.8.0...v24.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-07 09:13:25 +00:00
dependabot-preview[bot]
234373e228 Merge pull request #218 from hodgef/dependabot/npm_and_yarn/webpack-4.39.3 2019-08-31 09:40:30 +00:00
dependabot-preview[bot]
e0e932cc06 Merge pull request #213 from hodgef/dependabot/npm_and_yarn/eslint-6.3.0 2019-08-31 09:31:15 +00:00
dependabot-preview[bot]
6c5d6719b4 Bump webpack from 4.39.1 to 4.39.3
Bumps [webpack](https://github.com/webpack/webpack) from 4.39.1 to 4.39.3.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.39.1...v4.39.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-31 09:28:20 +00:00
dependabot-preview[bot]
554dfcb76b Bump eslint from 6.2.2 to 6.3.0
Bumps [eslint](https://github.com/eslint/eslint) from 6.2.2 to 6.3.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.2.2...v6.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-31 09:27:39 +00:00
dependabot-preview[bot]
a5b2fc2329 Merge pull request #220 from hodgef/dependabot/npm_and_yarn/ts-pnp-1.1.4 2019-08-31 09:26:02 +00:00
dependabot-preview[bot]
ea11244926 Merge pull request #215 from hodgef/dependabot/npm_and_yarn/eslint-loader-3.0.0 2019-08-31 09:25:21 +00:00
dependabot-preview[bot]
4852400915 Merge pull request #219 from hodgef/dependabot/npm_and_yarn/babel-eslint-10.0.3 2019-08-31 09:23:38 +00:00
dependabot-preview[bot]
5ee4f3fb28 Merge pull request #217 from hodgef/dependabot/npm_and_yarn/file-loader-4.2.0 2019-08-31 09:22:33 +00:00
dependabot-preview[bot]
fbc04e9e28 Bump ts-pnp from 1.1.2 to 1.1.4
Bumps [ts-pnp](https://github.com/arcanis/ts-pnp) from 1.1.2 to 1.1.4.
- [Release notes](https://github.com/arcanis/ts-pnp/releases)
- [Commits](https://github.com/arcanis/ts-pnp/compare/v1.1.2...v1.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-31 09:22:03 +00:00
dependabot-preview[bot]
52dedb669a Merge pull request #216 from hodgef/dependabot/npm_and_yarn/is-wsl-2.1.0 2019-08-31 09:21:34 +00:00
dependabot-preview[bot]
d52d580f7a Bump babel-eslint from 10.0.2 to 10.0.3
Bumps [babel-eslint](https://github.com/babel/babel-eslint) from 10.0.2 to 10.0.3.
- [Release notes](https://github.com/babel/babel-eslint/releases)
- [Commits](https://github.com/babel/babel-eslint/compare/v10.0.2...v10.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-31 09:19:37 +00:00
dependabot-preview[bot]
1513110de2 Merge pull request #214 from hodgef/dependabot/npm_and_yarn/postcss-normalize-8.0.1 2019-08-31 09:18:58 +00:00
dependabot-preview[bot]
c271643857 Bump file-loader from 3.0.1 to 4.2.0
Bumps [file-loader](https://github.com/webpack-contrib/file-loader) from 3.0.1 to 4.2.0.
- [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/v3.0.1...v4.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-31 09:18:08 +00:00
dependabot-preview[bot]
475c4efc14 Bump is-wsl from 1.1.0 to 2.1.0
Bumps [is-wsl](https://github.com/sindresorhus/is-wsl) from 1.1.0 to 2.1.0.
- [Release notes](https://github.com/sindresorhus/is-wsl/releases)
- [Commits](https://github.com/sindresorhus/is-wsl/compare/v1.1.0...v2.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-31 09:17:22 +00:00
dependabot-preview[bot]
2c7424c449 Bump eslint-loader from 2.2.1 to 3.0.0
Bumps [eslint-loader](https://github.com/webpack-contrib/eslint-loader) from 2.2.1 to 3.0.0.
- [Release notes](https://github.com/webpack-contrib/eslint-loader/releases)
- [Changelog](https://github.com/webpack-contrib/eslint-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/eslint-loader/compare/v2.2.1...v3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-31 09:16:18 +00:00
dependabot-preview[bot]
ac2bfe14b0 Bump postcss-normalize from 7.0.1 to 8.0.1
Bumps [postcss-normalize](https://github.com/csstools/postcss-normalize) from 7.0.1 to 8.0.1.
- [Release notes](https://github.com/csstools/postcss-normalize/releases)
- [Changelog](https://github.com/csstools/postcss-normalize/blob/master/CHANGELOG.md)
- [Commits](https://github.com/csstools/postcss-normalize/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-31 09:15:13 +00:00
dependabot-preview[bot]
ea61995b4c Merge pull request #208 from hodgef/dependabot/npm_and_yarn/eslint-6.2.2 2019-08-27 13:01:03 +00:00
dependabot-preview[bot]
36bd9b157c Bump eslint from 6.1.0 to 6.2.2
Bumps [eslint](https://github.com/eslint/eslint) from 6.1.0 to 6.2.2.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.1.0...v6.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-27 12:56:53 +00:00
Francisco Hodge
48bf0c2d13 Update main.yml 2019-08-27 08:49:18 -04:00
Francisco Hodge
a6db341a23 npm update 2019-08-26 23:36:12 -04:00
Francisco Hodge
3e479d55e1 Update README.md 2019-08-26 23:20:28 -04:00
Francisco Hodge
db753d7d38 Update and rename build.yml to main.yml 2019-08-26 22:58:34 -04:00
Francisco Hodge
d812186910 Update build.yml 2019-08-26 22:49:12 -04:00
Francisco Hodge
976a234874 Update and rename nodejs.yml to build.yml 2019-08-26 22:36:24 -04:00
Francisco Hodge
3624ff0d04 Update nodejs.yml 2019-08-26 22:08:17 -04:00
Francisco Hodge
5185977bcf Update nodejs.yml 2019-08-26 22:07:33 -04:00
Francisco Hodge
d8ec56bfd0 Update nodejs.yml 2019-08-26 22:05:41 -04:00
Francisco Hodge
6bf2267c54 Update nodejs.yml 2019-08-26 22:04:19 -04:00
Francisco Hodge
c9213b0673 Update nodejs.yml 2019-08-26 21:57:42 -04:00
Francisco Hodge
e70de0275f Update nodejs.yml 2019-08-26 21:54:54 -04:00
Francisco Hodge
68b4298a34 Update nodejs.yml 2019-08-26 21:22:31 -04:00
Francisco Hodge
76e6a29a36 Update nodejs.yml 2019-08-26 21:15:17 -04:00
Francisco Hodge
c786c169f6 Update nodejs.yml 2019-08-26 21:13:53 -04:00
Francisco Hodge
1940d6db03 Update nodejs.yml 2019-08-26 21:10:36 -04:00
Francisco Hodge
cda06005e5 Update nodejs.yml 2019-08-26 21:09:27 -04:00
Francisco Hodge
97448f126a Delete nodejs.yml 2019-08-26 21:07:42 -04:00
Francisco Hodge
a782deefea Testing Github CI 2019-08-26 21:02:07 -04:00
dependabot-preview[bot]
33bcf47f71 Merge pull request #211 from hodgef/dependabot/npm_and_yarn/eslint-utils-1.4.2 2019-08-26 18:39:49 +00:00
dependabot-preview[bot]
c6af491793 [Security] Bump eslint-utils from 1.4.0 to 1.4.2
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.4.0 to 1.4.2. **This update includes a security fix.**
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.4.0...v1.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 18:36:32 +00:00
dependabot-preview[bot]
baa56f1feb Merge pull request #209 from hodgef/dependabot/npm_and_yarn/dotenv-expand-5.1.0 2019-08-24 09:38:44 +00:00
dependabot-preview[bot]
b2189c17a7 Merge pull request #210 from hodgef/dependabot/npm_and_yarn/sass-loader-7.3.1 2019-08-24 09:35:27 +00:00
dependabot-preview[bot]
ea26742914 Merge pull request #204 from hodgef/dependabot/npm_and_yarn/jest-watch-typeahead-0.4.0 2019-08-24 09:33:05 +00:00
dependabot-preview[bot]
af09aa885e Bump dotenv-expand from 4.2.0 to 5.1.0
Bumps dotenv-expand from 4.2.0 to 5.1.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-24 09:30:20 +00:00
dependabot-preview[bot]
4413e199cc Merge pull request #207 from hodgef/dependabot/npm_and_yarn/html-webpack-plugin-4.0.0-beta.8 2019-08-24 09:28:04 +00:00
dependabot-preview[bot]
57217d3025 Merge pull request #206 from hodgef/dependabot/npm_and_yarn/dotenv-8.1.0 2019-08-24 09:27:55 +00:00
dependabot-preview[bot]
987a1348a4 Merge pull request #205 from hodgef/dependabot/npm_and_yarn/webpack-dev-server-3.8.0 2019-08-24 09:24:47 +00:00
dependabot-preview[bot]
4d45bbdc90 Bump sass-loader from 7.2.0 to 7.3.1
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 7.2.0 to 7.3.1.
- [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/v7.2.0...v7.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-24 09:24:31 +00:00
dependabot-preview[bot]
de9565165d Bump jest-watch-typeahead from 0.3.1 to 0.4.0
Bumps [jest-watch-typeahead](https://github.com/jest-community/jest-watch-typeahead) from 0.3.1 to 0.4.0.
- [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.3.1...v0.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-24 09:20:19 +00:00
dependabot-preview[bot]
a3471aa0c0 Merge pull request #203 from hodgef/dependabot/npm_and_yarn/mini-css-extract-plugin-0.8.0 2019-08-24 09:18:07 +00:00
dependabot-preview[bot]
8df40bc678 Bump html-webpack-plugin from 4.0.0-beta.5 to 4.0.0-beta.8
Bumps [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) from 4.0.0-beta.5 to 4.0.0-beta.8.
- [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/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-24 09:16:39 +00:00
dependabot-preview[bot]
a4d376f289 Bump dotenv from 6.2.0 to 8.1.0
Bumps [dotenv](https://github.com/motdotla/dotenv) from 6.2.0 to 8.1.0.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v6.2.0...v8.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-24 09:15:53 +00:00
dependabot-preview[bot]
9f8380d2da Bump webpack-dev-server from 3.2.1 to 3.8.0
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 3.2.1 to 3.8.0.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v3.2.1...v3.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-24 09:15:10 +00:00
dependabot-preview[bot]
034dadcaf2 Bump mini-css-extract-plugin from 0.5.0 to 0.8.0
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 0.5.0 to 0.8.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.5.0...v0.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-24 09:13:23 +00:00
Francisco Hodge
34d6d6a3f7 Fixed duplicate onKeyReleased type 2019-08-19 08:25:21 -04:00
Francisco Hodge
ba9c9a6a4e 2.26.1 2019-08-17 17:16:58 -04:00
46 changed files with 16302 additions and 3038 deletions

1
.eslintignore Normal file
View File

@@ -0,0 +1 @@
build/*

34
.eslintrc.json Normal file
View File

@@ -0,0 +1,34 @@
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"modules": true,
"experimentalObjectRestSpread": true
}
},
"plugins": [
"react"
],
"extends": ["eslint:recommended", "plugin:react/recommended"],
"rules": {
"comma-dangle": 0,
"no-unused-vars": "warn",
"no-unexpected-multiline": "warn",
"prefer-const": "warn"
},
"settings": {
"react": {
"pragma": "React",
"version": "15.6.1"
}
},
"env": {
"browser": true,
"node": true,
"jasmine": true,
"jest": true
}
}

View File

@@ -5,4 +5,3 @@ A few sentences describing the overall goals of the pull request's commits.
## Checks
- [ ] Tests ( `npm run test -- --coverage` ) Coverage at `./coverage/lcov-report/index.html` should be 100%
- [ ] Documentation ( `npm run docs` ) Coverage at `./docs/source.html` should be 100%

44
.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,44 @@
name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [12.x]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node_version }}
- name: npm install, build, and test
run: |
npm install
npm run start -- --testMode
npm run demo
npm run coverage
- uses: codecov/codecov-action@v1.0.2
with:
token: ${{secrets.CODECOV_TOKEN}}
env:
CI: true
- name: Discord notification
if: success()
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@master
with:
args: 'simple-keyboard - CI Build Passed'
- name: Discord notification
if: failure()
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@master
with:
args: 'simple-keyboard - CI Build Failed'

45
.github/workflows/publish.yml vendored Normal file
View File

@@ -0,0 +1,45 @@
name: Publish
on:
push:
branches:
- master
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm install
- run: npm run test -- --coverage --watchAll=false
- name: Setup GIT
run: |
git reset --hard
git config --local --list
git checkout master
git config user.email "$GH_EMAIL"
git config user.name "Francisco Hodge"
env:
GH_EMAIL: ${{secrets.GH_EMAIL}}
- name: Bump version
run: |
git reset --hard
npm version patch
npm run build
git add . || true
git commit -m "Build update" || true
git push "https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY"
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: npm publish
run: |
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
npm run trypublish
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}

View File

@@ -2,18 +2,21 @@
<a href="https://simple-keyboard.com/demo">
<img alt="simple-keyboard: Javscript Virtual Keyboard" src="https://i.imgur.com/Po6659n.gif">
</a>
<a href="https://www.npmjs.com/package/simple-keyboard">
<img src="https://badgen.net/npm/v/simple-keyboard?color=blue" alt="npm version">
</a>
<a href="https://bundlephobia.com/result?p=simple-keyboard">
<img src="https://badgen.net/bundlephobia/minzip/simple-keyboard/?color=green" alt="install size">
<a href="https://github.com/hodgef/simple-keyboard/actions">
<img alt="Build Status" src="https://github.com/hodgef/simple-keyboard/workflows/Build/badge.svg?color=green" />
</a>
<a href="https://github.com/hodgef/simple-keyboard/actions">
<img alt="Publish Status" src="https://github.com/hodgef/simple-keyboard/workflows/Publish/badge.svg?color=green" />
</a>
<a href="https://travis-ci.org/hodgef/simple-keyboard">
<img src="https://api.travis-ci.org/hodgef/simple-keyboard.svg?branch=master"
alt="build status">
<a href="https://bundlephobia.com/result?p=simple-keyboard">
<img src="https://badgen.net/bundlephobia/minzip/simple-keyboard/?color=green" alt="install size">
</a>
<a href="https://david-dm.org/hodgef/simple-keyboard">
@@ -38,7 +41,7 @@ Check out the [Getting Started](https://simple-keyboard.com/getting-started) doc
## 📖 Documentation
Check out the [simple-keyboard documentation](https://simple-keyboard.com/documentation) site.
Feel free to browse the [Q&A / Use-cases](https://simple-keyboard.com/qa-use-cases/) page for advanced use-cases.
Feel free to browse the [Questions & Answers (FAQ)](https://simple-keyboard.com/qa-use-cases/) page for common use-cases.
### To run demo on your own computer
@@ -58,6 +61,24 @@ Feel free to browse the [Q&A / Use-cases](https://simple-keyboard.com/qa-use-cas
<a href="http://franciscohodge.com/simple-keyboard/chat/join" title="Join our Discord chat" target="_blank"><img src="https://franciscohodge.com/project-pages/simple-keyboard/images/discord.png" align="center" width="200"></a>
## ✳️ Modules
You can extend simple-keyboard's functionality with [modules](https://franciscohodge.com/projects/simple-keyboard/modules/). Such as:
* [Autocorrect](https://franciscohodge.com/projects/simple-keyboard/demo-showcase/module-autocorrect/)
* [Input Mask](https://franciscohodge.com/projects/simple-keyboard/demo-showcase/module-input-mask/)
* [Key Navigation](https://franciscohodge.com/projects/simple-keyboard/demo-showcase/module-key-navigation/)
* [Swipe Keyboard](https://franciscohodge.com/projects/simple-keyboard/demo-showcase/module-swipe-keyboard/)
Want to create your own module? Check out the [Modules page](https://franciscohodge.com/projects/simple-keyboard/modules/) for instructions.
## 🎯 Compatibility
> Simple-keyboard is intended for modern, standards-compliant browsers.
> Internet Explorer is sadly not one of them, and since its market-share is negligible (~2% for IE11), resources won't be spent in trying to support it.
>
> To learn more about the rationale for not supporting IE, check out [this link](https://techcommunity.microsoft.com/t5/Windows-IT-Pro-Blog/The-perils-of-using-Internet-Explorer-as-your-default-browser/ba-p/331732).
## ✅ Contributing
PR's and issues are welcome. Feel free to submit any issues you have at:

View File

@@ -1,6 +1,6 @@
/*!
*
* simple-keyboard v2.26.0
* simple-keyboard v2.28.1
* https://github.com/hodgef/simple-keyboard
*
* Copyright (c) Francisco Hodge (https://github.com/hodgef)
@@ -8,5 +8,5 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/body,html{margin:0;padding:0}.simple-keyboard{font-family:HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:border-box;overflow:hidden;touch-action:manipulation}.simple-keyboard .hg-row{display:flex}.simple-keyboard .hg-row:not(:last-child){margin-bottom:5px}.simple-keyboard .hg-row .hg-button-container,.simple-keyboard .hg-row .hg-button:not(:last-child){margin-right:5px}.simple-keyboard .hg-row>div:last-child{margin-right:0}.simple-keyboard .hg-row .hg-button-container{display:flex}.simple-keyboard .hg-button{display:inline-block;flex-grow:1;cursor:pointer}.simple-keyboard .hg-button span{pointer-events:none}.simple-keyboard.hg-theme-default{background-color:rgba(0,0,0,.1);padding:5px;border-radius:5px}.simple-keyboard.hg-theme-default .hg-button{box-shadow:0 0 3px -1px rgba(0,0,0,.3);height:40px;border-radius:5px;box-sizing:border-box;padding:5px;background:#fff;border-bottom:1px solid #b5b5b5;cursor:pointer;display:flex;align-items:center;justify-content:center}.simple-keyboard button.hg-button{border-width:0;outline:0;font-size:inherit}.simple-keyboard.hg-theme-default.hg-layout-numeric .hg-button{width:33.3%;height:60px;align-items:center;display:flex;justify-content:center}.simple-keyboard.hg-theme-default .hg-button.hg-button-numpadadd,.simple-keyboard.hg-theme-default .hg-button.hg-button-numpadenter{height:85px}.simple-keyboard.hg-theme-default .hg-button.hg-button-numpad0{width:105px}.simple-keyboard.hg-theme-default .hg-button.hg-button-com{max-width:85px}.simple-keyboard.hg-theme-default .hg-button.hg-standardBtn.hg-button-at{max-width:45px}.simple-keyboard.hg-theme-default .hg-button.hg-selectedButton{background:rgba(5,25,70,.53);color:#fff}.simple-keyboard.hg-theme-default .hg-button.hg-standardBtn[data-skbtn=".com"]{max-width:82px}.simple-keyboard.hg-theme-default .hg-button.hg-standardBtn[data-skbtn="@"]{max-width:60px}
*/.hg-theme-default{width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:border-box;overflow:hidden;touch-action:manipulation}.hg-theme-default .hg-button span{pointer-events:none}.hg-theme-default button.hg-button{border-width:0;outline:0;font-size:inherit}.hg-theme-default{font-family:HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:rgba(0,0,0,.1);padding:5px;border-radius:5px}.hg-theme-default .hg-button{display:inline-block;flex-grow:1}.hg-theme-default .hg-row{display:flex}.hg-theme-default .hg-row:not(:last-child){margin-bottom:5px}.hg-theme-default .hg-row .hg-button-container,.hg-theme-default .hg-row .hg-button:not(:last-child){margin-right:5px}.hg-theme-default .hg-row>div:last-child{margin-right:0}.hg-theme-default .hg-row .hg-button-container{display:flex}.hg-theme-default .hg-button{box-shadow:0 0 3px -1px rgba(0,0,0,.3);height:40px;border-radius:5px;box-sizing:border-box;padding:5px;background:#fff;border-bottom:1px solid #b5b5b5;cursor:pointer;display:flex;align-items:center;justify-content:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.hg-theme-default .hg-button.hg-activeButton{background:#efefef}.hg-theme-default.hg-layout-numeric .hg-button{width:33.3%;height:60px;align-items:center;display:flex;justify-content:center}.hg-theme-default .hg-button.hg-button-numpadadd,.hg-theme-default .hg-button.hg-button-numpadenter{height:85px}.hg-theme-default .hg-button.hg-button-numpad0{width:105px}.hg-theme-default .hg-button.hg-button-com{max-width:85px}.hg-theme-default .hg-button.hg-standardBtn.hg-button-at{max-width:45px}.hg-theme-default .hg-button.hg-selectedButton{background:rgba(5,25,70,.53);color:#fff}.hg-theme-default .hg-button.hg-standardBtn[data-skbtn=".com"]{max-width:82px}.hg-theme-default .hg-button.hg-standardBtn[data-skbtn="@"]{max-width:60px}
/*# sourceMappingURL=index.css.map */

File diff suppressed because one or more lines are too long

10
build/index.d.ts vendored
View File

@@ -93,6 +93,11 @@ declare module 'simple-keyboard' {
* Calling preventDefault for the mousedown events keeps the focus on the input.
*/
preventMouseDownDefault?: boolean;
/**
* Stops pointer down events on simple-keyboard buttons from bubbling to parent elements.
*/
stopMouseDownPropagation?: boolean;
/**
* Define the text color that the physical keyboard highlighted key should have.
@@ -178,11 +183,6 @@ declare module 'simple-keyboard' {
* Executes the callback function on input change. Returns the input object with all defined inputs.
*/
onChangeAll?: (inputs: any) => any;
/**
* Executes the callback function on key release.
*/
onKeyReleased?: () => void;
}
class Keyboard {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -394,6 +394,8 @@ module.exports = function(webpackEnv) {
require.resolve('babel-preset-react-app/dependencies'),
{ helpers: true },
],
"@babel/preset-env",
"@babel/preset-react"
],
plugins: [
[

View File

@@ -1,5 +1,3 @@
'use strict';
const fs = require('fs');
const isWsl = require('is-wsl');
const path = require('path');
@@ -13,9 +11,7 @@ const TerserPlugin = require('terser-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin');
const safePostCssParser = require('postcss-safe-parser');
const ManifestPlugin = require('webpack-manifest-plugin');
const InterpolateHtmlPlugin = require('react-dev-utils/InterpolateHtmlPlugin');
const WorkboxWebpackPlugin = require('workbox-webpack-plugin');
const WatchMissingNodeModulesPlugin = require('react-dev-utils/WatchMissingNodeModulesPlugin');
const ModuleScopePlugin = require('react-dev-utils/ModuleScopePlugin');
const getCSSModuleLocalIdent = require('react-dev-utils/getCSSModuleLocalIdent');
@@ -28,10 +24,7 @@ const typescriptFormatter = require('react-dev-utils/typescriptFormatter');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const getPackageJson = require('./getPackageJson');
const PrettierPlugin = require("prettier-webpack-plugin");
const eslint = require('eslint');
const postcssNormalize = require('postcss-normalize');
const appPackageJson = require(paths.appPackageJson);
// Source maps are resource heavy and can cause out of memory issue for large source files.
@@ -65,7 +58,7 @@ const banner = `
${name} v${version}
${repository.url}
Copyright (c) ${author.replace(/ *\<[^)]*\> */g, " ")}
Copyright (c) ${author.replace(/ *<[^)]*> */g, " ")}
This source code is licensed under the ${license} license found in the
LICENSE file in the root directory of this source tree.
@@ -428,6 +421,8 @@ module.exports = function(webpackEnv) {
require.resolve('babel-preset-react-app/dependencies'),
{ helpers: true },
],
"@babel/preset-env",
"@babel/preset-react"
],
plugins: [
[

View File

@@ -1,579 +0,0 @@
'use strict';
const fs = require('fs');
const isWsl = require('is-wsl');
const path = require('path');
const webpack = require('webpack');
const resolve = require('resolve');
const PnpWebpackPlugin = require('pnp-webpack-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const InlineChunkHtmlPlugin = require('react-dev-utils/InlineChunkHtmlPlugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin');
const safePostCssParser = require('postcss-safe-parser');
const InterpolateHtmlPlugin = require('react-dev-utils/InterpolateHtmlPlugin');
const ModuleScopePlugin = require('react-dev-utils/ModuleScopePlugin');
const getCSSModuleLocalIdent = require('react-dev-utils/getCSSModuleLocalIdent');
const paths = require('./paths');
const modules = require('./modules');
const getClientEnvironment = require('./env');
const ModuleNotFoundPlugin = require('react-dev-utils/ModuleNotFoundPlugin');
const ForkTsCheckerWebpackPlugin = require('react-dev-utils/ForkTsCheckerWebpackPlugin');
const typescriptFormatter = require('react-dev-utils/typescriptFormatter');
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
const getPackageJson = require('./getPackageJson');
const postcssNormalize = require('postcss-normalize');
// Source maps are resource heavy and can cause out of memory issue for large source files.
const shouldUseSourceMap = false;
// Some apps do not need the benefits of saving a web request, so not inlining the chunk
// makes for a smoother build process.
const shouldInlineRuntimeChunk = process.env.INLINE_RUNTIME_CHUNK !== 'false';
// Check if TypeScript is setup
const useTypeScript = fs.existsSync(paths.appTsConfig);
// style files regexes
const cssRegex = /\.css$/;
const cssModuleRegex = /\.module\.css$/;
const sassRegex = /\.(scss|sass)$/;
const sassModuleRegex = /\.module\.(scss|sass)$/;
const {
version,
name,
license,
repository,
author,
} = getPackageJson('version', 'name', 'license', 'repository', 'author');
const banner = `
${name} v${version} (Non-minified build)
${repository.url}
Copyright (c) ${author.replace(/ *\<[^)]*\> */g, " ")}
This source code is licensed under the ${license} license found in the
LICENSE file in the root directory of this source tree.
`;
// This is the production and development configuration.
// It is focused on developer experience, fast rebuilds, and a minimal bundle.
module.exports = function(webpackEnv) {
const isEnvDevelopment = webpackEnv === 'development';
const isEnvProduction = webpackEnv === 'production';
// Webpack uses `publicPath` to determine where the app is being served from.
// It requires a trailing slash, or the file assets will get an incorrect path.
// In development, we always serve from the root. This makes config easier.
const publicPath = isEnvProduction
? paths.servedPath
: isEnvDevelopment && '/';
// Some apps do not use client-side routing with pushState.
// For these, "homepage" can be set to "." to enable relative asset paths.
const shouldUseRelativeAssetPaths = publicPath === './';
// `publicUrl` is just like `publicPath`, but we will provide it to our app
// as %PUBLIC_URL% in `index.html` and `process.env.PUBLIC_URL` in JavaScript.
// Omit trailing slash as %PUBLIC_URL%/xyz looks better than %PUBLIC_URL%xyz.
const publicUrl = isEnvProduction
? publicPath.slice(0, -1)
: isEnvDevelopment && '';
// Get environment variables to inject into our app.
const env = getClientEnvironment(publicUrl);
// common function to get style loaders
const getStyleLoaders = (cssOptions, preProcessor) => {
const loaders = [
{
loader: MiniCssExtractPlugin.loader,
options: Object.assign(
{},
shouldUseRelativeAssetPaths ? { publicPath: '../../' } : undefined
),
},
{
loader: require.resolve('css-loader'),
options: cssOptions,
},
{
// Options for PostCSS as we reference these options twice
// Adds vendor prefixing based on your specified browser support in
// package.json
loader: require.resolve('postcss-loader'),
options: {
// Necessary for external CSS imports to work
// https://github.com/facebook/create-react-app/issues/2677
ident: 'postcss',
plugins: () => [
require('postcss-flexbugs-fixes'),
require('postcss-preset-env')({
autoprefixer: {
flexbox: 'no-2009',
},
stage: 3,
}),
// Adds PostCSS Normalize as the reset css with default options,
// so that it honors browserslist config in package.json
// which in turn let's users customize the target behavior as per their needs.
postcssNormalize(),
],
sourceMap: shouldUseSourceMap,
},
},
].filter(Boolean);
if (preProcessor) {
loaders.push({
loader: require.resolve(preProcessor),
options: {
sourceMap: shouldUseSourceMap,
},
});
}
return loaders;
};
return {
mode: 'production',
// Stop compilation early in production
bail: true,
devtool: false,
// These are the "entry points" to our application.
// This means they will be the "root" imports that are included in JS bundle.
entry: [paths.appLibIndexJs],
output: {
// The build folder.
path: paths.appBuild,
// Add /* filename */ comments to generated require()s in the output.
pathinfo: isEnvDevelopment,
// There will be one main bundle, and one file per asynchronous chunk.
// In development, it does not produce real files.
filename: 'simple-keyboard.js',
// TODO: remove this when upgrading to webpack 5
futureEmitAssets: true,
// There are also additional JS chunk files if you use code splitting.
chunkFilename: 'index.[chunkhash:8].chunk.js',
// We inferred the "public path" (such as / or /my-project) from homepage.
// We use "/" in development.
publicPath: publicPath,
library: "SimpleKeyboard",
libraryTarget: 'umd',
umdNamedDefine: true,
// Point sourcemap entries to original disk location (format as URL on Windows)
devtoolModuleFilenameTemplate: info =>
path
.relative(paths.appSrcLib, info.absoluteResourcePath)
.replace(/\\/g, '/'),
},
optimization: {
minimizer: [
// we specify a custom UglifyJsPlugin here to get source maps in production
new UglifyJsPlugin({
cache: false,
parallel: false,
uglifyOptions: {
output: {
comments: true,
beautify: true,
braces: true,
indent_level: 2
},
mangle: false,
compress: false
},
// Use multi-process parallel running to improve the build speed
// Default number of concurrent runs: os.cpus().length - 1
// Disabled on WSL (Windows Subsystem for Linux) due to an issue with Terser
// https://github.com/webpack-contrib/terser-webpack-plugin/issues/21
parallel: !isWsl,
// Enable file caching
cache: true,
sourceMap: false,
}),
new webpack.BannerPlugin({
banner: banner,
entryOnly: true
}),
new OptimizeCSSAssetsPlugin({
cssProcessorOptions: {
parser: safePostCssParser,
map: shouldUseSourceMap
? {
// `inline: false` forces the sourcemap to be output into a
// separate file
inline: false,
// `annotation: true` appends the sourceMappingURL to the end of
// the css file, helping the browser find the sourcemap
annotation: true,
}
: false,
},
}),
],
// Automatically split vendor and commons
// https://twitter.com/wSokra/status/969633336732905474
// https://medium.com/webpack/webpack-4-code-splitting-chunk-graph-and-the-splitchunks-optimization-be739a861366
splitChunks: {
//chunks: 'all',
cacheGroups: {
default: false,
}
},
// Keep the runtime chunk separated to enable long term caching
// https://twitter.com/wSokra/status/969679223278505985
runtimeChunk: false,
},
resolve: {
// This allows you to set a fallback for where Webpack should look for modules.
// We placed these paths second because we want `node_modules` to "win"
// if there are any conflicts. This matches Node resolution mechanism.
// https://github.com/facebook/create-react-app/issues/253
modules: ['node_modules', paths.appNodeModules].concat(modules.additionalModulePaths || []),
// These are the reasonable defaults supported by the Node ecosystem.
// We also include JSX as a common component filename extension to support
// some tools, although we do not recommend using it, see:
// https://github.com/facebook/create-react-app/issues/290
// `web` extension prefixes have been added for better support
// for React Native Web.
extensions: paths.moduleFileExtensions
.map(ext => `.${ext}`)
.filter(ext => useTypeScript || !ext.includes('ts')),
alias: {
// Support React Native Web
// https://www.smashingmagazine.com/2016/08/a-glimpse-into-the-future-with-react-native-for-web/
'react-native': 'react-native-web',
},
plugins: [
// Adds support for installing with Plug'n'Play, leading to faster installs and adding
// guards against forgotten dependencies and such.
PnpWebpackPlugin,
// Prevents users from importing files from outside of src/ (or node_modules/).
// This often causes confusion because we only process files within src/ with babel.
// To fix this, we prevent you from importing files out of src/ -- if you'd like to,
// please link the files into your node_modules/ and let module-resolution kick in.
// Make sure your source files are compiled, as they will not be processed in any way.
new ModuleScopePlugin(paths.appSrc, [paths.appPackageJson]),
],
},
resolveLoader: {
plugins: [
// Also related to Plug'n'Play, but this time it tells Webpack to load its loaders
// from the current package.
PnpWebpackPlugin.moduleLoader(module),
],
},
module: {
strictExportPresence: true,
rules: [
// Disable require.ensure as it's not a standard language feature.
{ parser: { requireEnsure: false } },
// First, run the linter.
// It's important to do this before Babel processes the JS.
{
test: /\.(js|mjs|jsx|ts|tsx)$/,
enforce: 'pre',
use: [
{
options: {
formatter: require.resolve('react-dev-utils/eslintFormatter'),
eslintPath: require.resolve('eslint'),
},
loader: require.resolve('eslint-loader'),
},
],
include: paths.appSrcLib,
},
{
// "oneOf" will traverse all following loaders until one will
// match the requirements. When no loader matches it will fall
// back to the "file" loader at the end of the loader list.
oneOf: [
// "url" loader works like "file" loader except that it embeds assets
// smaller than specified limit in bytes as data URLs to avoid requests.
// A missing `test` is equivalent to a match.
{
test: [/\.bmp$/, /\.gif$/, /\.jpe?g$/, /\.png$/],
loader: require.resolve('url-loader'),
options: {
limit: 10000,
name: 'static/media/[name].[hash:8].[ext]',
},
},
// Process application JS with Babel.
// The preset includes JSX, Flow, TypeScript, and some ESnext features.
{
test: /\.(js|mjs|jsx|ts|tsx)$/,
include: paths.appSrcLib,
loader: require.resolve('babel-loader'),
options: {
customize: require.resolve(
'babel-preset-react-app/webpack-overrides'
),
plugins: [
[
require.resolve('babel-plugin-named-asset-import'),
{
loaderMap: {
svg: {
ReactComponent: '@svgr/webpack?-prettier,-svgo,+ref![path]',
},
},
},
],
],
// This is a feature of `babel-loader` for webpack (not Babel itself).
// It enables caching results in ./node_modules/.cache/babel-loader/
// directory for faster rebuilds.
cacheDirectory: true,
cacheCompression: true,
compact: true,
},
},
// Process any JS outside of the app with Babel.
// Unlike the application JS, we only compile the standard ES features.
{
test: /\.(js|mjs)$/,
exclude: /@babel(?:\/|\\{1,2})runtime/,
loader: require.resolve('babel-loader'),
options: {
babelrc: false,
configFile: false,
compact: false,
presets: [
[
require.resolve('babel-preset-react-app/dependencies'),
{ helpers: true },
],
],
cacheDirectory: true,
cacheCompression: true,
// If an error happens in a package, it's possible to be
// because it was compiled. Thus, we don't want the browser
// debugger to show the original code. Instead, the code
// being evaluated would be much more helpful.
sourceMaps: false,
},
},
// "postcss" loader applies autoprefixer to our CSS.
// "css" loader resolves paths in CSS and adds assets as dependencies.
// "style" loader turns CSS into JS modules that inject <style> tags.
// In production, we use MiniCSSExtractPlugin to extract that CSS
// to a file, but in development "style" loader enables hot editing
// of CSS.
// By default we support CSS Modules with the extension .module.css
{
test: cssRegex,
exclude: cssModuleRegex,
use: getStyleLoaders({
importLoaders: 1,
sourceMap: shouldUseSourceMap,
}),
// Don't consider CSS imports dead code even if the
// containing package claims to have no side effects.
// Remove this when webpack adds a warning or an error for this.
// See https://github.com/webpack/webpack/issues/6571
sideEffects: true,
},
// Adds support for CSS Modules (https://github.com/css-modules/css-modules)
// using the extension .module.css
{
test: cssModuleRegex,
use: getStyleLoaders({
importLoaders: 1,
sourceMap: shouldUseSourceMap,
modules: true,
getLocalIdent: getCSSModuleLocalIdent,
}),
},
// Opt-in support for SASS (using .scss or .sass extensions).
// By default we support SASS Modules with the
// extensions .module.scss or .module.sass
{
test: sassRegex,
exclude: sassModuleRegex,
use: getStyleLoaders(
{
importLoaders: 2,
sourceMap: shouldUseSourceMap,
},
'sass-loader'
),
// Don't consider CSS imports dead code even if the
// containing package claims to have no side effects.
// Remove this when webpack adds a warning or an error for this.
// See https://github.com/webpack/webpack/issues/6571
sideEffects: true,
},
// Adds support for CSS Modules, but using SASS
// using the extension .module.scss or .module.sass
{
test: sassModuleRegex,
use: getStyleLoaders(
{
importLoaders: 2,
sourceMap: shouldUseSourceMap,
modules: true,
getLocalIdent: getCSSModuleLocalIdent,
},
'sass-loader'
),
},
// "file" loader makes sure those assets get served by WebpackDevServer.
// When you `import` an asset, you get its (virtual) filename.
// In production, they would get copied to the `build` folder.
// This loader doesn't use a "test" so it will catch all modules
// that fall through the other loaders.
{
loader: require.resolve('file-loader'),
// Exclude `js` files to keep "css" loader working as it injects
// its runtime that would otherwise be processed through "file" loader.
// Also exclude `html` and `json` extensions so they get processed
// by webpacks internal loaders.
exclude: [/\.(js|mjs|jsx|ts|tsx)$/, /\.html$/, /\.json$/],
options: {
name: 'static/media/[name].[hash:8].[ext]',
},
},
// ** STOP ** Are you adding a new loader?
// Make sure to add the new loader(s) before the "file" loader.
],
},
],
},
plugins: [
// Generates an `index.html` file with the <script> injected.
/*new HtmlWebpackPlugin(
Object.assign(
{},
{
inject: true,
template: paths.appHtml,
},
isEnvProduction
? {
minify: {
removeComments: true,
collapseWhitespace: true,
removeRedundantAttributes: true,
useShortDoctype: true,
removeEmptyAttributes: true,
removeStyleLinkTypeAttributes: true,
keepClosingSlash: true,
minifyJS: true,
minifyCSS: true,
minifyURLs: true,
},
}
: undefined
)
),*/
// Inlines the webpack runtime script. This script is too small to warrant
// a network request.
shouldInlineRuntimeChunk &&
new InlineChunkHtmlPlugin(HtmlWebpackPlugin, [/runtime~.+[.]js/]),
// Makes some environment variables available in index.html.
// The public URL is available as %PUBLIC_URL% in index.html, e.g.:
// <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
// In production, it will be an empty string unless you specify "homepage"
// in `package.json`, in which case it will be the pathname of that URL.
// In development, this will be an empty string.
new InterpolateHtmlPlugin(HtmlWebpackPlugin, env.raw),
// This gives some necessary context to module not found errors, such as
// the requesting resource.
new ModuleNotFoundPlugin(paths.appPath),
// Makes some environment variables available to the JS code, for example:
// if (process.env.NODE_ENV === 'production') { ... }. See `./env.js`.
// It is absolutely essential that NODE_ENV is set to production
// during a production build.
// Otherwise React will be compiled in the very slow development mode.
new webpack.DefinePlugin(env.stringified),
new MiniCssExtractPlugin({
// Options similar to the same options in webpackOptions.output
// both options are optional
filename: 'css/simple-keyboard.css',
chunkFilename: 'css/index.[contenthash:8].chunk.css',
}),
// Generate a manifest file which contains a mapping of all asset filenames
// to their corresponding output file so that tools can pick it up without
// having to parse `index.html`.
/*new ManifestPlugin({
fileName: 'asset-manifest.json',
publicPath: publicPath,
generate: (seed, files) => {
const manifestFiles = files.reduce(function(manifest, file) {
manifest[file.name] = file.path;
return manifest;
}, seed);
return {
files: manifestFiles,
};
},
}),*/
// Moment.js is an extremely popular library that bundles large locale files
// by default due to how Webpack interprets its code. This is a practical
// solution that requires the user to opt into importing specific locales.
// https://github.com/jmblog/how-to-optimize-momentjs-with-webpack
// You can remove this if you don't use Moment.js:
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
// Generate a service worker script that will precache, and keep up to date,
// the HTML & assets that are part of the Webpack build.
/*isEnvProduction &&
new WorkboxWebpackPlugin.GenerateSW({
clientsClaim: true,
exclude: [/\.map$/, /asset-manifest\.json$/],
importWorkboxFrom: 'cdn',
navigateFallback: publicUrl + '/index.html',
navigateFallbackBlacklist: [
// Exclude URLs starting with /_, as they're likely an API call
new RegExp('^/_'),
// Exclude URLs containing a dot, as they're likely a resource in
// public/ and not a SPA route
new RegExp('/[^/]+\\.[^/]+$'),
],
}),*/
// TypeScript type checking
useTypeScript &&
new ForkTsCheckerWebpackPlugin({
typescript: resolve.sync('typescript', {
basedir: paths.appNodeModules,
}),
async: false,
useTypescriptIncrementalApi: true,
checkSyntacticErrors: true,
tsconfig: paths.appTsConfig,
reportFiles: [
'**',
'!**/__tests__/**',
'!**/?(*.)(spec|test).*',
'!**/src/setupProxy.*',
'!**/src/setupTests.*',
],
watch: paths.appSrcLib,
silent: true,
// The formatter is invoked directly in WebpackDevServerUtils during development
formatter: isEnvProduction ? typescriptFormatter : undefined,
}),
].filter(Boolean),
// Some libraries import Node modules but don't use them in the browser.
// Tell Webpack to provide empty mocks for them so importing them works.
node: {
module: 'empty',
dgram: 'empty',
dns: 'mock',
fs: 'empty',
http2: 'empty',
net: 'empty',
tls: 'empty',
child_process: 'empty',
},
// Turn off performance processing because we utilize
// our own hints via the FileSizeReporter
performance: false,
};
};

17104
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.26.0",
"version": "2.28.1",
"description": "On-screen Javascript Virtual Keyboard",
"main": "build/index.js",
"types": "build/index.d.ts",
@@ -10,7 +10,8 @@
"demo": "node scripts/demo.js",
"test": "node scripts/test.js",
"coverage": "node scripts/test.js --coverage --watchAll=false",
"prepare": "npm run build"
"prepare": "npm run build",
"trypublish": "npm publish || true"
},
"repository": {
"type": "git",
@@ -39,66 +40,72 @@
],
"license": "MIT",
"devDependencies": {
"@babel/core": "7.5.5",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@svgr/webpack": "4.3.2",
"@babel/core": "7.8.4",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@babel/preset-react": "^7.8.3",
"@svgr/webpack": "5.1.0",
"@typescript-eslint/eslint-plugin": "1.13.0",
"@typescript-eslint/parser": "1.13.0",
"babel-eslint": "10.0.2",
"babel-jest": "^24.8.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^25.1.0",
"babel-loader": "8.0.6",
"babel-plugin-named-asset-import": "^0.3.3",
"babel-preset-react-app": "^9.0.1",
"babel-plugin-named-asset-import": "^0.3.6",
"babel-preset-react-app": "^9.1.1",
"camelcase": "^5.2.0",
"case-sensitive-paths-webpack-plugin": "2.2.0",
"copy-webpack-plugin": "^5.0.3",
"css-loader": "2.1.1",
"dotenv": "6.2.0",
"dotenv-expand": "4.2.0",
"eslint": "^6.1.0",
"case-sensitive-paths-webpack-plugin": "2.3.0",
"copy-webpack-plugin": "^5.1.1",
"css-loader": "3.4.2",
"dotenv": "8.2.0",
"dotenv-expand": "5.1.0",
"eslint": "^6.8.0",
"eslint-config-react-app": "^5.0.1",
"eslint-loader": "2.2.1",
"eslint-loader": "3.0.3",
"eslint-plugin-flowtype": "3.13.0",
"eslint-plugin-import": "2.18.2",
"eslint-plugin-import": "2.20.1",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-react": "7.14.3",
"eslint-plugin-react-hooks": "^1.6.1",
"file-loader": "3.0.1",
"fs-extra": "7.0.1",
"html-webpack-plugin": "4.0.0-beta.5",
"eslint-plugin-react": "7.18.3",
"eslint-plugin-react-hooks": "^2.3.0",
"file-loader": "5.0.2",
"fs-extra": "8.1.0",
"html-webpack-plugin": "4.0.0-beta.11",
"identity-obj-proxy": "3.0.0",
"is-wsl": "^1.1.0",
"jest": "24.8.0",
"jest-environment-jsdom-fourteen": "0.1.0",
"jest-resolve": "24.9.0",
"jest-watch-typeahead": "0.3.1",
"mini-css-extract-plugin": "0.5.0",
"is-wsl": "^2.1.0",
"jest": "25.1.0",
"jest-environment-jsdom-fourteen": "1.0.1",
"jest-resolve": "25.1.0",
"jest-watch-typeahead": "0.4.2",
"mini-css-extract-plugin": "0.9.0",
"optimize-css-assets-webpack-plugin": "5.0.3",
"pnp-webpack-plugin": "1.5.0",
"prettier": "^1.17.0",
"prettier-webpack-plugin": "^1.2.0",
"postcss-flexbugs-fixes": "4.1.0",
"pnp-webpack-plugin": "1.6.0",
"postcss-flexbugs-fixes": "4.2.0",
"postcss-loader": "3.0.0",
"postcss-normalize": "7.0.1",
"postcss-normalize": "8.0.1",
"postcss-preset-env": "6.7.0",
"postcss-safe-parser": "4.0.1",
"react": "^16.9.0",
"react-app-polyfill": "^1.0.2",
"react-dev-utils": "^9.0.3",
"react-dom": "^16.9.0",
"resolve": "1.12.0",
"resolve-url-loader": "3.1.0",
"sass-loader": "7.2.0",
"semver": "6.3.0",
"style-loader": "1.0.0",
"terser-webpack-plugin": "1.4.1",
"ts-pnp": "1.1.2",
"uglifyjs-webpack-plugin": "^2.1.2",
"url-loader": "2.1.0",
"webpack": "4.39.1",
"webpack-dev-server": "3.2.1",
"webpack-manifest-plugin": "2.0.4",
"workbox-webpack-plugin": "4.3.1"
"prettier": "^1.19.1",
"prettier-webpack-plugin": "^1.2.0",
"react": "^16.12.0",
"react-app-polyfill": "^1.0.6",
"react-dev-utils": "^10.1.0",
"react-dom": "^16.12.0",
"resolve": "1.15.1",
"resolve-url-loader": "3.1.1",
"sass-loader": "8.0.2",
"semver": "7.1.2",
"simple-keyboard-autocorrect": "^2.1.3",
"simple-keyboard-input-mask": "^2.2.3",
"simple-keyboard-key-navigation": "^2.1.1",
"style-loader": "1.1.3",
"swipe-keyboard": "^2.1.4",
"terser-webpack-plugin": "2.3.4",
"ts-pnp": "1.1.5",
"uglifyjs-webpack-plugin": "^2.2.0",
"url-loader": "3.0.0",
"webpack": "4.41.5",
"webpack-dev-server": "3.10.3",
"webpack-manifest-plugin": "2.2.0",
"workbox-webpack-plugin": "5.0.0"
},
"eslintConfig": {
"extends": "react-app"
@@ -170,7 +177,8 @@
},
"babel": {
"presets": [
"react-app"
"@babel/preset-env",
"@babel/preset-react"
],
"plugins": [
[

View File

@@ -106,8 +106,8 @@ checkBrowsers(paths.appPath, isInteractive)
);
},
err => {
console.error('Failed to compile');
printBuildError(err);
throw new Error('Failed to compile');
process.exit(1);
}
)

View File

@@ -106,8 +106,8 @@ checkBrowsers(paths.appPath, isInteractive)
);
},
err => {
console.error('Failed to compile');
printBuildError(err);
throw new Error('Failed to compile');
process.exit(1);
}
)

View File

@@ -139,6 +139,8 @@ checkBrowsers(paths.appPath, isInteractive)
stats = stats.toJson();
if (stats.errors && stats.errors.length > 0) {
devServer.close();
process.exit(1);
return;
}

View File

@@ -43,8 +43,8 @@ class Demo {
}
handleShift() {
let currentLayout = this.keyboard.options.layoutName;
let shiftToggle = currentLayout === "default" ? "shift" : "default";
const currentLayout = this.keyboard.options.layoutName;
const shiftToggle = currentLayout === "default" ? "shift" : "default";
this.keyboard.setOptions({
layoutName: shiftToggle

View File

@@ -61,8 +61,8 @@ class Demo {
}
handleShift() {
let currentLayout = this.keyboard.options.layoutName;
let shiftToggle = currentLayout === "default" ? "shift" : "default";
const currentLayout = this.keyboard.options.layoutName;
const shiftToggle = currentLayout === "default" ? "shift" : "default";
this.keyboard.setOptions({
layoutName: shiftToggle

View File

@@ -0,0 +1,31 @@
import Keyboard from "../lib";
import "./css/DOMElementDemo.css";
class Demo {
constructor() {
const rootDOM =
document.querySelector("#root") || document.createElement("div");
const keyboard1DOM = document.createElement("div");
keyboard1DOM.className = "my-keyboard";
const keyboard2DOM = document.createElement("div");
keyboard2DOM.className = "my-keyboard2";
/**
* Demo Start
*/
this.keyboard1 = new Keyboard(keyboard1DOM, {
onChange: input => console.log(this.keyboard1.keyboardDOMClass, input)
});
this.keyboard2 = new Keyboard(keyboard2DOM, {
onChange: input => console.log(this.keyboard2.keyboardDOMClass, input)
});
rootDOM.appendChild(keyboard1DOM);
rootDOM.appendChild(keyboard2DOM);
}
}
export default Demo;

View File

@@ -27,7 +27,7 @@ class Demo {
/**
* Demo Start
*/
let commonKeyboardOptions = {
const commonKeyboardOptions = {
onChange: input => this.onChange(input),
onKeyPress: button => this.onKeyPress(button),
theme: "simple-keyboard hg-theme-default hg-layout-default",
@@ -116,8 +116,8 @@ class Demo {
}
});
document.querySelector(".input").addEventListener("input", event => {
let input = document.querySelector(".input").value;
document.querySelector(".input").addEventListener("input", () => {
const input = document.querySelector(".input").value;
this.keyboard.setInput(input);
});
}
@@ -145,8 +145,8 @@ class Demo {
}
handleShift() {
let currentLayout = this.keyboard.options.layoutName;
let shiftToggle = currentLayout === "default" ? "shift" : "default";
const currentLayout = this.keyboard.options.layoutName;
const shiftToggle = currentLayout === "default" ? "shift" : "default";
this.keyboard.setOptions({
layoutName: shiftToggle

View File

@@ -0,0 +1,89 @@
import Keyboard from "../lib";
import "./css/MultipleKeyboardsDestroyDemo.css";
const setDOM = () => {
document.querySelector("#root").innerHTML = `
<input class="input" placeholder="Tap on the virtual keyboard to start" />
<div class="simple-keyboard"></div>
<input class="input2" placeholder="Tap on the virtual keyboard to start" />
<div class="keyboard2"></div>
`;
};
class Demo {
constructor() {
setDOM();
/**
* Demo Start
*/
this.keyboard = new Keyboard({
onChange: input => this.onChange(input),
onKeyPress: button => this.onKeyPress(button),
debug: true
});
this.keyboard2 = new Keyboard(".keyboard2", {
theme: "simple-keyboard hg-theme-default",
onChange: input => this.onChange(input, "input2"),
onKeyPress: button => this.onKeyPress(button, "keyboard2"),
debug: true
});
console.log(this.keyboard);
setTimeout(this.keyboard.destroy, 10000);
setTimeout(() => {
this.keyboard = new Keyboard({
theme: "hg-theme-default myTheme",
onChange: input => this.onChange(input),
onKeyPress: button => this.onKeyPress(button),
debug: true,
onInit: () => {
console.log(
"Reinitialized simple-keyboard instance:",
this.keyboard.keyboardDOMClass
);
}
});
}, 15000);
/**
* Update simple-keyboard when input is changed directly
*/
document.querySelector(".input").addEventListener("input", event => {
this.keyboard.setInput(event.target.value);
});
document.querySelector(".input2").addEventListener("input", event => {
this.keyboard2.setInput(event.target.value);
});
}
onChange(input, inputClass) {
document.querySelector(`.${inputClass || "input"}`).value = input;
console.log("Input changed", input);
}
onKeyPress(button, keyboardInstanceKey) {
console.log("Button pressed", button);
/**
* If you want to handle the shift and caps lock buttons
*/
if (button === "{shift}" || button === "{lock}")
this.handleShift(keyboardInstanceKey);
}
handleShift(keyboardInstanceKey) {
const keyboard = this[keyboardInstanceKey || "keyboard"];
const currentLayout = keyboard.options.layoutName;
const shiftToggle = currentLayout === "default" ? "shift" : "default";
keyboard.setOptions({
layoutName: shiftToggle
});
}
}
export default Demo;

View File

@@ -0,0 +1,14 @@
input {
width: 100%;
height: 100px;
padding: 20px;
font-size: 20px;
border: none;
box-sizing: border-box;
}
.my-keyboard,
.my-keyboard2 {
max-width: 850px;
margin-top: 20px;
}

View File

@@ -0,0 +1,16 @@
input {
width: 100%;
height: 100px;
padding: 20px;
font-size: 20px;
border: none;
box-sizing: border-box;
}
.simple-keyboard {
max-width: 850px;
}
.simple-keyboard.hg-theme-default.myTheme {
background-color: #bde6c6;
}

View File

@@ -4,8 +4,10 @@ import "./css/index.css";
* Demos
*/
import BasicDemo from "./BasicDemo";
//import FullKeyboardDemo from "./FullKeyboardDemo";
//import ButtonThemeDemo from "./ButtonThemeDemo";
// import ButtonThemeDemo from "./ButtonThemeDemo";
// import DOMElementDemo from "./DOMElementDemo";
// import FullKeyboardDemo from "./FullKeyboardDemo";
// import MultipleKeyboardsDemo from "./MultipleKeyboardsDestroyDemo";
/**
* Selected demo

View File

@@ -1,18 +1,18 @@
import TestUtility from '../../utils/TestUtility';
import BasicDemo from '../BasicDemo';
let testUtil = new TestUtility();
const testUtil = new TestUtility();
it('Demo will load', () => {
testUtil.setDOM();
let demo = new BasicDemo();
new BasicDemo();
});
it('Demo onDOMLoaded will work', () => {
testUtil.setDOM();
let demo = new BasicDemo();
const demo = new BasicDemo();
expect(demo.keyboard).toBeTruthy();
});
@@ -20,7 +20,7 @@ it('Demo onDOMLoaded will work', () => {
it('Demo onChange will work', () => {
testUtil.setDOM();
let demo = new BasicDemo();
const demo = new BasicDemo();
demo.onChange("test");
@@ -30,7 +30,7 @@ it('Demo onChange will work', () => {
it('Demo onChange will work', () => {
testUtil.setDOM();
let demo = new BasicDemo();
const demo = new BasicDemo();
demo.keyboard.getButtonElement("q").onclick();
@@ -40,7 +40,7 @@ it('Demo onChange will work', () => {
it('Demo input change will work', () => {
testUtil.setDOM();
let demo = new BasicDemo();
const demo = new BasicDemo();
document.body.querySelector('.input').value = "test";
document.body.querySelector('.input').dispatchEvent(new Event('input'));
@@ -51,7 +51,7 @@ it('Demo input change will work', () => {
it('Demo handleShiftButton will work', () => {
testUtil.setDOM();
let demo = new BasicDemo();
const demo = new BasicDemo();
demo.keyboard.getButtonElement("{shift}")[0].onclick();
expect(demo.keyboard.options.layoutName).toBe("shift");

View File

@@ -1,18 +1,18 @@
import TestUtility from '../../utils/TestUtility';
import ButtonThemeDemo from '../ButtonThemeDemo';
let testUtil = new TestUtility();
const testUtil = new TestUtility();
it('Demo will load', () => {
testUtil.setDOM();
let demo = new ButtonThemeDemo();
new ButtonThemeDemo();
});
it('Demo onDOMLoaded will work', () => {
testUtil.setDOM();
let demo = new ButtonThemeDemo();
const demo = new ButtonThemeDemo();
expect(demo.keyboard).toBeTruthy();
});
@@ -20,7 +20,7 @@ it('Demo onDOMLoaded will work', () => {
it('Demo onChange will work', () => {
testUtil.setDOM();
let demo = new ButtonThemeDemo();
const demo = new ButtonThemeDemo();
demo.onChange("test");
@@ -30,7 +30,7 @@ it('Demo onChange will work', () => {
it('Demo onChange will work', () => {
testUtil.setDOM();
let demo = new ButtonThemeDemo();
const demo = new ButtonThemeDemo();
demo.keyboard.getButtonElement("q").onclick();
@@ -40,7 +40,7 @@ it('Demo onChange will work', () => {
it('Demo input change will work', () => {
testUtil.setDOM();
let demo = new ButtonThemeDemo();
const demo = new ButtonThemeDemo();
document.body.querySelector('.input').value = "test";
document.body.querySelector('.input').dispatchEvent(new Event('input'));
@@ -51,7 +51,7 @@ it('Demo input change will work', () => {
it('Demo handleShiftButton will work', () => {
testUtil.setDOM();
let demo = new ButtonThemeDemo();
const demo = new ButtonThemeDemo();
demo.keyboard.getButtonElement("{shift}")[0].onclick();
expect(demo.keyboard.options.layoutName).toBe("shift");
@@ -63,15 +63,15 @@ it('Demo handleShiftButton will work', () => {
it('Demo buttons will have proper attributes and classes', () => {
testUtil.setDOM();
let demo = new ButtonThemeDemo();
const demo = new ButtonThemeDemo();
let buttonDOM = demo.keyboard.getButtonElement("b");
const buttonDOM = demo.keyboard.getButtonElement("b");
console.log("buttonDOM", buttonDOM.outerHTML);
let hasAttribute = buttonDOM.hasAttribute("aria-label");
const hasAttribute = buttonDOM.hasAttribute("aria-label");
expect(hasAttribute).toBeTruthy();
let hasClass = buttonDOM.classList.contains("my-button-outline");
const hasClass = buttonDOM.classList.contains("my-button-outline");
expect(hasClass).toBeTruthy();
});

View File

@@ -0,0 +1,22 @@
import DOMElementDemo from '../DOMElementDemo';
import Keyboard from '../../lib/components/Keyboard';
it('Demo will load', () => {
new DOMElementDemo();
});
it('Demo keyboards will be instantiated', () => {
const demo = new DOMElementDemo();
expect(demo.keyboard1).toBeInstanceOf(Keyboard);
expect(demo.keyboard2).toBeInstanceOf(Keyboard);
});
it('Demo input change will work', () => {
const demo = new DOMElementDemo();
demo.keyboard1.getButtonElement("q").onclick();
demo.keyboard2.getButtonElement("e").onclick();
expect(demo.keyboard1.getInput()).toBe("q");
expect(demo.keyboard2.getInput()).toBe("e");
});

View File

@@ -1,18 +1,17 @@
import TestUtility from '../../utils/TestUtility';
import FullKeyboardDemo from '../FullKeyboardDemo';
let testUtil = new TestUtility();
const testUtil = new TestUtility();
it('Demo will load', () => {
testUtil.setDOM();
let demo = new FullKeyboardDemo();
new FullKeyboardDemo();
});
it('Demo onDOMLoaded will work', () => {
testUtil.setDOM();
let demo = new FullKeyboardDemo();
const demo = new FullKeyboardDemo();
expect(demo.keyboard).toBeTruthy();
});
@@ -20,7 +19,7 @@ it('Demo onDOMLoaded will work', () => {
it('Demo onChange will work', () => {
testUtil.setDOM();
let demo = new FullKeyboardDemo();
const demo = new FullKeyboardDemo();
demo.onChange("test");
@@ -30,7 +29,7 @@ it('Demo onChange will work', () => {
it('Demo onChange will work', () => {
testUtil.setDOM();
let demo = new FullKeyboardDemo();
const demo = new FullKeyboardDemo();
demo.keyboard.getButtonElement("q").onclick();
@@ -40,7 +39,7 @@ it('Demo onChange will work', () => {
it('Demo input change will work', () => {
testUtil.setDOM();
let demo = new FullKeyboardDemo();
const demo = new FullKeyboardDemo();
document.body.querySelector('.input').value = "test";
document.body.querySelector('.input').dispatchEvent(new Event('input'));
@@ -52,7 +51,7 @@ it('Demo input change will work', () => {
it('Demo handleShiftButton will work', () => {
testUtil.setDOM();
let demo = new FullKeyboardDemo();
const demo = new FullKeyboardDemo();
demo.keyboard.getButtonElement("{shiftleft}").onclick();
expect(demo.keyboard.options.layoutName).toBe("shift");

View File

@@ -0,0 +1,28 @@
import Keyboard from '../../lib';
import SimpleKeyboardAutocorrect from 'simple-keyboard-autocorrect';
test('Module simple-keyboard-autocorrect runs without crashing', () => {
const div = document.createElement('div');
div.className = "simple-keyboard";
document.body.appendChild(div);
const keyboard = new Keyboard({
debug: true,
onChange: input => input,
onKeyPress: button => button,
newLineOnEnter: true,
useMouseEvents: true,
autocorrectDict: ["dog", "house"],
modules: [
SimpleKeyboardAutocorrect
]
});
keyboard.getButtonElement("d").onclick();
keyboard.getButtonElement("o").onclick();
keyboard.getButtonElement("{space}").onclick();
keyboard.getButtonElement("{bksp}").onclick();
expect(keyboard.getInput()).toBe("dog");
});

View File

@@ -0,0 +1,37 @@
import Keyboard from '../../lib';
import SimpleKeyboardInputMask from 'simple-keyboard-input-mask';
test('Module simple-keyboard-input-mask runs without crashing', () => {
const div = document.createElement('div');
div.className += "simple-keyboard";
document.body.appendChild(div);
const keyboard = new Keyboard({
debug: true,
onChange: input => input,
onKeyPress: button => button,
inputMask: "(99) 9999-9999",
useMouseEvents: true,
modules: [
SimpleKeyboardInputMask
],
});
keyboard.getButtonElement("d").onclick();
keyboard.getButtonElement("o").onclick();
keyboard.getButtonElement("{space}").onclick();
keyboard.getButtonElement("1").onclick();
keyboard.getButtonElement("2").onclick();
keyboard.getButtonElement("3").onclick();
keyboard.getButtonElement("c").onclick();
keyboard.getButtonElement("4").onclick();
keyboard.getButtonElement("5").onclick();
keyboard.getButtonElement("6").onclick();
keyboard.getButtonElement("7").onclick();
keyboard.getButtonElement("8").onclick();
keyboard.getButtonElement("9").onclick();
keyboard.getButtonElement("0").onclick();
expect(keyboard.getInput()).toBe("(12) 3456-7890");
});

View File

@@ -0,0 +1,25 @@
import Keyboard from '../../lib';
import SimpleKeyboardKeyNavigation from 'simple-keyboard-key-navigation';
test('Module simple-keyboard-key-navigation runs without crashing', () => {
const div = document.createElement('div');
div.className = "simple-keyboard";
document.body.appendChild(div);
const keyboard = new Keyboard({
debug: true,
onChange: input => input,
onKeyPress: button => button,
enableKeyNavigation: true,
modules: [
SimpleKeyboardKeyNavigation
]
});
keyboard.modules.keyNavigation.right();
keyboard.modules.keyNavigation.down();
keyboard.modules.keyNavigation.press();
expect(keyboard.getInput()).toBe("q");
});

View File

@@ -0,0 +1,23 @@
import Keyboard from '../../lib';
import SimpleKeyboardSwipe from 'swipe-keyboard';
test('Module swipe-keyboard runs without crashing', () => {
const containerDiv = document.createElement('div');
containerDiv.className = "keyboardContainer";
const keyboardDiv = document.createElement('div');
keyboardDiv.className = "simple-keyboard";
containerDiv.appendChild(keyboardDiv);
document.body.appendChild(containerDiv);
new Keyboard({
debug: true,
onChange: input => input,
onKeyPress: button => button,
useMouseEvents: true,
modules: [
SimpleKeyboardSwipe
]
});
});

View File

@@ -0,0 +1,84 @@
import TestUtility from '../../utils/TestUtility';
import MultipleKeyboardsDestroyDemo from '../MultipleKeyboardsDestroyDemo';
jest.useFakeTimers();
const testUtil = new TestUtility();
it('Demo will load', () => {
testUtil.setDOM();
new MultipleKeyboardsDestroyDemo();
});
it('Demo onDOMLoaded will work', () => {
testUtil.setDOM();
const demo = new MultipleKeyboardsDestroyDemo();
expect(demo.keyboard).toBeTruthy();
});
it('Demo onChange will work', () => {
testUtil.setDOM();
const demo = new MultipleKeyboardsDestroyDemo();
demo.onChange("test");
demo.keyboard2.getButtonElement("q").click();
expect(document.body.querySelector('.input').value).toBe("test");
expect(document.body.querySelector('.input2').value).toBe("q");
});
it('Demo onChange will work', () => {
testUtil.setDOM();
const demo = new MultipleKeyboardsDestroyDemo();
demo.keyboard.getButtonElement("q").onclick();
expect(document.body.querySelector('.input').value).toBe("q");
});
it('Demo input change will work', () => {
testUtil.setDOM();
const demo = new MultipleKeyboardsDestroyDemo();
document.body.querySelector('.input').value = "test";
document.body.querySelector('.input').dispatchEvent(new Event('input'));
document.body.querySelector('.input2').value = "test2";
document.body.querySelector('.input2').dispatchEvent(new Event('input'));
expect(demo.keyboard.getInput()).toBe("test");
expect(demo.keyboard2.getInput()).toBe("test2");
});
it('Demo handleShiftButton will work', () => {
testUtil.setDOM();
const demo = new MultipleKeyboardsDestroyDemo();
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('MultipleKeyboardsDestroyDemo will run all timers', () => {
testUtil.setDOM();
const demo = new MultipleKeyboardsDestroyDemo();
jest.runAllTimers();
expect(demo.keyboard.options.theme).toBe("hg-theme-default myTheme");
demo.keyboard.getButtonElement("{shift}")[0].onclick();
expect(demo.keyboard.options.layoutName).toBe("shift");
demo.keyboard.getButtonElement("A").onclick();
expect(demo.keyboard.input.default).toBe("A");
});

View File

@@ -93,6 +93,11 @@ declare module 'simple-keyboard' {
* Calling preventDefault for the mousedown events keeps the focus on the input.
*/
preventMouseDownDefault?: boolean;
/**
* Stops pointer down events on simple-keyboard buttons from bubbling to parent elements.
*/
stopMouseDownPropagation?: boolean;
/**
* Define the text color that the physical keyboard highlighted key should have.
@@ -178,11 +183,6 @@ declare module 'simple-keyboard' {
* Executes the callback function on input change. Returns the input object with all defined inputs.
*/
onChangeAll?: (inputs: any) => any;
/**
* Executes the callback function on key release.
*/
onKeyReleased?: () => void;
}
class Keyboard {

View File

@@ -1,12 +1,8 @@
body,
html {
margin: 0;
padding: 0;
}
.simple-keyboard {
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue",
Helvetica, Arial, "Lucida Grande", sans-serif;
/**
* simple-keyboard
* Theme: hg-theme-default
*/
.hg-theme-default {
width: 100%;
user-select: none;
box-sizing: border-box;
@@ -14,50 +10,56 @@ html {
touch-action: manipulation;
}
.simple-keyboard .hg-row {
display: flex;
}
.simple-keyboard .hg-row:not(:last-child) {
margin-bottom: 5px;
}
.simple-keyboard .hg-row .hg-button:not(:last-child) {
margin-right: 5px;
}
.simple-keyboard .hg-row .hg-button-container {
margin-right: 5px;
}
.simple-keyboard .hg-row > div:last-child {
margin-right: 0;
}
.simple-keyboard .hg-row .hg-button-container {
display: flex;
}
.simple-keyboard .hg-button {
display: inline-block;
flex-grow: 1;
cursor: pointer;
}
.simple-keyboard .hg-button span {
.hg-theme-default .hg-button span {
pointer-events: none;
}
/**
* hg-theme-default theme
*/
.simple-keyboard.hg-theme-default {
/* When using option "useButtonTag" */
.hg-theme-default button.hg-button {
border-width: 0;
outline: 0;
font-size: inherit;
}
.hg-theme-default {
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue",
Helvetica, Arial, "Lucida Grande", sans-serif;
background-color: rgba(0, 0, 0, 0.1);
padding: 5px;
border-radius: 5px;
}
.simple-keyboard.hg-theme-default .hg-button {
.hg-theme-default .hg-button {
display: inline-block;
flex-grow: 1;
cursor: pointer;
}
.hg-theme-default .hg-row {
display: flex;
}
.hg-theme-default .hg-row:not(:last-child) {
margin-bottom: 5px;
}
.hg-theme-default .hg-row .hg-button:not(:last-child) {
margin-right: 5px;
}
.hg-theme-default .hg-row .hg-button-container {
margin-right: 5px;
}
.hg-theme-default .hg-row > div:last-child {
margin-right: 0;
}
.hg-theme-default .hg-row .hg-button-container {
display: flex;
}
.hg-theme-default .hg-button {
box-shadow: 0px 0px 3px -1px rgba(0, 0, 0, 0.3);
height: 40px;
border-radius: 5px;
@@ -69,16 +71,14 @@ html {
display: flex;
align-items: center;
justify-content: center;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
/* When using option "useButtonTag" */
.simple-keyboard button.hg-button {
border-width: 0;
outline: 0;
font-size: inherit;
.hg-theme-default .hg-button.hg-activeButton {
background: #efefef;
}
.simple-keyboard.hg-theme-default.hg-layout-numeric .hg-button {
.hg-theme-default.hg-layout-numeric .hg-button {
width: 33.3%;
height: 60px;
align-items: center;
@@ -86,35 +86,35 @@ html {
justify-content: center;
}
.simple-keyboard.hg-theme-default .hg-button.hg-button-numpadadd {
.hg-theme-default .hg-button.hg-button-numpadadd {
height: 85px;
}
.simple-keyboard.hg-theme-default .hg-button.hg-button-numpadenter {
.hg-theme-default .hg-button.hg-button-numpadenter {
height: 85px;
}
.simple-keyboard.hg-theme-default .hg-button.hg-button-numpad0 {
.hg-theme-default .hg-button.hg-button-numpad0 {
width: 105px;
}
.simple-keyboard.hg-theme-default .hg-button.hg-button-com {
.hg-theme-default .hg-button.hg-button-com {
max-width: 85px;
}
.simple-keyboard.hg-theme-default .hg-button.hg-standardBtn.hg-button-at {
.hg-theme-default .hg-button.hg-standardBtn.hg-button-at {
max-width: 45px;
}
.simple-keyboard.hg-theme-default .hg-button.hg-selectedButton {
.hg-theme-default .hg-button.hg-selectedButton {
background: rgba(5, 25, 70, 0.53);
color: white;
}
.simple-keyboard.hg-theme-default .hg-button.hg-standardBtn[data-skbtn=".com"] {
.hg-theme-default .hg-button.hg-standardBtn[data-skbtn=".com"] {
max-width: 82px;
}
.simple-keyboard.hg-theme-default .hg-button.hg-standardBtn[data-skbtn="@"] {
.hg-theme-default .hg-button.hg-standardBtn[data-skbtn="@"] {
max-width: 60px;
}

View File

@@ -1,8 +1,8 @@
import "./Keyboard.css";
// Services
import { getDefaultLayout } from "../services/KeyboardLayout";
import PhysicalKeyboard from "../services/PhysicalKeyboard";
import KeyboardLayout from "../services/KeyboardLayout";
import Utilities from "../services/Utilities";
/**
@@ -18,11 +18,9 @@ class SimpleKeyboard {
* @param {Array} params If first parameter is a string, it is considered the container class. The second parameter is then considered the options object. If first parameter is an object, it is considered the options object.
*/
constructor(...params) {
let keyboardDOMQuery =
typeof params[0] === "string" ? params[0] : ".simple-keyboard";
let options = typeof params[0] === "object" ? params[0] : params[1];
if (!options) options = {};
const { keyboardDOMClass, keyboardDOM, options = {} } = this.handleParams(
params
);
/**
* Initializing Utilities
@@ -41,7 +39,7 @@ class SimpleKeyboard {
/**
* Processing options
*/
this.keyboardDOM = document.querySelector(keyboardDOMQuery);
this.keyboardDOM = keyboardDOM;
/**
* @type {object}
@@ -61,6 +59,7 @@ class SimpleKeyboard {
* @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 {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 {function(button: string):string} onKeyPress Executes the callback function on key press. Returns button layout name (i.e.: “{shift}”).
@@ -100,7 +99,7 @@ class SimpleKeyboard {
* This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.
* @example
* // To get entered input
* let input = keyboard.getInput();
* const input = keyboard.getInput();
*
* // To clear entered input.
* keyboard.clearInput();
@@ -115,7 +114,7 @@ class SimpleKeyboard {
/**
* @type {string} DOM class of the keyboard wrapper, normally "simple-keyboard" by default.
*/
this.keyboardDOMClass = keyboardDOMQuery.split(".").join("");
this.keyboardDOMClass = keyboardDOMClass;
/**
* @type {object} Contains the DOM elements of every rendered button, the key being the button's layout name (e.g.: "{enter}").
@@ -129,15 +128,13 @@ class SimpleKeyboard {
if (!window["SimpleKeyboardInstances"])
window["SimpleKeyboardInstances"] = {};
window["SimpleKeyboardInstances"][
this.utilities.camelCase(this.keyboardDOMClass)
] = this;
this.currentInstanceName = this.utilities.camelCase(this.keyboardDOMClass);
window["SimpleKeyboardInstances"][this.currentInstanceName] = this;
/**
* Instance vars
*/
this.allKeyboardInstances = window["SimpleKeyboardInstances"];
this.currentInstanceName = this.utilities.camelCase(this.keyboardDOMClass);
this.keyboardInstanceNames = Object.keys(window["SimpleKeyboardInstances"]);
this.isFirstKeyboardInstance =
this.keyboardInstanceNames[0] === this.currentInstanceName;
@@ -155,7 +152,7 @@ class SimpleKeyboard {
*/
if (this.keyboardDOM) this.render();
else {
console.warn(`"${keyboardDOMQuery}" was not found in the DOM.`);
console.warn(`".${keyboardDOMClass}" was not found in the DOM.`);
throw new Error("KEYBOARD_DOM_ERROR");
}
@@ -166,6 +163,56 @@ class SimpleKeyboard {
this.loadModules();
}
/**
* parseParams
*/
handleParams = params => {
let keyboardDOMClass;
let keyboardDOM;
let options;
/**
* If first parameter is a string:
* Consider it as an element's class
*/
if (typeof params[0] === "string") {
keyboardDOMClass = params[0].split(".").join("");
keyboardDOM = document.querySelector(`.${keyboardDOMClass}`);
options = params[1];
/**
* If first parameter is an HTMLDivElement
* Consider it as the keyboard DOM element
*/
} else if (params[0] instanceof HTMLDivElement) {
/**
* This element must have a class, otherwise throw
*/
if (!params[0].className) {
console.warn("Any DOM element passed as parameter must have a class.");
throw new Error("KEYBOARD_DOM_CLASS_ERROR");
}
keyboardDOMClass = params[0].className.split(" ")[0];
keyboardDOM = params[0];
options = params[1];
/**
* Otherwise, search for .simple-keyboard DOM element
*/
} else {
keyboardDOMClass = "simple-keyboard";
keyboardDOM = document.querySelector(`.${keyboardDOMClass}`);
options = params[0];
}
return {
keyboardDOMClass,
keyboardDOM,
options
};
};
/**
* Getters
*/
@@ -177,7 +224,7 @@ class SimpleKeyboard {
* @param {string} button The button's layout name.
*/
handleButtonClicked(button) {
let debug = this.options.debug;
const debug = this.options.debug;
/**
* Ignoring placeholder buttons
@@ -193,7 +240,7 @@ class SimpleKeyboard {
if (!this.input[this.options.inputName])
this.input[this.options.inputName] = "";
let updatedInput = this.utilities.getUpdatedInput(
const updatedInput = this.utilities.getUpdatedInput(
button,
this.input[this.options.inputName],
this.caretPosition
@@ -230,7 +277,7 @@ class SimpleKeyboard {
/**
* Enforce syncInstanceInputs, if set
*/
if (this.options.syncInstanceInputs) this.syncInstanceInputs(this.input);
if (this.options.syncInstanceInputs) this.syncInstanceInputs();
/**
* Calling onChange
@@ -261,6 +308,11 @@ class SimpleKeyboard {
if (this.options.preventMouseDownDefault) e.preventDefault();
if (this.options.stopMouseDownPropagation) e.stopPropagation();
/**
* Add active class
*/
if (e) e.target.classList.add(this.activeButtonClass);
/**
* @type {boolean} Whether the mouse is being held onKeyPress
*/
@@ -297,6 +349,13 @@ class SimpleKeyboard {
* Handles button mouseup
*/
handleButtonMouseUp(button) {
/**
* Remove active class
*/
this.recurseButtons(buttonElement => {
buttonElement.classList.remove(this.activeButtonClass);
});
this.isMouseHold = false;
if (this.holdInteractionTimeout) clearTimeout(this.holdInteractionTimeout);
@@ -307,6 +366,16 @@ class SimpleKeyboard {
this.options.onKeyReleased(button);
}
/**
* Handles container mousedown
*/
handleKeyboardContainerMouseDown(e) {
/**
* Handle event options
*/
if (this.options.preventMouseDownDefault) e.preventDefault();
}
/**
* Handles button hold
*/
@@ -353,7 +422,7 @@ class SimpleKeyboard {
/**
* Enforce syncInstanceInputs, if set
*/
if (this.options.syncInstanceInputs) this.syncInstanceInputs(this.input);
if (this.options.syncInstanceInputs) this.syncInstanceInputs();
}
/**
@@ -366,7 +435,7 @@ class SimpleKeyboard {
/**
* Enforce syncInstanceInputs, if set
*/
if (this.options.syncInstanceInputs) this.syncInstanceInputs(this.input);
if (this.options.syncInstanceInputs) this.syncInstanceInputs();
return this.input[inputName];
}
@@ -383,7 +452,7 @@ class SimpleKeyboard {
/**
* Enforce syncInstanceInputs, if set
*/
if (this.options.syncInstanceInputs) this.syncInstanceInputs(this.input);
if (this.options.syncInstanceInputs) this.syncInstanceInputs();
}
/**
@@ -432,7 +501,7 @@ class SimpleKeyboard {
/**
* Remove all keyboard rows and reset keyboard values.
* Used interally between re-renders.
* Used internally between re-renders.
*/
clear() {
this.keyboardDOM.innerHTML = "";
@@ -478,7 +547,7 @@ class SimpleKeyboard {
if (buttonTheme.class.split(" ").includes(classNameItem)) {
classNameFound = true;
let buttonThemeArray = buttonTheme.buttons.split(" ");
const buttonThemeArray = buttonTheme.buttons.split(" ");
if (!buttonThemeArray.includes(button)) {
classNameFound = true;
buttonThemeArray.push(button);
@@ -526,8 +595,8 @@ class SimpleKeyboard {
Array.isArray(this.options.buttonTheme) &&
this.options.buttonTheme.length
) {
let buttonArray = buttons.split(" ");
buttonArray.forEach((button, key) => {
const buttonArray = buttons.split(" ");
buttonArray.forEach(button => {
this.options.buttonTheme.map((buttonTheme, index) => {
/**
* If className is set, we affect the buttons only for that class
@@ -537,7 +606,7 @@ class SimpleKeyboard {
(className && className.includes(buttonTheme.class)) ||
!className
) {
let filteredButtonArray = buttonTheme.buttons
const filteredButtonArray = buttonTheme.buttons
.split(" ")
.filter(item => item !== button);
@@ -567,7 +636,7 @@ class SimpleKeyboard {
getButtonElement(button) {
let output;
let buttonArr = this.buttonElements[button];
const buttonArr = this.buttonElements[button];
if (buttonArr) {
if (buttonArr.length > 1) {
output = buttonArr;
@@ -584,7 +653,7 @@ class SimpleKeyboard {
* by checking if the provided inputPattern passes
*/
inputPatternIsValid(inputVal) {
let inputPatternRaw = this.options.inputPattern;
const inputPatternRaw = this.options.inputPattern;
let inputPattern;
/**
@@ -597,7 +666,7 @@ class SimpleKeyboard {
}
if (inputPattern && inputVal) {
let didInputMatch = inputPattern.test(inputVal);
const didInputMatch = inputPattern.test(inputVal);
if (this.options.debug) {
console.log(
@@ -713,29 +782,90 @@ class SimpleKeyboard {
});
}
/**
* Execute an operation on each button
*/
recurseButtons(fn) {
if (!fn) return false;
Object.keys(this.buttonElements).forEach(buttonName =>
this.buttonElements[buttonName].forEach(fn)
);
}
/**
* Destroy keyboard listeners and DOM elements
*/
destroy() {
if (this.options.debug)
console.log(
`Destroying simple-keyboard instance: ${this.currentInstanceName}`
);
/**
* Remove listeners
* 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;
/**
* Clear DOM
* Remove buttons
*/
let deleteButton = buttonElement => {
buttonElement.onpointerdown = null;
buttonElement.onpointerup = null;
buttonElement.onpointercancel = null;
buttonElement.ontouchstart = null;
buttonElement.ontouchend = null;
buttonElement.ontouchcancel = null;
buttonElement.onclick = null;
buttonElement.onmousedown = null;
buttonElement.onmouseup = null;
buttonElement.remove();
buttonElement = null;
};
this.recurseButtons(deleteButton);
this.recurseButtons = null;
deleteButton = null;
/**
* Remove wrapper events
*/
this.keyboardDOM.onpointerdown = null;
this.keyboardDOM.ontouchstart = null;
this.keyboardDOM.onmousedown = null;
/**
* Clearing keyboard wrapper
*/
this.clear();
/**
* Remove instance
*/
window["SimpleKeyboardInstances"][this.currentInstanceName] = null;
delete window["SimpleKeyboardInstances"][this.currentInstanceName];
/**
* Reset initialized flag
*/
this.initialized = false;
}
/**
* Process buttonTheme option
*/
getButtonThemeClasses(button) {
let buttonTheme = this.options.buttonTheme;
const buttonTheme = this.options.buttonTheme;
let buttonClasses = [];
if (Array.isArray(buttonTheme)) {
@@ -743,10 +873,11 @@ class SimpleKeyboard {
if (
themeObj.class &&
typeof themeObj.class === "string" &&
(themeObj.buttons && typeof themeObj.buttons === "string")
themeObj.buttons &&
typeof themeObj.buttons === "string"
) {
let themeObjClasses = themeObj.class.split(" ");
let themeObjButtons = themeObj.buttons.split(" ");
const themeObjClasses = themeObj.class.split(" ");
const themeObjButtons = themeObj.buttons.split(" ");
if (themeObjButtons.includes(button)) {
buttonClasses = [...buttonClasses, ...themeObjClasses];
@@ -767,17 +898,19 @@ class SimpleKeyboard {
* Process buttonAttributes option
*/
setDOMButtonAttributes(button, callback) {
let buttonAttributes = this.options.buttonAttributes;
const buttonAttributes = this.options.buttonAttributes;
if (Array.isArray(buttonAttributes)) {
buttonAttributes.forEach(attrObj => {
if (
attrObj.attribute &&
typeof attrObj.attribute === "string" &&
(attrObj.value && typeof attrObj.value === "string") &&
(attrObj.buttons && typeof attrObj.buttons === "string")
attrObj.value &&
typeof attrObj.value === "string" &&
attrObj.buttons &&
typeof attrObj.buttons === "string"
) {
let attrObjButtons = attrObj.buttons.split(" ");
const attrObjButtons = attrObj.buttons.split(" ");
if (attrObjButtons.includes(button)) {
callback(attrObj.attribute, attrObj.value);
@@ -926,19 +1059,22 @@ class SimpleKeyboard {
*/
loadModules() {
if (Array.isArray(this.options.modules)) {
this.options.modules.forEach(Module => {
let module = new Module();
this.options.modules.forEach(KeyboardModule => {
const keyboardModule = new KeyboardModule();
/* istanbul ignore next */
if (module.constructor.name && module.constructor.name !== "Function") {
let classStr = `module-${this.utilities.camelCase(
module.constructor.name
if (
keyboardModule.constructor.name &&
keyboardModule.constructor.name !== "Function"
) {
const classStr = `module-${this.utilities.camelCase(
keyboardModule.constructor.name
)}`;
this.keyboardPluginClasses =
this.keyboardPluginClasses + ` ${classStr}`;
}
module.init(this);
keyboardModule.init(this);
});
this.keyboardPluginClasses =
@@ -974,12 +1110,12 @@ class SimpleKeyboard {
containerStartIndexes,
containerEndIndexes
) {
let rowDOMArray = Array.from(rowDOM.children);
const rowDOMArray = Array.from(rowDOM.children);
let removedElements = 0;
if (rowDOMArray.length) {
containerStartIndexes.forEach((startIndex, arrIndex) => {
let endIndex = containerEndIndexes[arrIndex];
const endIndex = containerEndIndexes[arrIndex];
/**
* If there exists a respective end index
@@ -994,21 +1130,21 @@ class SimpleKeyboard {
* This is since the removal of buttons to place a single button container
* results in a modified array size
*/
let updated_startIndex = startIndex - removedElements;
let updated_endIndex = endIndex - removedElements;
const updated_startIndex = startIndex - removedElements;
const updated_endIndex = endIndex - removedElements;
/**
* Create button container
*/
let containerDOM = document.createElement("div");
const containerDOM = document.createElement("div");
containerDOM.className += "hg-button-container";
let containerUID = `${this.options.layoutName}-r${rowIndex}c${arrIndex}`;
const containerUID = `${this.options.layoutName}-r${rowIndex}c${arrIndex}`;
containerDOM.setAttribute("data-skUID", containerUID);
/**
* Taking elements due to be inserted into container
*/
let containedElements = rowDOMArray.splice(
const containedElements = rowDOMArray.splice(
updated_startIndex,
updated_endIndex - updated_startIndex + 1
);
@@ -1049,6 +1185,17 @@ class SimpleKeyboard {
return rowDOM;
}
/**
* getKeyboardClassString
*/
getKeyboardClassString = (...baseDOMClasses) => {
const keyboardClasses = [this.keyboardDOMClass, ...baseDOMClasses].filter(
DOMClass => !!DOMClass
);
return keyboardClasses.join(" ");
};
/**
* Renders rows and buttons as per options
*/
@@ -1070,23 +1217,28 @@ class SimpleKeyboard {
*/
this.beforeRender();
let layoutClass = `hg-layout-${this.options.layoutName}`;
let layout = this.options.layout || KeyboardLayout.getDefaultLayout();
let useTouchEvents = this.options.useTouchEvents || false;
let useTouchEventsClass = useTouchEvents ? "hg-touch-events" : "";
let useMouseEvents = this.options.useMouseEvents || false;
let disableRowButtonContainers = this.options.disableRowButtonContainers;
const layoutClass = `hg-layout-${this.options.layoutName}`;
const layout = this.options.layout || getDefaultLayout();
const useTouchEvents = this.options.useTouchEvents || false;
const useTouchEventsClass = useTouchEvents ? "hg-touch-events" : "";
const useMouseEvents = this.options.useMouseEvents || false;
const disableRowButtonContainers = this.options.disableRowButtonContainers;
/**
* Adding themeClass, layoutClass to keyboardDOM
*/
this.keyboardDOM.className += ` ${this.options.theme} ${layoutClass} ${this.keyboardPluginClasses} ${useTouchEventsClass}`;
this.keyboardDOM.className = this.getKeyboardClassString(
this.options.theme,
layoutClass,
this.keyboardPluginClasses,
useTouchEventsClass
);
/**
* Iterating through each row
*/
layout[this.options.layoutName].forEach((row, rIndex) => {
let rowArray = row.split(" ");
const rowArray = row.split(" ");
/**
* Creating empty row
@@ -1097,8 +1249,8 @@ class SimpleKeyboard {
/**
* Tracking container indicators in rows
*/
let containerStartIndexes = [];
let containerEndIndexes = [];
const containerStartIndexes = [];
const containerEndIndexes = [];
/**
* Iterating through each button in row
@@ -1107,11 +1259,11 @@ class SimpleKeyboard {
/**
* Check if button has a container indicator
*/
let buttonHasContainerStart =
const buttonHasContainerStart =
!disableRowButtonContainers &&
button.includes("[") &&
button.length > 1;
let buttonHasContainerEnd =
const buttonHasContainerEnd =
!disableRowButtonContainers &&
button.includes("]") &&
button.length > 1;
@@ -1140,8 +1292,8 @@ class SimpleKeyboard {
/**
* Processing button options
*/
let fctBtnClass = this.utilities.getButtonClass(button);
let buttonDisplayName = this.utilities.getButtonDisplayName(
const fctBtnClass = this.utilities.getButtonClass(button);
const buttonDisplayName = this.utilities.getButtonDisplayName(
button,
this.options.display,
this.options.mergeDisplay
@@ -1150,8 +1302,8 @@ class SimpleKeyboard {
/**
* Creating button
*/
let buttonType = this.options.useButtonTag ? "button" : "div";
let buttonDOM = document.createElement(buttonType);
const buttonType = this.options.useButtonTag ? "button" : "div";
const buttonDOM = document.createElement(buttonType);
buttonDOM.className += `hg-button ${fctBtnClass}`;
/**
@@ -1166,6 +1318,8 @@ class SimpleKeyboard {
buttonDOM.setAttribute(attribute, value);
});
this.activeButtonClass = "hg-activeButton";
/**
* Handle button click event
*/
@@ -1182,8 +1336,12 @@ class SimpleKeyboard {
this.handleButtonClicked(button);
this.handleButtonMouseDown(button, e);
};
buttonDOM.onpointerup = () => this.handleButtonMouseUp(button);
buttonDOM.onpointercancel = () => this.handleButtonMouseUp(button);
buttonDOM.onpointerup = () => {
this.handleButtonMouseUp(button);
};
buttonDOM.onpointercancel = () => {
this.handleButtonMouseUp(button);
};
} else {
/**
* Fallback for browsers not supporting PointerEvents
@@ -1196,8 +1354,12 @@ class SimpleKeyboard {
this.handleButtonClicked(button);
this.handleButtonMouseDown(button, e);
};
buttonDOM.ontouchend = () => this.handleButtonMouseUp(button);
buttonDOM.ontouchcancel = () => this.handleButtonMouseUp(button);
buttonDOM.ontouchend = () => {
this.handleButtonMouseUp(button);
};
buttonDOM.ontouchcancel = () => {
this.handleButtonMouseUp(button);
};
} else {
/**
* Handle mouse events
@@ -1206,8 +1368,12 @@ class SimpleKeyboard {
this.isMouseHold = false;
this.handleButtonClicked(button);
};
buttonDOM.onmousedown = e => this.handleButtonMouseDown(button, e);
buttonDOM.onmouseup = () => this.handleButtonMouseUp(button);
buttonDOM.onmousedown = e => {
this.handleButtonMouseDown(button, e);
};
buttonDOM.onmouseup = () => {
this.handleButtonMouseUp(button);
};
}
}
@@ -1220,13 +1386,13 @@ class SimpleKeyboard {
* Adding unique id
* Since there's no limit on spawning same buttons, the unique id ensures you can style every button
*/
let buttonUID = `${this.options.layoutName}-r${rIndex}b${bIndex}`;
const buttonUID = `${this.options.layoutName}-r${rIndex}b${bIndex}`;
buttonDOM.setAttribute("data-skBtnUID", buttonUID);
/**
* Adding button label to button
*/
let buttonSpanDOM = document.createElement("span");
const buttonSpanDOM = document.createElement("span");
buttonSpanDOM.innerHTML = buttonDisplayName;
buttonDOM.appendChild(buttonSpanDOM);
@@ -1271,7 +1437,7 @@ class SimpleKeyboard {
this.initialized = true;
/**
* Handling onpointerup
* Handling parent events
*/
/* istanbul ignore next */
if (
@@ -1280,17 +1446,24 @@ class SimpleKeyboard {
!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);
}
/**

View File

@@ -1,7 +1,7 @@
import Keyboard from '../Keyboard';
import TestUtility from '../../../utils/TestUtility';
let testUtil = new TestUtility();
const testUtil = new TestUtility();
it('Keyboard will not render without target element', () => {
try {
@@ -38,7 +38,7 @@ it('Keyboard will run with custom DOM target', () => {
it('Keyboard will run with debug option set', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
debug: true
});
@@ -51,10 +51,10 @@ it('Keyboard will use touch events', () => {
testUtil.clear()
document.body.innerHTML = `
<div id="keyboard"></div>
<div class="keyboard"></div>
`;
const keyboard = new Keyboard('#keyboard', {
const keyboard = new Keyboard('.keyboard', {
useTouchEvents: true,
onChange: () => touched = true,
layout: {
@@ -73,7 +73,7 @@ it('Keyboard will use touch events', () => {
it('Keyboard standard buttons will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
maxLength: {
"default": 10
}
@@ -85,7 +85,7 @@ it('Keyboard standard buttons will work', () => {
it('Keyboard shift buttons will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
keyboard.setOptions({
layoutName: "shift",
@@ -97,7 +97,7 @@ it('Keyboard shift buttons will work', () => {
it('Keyboard setOptions will work without a param', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
keyboard.setOptions();
});
@@ -105,7 +105,7 @@ it('Keyboard setOptions will work without a param', () => {
it('Keyboard empty buttons wont do anything as expected', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
layout: {
default: [
"{//} {button} d",
@@ -122,7 +122,7 @@ it('Keyboard onKeyPress will work', () => {
let pressed = false;
let keyboard = new Keyboard({
const keyboard = new Keyboard({
onKeyPress: () => {
pressed = true;
},
@@ -137,7 +137,7 @@ it('Keyboard onKeyPress will work', () => {
it('Keyboard standard function buttons will not change input', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
useButtonTag: true
});
@@ -158,7 +158,7 @@ it('Keyboard syncInstanceInputs will work', () => {
<div class="keyboard2"></div>
`;
let sharedOptions = {
const sharedOptions = {
syncInstanceInputs: true
};
@@ -195,7 +195,7 @@ it('Keyboard onChange will work', () => {
let output = false;
let keyboard = new Keyboard({
const keyboard = new Keyboard({
onChange: (input) => {
output = input;
},
@@ -212,7 +212,7 @@ it('Keyboard onChangeAll will work', () => {
let output;
let keyboard = new Keyboard({
const keyboard = new Keyboard({
onChangeAll: (input) => {
output = input ? input.default : null;
},
@@ -227,7 +227,7 @@ it('Keyboard onChangeAll will work', () => {
it('Keyboard clearInput will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
/**
* Avoid setInput for this test
@@ -249,12 +249,12 @@ it('Keyboard clearInput will work with syncInstanceInputs', () => {
<div class="keyboard2"></div>
`;
let sharedOptions = {
const sharedOptions = {
syncInstanceInputs: true
};
let keyboard1 = new Keyboard(".keyboard1", sharedOptions);
let keyboard2 = new Keyboard(".keyboard2", sharedOptions);
const keyboard1 = new Keyboard(".keyboard1", sharedOptions);
const keyboard2 = new Keyboard(".keyboard2", sharedOptions);
/**
* Avoid setInput for this test
@@ -271,7 +271,7 @@ it('Keyboard clearInput will work with syncInstanceInputs', () => {
it('Keyboard setInput will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
keyboard.setInput("hello");
@@ -286,12 +286,12 @@ it('Keyboard setInput will work with syncInstanceInputs', () => {
<div class="keyboard2"></div>
`;
let sharedOptions = {
const sharedOptions = {
syncInstanceInputs: true
};
let keyboard1 = new Keyboard(".keyboard1", sharedOptions);
let keyboard2 = new Keyboard(".keyboard2", sharedOptions);
const keyboard1 = new Keyboard(".keyboard1", sharedOptions);
const keyboard2 = new Keyboard(".keyboard2", sharedOptions);
keyboard1.setInput("hello");
@@ -306,8 +306,8 @@ it('Keyboard dispatch will work', () => {
<div class="keyboard2"></div>
`;
let keyboard1 = new Keyboard(".keyboard1");
let keyboard2 = new Keyboard(".keyboard2");
const keyboard1 = new Keyboard(".keyboard1");
const keyboard2 = new Keyboard(".keyboard2");
keyboard1.dispatch(instance => {
instance.setOptions({
@@ -331,8 +331,8 @@ it('Keyboard dispatch will not work without SimpleKeyboardInstances', () => {
<div class="keyboard2"></div>
`;
let keyboard1 = new Keyboard(".keyboard1");
let keyboard2 = new Keyboard(".keyboard2");
const keyboard1 = new Keyboard(".keyboard1");
new Keyboard(".keyboard2");
window['SimpleKeyboardInstances'] = null;
@@ -357,8 +357,8 @@ it('Keyboard dispatch will not work without SimpleKeyboardInstances', () => {
it('Keyboard addButtonTheme will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
let returnVal = keyboard.addButtonTheme("q", "test");
const keyboard = new Keyboard();
keyboard.addButtonTheme("q", "test");
expect(keyboard.options.buttonTheme[0].class).toBe("test");
});
@@ -366,8 +366,8 @@ it('Keyboard addButtonTheme will work', () => {
it('Keyboard addButtonTheme will not work without params', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
let returnVal = keyboard.addButtonTheme();
const keyboard = new Keyboard();
const returnVal = keyboard.addButtonTheme();
expect(returnVal).toBeFalsy();
});
@@ -375,7 +375,7 @@ it('Keyboard addButtonTheme will not work without params', () => {
it('Keyboard addButtonTheme will amend a buttonTheme', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
buttonTheme: [
{
class: "test",
@@ -392,7 +392,7 @@ it('Keyboard addButtonTheme will amend a buttonTheme', () => {
it('Keyboard addButtonTheme will create a buttonTheme', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
buttonTheme: [
{
class: "blurb",
@@ -409,7 +409,7 @@ it('Keyboard addButtonTheme will create a buttonTheme', () => {
it('Keyboard addButtonTheme will ignore a repeated buttonTheme', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
buttonTheme: [
{
class: "test",
@@ -426,7 +426,7 @@ it('Keyboard addButtonTheme will ignore a repeated buttonTheme', () => {
it('Keyboard addButtonTheme will amend a buttonTheme', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
buttonTheme: [
{
class: "test",
@@ -444,7 +444,7 @@ it('Keyboard addButtonTheme will amend a buttonTheme', () => {
it('Keyboard removeButtonTheme without params will remove all button themes', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
buttonTheme: [
{
class: "test",
@@ -462,7 +462,7 @@ it('Keyboard removeButtonTheme without params will remove all button themes', ()
it('Keyboard removeButtonTheme will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
buttonTheme: [
{
class: "test",
@@ -479,7 +479,7 @@ it('Keyboard removeButtonTheme will work', () => {
it('Keyboard removeButtonTheme will work wihtout a class', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
buttonTheme: [
{
class: "test",
@@ -496,7 +496,7 @@ it('Keyboard removeButtonTheme will work wihtout a class', () => {
it('Keyboard removeButtonTheme will do nothing without a button param', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
buttonTheme: [
{
class: "test",
@@ -513,7 +513,7 @@ it('Keyboard removeButtonTheme will do nothing without a button param', () => {
it('Keyboard removeButtonTheme does nothing if req button doesnt have a buttonTheme', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
buttonTheme: [
{
class: "test",
@@ -530,7 +530,7 @@ it('Keyboard removeButtonTheme does nothing if req button doesnt have a buttonTh
it('Keyboard removeButtonTheme does nothing if buttonTheme class does not exist', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
buttonTheme: [
{
class: "testy",
@@ -547,7 +547,7 @@ it('Keyboard removeButtonTheme does nothing if buttonTheme class does not exist'
it('Keyboard removeButtonTheme does nothing if buttonTheme doesnt have the requested buttons', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
buttonTheme: [
{
class: "test",
@@ -564,7 +564,7 @@ it('Keyboard removeButtonTheme does nothing if buttonTheme doesnt have the reque
it('Keyboard getButtonElement will not return anything if empty match', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
layout: {
default: [
"{//} {button} d",
@@ -579,7 +579,7 @@ it('Keyboard getButtonElement will not return anything if empty match', () => {
it('Keyboard getButtonElement will return multiple matched buttons', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
expect(keyboard.getButtonElement("{shift}").length).toBe(2);
});
@@ -606,7 +606,7 @@ it('Keyboard will receive physical keyboard events', () => {
it('Keyboard caretEventHandler will detect input, textarea focus', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
keyboard.caretEventHandler({
charCode: 0,
@@ -625,7 +625,7 @@ it('Keyboard caretEventHandler will detect input, textarea focus', () => {
it('Keyboard caretEventHandler will not set caretPosition on disableCaretPositioning', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
keyboard.caretEventHandler({
charCode: 0,
@@ -661,7 +661,7 @@ it('Keyboard caretEventHandler will not set caretPosition on disableCaretPositio
it('Keyboard caretEventHandler ignore positioning if input, textarea is blur', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
keyboard.isMouseHold = true;
@@ -682,7 +682,7 @@ it('Keyboard caretEventHandler ignore positioning if input, textarea is blur', (
it('Keyboard caretEventHandler will work with debug', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
debug: true
});
@@ -705,7 +705,7 @@ it('Keyboard onInit will work', () => {
let passed = false;
let keyboard = new Keyboard({
new Keyboard({
onInit: () => {
passed = true
}
@@ -719,7 +719,7 @@ it('Keyboard onRender will work', () => {
let passed = false;
let keyboard = new Keyboard({
new Keyboard({
onRender: () => {
passed = true
}
@@ -731,7 +731,7 @@ it('Keyboard onRender will work', () => {
it('Keyboard buttonTheme that is invalid will be ignored and not throw', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
new Keyboard({
buttonTheme: [
{
class: null,
@@ -744,7 +744,7 @@ it('Keyboard buttonTheme that is invalid will be ignored and not throw', () => {
it('Keyboard buttonTheme buttons that are invalid will be ignored and not throw', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
new Keyboard({
buttonTheme: [
{
class: null,
@@ -772,7 +772,7 @@ it('Keyboard buttonTheme will be ignored if buttons param not a string', () => {
it('Keyboard buttonTheme will be ignored if already added', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
new Keyboard({
buttonTheme: [
{
class: "test",
@@ -801,7 +801,7 @@ it('Keyboard buttonTheme will be ignored if already added', () => {
it('Keyboard can set a module', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
keyboard.registerModule(
"test",
@@ -816,7 +816,7 @@ it('Keyboard can set a module', () => {
it('Keyboard registerModule will return current module tree', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
keyboard.modules.test = {
testy: "test"
@@ -836,7 +836,7 @@ it('Keyboard registerModule will return current module tree', () => {
it('Keyboard can set a module by amending the modules tree', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
keyboard.modules = {
testman: {
@@ -857,7 +857,7 @@ it('Keyboard can set a module by amending the modules tree', () => {
it('Keyboard will not retrieve an option for an inexistent module', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
expect(keyboard.getModuleProp("test", "foo")).toBeFalsy();
});
@@ -865,7 +865,7 @@ it('Keyboard will not retrieve an option for an inexistent module', () => {
it('Keyboard will get a list of modules', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
keyboard.registerModule(
"test",
@@ -886,7 +886,7 @@ it('Keyboard loadModules will load a simple module', () => {
};
}
let keyboard = new Keyboard({
new Keyboard({
modules: [
myClass
]
@@ -896,7 +896,7 @@ it('Keyboard loadModules will load a simple module', () => {
it('Keyboard handleButtonMouseUp will set isMouseHold to false', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
keyboard.isMouseHold = true;
@@ -908,7 +908,7 @@ it('Keyboard handleButtonMouseUp will set isMouseHold to false', () => {
it('Keyboard handleButtonMouseUp clear holdInteractionTimeout', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
keyboard.isMouseHold = true;
keyboard.holdInteractionTimeout = setTimeout(() => {}, 10000);
@@ -919,7 +919,7 @@ it('Keyboard handleButtonMouseUp clear holdInteractionTimeout', () => {
it('Keyboard handleButtonMouseDown will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
keyboard.handleButtonMouseDown("q", {
target: keyboard.getButtonElement("q"),
@@ -937,7 +937,7 @@ it('Keyboard handleButtonMouseDown will work', () => {
it('Keyboard handleButtonMouseDown will work with preventMouseDownDefault', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
keyboard.options.preventMouseDownDefault = true;
@@ -965,7 +965,7 @@ it('Keyboard onModulesLoaded will work', () => {
let foo;
let keyboard = new Keyboard({
new Keyboard({
modules: [
myClass
],
@@ -980,7 +980,7 @@ it('Keyboard onModulesLoaded will work', () => {
it('Keyboard inputPattern will work globally', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
inputPattern: /^\d+$/,
useMouseEvents: true
});
@@ -997,7 +997,7 @@ it('Keyboard inputPattern will work globally', () => {
it('Keyboard inputPattern will work by input name', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
debug: true,
inputName: "test1",
inputPattern: {
@@ -1026,7 +1026,7 @@ it('Keyboard processAutoTouchEvents will work', () => {
navigator.maxTouchPoints = true;
let keyboard = new Keyboard({
const keyboard = new Keyboard({
autoUseTouchEvents: true
});
@@ -1038,7 +1038,7 @@ it('Keyboard processAutoTouchEvents will work with debugging enabled', () => {
navigator.maxTouchPoints = true;
let keyboard = new Keyboard({
const keyboard = new Keyboard({
autoUseTouchEvents: true,
debug: true
});
@@ -1051,7 +1051,7 @@ it('Keyboard beforeFirstRender method will work', () => {
let timesCalled = 0;
let keyboard = new Keyboard({
const keyboard = new Keyboard({
beforeFirstRender: () => {
timesCalled++;
}
@@ -1074,7 +1074,7 @@ it('Keyboard beforeFirstRender will show PointerEvents warning', () => {
window.PointerEvent = window.PointerEvent ? window.PointerEvent : () => {};
let keyboard = new Keyboard({
new Keyboard({
debug: true,
beforeFirstRender: () => {
timesCalled++;
@@ -1089,7 +1089,7 @@ it('Keyboard beforeRender method will work', () => {
let timesCalled = 0;
let keyboard = new Keyboard({
const keyboard = new Keyboard({
beforeRender: () => {
timesCalled++;
}
@@ -1108,7 +1108,7 @@ it('Keyboard beforeRender method will work', () => {
it('Keyboard parseRowDOMContainers will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
layout: {
'default': [
'` [1 2 3 4 5 6 7 8 9] 0 - = {bksp}',
@@ -1127,7 +1127,7 @@ it('Keyboard parseRowDOMContainers will work', () => {
}
});
let containers = Array.from(document.querySelectorAll(".hg-button-container"));
const containers = Array.from(document.querySelectorAll(".hg-button-container"));
expect(containers.length).toBe(5);
@@ -1144,7 +1144,7 @@ it('Keyboard parseRowDOMContainers will ignore empty rows', () => {
let failed = false;
try {
let keyboard = new Keyboard();
const keyboard = new Keyboard();
keyboard.parseRowDOMContainers({
children: []
});
@@ -1159,7 +1159,7 @@ it('Keyboard parseRowDOMContainers will ignore empty rows', () => {
it('Keyboard parseRowDOMContainers will ignore missing endIndex or endIndex before startIndex', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
new Keyboard({
layout: {
'default': [
'` [1 2 3 4 5 6 7 8 9 0 - = {bksp}',
@@ -1168,7 +1168,7 @@ it('Keyboard parseRowDOMContainers will ignore missing endIndex or endIndex befo
}
});
let containers = Array.from(document.querySelectorAll(".hg-button-container"));
const containers = Array.from(document.querySelectorAll(".hg-button-container"));
expect(containers.length).toBe(0);
});
@@ -1176,7 +1176,7 @@ it('Keyboard parseRowDOMContainers will ignore missing endIndex or endIndex befo
it('Keyboard disableRowButtonContainers will bypass parseRowDOMContainers', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
new Keyboard({
disableRowButtonContainers: true,
layout: {
'default': [
@@ -1196,7 +1196,7 @@ it('Keyboard disableRowButtonContainers will bypass parseRowDOMContainers', () =
}
});
let containers = Array.from(document.querySelectorAll(".hg-button-container"));
const containers = Array.from(document.querySelectorAll(".hg-button-container"));
expect(containers.length).toBe(0);
});
@@ -1204,7 +1204,7 @@ it('Keyboard disableRowButtonContainers will bypass parseRowDOMContainers', () =
it('Keyboard inputName change will trigget caretPosition reset', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
keyboard.caretPosition = 0;
@@ -1227,17 +1227,23 @@ it('Keyboard inputName change will trigget caretPosition reset', () => {
it('Keyboard destroy will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
keyboard.destroy();
expect(keyboard.keyboardDOM.innerHTML).toBe("");
});
expect(keyboard.keyboardDOM.innerHTML).toBeFalsy();
it('Keyboard destroy will work with debug option', () => {
testUtil.setDOM();
const keyboard = new Keyboard({ debug: true });
keyboard.destroy();
expect(keyboard.keyboardDOM.innerHTML).toBe("");
});
it('Keyboard disableButtonHold will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
disableButtonHold: true
});
@@ -1247,7 +1253,7 @@ it('Keyboard disableButtonHold will work', () => {
it('Keyboard caretEventHandler will be triggered on mouseup and ontouchend', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
disableCaretPositioning: true
});
@@ -1283,7 +1289,7 @@ it('Keyboard onKeyReleased will work', () => {
let firedTimes = 0;
let buttonPressed;
let keyboard = new Keyboard({
const keyboard = new Keyboard({
onKeyReleased: button => {
pressed = true;
buttonPressed = button;
@@ -1303,7 +1309,7 @@ it('Keyboard onKeyReleased will work', () => {
it('Keyboard buttonAttribute will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
new Keyboard({
buttonAttributes: [
{
attribute: "aria-label",
@@ -1317,7 +1323,7 @@ it('Keyboard buttonAttribute will work', () => {
it('Keyboard buttonAttribute will warn about invalid entries', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
new Keyboard({
buttonAttributes: [
{
attribute: false,
@@ -1325,4 +1331,33 @@ it('Keyboard buttonAttribute will warn about invalid entries', () => {
}
]
});
});
it('Keyboard recurseButtons will not work without a valid param', () => {
testUtil.setDOM();
const keyboard = new Keyboard();
expect(keyboard.recurseButtons()).toBe(false);
});
it('Keyboard will not work with a DOM element param without class', () => {
try {
const keyboardDOM = document.createElement("div");
new Keyboard(keyboardDOM);
expect(true).toBe(false);
} catch (e) {
expect(e.message).toBe("KEYBOARD_DOM_CLASS_ERROR");
}
});
it('Keyboard will work with a DOM element param with class', () => {
try {
const keyboardClass = "my-keyboard";
const keyboardDOM = document.createElement("div");
keyboardDOM.className = keyboardClass;
const keyboard = new Keyboard(keyboardDOM);
expect(keyboard.keyboardDOMClass).toBe(keyboardClass);
} catch (e) {
expect(true).toBe(false);
}
});

View File

@@ -1,29 +1,18 @@
/**
* Keyboard Layout Service
*/
class KeyboardLayout {
/**
* Get default simple-keyboard layout
* @return {object} The default layout (US-QWERTY)
*/
static getDefaultLayout() {
return {
default: [
"` 1 2 3 4 5 6 7 8 9 0 - = {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}"
],
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}"
]
};
}
}
export default KeyboardLayout;
export const getDefaultLayout = () => {
return {
default: [
"` 1 2 3 4 5 6 7 8 9 0 - = {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}"
],
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}"
]
};
};

View File

@@ -21,11 +21,11 @@ class PhysicalKeyboard {
}
handleHighlightKeyDown(event) {
let options = this.getOptions();
let buttonPressed = this.getSimpleKeyboardLayoutKey(event);
const options = this.getOptions();
const buttonPressed = this.getSimpleKeyboardLayoutKey(event);
this.dispatch(instance => {
let buttonDOM =
const buttonDOM =
instance.getButtonElement(buttonPressed) ||
instance.getButtonElement(`{${buttonPressed}}`);
@@ -39,10 +39,10 @@ class PhysicalKeyboard {
}
handleHighlightKeyUp(event) {
let buttonPressed = this.getSimpleKeyboardLayoutKey(event);
const buttonPressed = this.getSimpleKeyboardLayoutKey(event);
this.dispatch(instance => {
let buttonDOM =
const buttonDOM =
instance.getButtonElement(buttonPressed) ||
instance.getButtonElement(`{${buttonPressed}}`);

View File

@@ -23,11 +23,11 @@ class Utilities {
* @return {string} The classes to be added to the button
*/
getButtonClass(button) {
let buttonTypeClass =
const buttonTypeClass =
button.includes("{") && button.includes("}") && button !== "{//}"
? "functionBtn"
: "standardBtn";
let buttonWithoutBraces = button.replace("{", "").replace("}", "");
const buttonWithoutBraces = button.replace("{", "").replace("}", "");
let buttonNormalized = "";
if (buttonTypeClass !== "standardBtn")
@@ -128,7 +128,7 @@ class Utilities {
* @param {boolean} moveCaret Whether to update simple-keyboard's cursor
*/
getUpdatedInput(button, input, caretPos, moveCaret) {
let options = this.getOptions();
const options = this.getOptions();
let output = input;
if (
@@ -186,7 +186,7 @@ class Utilities {
* @param {boolean} minus Whether the cursor should be moved to the left or not.
*/
updateCaretPos(length, minus) {
let newCaretPos = this.updateCaretPosAction(length, minus);
const newCaretPos = this.updateCaretPosAction(length, minus);
this.dispatch(instance => {
instance.caretPosition = newCaretPos;
@@ -200,7 +200,7 @@ class Utilities {
* @param {boolean} minus Whether the cursor should be moved to the left or not.
*/
updateCaretPosAction(length, minus) {
let options = this.getOptions();
const options = this.getOptions();
let caretPosition = this.getCaretPosition();
if (minus) {
@@ -253,7 +253,7 @@ class Utilities {
* @param {boolean} moveCaret Whether to update simple-keyboard's cursor
*/
removeAt(source, position, moveCaret) {
let caretPosition = this.getCaretPosition();
const caretPosition = this.getCaretPosition();
if (caretPosition === 0) {
return source;
@@ -262,7 +262,7 @@ class Utilities {
let output;
let prevTwoChars;
let emojiMatched;
let emojiMatchedReg = /([\uD800-\uDBFF][\uDC00-\uDFFF])/g;
const emojiMatchedReg = /([\uD800-\uDBFF][\uDC00-\uDFFF])/g;
/**
* Emojis are made out of two characters, so we must take a custom approach to trim them.
@@ -301,10 +301,10 @@ class Utilities {
* @param {string} updatedInput
*/
handleMaxLength(inputObj, updatedInput) {
let options = this.getOptions();
let maxLength = options.maxLength;
let currentInput = inputObj[options.inputName];
let condition = currentInput.length === maxLength;
const options = this.getOptions();
const maxLength = options.maxLength;
const currentInput = inputObj[options.inputName];
const condition = updatedInput.length - 1 >= maxLength;
if (
/**
@@ -334,7 +334,7 @@ class Utilities {
}
if (typeof maxLength === "object") {
let condition = currentInput.length === maxLength[options.inputName];
const condition = currentInput.length === maxLength[options.inputName];
if (options.debug) {
console.log("maxLength (obj) reached:", condition);
@@ -376,8 +376,9 @@ class Utilities {
*/
static bindMethods(myClass, instance) {
for (let myMethod of Object.getOwnPropertyNames(myClass.prototype)) {
let excludeMethod =
// eslint-disable-next-line no-unused-vars
for (const myMethod of Object.getOwnPropertyNames(myClass.prototype)) {
const excludeMethod =
myMethod === "constructor" || myMethod === "bindMethods";
if (!excludeMethod) {
instance[myMethod] = instance[myMethod].bind(instance);

View File

@@ -1,12 +1,12 @@
import Keyboard from '../../components/Keyboard';
import TestUtility from '../../../utils/TestUtility';
let testUtil = new TestUtility();
const testUtil = new TestUtility();
it('PhysicalKeyboard keydown will be handled with physicalKeyboardHighlight', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
new Keyboard({
physicalKeyboardHighlight: true
});
@@ -22,7 +22,7 @@ it('PhysicalKeyboard keydown will be handled with physicalKeyboardHighlight', ()
it('PhysicalKeyboard keydown will be handled without physicalKeyboardHighlight', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
new Keyboard({
physicalKeyboardHighlight: false
});
@@ -38,7 +38,7 @@ it('PhysicalKeyboard keydown will be handled without physicalKeyboardHighlight',
it('PhysicalKeyboard keydown will not style non-existent buttons', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
new Keyboard({
physicalKeyboardHighlight: true
});
@@ -54,7 +54,7 @@ it('PhysicalKeyboard keydown will not style non-existent buttons', () => {
it('PhysicalKeyboard keyup will be handled with physicalKeyboardHighlight', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
new Keyboard({
physicalKeyboardHighlight: true
});
@@ -70,7 +70,7 @@ it('PhysicalKeyboard keyup will be handled with physicalKeyboardHighlight', () =
it('PhysicalKeyboard keyup will be handle special buttons', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
new Keyboard({
physicalKeyboardHighlight: true
});
@@ -86,7 +86,7 @@ it('PhysicalKeyboard keyup will be handle special buttons', () => {
it('PhysicalKeyboard keyup will not style non-existent buttons', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
new Keyboard({
physicalKeyboardHighlight: true,
debug: true
});
@@ -103,7 +103,7 @@ it('PhysicalKeyboard keyup will not style non-existent buttons', () => {
it('PhysicalKeyboard will work with F1-F12 keys', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
new Keyboard({
physicalKeyboardHighlight: true,
debug: true
});

View File

@@ -1,12 +1,12 @@
import Keyboard from '../../components/Keyboard';
import TestUtility from '../../../utils/TestUtility';
let testUtil = new TestUtility();
const testUtil = new TestUtility();
it('Keyboard mergeDisplay will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
mergeDisplay: true,
display: {
"q": "qreplaced"
@@ -29,9 +29,9 @@ it('Keyboard function buttons will work', () => {
it('Keyboard {bksp} button will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
let output = keyboard.utilities.getUpdatedInput("{bksp}", "test");
const output = keyboard.utilities.getUpdatedInput("{bksp}", "test");
expect(output).toBe("tes");
});
@@ -39,9 +39,9 @@ it('Keyboard {bksp} button will work', () => {
it('Keyboard {space} button will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
let output = keyboard.utilities.getUpdatedInput("{space}", "test");
const output = keyboard.utilities.getUpdatedInput("{space}", "test");
expect(output).toBe("test ");
});
@@ -49,9 +49,9 @@ it('Keyboard {space} button will work', () => {
it('Keyboard {tab} button will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
let output = keyboard.utilities.getUpdatedInput("{tab}", "test");
const output = keyboard.utilities.getUpdatedInput("{tab}", "test");
expect(output).toBe("test\t");
});
@@ -59,11 +59,11 @@ it('Keyboard {tab} button will work', () => {
it('Keyboard {tab} button will work with tabCharOnTab:false', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
tabCharOnTab: false
});
let output = keyboard.utilities.getUpdatedInput("{tab}", "test");
const output = keyboard.utilities.getUpdatedInput("{tab}", "test");
expect(output).toBe("test");
});
@@ -71,9 +71,9 @@ it('Keyboard {tab} button will work with tabCharOnTab:false', () => {
it('Keyboard {enter} button will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
let output = keyboard.utilities.getUpdatedInput("{enter}", "test");
const output = keyboard.utilities.getUpdatedInput("{enter}", "test");
expect(output).toBe("test");
});
@@ -81,11 +81,11 @@ it('Keyboard {enter} button will work', () => {
it('Keyboard {enter} button will work with newLineOnEnter:true', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
newLineOnEnter: true
});
let output = keyboard.utilities.getUpdatedInput("{enter}", "test");
const output = keyboard.utilities.getUpdatedInput("{enter}", "test");
expect(output).toBe("test\n");
});
@@ -93,10 +93,10 @@ it('Keyboard {enter} button will work with newLineOnEnter:true', () => {
it('Keyboard {numpadX} buttons will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
for(let i = 0;i<=9;i++){
let output = keyboard.utilities.getUpdatedInput(`{numpad${i}}`, "test");
const output = keyboard.utilities.getUpdatedInput(`{numpad${i}}`, "test");
expect(output).toBe(`test${i}`);
}
});
@@ -104,9 +104,9 @@ it('Keyboard {numpadX} buttons will work', () => {
it('Keyboard {numpaddivide} button will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
let output = keyboard.utilities.getUpdatedInput("{numpaddivide}", "test");
const output = keyboard.utilities.getUpdatedInput("{numpaddivide}", "test");
expect(output).toBe("test/");
});
@@ -114,9 +114,9 @@ it('Keyboard {numpaddivide} button will work', () => {
it('Keyboard {numpadmultiply} button will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
let output = keyboard.utilities.getUpdatedInput("{numpadmultiply}", "test");
const output = keyboard.utilities.getUpdatedInput("{numpadmultiply}", "test");
expect(output).toBe("test*");
});
@@ -124,9 +124,9 @@ it('Keyboard {numpadmultiply} button will work', () => {
it('Keyboard {numpadsubtract} button will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
let output = keyboard.utilities.getUpdatedInput("{numpadsubtract}", "test");
const output = keyboard.utilities.getUpdatedInput("{numpadsubtract}", "test");
expect(output).toBe("test-");
});
@@ -134,9 +134,9 @@ it('Keyboard {numpadsubtract} button will work', () => {
it('Keyboard {numpadadd} button will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
let output = keyboard.utilities.getUpdatedInput("{numpadadd}", "test");
const output = keyboard.utilities.getUpdatedInput("{numpadadd}", "test");
expect(output).toBe("test+");
});
@@ -144,9 +144,9 @@ it('Keyboard {numpadadd} button will work', () => {
it('Keyboard {numpadadd} button will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
let output = keyboard.utilities.getUpdatedInput("{numpadadd}", "test");
const output = keyboard.utilities.getUpdatedInput("{numpadadd}", "test");
expect(output).toBe("test+");
});
@@ -154,9 +154,9 @@ it('Keyboard {numpadadd} button will work', () => {
it('Keyboard {numpaddecimal} button will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
let output = keyboard.utilities.getUpdatedInput("{numpaddecimal}", "test");
const output = keyboard.utilities.getUpdatedInput("{numpaddecimal}", "test");
expect(output).toBe("test.");
});
@@ -164,7 +164,7 @@ it('Keyboard {numpaddecimal} button will work', () => {
it('Keyboard custom function buttons will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
layout: {
default: [
"{randombuttontest}"
@@ -172,7 +172,7 @@ it('Keyboard custom function buttons will work', () => {
}
});
let output = keyboard.utilities.getUpdatedInput("{randombuttontest}", "test");
const output = keyboard.utilities.getUpdatedInput("{randombuttontest}", "test");
expect(output).toBe("test");
expect(keyboard.getButtonElement("{randombuttontest}").onclick).toBeTruthy();
@@ -181,9 +181,9 @@ it('Keyboard custom function buttons will work', () => {
it('Keyboard "{" button will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
let output = keyboard.utilities.getUpdatedInput("{", "test");
const output = keyboard.utilities.getUpdatedInput("{", "test");
expect(output).toBe("test{");
});
@@ -191,9 +191,9 @@ it('Keyboard "{" button will work', () => {
it('Keyboard "}" button will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
let output = keyboard.utilities.getUpdatedInput("}", "test");
const output = keyboard.utilities.getUpdatedInput("}", "test");
expect(output).toBe("test}");
});
@@ -201,11 +201,11 @@ it('Keyboard "}" button will work', () => {
it('Keyboard standard button will affect input', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
for (let i = 65; i <= 90; i++) {
let char = String.fromCharCode(i);
let output = keyboard.utilities.getUpdatedInput(char, "test");
const char = String.fromCharCode(i);
const output = keyboard.utilities.getUpdatedInput(char, "test");
expect(output).toBe(`test${char}`);
}
});
@@ -213,7 +213,7 @@ it('Keyboard standard button will affect input', () => {
it('Keyboard updateCaretPos will work with minus', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
syncInstanceInputs: true
});
@@ -226,7 +226,7 @@ it('Keyboard updateCaretPos will work with minus', () => {
it('Keyboard updateCaretPos will work with minus', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
keyboard.caretPosition = 5;
keyboard.utilities.updateCaretPos(2, true);
@@ -237,7 +237,7 @@ it('Keyboard updateCaretPos will work with minus', () => {
it('Keyboard updateCaretPos will work with plus', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
keyboard.caretPosition = 5;
keyboard.utilities.updateCaretPos(2);
@@ -248,7 +248,7 @@ it('Keyboard updateCaretPos will work with plus', () => {
it('Keyboard addStringAt will work with debug', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
debug: true
});
@@ -260,7 +260,7 @@ it('Keyboard addStringAt will work with debug', () => {
it('Keyboard addStringAt will work with position', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
debug: true
});
@@ -275,7 +275,7 @@ it('Keyboard addStringAt will work with position', () => {
it('Keyboard addStringAt will respect maxLength', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
debug: true,
maxLength: 4
});
@@ -292,13 +292,13 @@ it('Keyboard addStringAt will respect maxLength', () => {
it('Keyboard handleMaxLength will exit out on same updatedInput', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
debug: true
});
keyboard.setInput("test");
let output = keyboard.utilities.handleMaxLength(keyboard.input, "test")
const output = keyboard.utilities.handleMaxLength(keyboard.input, "test")
expect(output).toBeFalsy();
});
@@ -306,7 +306,7 @@ it('Keyboard handleMaxLength will exit out on same updatedInput', () => {
it('Keyboard handleMaxLength will work with object maxLength', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
maxLength: {
default: 4
}
@@ -314,7 +314,7 @@ it('Keyboard handleMaxLength will work with object maxLength', () => {
keyboard.setInput("test");
let output = keyboard.utilities.handleMaxLength(keyboard.input, "testq");
const output = keyboard.utilities.handleMaxLength(keyboard.input, "testq");
expect(output).toBeTruthy();
});
@@ -322,7 +322,7 @@ it('Keyboard handleMaxLength will work with object maxLength', () => {
it('Keyboard handleMaxLength will work with object maxLength and debug', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
maxLength: {
default: 4
},
@@ -331,7 +331,7 @@ it('Keyboard handleMaxLength will work with object maxLength and debug', () => {
keyboard.setInput("test");
let output = keyboard.utilities.handleMaxLength(keyboard.input, "testq");
const output = keyboard.utilities.handleMaxLength(keyboard.input, "testq");
expect(output).toBeTruthy();
});
@@ -339,7 +339,7 @@ it('Keyboard handleMaxLength will work with object maxLength and debug', () => {
it('Keyboard handleMaxLength will return false if obj maxLength not reached', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
maxLength: {
default: 7
}
@@ -347,7 +347,7 @@ it('Keyboard handleMaxLength will return false if obj maxLength not reached', ()
keyboard.setInput("test");
let output = keyboard.utilities.handleMaxLength(keyboard.input, "testq");
const output = keyboard.utilities.handleMaxLength(keyboard.input, "testq");
expect(output).toBeFalsy();
});
@@ -356,13 +356,13 @@ it('Keyboard handleMaxLength will return false if obj maxLength not reached', ()
it('Keyboard handleMaxLength will work without debug', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
maxLength: 4
});
keyboard.setInput("test");
let output = keyboard.utilities.handleMaxLength(keyboard.input, "testq");
const output = keyboard.utilities.handleMaxLength(keyboard.input, "testq");
expect(output).toBeTruthy();
});
@@ -371,27 +371,27 @@ it('Keyboard handleMaxLength will work without debug', () => {
it('Keyboard handleMaxLength will work with numeric maxLength', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
maxLength: 3
});
keyboard.setInput("test");
let output = keyboard.utilities.handleMaxLength(keyboard.input, "testq");
const output = keyboard.utilities.handleMaxLength(keyboard.input, "testq");
expect(output).toBeFalsy();
expect(output).toBe(true);
});
it('Keyboard handleMaxLength wont work with non numeric or object maxLength', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
maxLength: "wrong"
});
keyboard.setInput("test");
let output = keyboard.utilities.handleMaxLength(keyboard.input, "testq");
const output = keyboard.utilities.handleMaxLength(keyboard.input, "testq");
expect(output).toBeFalsy();
});
@@ -399,14 +399,14 @@ it('Keyboard handleMaxLength wont work with non numeric or object maxLength', ()
it('Keyboard handleMaxLength wont work with non numeric or object maxLength (with debug)', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
maxLength: "wrong",
debug: true
});
keyboard.setInput("test");
let output = keyboard.utilities.handleMaxLength(keyboard.input, "testq");
const output = keyboard.utilities.handleMaxLength(keyboard.input, "testq");
expect(output).toBeFalsy();
});
@@ -414,11 +414,11 @@ it('Keyboard handleMaxLength wont work with non numeric or object maxLength (wit
it('Keyboard isMaxLengthReached will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
maxLength: 5
});
let output = keyboard.utilities.isMaxLengthReached();
const output = keyboard.utilities.isMaxLengthReached();
expect(output).toBeFalsy();
});
@@ -426,7 +426,7 @@ it('Keyboard isMaxLengthReached will work', () => {
it('Keyboard removeAt will exit out on caretPosition:0', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
keyboard.setInput("test");
keyboard.caretPosition = 0;
@@ -442,7 +442,7 @@ it('Keyboard removeAt will exit out on caretPosition:0', () => {
it('Keyboard removeAt will remove multi-byte unicodes with caretPos>0', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
keyboard.caretPosition = 6;
let output = keyboard.utilities.removeAt("test\uD83D\uDE00", 6);
@@ -456,7 +456,7 @@ it('Keyboard removeAt will remove multi-byte unicodes with caretPos>0', () => {
it('Keyboard removeAt will not remove multi-byte unicodes with caretPos:0', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
let output = keyboard.utilities.removeAt("\uD83D\uDE00");
expect(output).toBeFalsy();
@@ -467,7 +467,7 @@ it('Keyboard removeAt will not remove multi-byte unicodes with caretPos:0', () =
it('Keyboard removeAt will remove regular strings', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
debug: true
});
@@ -482,12 +482,12 @@ it('Keyboard removeAt will remove regular strings', () => {
it('Keyboard will work with custom (and weird) class', () => {
testUtil.setDOM("my--weird--class");
let keyboard = new Keyboard(".my--weird--class");
const keyboard = new Keyboard(".my--weird--class");
expect(keyboard.keyboardDOMClass).toBe("my--weird--class");
});
it('Keyboard camelCase will work with empty strings', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
const keyboard = new Keyboard();
expect(keyboard.utilities.camelCase()).toBeFalsy();
});
});

View File

@@ -3,7 +3,7 @@
*/
export default class TestUtility {
/**
* Set's a basic DOM structure to test in
* Sets a basic DOM structure to test in
*/
setDOM = (divClass) => {
this.clear();
@@ -109,4 +109,4 @@ export default class TestUtility {
});
});
}
}
}