Compare commits

...

396 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
38 changed files with 14648 additions and 2627 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

@@ -18,6 +18,7 @@ jobs:
- name: Setup GIT
run: |
git reset --hard
git config --local --list
git checkout master
git config user.email "$GH_EMAIL"

View File

@@ -1,6 +1,6 @@
/*!
*
* simple-keyboard v2.27.1
* 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;-webkit-tap-highlight-color:rgba(0,0,0,0)}.simple-keyboard.hg-theme-default .hg-button.hg-activeButton{background:#efefef}.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

5
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.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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.

16049
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.27.1",
"version": "2.28.1",
"description": "On-screen Javascript Virtual Keyboard",
"main": "build/index.js",
"types": "build/index.d.ts",
@@ -40,68 +40,72 @@
],
"license": "MIT",
"devDependencies": {
"@babel/core": "7.7.2",
"@babel/plugin-proposal-class-properties": "^7.7.0",
"@babel/preset-env": "^7.7.1",
"@babel/preset-react": "^7.7.0",
"@svgr/webpack": "4.3.3",
"@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.3",
"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.5",
"css-loader": "3.2.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.6.0",
"eslint": "^6.8.0",
"eslint-config-react-app": "^5.0.1",
"eslint-loader": "3.0.2",
"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.16.0",
"eslint-plugin-react-hooks": "^2.2.0",
"file-loader": "4.2.0",
"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.8",
"html-webpack-plugin": "4.0.0-beta.11",
"identity-obj-proxy": "3.0.0",
"is-wsl": "^2.1.0",
"jest": "24.9.0",
"jest-environment-jsdom-fourteen": "0.1.0",
"jest-resolve": "24.9.0",
"jest-watch-typeahead": "0.4.0",
"mini-css-extract-plugin": "0.8.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": "8.0.1",
"postcss-preset-env": "6.7.0",
"postcss-safe-parser": "4.0.1",
"react": "^16.11.0",
"react-app-polyfill": "^1.0.2",
"react-dev-utils": "^9.0.3",
"react-dom": "^16.11.0",
"resolve": "1.12.0",
"resolve-url-loader": "3.1.0",
"sass-loader": "7.3.1",
"semver": "6.3.0",
"style-loader": "1.0.0",
"terser-webpack-plugin": "2.2.1",
"ts-pnp": "1.1.4",
"uglifyjs-webpack-plugin": "^2.1.2",
"url-loader": "2.2.0",
"webpack": "4.41.2",
"webpack-dev-server": "3.9.0",
"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": "4.3.1"
"workbox-webpack-plugin": "5.0.0"
},
"eslintConfig": {
"extends": "react-app"

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

@@ -33,6 +33,20 @@ class Demo {
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
@@ -62,9 +76,9 @@ class Demo {
}
handleShift(keyboardInstanceKey) {
let keyboard = this[keyboardInstanceKey || "keyboard"];
let currentLayout = keyboard.options.layoutName;
let shiftToggle = currentLayout === "default" ? "shift" : "default";
const keyboard = this[keyboardInstanceKey || "keyboard"];
const currentLayout = keyboard.options.layoutName;
const shiftToggle = currentLayout === "default" ? "shift" : "default";
keyboard.setOptions({
layoutName: shiftToggle

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

@@ -10,3 +10,7 @@ input {
.simple-keyboard {
max-width: 850px;
}
.simple-keyboard.hg-theme-default.myTheme {
background-color: #bde6c6;
}

View File

@@ -4,9 +4,10 @@ import "./css/index.css";
* Demos
*/
import BasicDemo from "./BasicDemo";
//import FullKeyboardDemo from "./FullKeyboardDemo";
//import ButtonThemeDemo from "./ButtonThemeDemo";
//import MultipleKeyboardsDemo from "./MultipleKeyboardsDestroyDemo";
// 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

@@ -1,18 +1,20 @@
import TestUtility from '../../utils/TestUtility';
import MultipleKeyboardsDestroyDemo from '../MultipleKeyboardsDestroyDemo';
let testUtil = new TestUtility();
jest.useFakeTimers();
const testUtil = new TestUtility();
it('Demo will load', () => {
testUtil.setDOM();
let demo = new MultipleKeyboardsDestroyDemo();
new MultipleKeyboardsDestroyDemo();
});
it('Demo onDOMLoaded will work', () => {
testUtil.setDOM();
let demo = new MultipleKeyboardsDestroyDemo();
const demo = new MultipleKeyboardsDestroyDemo();
expect(demo.keyboard).toBeTruthy();
});
@@ -20,7 +22,7 @@ it('Demo onDOMLoaded will work', () => {
it('Demo onChange will work', () => {
testUtil.setDOM();
let demo = new MultipleKeyboardsDestroyDemo();
const demo = new MultipleKeyboardsDestroyDemo();
demo.onChange("test");
demo.keyboard2.getButtonElement("q").click();
@@ -32,7 +34,7 @@ it('Demo onChange will work', () => {
it('Demo onChange will work', () => {
testUtil.setDOM();
let demo = new MultipleKeyboardsDestroyDemo();
const demo = new MultipleKeyboardsDestroyDemo();
demo.keyboard.getButtonElement("q").onclick();
@@ -42,7 +44,7 @@ it('Demo onChange will work', () => {
it('Demo input change will work', () => {
testUtil.setDOM();
let demo = new MultipleKeyboardsDestroyDemo();
const demo = new MultipleKeyboardsDestroyDemo();
document.body.querySelector('.input').value = "test";
document.body.querySelector('.input').dispatchEvent(new Event('input'));
@@ -57,11 +59,26 @@ it('Demo input change will work', () => {
it('Demo handleShiftButton will work', () => {
testUtil.setDOM();
let demo = new MultipleKeyboardsDestroyDemo();
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.

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;
@@ -72,18 +74,11 @@ html {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.simple-keyboard.hg-theme-default .hg-button.hg-activeButton {
.hg-theme-default .hg-button.hg-activeButton {
background: #efefef;
}
/* When using option "useButtonTag" */
.simple-keyboard button.hg-button {
border-width: 0;
outline: 0;
font-size: inherit;
}
.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;
@@ -91,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}").
@@ -153,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");
}
@@ -164,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
*/
@@ -175,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
@@ -191,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
@@ -498,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);
@@ -546,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
@@ -557,7 +606,7 @@ class SimpleKeyboard {
(className && className.includes(buttonTheme.class)) ||
!className
) {
let filteredButtonArray = buttonTheme.buttons
const filteredButtonArray = buttonTheme.buttons
.split(" ")
.filter(item => item !== button);
@@ -587,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;
@@ -604,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;
/**
@@ -617,7 +666,7 @@ class SimpleKeyboard {
}
if (inputPattern && inputVal) {
let didInputMatch = inputPattern.test(inputVal);
const didInputMatch = inputPattern.test(inputVal);
if (this.options.debug) {
console.log(
@@ -785,7 +834,6 @@ class SimpleKeyboard {
this.recurseButtons(deleteButton);
this.buttonElements = null;
this.recurseButtons = null;
deleteButton = null;
@@ -796,21 +844,28 @@ class SimpleKeyboard {
this.keyboardDOM.ontouchstart = null;
this.keyboardDOM.onmousedown = null;
this.keyboardDOM.remove();
this.keyboardDOM = 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)) {
@@ -818,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];
@@ -842,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);
@@ -1001,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 =
@@ -1049,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
@@ -1069,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
);
@@ -1124,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
*/
@@ -1145,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
@@ -1172,8 +1249,8 @@ class SimpleKeyboard {
/**
* Tracking container indicators in rows
*/
let containerStartIndexes = [];
let containerEndIndexes = [];
const containerStartIndexes = [];
const containerEndIndexes = [];
/**
* Iterating through each button in row
@@ -1182,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;
@@ -1215,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
@@ -1225,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}`;
/**
@@ -1309,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);

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,23 +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).toBe(null);
expect(keyboard.keyboardDOM.innerHTML).toBe("");
});
it('Keyboard destroy will work with debug option', () => {
testUtil.setDOM();
let keyboard = new Keyboard({ debug: true });
const keyboard = new Keyboard({ debug: true });
keyboard.destroy();
expect(keyboard.keyboardDOM).toBe(null);
expect(keyboard.keyboardDOM.innerHTML).toBe("");
});
it('Keyboard disableButtonHold will work', () => {
testUtil.setDOM();
let keyboard = new Keyboard({
const keyboard = new Keyboard({
disableButtonHold: true
});
@@ -1253,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
});
@@ -1289,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;
@@ -1309,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",
@@ -1323,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,
@@ -1335,6 +1335,29 @@ it('Keyboard buttonAttribute will warn about invalid entries', () => {
it('Keyboard recurseButtons will not work without a valid param', () => {
testUtil.setDOM();
let keyboard = new Keyboard();
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 = updatedInput.length - 1 >= 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);
@@ -377,8 +377,8 @@ class Utilities {
static bindMethods(myClass, instance) {
// eslint-disable-next-line no-unused-vars
for (let myMethod of Object.getOwnPropertyNames(myClass.prototype)) {
let excludeMethod =
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,13 +371,13 @@ 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).toBe(true);
});
@@ -385,13 +385,13 @@ it('Keyboard handleMaxLength will work with numeric maxLength', () => {
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 {
});
});
}
}
}