Compare commits

...
318 Commits
Author SHA1 Message Date
Francisco Hodge f5358032d5 Add forward delete functionality. Fixes #1033 2021-05-16 14:05:37 -04:00
Francisco Hodge 0409ee337e Build update 2021-05-13 09:21:55 +00:00
Francisco Hodge 343b24af98 3.0.70 2021-05-13 09:21:39 +00:00
dependabot-preview[bot]andGitHub cc2b0128d6 Merge pull request #1032 from hodgef/dependabot/npm_and_yarn/terser-webpack-plugin-5.1.2 2021-05-13 09:20:07 +00:00
dependabot-preview[bot]andGitHub e84e66543d Merge pull request #1031 from hodgef/dependabot/npm_and_yarn/babel/preset-env-7.14.2 2021-05-13 09:19:09 +00:00
dependabot-preview[bot]andGitHub 037d145cc2 Merge pull request #1030 from hodgef/dependabot/npm_and_yarn/babel/core-7.14.2 2021-05-13 09:18:25 +00:00
dependabot-preview[bot]andGitHub 500bf7914e Bump terser-webpack-plugin from 5.1.1 to 5.1.2
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v5.1.1...v5.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-13 09:17:05 +00:00
dependabot-preview[bot]andGitHub 723874297e Bump @babel/preset-env from 7.14.1 to 7.14.2
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.14.1 to 7.14.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.2/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-13 09:16:17 +00:00
dependabot-preview[bot]andGitHub 9367ea460f Bump @babel/core from 7.14.0 to 7.14.2
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.14.0 to 7.14.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.2/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-13 09:15:40 +00:00
Francisco Hodge b9bb8270f1 Build update 2021-05-11 09:37:35 +00:00
Francisco Hodge 3f7d49aaca 3.0.69 2021-05-11 09:37:18 +00:00
dependabot-preview[bot]andGitHub 153d1bf034 Merge pull request #1027 from hodgef/dependabot/npm_and_yarn/typescript-eslint/parser-4.23.0 2021-05-11 09:35:57 +00:00
dependabot-preview[bot]andGitHub 6b771ce409 Bump @typescript-eslint/parser from 4.22.1 to 4.23.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.22.1 to 4.23.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.23.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-11 09:32:49 +00:00
Francisco Hodge e0068b7f91 Build update 2021-05-11 09:32:32 +00:00
Francisco Hodge 8a5f14ea4d 3.0.68 2021-05-11 09:32:15 +00:00
dependabot-preview[bot]andGitHub f6e8508a2c Merge pull request #1028 from hodgef/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.23.0 2021-05-11 09:30:47 +00:00
Francisco Hodge 44f5d37972 Build update 2021-05-11 09:30:43 +00:00
Francisco Hodge d886f0c7e5 3.0.67 2021-05-11 09:30:31 +00:00
dependabot-preview[bot]andGitHub be823336d5 Merge pull request #1026 from hodgef/dependabot/npm_and_yarn/postcss-8.2.15 2021-05-11 09:29:20 +00:00
Francisco Hodge 396e225059 Build update 2021-05-11 09:28:53 +00:00
Francisco Hodge 76356ec589 3.0.66 2021-05-11 09:28:41 +00:00
dependabot-preview[bot]andGitHub b3df0ee177 Merge pull request #1025 from hodgef/dependabot/npm_and_yarn/webpack-5.37.0 2021-05-11 09:27:34 +00:00
dependabot-preview[bot]andGitHub 6b5b681fbb Bump @typescript-eslint/eslint-plugin from 4.22.1 to 4.23.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.22.1 to 4.23.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.23.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-11 09:26:48 +00:00
dependabot-preview[bot]andGitHub 90551343ce Bump postcss from 8.2.14 to 8.2.15
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.14 to 8.2.15.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.14...8.2.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-11 09:25:13 +00:00
dependabot-preview[bot]andGitHub e629685b52 Bump webpack from 5.36.2 to 5.37.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.36.2 to 5.37.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.36.2...v5.37.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-11 09:24:39 +00:00
Francisco Hodge 518d4a2090 Build update 2021-05-10 11:07:59 +00:00
Francisco Hodge 9da6b76e71 3.0.65 2021-05-10 11:07:46 +00:00
dependabot-preview[bot]andGitHub 5b3775761f Merge pull request #1024 from hodgef/dependabot/npm_and_yarn/eslint-7.26.0 2021-05-10 11:06:39 +00:00
dependabot-preview[bot]andGitHub f15b94b916 Bump eslint from 7.25.0 to 7.26.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.25.0 to 7.26.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/v7.25.0...v7.26.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-10 11:04:01 +00:00
Francisco Hodge 17f202ea51 Build update 2021-05-10 11:03:28 +00:00
Francisco Hodge f0312a9dc0 3.0.64 2021-05-10 11:03:14 +00:00
dependabot-preview[bot]andGitHub e7ce08f721 Merge pull request #1023 from hodgef/dependabot/npm_and_yarn/core-js-3.12.1 2021-05-10 11:01:55 +00:00
dependabot-preview[bot]andGitHub cd86eedf74 Merge pull request #1022 from hodgef/dependabot/npm_and_yarn/prettier-2.3.0 2021-05-10 11:01:19 +00:00
dependabot-preview[bot]andGitHub e8c102f554 Bump core-js from 3.12.0 to 3.12.1
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.12.0 to 3.12.1.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.12.1/packages/core-js)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-10 10:59:36 +00:00
dependabot-preview[bot]andGitHub 35f5b302f2 Bump prettier from 2.2.1 to 2.3.0
Bumps [prettier](https://github.com/prettier/prettier) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.2.1...2.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-10 10:58:57 +00:00
Francisco Hodge 6a28461e62 Build update 2021-05-07 17:56:35 +00:00
Francisco Hodge e5e9904389 3.0.63 2021-05-07 17:56:20 +00:00
dependabot-preview[bot]andGitHub 94063679d5 Merge pull request #1021 from hodgef/dependabot/npm_and_yarn/hosted-git-info-2.8.9 2021-05-07 17:54:57 +00:00
dependabot-preview[bot]andGitHub 4f3efd2a50 [Security] Bump hosted-git-info from 2.8.8 to 2.8.9
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9. **This update includes a security fix.**
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-07 17:52:12 +00:00
Francisco Hodge e15d47942a Build update 2021-05-07 09:24:34 +00:00
Francisco Hodge 4a69a6ef57 3.0.62 2021-05-07 09:24:20 +00:00
dependabot-preview[bot]andGitHub 29e0adeff7 Merge pull request #1019 from hodgef/dependabot/npm_and_yarn/webpack-dev-server-4.0.0-beta.3 2021-05-07 09:23:06 +00:00
dependabot-preview[bot]andGitHub 00db972178 Bump webpack-dev-server from 4.0.0-beta.2 to 4.0.0-beta.3
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.0.0-beta.2 to 4.0.0-beta.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/v4.0.0-beta.2...v4.0.0-beta.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-07 09:20:15 +00:00
Francisco Hodge 6cfeb83726 Build update 2021-05-07 09:19:37 +00:00
Francisco Hodge 3211ad27ff 3.0.61 2021-05-07 09:19:23 +00:00
dependabot-preview[bot]andGitHub eaf6fdeffb Merge pull request #1018 from hodgef/dependabot/npm_and_yarn/webpack-cli-4.7.0 2021-05-07 09:18:05 +00:00
dependabot-preview[bot]andGitHub 12e5f89046 Bump webpack-cli from 4.6.0 to 4.7.0
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.6.0...webpack-cli@4.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-07 09:15:10 +00:00
Francisco Hodge a32b6fe85b Build update 2021-05-06 09:14:22 +00:00
Francisco Hodge 11e35df3c6 3.0.60 2021-05-06 09:14:06 +00:00
dependabot-preview[bot]andGitHub d8a76cd7d7 Merge pull request #1017 from hodgef/dependabot/npm_and_yarn/postcss-8.2.14 2021-05-06 09:12:48 +00:00
dependabot-preview[bot]andGitHub 8a40427bb4 Merge pull request #1016 from hodgef/dependabot/npm_and_yarn/core-js-3.12.0 2021-05-06 09:12:15 +00:00
dependabot-preview[bot]andGitHub 108c52e1fd Bump postcss from 8.2.13 to 8.2.14
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.13 to 8.2.14.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.13...8.2.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-06 09:10:38 +00:00
dependabot-preview[bot]andGitHub 90892d435c Bump core-js from 3.11.2 to 3.12.0
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.11.2 to 3.12.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.12.0/packages/core-js)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-06 09:09:50 +00:00
Francisco Hodge d601e08b05 Build update 2021-05-05 09:49:29 +00:00
Francisco Hodge d78fb1830a 3.0.59 2021-05-05 09:49:15 +00:00
dependabot-preview[bot]andGitHub d059475bf8 Merge pull request #1015 from hodgef/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.22.1 2021-05-05 09:48:05 +00:00
dependabot-preview[bot]andGitHub d5a821117d Bump @typescript-eslint/eslint-plugin from 4.22.0 to 4.22.1
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.22.0 to 4.22.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.22.1/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-05 09:45:45 +00:00
Francisco Hodge b9aa7c037c Build update 2021-05-05 09:44:54 +00:00
Francisco Hodge 62e9db69fa 3.0.58 2021-05-05 09:44:41 +00:00
dependabot-preview[bot]andGitHub 00e7b22208 Merge pull request #1014 from hodgef/dependabot/npm_and_yarn/typescript-eslint/parser-4.22.1 2021-05-05 09:43:33 +00:00
dependabot-preview[bot]andGitHub 30c4bb3096 Bump @typescript-eslint/parser from 4.22.0 to 4.22.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.22.0 to 4.22.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.22.1/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-05 09:41:05 +00:00
Francisco Hodge 4ce1626a4c Build update 2021-05-04 09:30:52 +00:00
Francisco Hodge de9ee83904 3.0.57 2021-05-04 09:30:35 +00:00
dependabot-preview[bot]andGitHub 58b47111be Merge pull request #1013 from hodgef/dependabot/npm_and_yarn/babel/preset-env-7.14.1 2021-05-04 09:29:06 +00:00
dependabot-preview[bot]andGitHub 90c7728944 Merge pull request #1012 from hodgef/dependabot/npm_and_yarn/core-js-3.11.2 2021-05-04 09:27:47 +00:00
dependabot-preview[bot]andGitHub ff89c899ca Bump @babel/preset-env from 7.14.0 to 7.14.1
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.14.0 to 7.14.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.1/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-04 09:26:09 +00:00
dependabot-preview[bot]andGitHub 81bd65b22e Bump core-js from 3.11.1 to 3.11.2
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.11.1 to 3.11.2.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.11.2/packages/core-js)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-04 09:25:23 +00:00
Francisco Hodge 06093e20bd Build update 2021-05-03 10:04:45 +00:00
Francisco Hodge 1486decbfd 3.0.56 2021-05-03 10:04:33 +00:00
dependabot-preview[bot]andGitHub 4949f98535 Merge pull request #1011 from hodgef/dependabot/npm_and_yarn/webpack-5.36.2 2021-05-03 10:03:30 +00:00
dependabot-preview[bot]andGitHub 961d6a8c14 Bump webpack from 5.36.1 to 5.36.2
Bumps [webpack](https://github.com/webpack/webpack) from 5.36.1 to 5.36.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.36.1...v5.36.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-03 10:00:52 +00:00
Francisco Hodge beff14fec7 Build update 2021-05-03 10:00:28 +00:00
Francisco Hodge cee868f98b 3.0.55 2021-05-03 10:00:13 +00:00
dependabot-preview[bot]andGitHub 1f7545da3b Merge pull request #1010 from hodgef/dependabot/npm_and_yarn/mini-css-extract-plugin-1.6.0 2021-05-03 09:58:47 +00:00
dependabot-preview[bot]andGitHub 9f056b611a Bump mini-css-extract-plugin from 1.5.1 to 1.6.0
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v1.5.1...v1.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-03 09:56:06 +00:00
Francisco Hodge d2bb81879b Build update 2021-05-02 18:12:26 +00:00
Francisco Hodge 9140430931 3.0.54 2021-05-02 18:12:12 +00:00
Francisco Hodge 1c498e42c9 Remove selectionchange event introduced in https://github.com/hodgef/react-simple-keyboard/issues/1140. Fixes #1007 2021-05-02 14:10:47 -04:00
Francisco Hodge 155f17263b Build update 2021-04-30 09:37:26 +00:00
Francisco Hodge 1f58f2a253 3.0.53 2021-04-30 09:37:11 +00:00
dependabot-preview[bot]andGitHub 1ad38b866b Merge pull request #1009 from hodgef/dependabot/npm_and_yarn/babel/preset-env-7.14.0 2021-04-30 09:35:52 +00:00
dependabot-preview[bot]andGitHub a7cb8a847f Merge pull request #1008 from hodgef/dependabot/npm_and_yarn/babel/core-7.14.0 2021-04-30 09:34:52 +00:00
dependabot-preview[bot]andGitHub d53255c923 Bump @babel/preset-env from 7.13.15 to 7.14.0
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.13.15 to 7.14.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.0/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-30 09:32:58 +00:00
dependabot-preview[bot]andGitHub 59500ea5c0 Bump @babel/core from 7.13.16 to 7.14.0
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.16 to 7.14.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.0/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-30 09:32:14 +00:00
Francisco Hodge d5fcf88e0e Build update 2021-04-29 09:42:20 +00:00
Francisco Hodge 60ed2ff417 3.0.52 2021-04-29 09:42:05 +00:00
dependabot-preview[bot]andGitHub 6781c93064 Merge pull request #1005 from hodgef/dependabot/npm_and_yarn/webpack-5.36.1 2021-04-29 09:40:45 +00:00
dependabot-preview[bot]andGitHub 12f5ebfaab Bump webpack from 5.36.0 to 5.36.1
Bumps [webpack](https://github.com/webpack/webpack) from 5.36.0 to 5.36.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.36.0...v5.36.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-29 09:38:34 +00:00
Francisco Hodge 9a38298846 Build update 2021-04-29 09:37:56 +00:00
Francisco Hodge 4c126d702e 3.0.51 2021-04-29 09:37:41 +00:00
dependabot-preview[bot]andGitHub 137d083a45 Merge pull request #1004 from hodgef/dependabot/npm_and_yarn/mini-css-extract-plugin-1.5.1 2021-04-29 09:36:22 +00:00
dependabot-preview[bot]andGitHub e35bb67742 Merge pull request #1003 from hodgef/dependabot/npm_and_yarn/core-js-3.11.1 2021-04-29 09:35:21 +00:00
dependabot-preview[bot]andGitHub cb42b86e30 Bump mini-css-extract-plugin from 1.5.0 to 1.5.1
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v1.5.0...v1.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-29 09:33:51 +00:00
dependabot-preview[bot]andGitHub 60c784f28e Bump core-js from 3.11.0 to 3.11.1
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.11.0 to 3.11.1.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.11.1/packages/core-js)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-29 09:33:12 +00:00
Francisco Hodge c5f33a707c Build update 2021-04-28 17:03:35 +00:00
Francisco Hodge 309b423279 3.0.50 2021-04-28 17:03:21 +00:00
dependabot-preview[bot]andGitHub e228d65657 Merge pull request #1002 from hodgef/dependabot/npm_and_yarn/webpack-5.36.0 2021-04-28 17:02:00 +00:00
dependabot-preview[bot]andGitHub 0a72c6c754 Bump webpack from 5.35.1 to 5.36.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.35.1 to 5.36.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.35.1...v5.36.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-28 16:59:45 +00:00
Francisco Hodge 53e7893a73 Build update 2021-04-28 07:52:27 +00:00
Francisco Hodge dde1fd7ee3 3.0.49 2021-04-28 07:52:11 +00:00
dependabot-preview[bot]andGitHub 43b6e7cb52 Merge pull request #1001 from hodgef/dependabot/npm_and_yarn/types/jest-26.0.23 2021-04-28 07:50:52 +00:00
dependabot-preview[bot]andGitHub 904d181e16 Merge pull request #1000 from hodgef/dependabot/npm_and_yarn/postcss-8.2.13 2021-04-28 07:50:12 +00:00
dependabot-preview[bot]andGitHub d2fcd0d127 Bump @types/jest from 26.0.22 to 26.0.23
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.22 to 26.0.23.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-28 07:48:38 +00:00
dependabot-preview[bot]andGitHub ffde2a4d14 Bump postcss from 8.2.12 to 8.2.13
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.12 to 8.2.13.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.12...8.2.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-28 07:48:13 +00:00
Francisco Hodge 7fbe68769f Build update 2021-04-26 10:59:50 +00:00
Francisco Hodge 788eb6ed58 3.0.48 2021-04-26 10:59:36 +00:00
dependabot-preview[bot]andGitHub c9709ceb15 Merge pull request #998 from hodgef/dependabot/npm_and_yarn/webpack-5.35.1 2021-04-26 10:58:22 +00:00
dependabot-preview[bot]andGitHub 686660075d Bump webpack from 5.35.0 to 5.35.1
Bumps [webpack](https://github.com/webpack/webpack) from 5.35.0 to 5.35.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.35.0...v5.35.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-26 10:55:44 +00:00
Francisco Hodge d21842b05d Build update 2021-04-26 10:54:50 +00:00
Francisco Hodge 8b5239ff8d 3.0.47 2021-04-26 10:54:37 +00:00
dependabot-preview[bot]andGitHub 24d7ead5e9 Merge pull request #997 from hodgef/dependabot/npm_and_yarn/eslint-7.25.0 2021-04-26 10:53:26 +00:00
dependabot-preview[bot]andGitHub c6f1a6b1df Bump eslint from 7.24.0 to 7.25.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.24.0 to 7.25.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/v7.24.0...v7.25.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-26 10:50:43 +00:00
Francisco Hodge cf78b378f8 Build update 2021-04-24 21:24:47 +00:00
Francisco Hodge e5090801b4 3.0.46 2021-04-24 21:24:31 +00:00
Francisco Hodge a89789df25 Adding selectionchange handler. Fixes https://github.com/hodgef/react-simple-keyboard/issues/1140 2021-04-24 17:23:03 -04:00
Francisco Hodge 6d217bdc27 Build update 2021-04-23 09:38:05 +00:00
Francisco Hodge 68fdd5f38e 3.0.45 2021-04-23 09:37:51 +00:00
dependabot-preview[bot]andGitHub 82ca52575b Merge pull request #996 from hodgef/dependabot/npm_and_yarn/postcss-8.2.12 2021-04-23 09:36:43 +00:00
dependabot-preview[bot]andGitHub 94391526ce Merge pull request #995 from hodgef/dependabot/npm_and_yarn/core-js-3.11.0 2021-04-23 09:36:40 +00:00
dependabot-preview[bot]andGitHub cc44299d3e Bump postcss from 8.2.10 to 8.2.12
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.10 to 8.2.12.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.10...8.2.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-23 09:34:18 +00:00
dependabot-preview[bot]andGitHub c2db2920d1 Bump core-js from 3.10.1 to 3.11.0
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.10.1 to 3.11.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.11.0/packages/core-js)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-23 09:33:38 +00:00
Francisco Hodge d07a0045eb Build update 2021-04-22 13:26:44 +00:00
Francisco Hodge 07b474f2b6 3.0.44 2021-04-22 13:26:31 +00:00
dependabot-preview[bot]andGitHub 1ddd9b7b23 Merge pull request #991 from hodgef/dependabot/npm_and_yarn/babel/core-7.13.16 2021-04-22 13:25:22 +00:00
dependabot-preview[bot]andGitHub da61669fe6 Bump @babel/core from 7.13.15 to 7.13.16
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.15 to 7.13.16.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.16/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-22 13:22:57 +00:00
Francisco Hodge 32d013257f Build update 2021-04-22 13:22:31 +00:00
Francisco Hodge 23074ebead 3.0.43 2021-04-22 13:22:16 +00:00
dependabot-preview[bot]andGitHub 6a29a5cf68 Merge pull request #992 from hodgef/dependabot/npm_and_yarn/webpack-5.35.0 2021-04-22 13:20:47 +00:00
dependabot-preview[bot]andGitHub 7020c4ee61 Bump webpack from 5.33.2 to 5.35.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.33.2 to 5.35.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.33.2...v5.35.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-22 13:18:29 +00:00
Francisco Hodge 0e9ae31f43 Build update 2021-04-22 13:08:59 +00:00
Francisco Hodge 34e063824c 3.0.42 2021-04-22 13:08:47 +00:00
dependabot-preview[bot]andGitHub c028918ca9 Merge pull request #990 from hodgef/dependabot/npm_and_yarn/mini-css-extract-plugin-1.5.0 2021-04-22 13:07:41 +00:00
dependabot-preview[bot]andGitHub 136fb01cc2 Merge pull request #989 from hodgef/dependabot/npm_and_yarn/babel/cli-7.13.16 2021-04-22 13:06:37 +00:00
dependabot-preview[bot]andGitHub fc5f0446d3 Bump mini-css-extract-plugin from 1.4.1 to 1.5.0
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v1.4.1...v1.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-22 13:05:23 +00:00
dependabot-preview[bot]andGitHub 048dc5d430 Bump @babel/cli from 7.13.14 to 7.13.16
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.13.14 to 7.13.16.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.16/packages/babel-cli)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-22 13:03:51 +00:00
Francisco Hodge 250fefbd06 Build update 2021-04-22 12:56:51 +00:00
Francisco Hodge 04d0ab3542 3.0.41 2021-04-22 12:56:36 +00:00
dependabot-preview[bot]andGitHub ffb905641a Merge pull request #988 from hodgef/dependabot/npm_and_yarn/css-loader-5.2.4 2021-04-22 12:55:14 +00:00
dependabot-preview[bot]andGitHub 9802d8d049 Bump css-loader from 5.2.1 to 5.2.4
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.2.1 to 5.2.4.
- [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/v5.2.1...v5.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-22 12:52:54 +00:00
Francisco Hodge 1dc886744d Build update 2021-04-15 10:15:28 +00:00
Francisco Hodge 400a25c604 3.0.40 2021-04-15 10:15:12 +00:00
dependabot-preview[bot]andGitHub 316bc13349 Merge pull request #986 from hodgef/dependabot/npm_and_yarn/webpack-5.33.2 2021-04-15 10:13:48 +00:00
dependabot-preview[bot]andGitHub 649cad0eb0 Bump webpack from 5.32.0 to 5.33.2
Bumps [webpack](https://github.com/webpack/webpack) from 5.32.0 to 5.33.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.32.0...v5.33.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-15 10:11:01 +00:00
Francisco Hodge ca35c08dcb Build update 2021-04-13 09:39:36 +00:00
Francisco Hodge 3778e3c276 3.0.39 2021-04-13 09:39:24 +00:00
dependabot-preview[bot]andGitHub 16c70a41b5 Merge pull request #985 from hodgef/dependabot/npm_and_yarn/typescript-eslint/parser-4.22.0 2021-04-13 09:38:21 +00:00
dependabot-preview[bot]andGitHub 2b4cfe4c63 Bump @typescript-eslint/parser from 4.21.0 to 4.22.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.21.0 to 4.22.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.22.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-13 09:36:10 +00:00
Francisco Hodge 2c6e40aeb0 Build update 2021-04-13 09:33:52 +00:00
Francisco Hodge 20642650e5 3.0.38 2021-04-13 09:33:37 +00:00
dependabot-preview[bot]andGitHub 308d4777ea Merge pull request #984 from hodgef/dependabot/npm_and_yarn/webpack-5.32.0 2021-04-13 09:32:20 +00:00
dependabot-preview[bot]andGitHub 9646c36048 Merge pull request #983 from hodgef/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.22.0 2021-04-13 09:31:52 +00:00
dependabot-preview[bot]andGitHub 1b544254c7 Bump webpack from 5.31.2 to 5.32.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.31.2 to 5.32.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.31.2...v5.32.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-13 09:28:41 +00:00
dependabot-preview[bot]andGitHub ec1dfb6023 Bump @typescript-eslint/eslint-plugin from 4.21.0 to 4.22.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.21.0 to 4.22.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.22.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-13 09:27:48 +00:00
Francisco Hodge a9df3f9de1 Build update 2021-04-13 02:31:06 +00:00
Francisco Hodge d5aa78a1ea 3.0.37 2021-04-13 02:30:50 +00:00
Francisco Hodge f9a0d00367 Remove caret reset on inputName change 2021-04-12 22:29:20 -04:00
Francisco Hodge 9fe80c0897 Build update 2021-04-12 11:24:19 +00:00
Francisco Hodge 261c778d81 3.0.36 2021-04-12 11:24:06 +00:00
dependabot-preview[bot]andGitHub dd34cfdd85 Merge pull request #981 from hodgef/dependabot/npm_and_yarn/eslint-7.24.0 2021-04-12 11:22:57 +00:00
dependabot-preview[bot]andGitHub dd3ab66142 Bump eslint from 7.23.0 to 7.24.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.23.0 to 7.24.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/v7.23.0...v7.24.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-12 11:20:22 +00:00
Francisco Hodge ca74c2a3af Build update 2021-04-12 11:19:44 +00:00
Francisco Hodge 379b7ebec9 3.0.35 2021-04-12 11:19:28 +00:00
dependabot-preview[bot]andGitHub 6629189efe Merge pull request #979 from hodgef/dependabot/npm_and_yarn/postcss-8.2.10 2021-04-12 11:18:10 +00:00
dependabot-preview[bot]andGitHub c3788175db Merge pull request #978 from hodgef/dependabot/npm_and_yarn/webpack-5.31.2 2021-04-12 11:18:06 +00:00
dependabot-preview[bot]andGitHub cfe2f0e5c7 Merge pull request #980 from hodgef/dependabot/npm_and_yarn/css-loader-5.2.1 2021-04-12 11:18:02 +00:00
dependabot-preview[bot]andGitHub b7a25f5023 Bump css-loader from 5.2.0 to 5.2.1
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.2.0 to 5.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/compare/v5.2.0...v5.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-12 11:15:58 +00:00
dependabot-preview[bot]andGitHub c1860e2494 Bump postcss from 8.2.9 to 8.2.10
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.9 to 8.2.10.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.9...8.2.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-12 11:15:40 +00:00
dependabot-preview[bot]andGitHub e6df9ea5b4 Bump webpack from 5.31.0 to 5.31.2
Bumps [webpack](https://github.com/webpack/webpack) from 5.31.0 to 5.31.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.31.0...v5.31.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-12 11:15:23 +00:00
Francisco Hodge a438bfdf33 Build update 2021-04-09 09:26:13 +00:00
Francisco Hodge b30dd1094b 3.0.34 2021-04-09 09:25:58 +00:00
dependabot-preview[bot]andGitHub 1672168092 Merge pull request #977 from hodgef/dependabot/npm_and_yarn/babel/preset-env-7.13.15 2021-04-09 09:24:34 +00:00
dependabot-preview[bot]andGitHub 48ba4a3c85 Merge pull request #976 from hodgef/dependabot/npm_and_yarn/babel/core-7.13.15 2021-04-09 09:23:37 +00:00
dependabot-preview[bot]andGitHub fe3d20ca90 Bump @babel/preset-env from 7.13.12 to 7.13.15
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.13.12 to 7.13.15.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.15/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-09 09:22:17 +00:00
dependabot-preview[bot]andGitHub 0ec9020784 Bump @babel/core from 7.13.14 to 7.13.15
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.14 to 7.13.15.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.15/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-09 09:21:38 +00:00
Francisco Hodge 38653ceda0 Build update 2021-04-08 10:26:30 +00:00
Francisco Hodge 33c7e4f81e 3.0.33 2021-04-08 10:26:14 +00:00
dependabot-preview[bot]andGitHub 22294438c0 Merge pull request #975 from hodgef/dependabot/npm_and_yarn/webpack-5.31.0 2021-04-08 10:24:50 +00:00
dependabot-preview[bot]andGitHub a94af1fcf3 Bump webpack from 5.30.0 to 5.31.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.30.0 to 5.31.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.30.0...v5.31.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-08 10:22:45 +00:00
Francisco Hodge 8342ab8954 Build update 2021-04-08 10:21:59 +00:00
Francisco Hodge 293c91ae5f 3.0.32 2021-04-08 10:21:45 +00:00
dependabot-preview[bot]andGitHub 5b0734f6dd Merge pull request #974 from hodgef/dependabot/npm_and_yarn/typescript-4.2.4 2021-04-08 10:20:26 +00:00
dependabot-preview[bot]andGitHub c9074cc532 Merge pull request #973 from hodgef/dependabot/npm_and_yarn/core-js-3.10.1 2021-04-08 10:19:07 +00:00
dependabot-preview[bot]andGitHub dabb9cc575 Merge pull request #972 from hodgef/dependabot/npm_and_yarn/mini-css-extract-plugin-1.4.1 2021-04-08 10:18:48 +00:00
dependabot-preview[bot]andGitHub 38c7edc919 Bump typescript from 4.2.3 to 4.2.4
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.3 to 4.2.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-08 10:17:48 +00:00
dependabot-preview[bot]andGitHub 09bf4b53aa Bump core-js from 3.10.0 to 3.10.1
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.10.0 to 3.10.1.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.10.1/packages/core-js)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-08 10:16:39 +00:00
dependabot-preview[bot]andGitHub 542020e6ca Bump mini-css-extract-plugin from 1.4.0 to 1.4.1
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v1.4.0...v1.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-08 10:16:07 +00:00
Francisco Hodge c95f7a6066 Build update 2021-04-08 06:16:53 +00:00
Francisco Hodge 7519f818cd 3.0.31 2021-04-08 06:16:39 +00:00
Francisco HodgeandGitHub 6978072ba1 Update README.md 2021-04-08 02:15:27 -04:00
Francisco Hodge 79ef7f21a5 Build update 2021-04-07 09:15:53 +00:00
Francisco Hodge 36c1d25dce 3.0.30 2021-04-07 09:15:37 +00:00
dependabot-preview[bot]andGitHub a3d1a34de7 Merge pull request #970 from hodgef/dependabot/npm_and_yarn/typescript-eslint/parser-4.21.0 2021-04-07 09:14:18 +00:00
dependabot-preview[bot]andGitHub 4cd845e5dd Bump @typescript-eslint/parser from 4.20.0 to 4.21.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.20.0 to 4.21.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.21.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-07 09:12:08 +00:00
Francisco Hodge 6839948698 Build update 2021-04-07 09:11:29 +00:00
Francisco Hodge 832f066c8e 3.0.29 2021-04-07 09:11:14 +00:00
dependabot-preview[bot]andGitHub 9d4cce8ef7 Merge pull request #971 from hodgef/dependabot/npm_and_yarn/webpack-dev-server-4.0.0-beta.2 2021-04-07 09:09:55 +00:00
dependabot-preview[bot]andGitHub aac68aa4ab Bump webpack-dev-server from 4.0.0-beta.1 to 4.0.0-beta.2
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.0.0-beta.1 to 4.0.0-beta.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/v4.0.0-beta.1...v4.0.0-beta.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-07 09:07:56 +00:00
Francisco Hodge 00e3dbb511 Build update 2021-04-06 09:12:22 +00:00
Francisco Hodge a7f479044d 3.0.28 2021-04-06 09:12:10 +00:00
dependabot-preview[bot]andGitHub 55f8bb9bed Merge pull request #969 from hodgef/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.21.0 2021-04-06 09:11:09 +00:00
dependabot-preview[bot]andGitHub fcff58d993 Bump @typescript-eslint/eslint-plugin from 4.20.0 to 4.21.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.20.0 to 4.21.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.21.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-06 09:08:59 +00:00
Francisco Hodge dd784b7fa7 Build update 2021-04-04 17:29:44 +00:00
Francisco Hodge bddf3f6640 3.0.27 2021-04-04 17:29:30 +00:00
Francisco Hodge 0d1faf61c2 Set typescript to strict mode. Fixes #961 2021-04-04 13:28:10 -04:00
Francisco Hodge 42ce937f3e Build update 2021-04-02 09:10:42 +00:00
Francisco Hodge 26d57c0aa0 3.0.26 2021-04-02 09:10:29 +00:00
dependabot-preview[bot]andGitHub 03eaa18daf Merge pull request #968 from hodgef/dependabot/npm_and_yarn/webpack-5.30.0 2021-04-02 09:09:13 +00:00
dependabot-preview[bot]andGitHub 3adab08c16 Bump webpack from 5.28.0 to 5.30.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.28.0 to 5.30.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.28.0...v5.30.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-02 09:06:55 +00:00
Francisco Hodge 739e83e28e Build update 2021-03-31 09:36:36 +00:00
Francisco Hodge a174cce115 3.0.25 2021-03-31 09:36:22 +00:00
dependabot-preview[bot]andGitHub 367e2c14bb Merge pull request #966 from hodgef/dependabot/npm_and_yarn/postcss-8.2.9 2021-03-31 09:35:14 +00:00
dependabot-preview[bot]andGitHub 85bcea6a40 Merge pull request #967 from hodgef/dependabot/npm_and_yarn/core-js-3.10.0 2021-03-31 09:35:05 +00:00
dependabot-preview[bot]andGitHub c62bf941a4 Bump core-js from 3.9.1 to 3.10.0
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.9.1 to 3.10.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.10.0/packages/core-js)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-31 09:32:26 +00:00
dependabot-preview[bot]andGitHub 10fefe6f60 Bump postcss from 8.2.8 to 8.2.9
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.8 to 8.2.9.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.8...8.2.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-31 09:32:15 +00:00
Francisco Hodge cf01641519 Build update 2021-03-30 09:49:00 +00:00
Francisco Hodge 81e51335e5 3.0.24 2021-03-30 09:48:45 +00:00
dependabot-preview[bot]andGitHub 416ef9d257 Merge pull request #965 from hodgef/dependabot/npm_and_yarn/typescript-eslint/parser-4.20.0 2021-03-30 09:47:37 +00:00
dependabot-preview[bot]andGitHub e724f17837 Merge pull request #962 from hodgef/dependabot/npm_and_yarn/babel/cli-7.13.14 2021-03-30 09:47:23 +00:00
dependabot-preview[bot]andGitHub ff92273aac Bump @typescript-eslint/parser from 4.19.0 to 4.20.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.19.0 to 4.20.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.20.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-30 09:45:10 +00:00
dependabot-preview[bot]andGitHub b2fc663cc4 Bump @babel/cli from 7.13.10 to 7.13.14
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.13.10 to 7.13.14.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.14/packages/babel-cli)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-30 09:44:44 +00:00
Francisco Hodge f0a6f69f4f Build update 2021-03-30 09:44:21 +00:00
Francisco Hodge 438811081c 3.0.23 2021-03-30 09:44:08 +00:00
dependabot-preview[bot]andGitHub b65e0cc465 Merge pull request #964 from hodgef/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.20.0 2021-03-30 09:42:53 +00:00
dependabot-preview[bot]andGitHub b0147d77f1 Merge pull request #963 from hodgef/dependabot/npm_and_yarn/babel/core-7.13.14 2021-03-30 09:42:31 +00:00
dependabot-preview[bot]andGitHub 912169db80 Bump @typescript-eslint/eslint-plugin from 4.19.0 to 4.20.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.19.0 to 4.20.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.20.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-30 09:40:34 +00:00
dependabot-preview[bot]andGitHub 3c6ab03a6f Bump @babel/core from 7.13.13 to 7.13.14
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.13 to 7.13.14.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.14/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-30 09:40:05 +00:00
Francisco Hodge bcbd2257c6 Build update 2021-03-29 19:53:54 +00:00
Francisco Hodge d235da1eff 3.0.22 2021-03-29 19:53:39 +00:00
Francisco HodgeandGitHub 0ae4384ec7 Make clearInput param optional. Fixes #959, Closes #960 2021-03-29 15:52:17 -04:00
Francisco Hodge fd1dd6a55b Build update 2021-03-29 11:58:57 +00:00
Francisco Hodge 7056d19df6 3.0.21 2021-03-29 11:58:44 +00:00
dependabot-preview[bot]andGitHub ebb849de3f Merge pull request #958 from hodgef/dependabot/npm_and_yarn/babel/core-7.13.13 2021-03-29 11:57:31 +00:00
dependabot-preview[bot]andGitHub 3f4d5bdf9c Merge pull request #957 from hodgef/dependabot/npm_and_yarn/mini-css-extract-plugin-1.4.0 2021-03-29 11:56:29 +00:00
dependabot-preview[bot]andGitHub f797bbbd3e Merge pull request #955 from hodgef/dependabot/npm_and_yarn/eslint-7.23.0 2021-03-29 11:56:19 +00:00
dependabot-preview[bot]andGitHub 5b017304e1 Merge pull request #956 from hodgef/dependabot/npm_and_yarn/webpack-cli-4.6.0 2021-03-29 11:56:17 +00:00
dependabot-preview[bot]andGitHub dcd1feece5 Bump @babel/core from 7.13.10 to 7.13.13
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.10 to 7.13.13.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.13/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-29 11:55:01 +00:00
dependabot-preview[bot]andGitHub 2843b2b87a Bump mini-css-extract-plugin from 1.3.9 to 1.4.0
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 1.3.9 to 1.4.0.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v1.3.9...v1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-29 11:54:20 +00:00
dependabot-preview[bot]andGitHub 283204e041 Bump webpack-cli from 4.5.0 to 4.6.0
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.5.0...webpack-cli@4.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-29 11:53:41 +00:00
dependabot-preview[bot]andGitHub f1c6594561 Bump eslint from 7.22.0 to 7.23.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.22.0 to 7.23.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/v7.22.0...v7.23.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-29 11:53:17 +00:00
Francisco Hodge aa1df21acc Build update 2021-03-26 15:43:47 +00:00
Francisco Hodge b286d1a6d7 3.0.20 2021-03-26 15:43:33 +00:00
Francisco HodgeandGitHub 4d2e3c47f0 Update README.md 2021-03-26 11:42:11 -04:00
Francisco Hodge 5ae9c0597f Build update 2021-03-26 15:03:34 +00:00
Francisco Hodge 2ac0ff9c3c 3.0.19 2021-03-26 15:03:21 +00:00
Francisco Hodge 6135b11aef Adding es5 target per #954 2021-03-26 11:01:40 -04:00
Francisco Hodge 683327b701 Build update 2021-03-26 09:25:01 +00:00
Francisco Hodge e964216079 3.0.18 2021-03-26 09:24:48 +00:00
dependabot-preview[bot]andGitHub caa5d36926 Merge pull request #953 from hodgef/dependabot/npm_and_yarn/types/jest-26.0.22 2021-03-26 09:23:34 +00:00
dependabot-preview[bot]andGitHub a43e36d353 Bump @types/jest from 26.0.21 to 26.0.22
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.21 to 26.0.22.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-26 09:21:14 +00:00
Francisco Hodge 0b746847e7 Build update 2021-03-25 09:14:47 +00:00
Francisco Hodge 0131171fd3 3.0.17 2021-03-25 09:14:33 +00:00
dependabot-preview[bot]andGitHub a9c757aefd Merge pull request #952 from hodgef/dependabot/npm_and_yarn/webpack-5.28.0 2021-03-25 09:13:15 +00:00
dependabot-preview[bot]andGitHub d475f8a929 Bump webpack from 5.27.2 to 5.28.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.27.2 to 5.28.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.27.2...v5.28.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-25 09:11:00 +00:00
Francisco Hodge ee25c96f01 Build update 2021-03-25 09:09:50 +00:00
Francisco Hodge ac74811722 3.0.16 2021-03-25 09:09:39 +00:00
dependabot-preview[bot]andGitHub 085fa54a4e Merge pull request #951 from hodgef/dependabot/npm_and_yarn/css-loader-5.2.0 2021-03-25 09:08:27 +00:00
dependabot-preview[bot]andGitHub 031bfc29cb Bump css-loader from 5.1.3 to 5.2.0
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.1.3 to 5.2.0.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v5.1.3...v5.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-25 09:05:56 +00:00
Francisco Hodge 8d2d4ec1e2 Build update 2021-03-25 04:06:25 +00:00
Francisco Hodge d03e26b4f7 3.0.15 2021-03-25 04:06:13 +00:00
Francisco Hodge 359aa35abf Fix caret tag check 2021-03-25 00:04:34 -04:00
Francisco Hodge 6d3b92caee Build update 2021-03-25 04:01:47 +00:00
Francisco Hodge a3a03af161 3.0.14 2021-03-25 04:01:34 +00:00
Francisco Hodge 2d86c6c2c0 Address textarea caret positioning 2021-03-24 23:59:50 -04:00
Francisco Hodge 12c149ca66 Return instance on beforeRender, beforeFirstRender 2021-03-24 23:55:53 -04:00
Francisco Hodge ac9e2a0b89 Build update 2021-03-24 09:26:39 +00:00
Francisco Hodge ba594327de 3.0.13 2021-03-24 09:26:26 +00:00
dependabot-preview[bot]andGitHub 71db6987bc Merge pull request #949 from hodgef/dependabot/npm_and_yarn/webpack-dev-server-4.0.0-beta.1 2021-03-24 09:25:11 +00:00
dependabot-preview[bot]andGitHub 7fcac10e8e Bump webpack-dev-server from 4.0.0-beta.0 to 4.0.0-beta.1
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.0.0-beta.0 to 4.0.0-beta.1.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.0.0-beta.0...v4.0.0-beta.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-24 09:22:23 +00:00
Francisco Hodge 7056cd4ea1 Build update 2021-03-23 14:20:23 +00:00
Francisco Hodge e6217f2951 3.0.12 2021-03-23 14:20:08 +00:00
dependabot-preview[bot]andGitHub faf07a3acf Merge pull request #946 from hodgef/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.19.0 2021-03-23 14:18:34 +00:00
dependabot-preview[bot]andGitHub 788265c45c Bump @typescript-eslint/eslint-plugin from 4.18.0 to 4.19.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.18.0 to 4.19.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.19.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-23 14:15:32 +00:00
Francisco Hodge 3589a129d1 Build update 2021-03-23 12:49:28 +00:00
Francisco Hodge 3954a61094 3.0.11 2021-03-23 12:49:16 +00:00
dependabot-preview[bot]andGitHub f775441263 Merge pull request #948 from hodgef/dependabot/npm_and_yarn/typescript-eslint/parser-4.19.0 2021-03-23 12:48:05 +00:00
Francisco Hodge 262ae619c8 Build update 2021-03-23 12:47:29 +00:00
Francisco Hodge 02ed95ecc9 3.0.10 2021-03-23 12:47:16 +00:00
dependabot-preview[bot]andGitHub 3829218971 Merge pull request #947 from hodgef/dependabot/npm_and_yarn/webpack-5.27.2 2021-03-23 12:45:57 +00:00
Francisco Hodge 74acfe71d6 Build update 2021-03-23 12:45:30 +00:00
Francisco Hodge 17d3abb69f 3.0.9 2021-03-23 12:45:17 +00:00
dependabot-preview[bot]andGitHub 8954eda6e3 Bump @typescript-eslint/parser from 4.18.0 to 4.19.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.18.0 to 4.19.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.19.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-23 12:45:01 +00:00
dependabot-preview[bot]andGitHub 82a3081bc0 Merge pull request #945 from hodgef/dependabot/npm_and_yarn/babel/preset-env-7.13.12 2021-03-23 12:44:02 +00:00
dependabot-preview[bot]andGitHub 146dbde1ed Bump webpack from 5.27.1 to 5.27.2
Bumps [webpack](https://github.com/webpack/webpack) from 5.27.1 to 5.27.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.27.1...v5.27.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-23 12:43:41 +00:00
dependabot-preview[bot]andGitHub 9fd6b6bfba Bump @babel/preset-env from 7.13.10 to 7.13.12
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.13.10 to 7.13.12.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.12/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-23 12:41:21 +00:00
Francisco Hodge 03e0c2e887 Build update 2021-03-22 12:04:24 +00:00
Francisco Hodge 191aa73376 3.0.8 2021-03-22 12:04:11 +00:00
dependabot-preview[bot]andGitHub a300a09516 Merge pull request #942 from hodgef/dependabot/npm_and_yarn/babel/cli-7.13.10 2021-03-22 12:02:57 +00:00
Francisco Hodge 36eea5da9a Build update 2021-03-22 12:01:40 +00:00
Francisco Hodge faad96e0fe 3.0.7 2021-03-22 12:01:25 +00:00
dependabot-preview[bot]andGitHub 621ac5f53a Bump @babel/cli from 7.13.0 to 7.13.10
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.13.0 to 7.13.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.10/packages/babel-cli)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-22 12:00:32 +00:00
dependabot-preview[bot]andGitHub 4b68c62475 Merge pull request #937 from hodgef/dependabot/npm_and_yarn/typescript-eslint/parser-4.18.0 2021-03-22 12:00:07 +00:00
Francisco Hodge 494905b398 Build update 2021-03-22 11:59:37 +00:00
Francisco Hodge 467ffd4eaa 3.0.6 2021-03-22 11:59:24 +00:00
dependabot-preview[bot]andGitHub fca962ea09 Merge pull request #939 from hodgef/dependabot/npm_and_yarn/eslint-7.22.0 2021-03-22 11:58:13 +00:00
dependabot-preview[bot]andGitHub c7481a534e Bump @typescript-eslint/parser from 4.16.1 to 4.18.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.16.1 to 4.18.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.18.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-22 11:57:38 +00:00
Francisco Hodge b47155218a Build update 2021-03-22 11:56:46 +00:00
Francisco Hodge 0b3a192084 3.0.5 2021-03-22 11:56:32 +00:00
dependabot-preview[bot]andGitHub ae6fae245c Bump eslint from 7.21.0 to 7.22.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.21.0 to 7.22.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/v7.21.0...v7.22.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-22 11:55:18 +00:00
dependabot-preview[bot]andGitHub 629615f314 Merge pull request #940 from hodgef/dependabot/npm_and_yarn/types/jest-26.0.21 2021-03-22 11:55:10 +00:00
Francisco Hodge a898bb30dc Build update 2021-03-22 11:53:06 +00:00
Francisco Hodge ce3d383031 3.0.4 2021-03-22 11:52:52 +00:00
dependabot-preview[bot]andGitHub ad0659d917 Bump @types/jest from 26.0.20 to 26.0.21
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.20 to 26.0.21.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-22 11:52:46 +00:00
dependabot-preview[bot]andGitHub 713e1755a0 Merge pull request #941 from hodgef/dependabot/npm_and_yarn/html-webpack-plugin-5.3.1 2021-03-22 11:51:39 +00:00
dependabot-preview[bot]andGitHub d3cc68fd72 Merge pull request #938 from hodgef/dependabot/npm_and_yarn/css-loader-5.1.3 2021-03-22 11:51:30 +00:00
dependabot-preview[bot]andGitHub 96140d94ae Merge pull request #943 from hodgef/dependabot/npm_and_yarn/webpack-5.27.1 2021-03-22 11:50:24 +00:00
dependabot-preview[bot]andGitHub 4df3800cef Merge pull request #944 from hodgef/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.18.0 2021-03-22 11:50:16 +00:00
dependabot-preview[bot]andGitHub 23c2c29c5a Bump css-loader from 5.1.1 to 5.1.3
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.1.1 to 5.1.3.
- [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/v5.1.1...v5.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-22 11:48:57 +00:00
dependabot-preview[bot]andGitHub c0fa3a6d60 Bump html-webpack-plugin from 5.3.0 to 5.3.1
Bumps [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/jantimon/html-webpack-plugin/releases)
- [Changelog](https://github.com/jantimon/html-webpack-plugin/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jantimon/html-webpack-plugin/compare/v5.3.0...v5.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-22 11:48:32 +00:00
dependabot-preview[bot]andGitHub f83b1d8b47 Bump webpack from 5.24.3 to 5.27.1
Bumps [webpack](https://github.com/webpack/webpack) from 5.24.3 to 5.27.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.24.3...v5.27.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-22 11:47:52 +00:00
dependabot-preview[bot]andGitHub c67e706a6e Bump @typescript-eslint/eslint-plugin from 4.16.1 to 4.18.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.16.1 to 4.18.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.18.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-22 11:47:35 +00:00
Francisco Hodge e7454ed500 Build update 2021-03-22 11:45:04 +00:00
Francisco Hodge 9db2c828b1 3.0.3 2021-03-22 11:44:51 +00:00
Francisco HodgeandGitHub dd0d768304 Update pull_request.yml 2021-03-22 07:43:31 -04:00
Francisco Hodge cfbdf044bd Build update 2021-03-21 18:26:38 +00:00
Francisco Hodge c4f5b31fbf 3.0.2 2021-03-21 18:26:25 +00:00
Francisco HodgeandGitHub 6ad0a1fda9 Update README.md 2021-03-21 14:25:13 -04:00
Francisco Hodge e08d6d6d74 Build update 2021-03-21 17:11:14 +00:00
Francisco Hodge 7a621ff48e 3.0.1 2021-03-21 17:11:02 +00:00
19 changed files with 1592 additions and 930 deletions
-2
View File
@@ -17,8 +17,6 @@ jobs:
- name: npm install, build, and test - name: npm install, build, and test
run: | run: |
npm install npm install
npm run start -- --testMode
npm run demo
npm run coverage npm run coverage
env: env:
CI: true CI: true
+7 -11
View File
@@ -1,6 +1,6 @@
<p> <p>
<a href="https://simple-keyboard.com/demo"> <a href="https://simple-keyboard.com/demo">
<img alt="simple-keyboard: Javascript Virtual Keyboard" src="https://i.imgur.com/Po6659n.gif"> <img alt="simple-keyboard: Javascript Virtual Keyboard" src="https://i.imgur.com/PrpbdIu.png">
</a> </a>
<a href="https://www.npmjs.com/package/simple-keyboard"> <a href="https://www.npmjs.com/package/simple-keyboard">
@@ -14,10 +14,6 @@
<a href="https://github.com/hodgef/simple-keyboard/actions"> <a href="https://github.com/hodgef/simple-keyboard/actions">
<img alt="Publish Status" src="https://github.com/hodgef/simple-keyboard/workflows/Publish/badge.svg?color=green" /> <img alt="Publish Status" src="https://github.com/hodgef/simple-keyboard/workflows/Publish/badge.svg?color=green" />
</a> </a>
<a href="https://bundlephobia.com/result?p=simple-keyboard">
<img src="https://badgen.net/bundlephobia/minzip/simple-keyboard/?color=green" alt="install size">
</a>
<a href="https://david-dm.org/hodgef/simple-keyboard"> <a href="https://david-dm.org/hodgef/simple-keyboard">
<img src="https://badgen.net/david/dep/hodgef/simple-keyboard" alt="coverage"> <img src="https://badgen.net/david/dep/hodgef/simple-keyboard" alt="coverage">
@@ -30,17 +26,17 @@
<blockquote>Virtual Keyboard for Javascript. Compatible with your JS, React, Angular or Vue projects.</blockquote> <blockquote>Virtual Keyboard for Javascript. Compatible with your JS, React, Angular or Vue projects.</blockquote>
## Demo 🚀 ## 🚀 Demo
[Demo Showcase (Vanilla, Angular, React, Vue)](https://simple-keyboard.com/demo) [Demo Showcase (Vanilla, Angular, React, Vue)](https://simple-keyboard.com/demo)
## Installation & Usage 📦 ## 📦 Installation & Usage
You can use simple-keyboard as a `<script>` tag from a CDN, or install it from npm. You can use simple-keyboard as a `<script>` tag from a CDN, or install it from npm.
Check out the [Getting Started](https://simple-keyboard.com/getting-started) docs to begin. Check out the [Getting Started](https://simple-keyboard.com/getting-started) docs to begin.
## Documentation 📖 ## 📖 Documentation
Check out the [simple-keyboard documentation](https://simple-keyboard.com/documentation) site. Check out the [simple-keyboard documentation](https://simple-keyboard.com/documentation) site.
@@ -63,7 +59,7 @@ Feel free to browse the [Questions & Answers (FAQ)](https://simple-keyboard.com/
<a href="https://discordapp.com/invite/SJexsCG" title="Join our Discord chat" target="_blank"><img src="https://discordapp.com/api/guilds/498978399801573396/widget.png?style=banner2" align="center"></a> <a href="https://discordapp.com/invite/SJexsCG" title="Join our Discord chat" target="_blank"><img src="https://discordapp.com/api/guilds/498978399801573396/widget.png?style=banner2" align="center"></a>
## Modules ✳️ ## ✳️ Modules
You can extend simple-keyboard's functionality with [modules](https://hodgef.com/simple-keyboard/modules/). Such as: You can extend simple-keyboard's functionality with [modules](https://hodgef.com/simple-keyboard/modules/). Such as:
@@ -74,7 +70,7 @@ You can extend simple-keyboard's functionality with [modules](https://hodgef.com
Want to create your own module? Check out the [Modules page](https://hodgef.com/simple-keyboard/modules/) for instructions. Want to create your own module? Check out the [Modules page](https://hodgef.com/simple-keyboard/modules/) for instructions.
## Compatibility 🎯 ## 🎯 Compatibility
- Internet Explorer 11 - Internet Explorer 11
- Edge (Spartan) 16+ - Edge (Spartan) 16+
@@ -84,7 +80,7 @@ Want to create your own module? Check out the [Modules page](https://hodgef.com/
- Firefox 57+ - Firefox 57+
- iOS 9+ - iOS 9+
## Contributing ## Contributing
PRs and issues are always welcome. Feel free to submit any issues you have at: PRs and issues are always welcome. Feel free to submit any issues you have at:
[https://github.com/hodgef/simple-keyboard/issues](https://github.com/hodgef/simple-keyboard/issues) [https://github.com/hodgef/simple-keyboard/issues](https://github.com/hodgef/simple-keyboard/issues)
+1 -1
View File
@@ -1,6 +1,6 @@
/*! /*!
* *
* simple-keyboard v3.0.0 * simple-keyboard v3.1.0
* https://github.com/hodgef/simple-keyboard * https://github.com/hodgef/simple-keyboard
* *
* Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors. * Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors.
+2 -2
View File
File diff suppressed because one or more lines are too long
+10 -9
View File
@@ -13,8 +13,8 @@ declare class SimpleKeyboard {
input: KeyboardInput; input: KeyboardInput;
options: KeyboardOptions; options: KeyboardOptions;
utilities: any; utilities: any;
caretPosition: number; caretPosition: number | null;
caretPositionEnd: number; caretPositionEnd: number | null;
keyboardDOM: KeyboardElement; keyboardDOM: KeyboardElement;
keyboardPluginClasses: string; keyboardPluginClasses: string;
keyboardDOMClass: string; keyboardDOMClass: string;
@@ -34,8 +34,9 @@ declare class SimpleKeyboard {
holdTimeout: number; holdTimeout: number;
isMouseHold: boolean; isMouseHold: boolean;
initialized: boolean; initialized: boolean;
candidateBox: CandidateBox; candidateBox: CandidateBox | null;
keyboardRowsDOM: KeyboardElement; keyboardRowsDOM: KeyboardElement;
defaultName: string;
/** /**
* Creates an instance of SimpleKeyboard * Creates an instance of 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. * @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.
@@ -47,20 +48,20 @@ declare class SimpleKeyboard {
handleParams: (params: KeyboardParams) => { handleParams: (params: KeyboardParams) => {
keyboardDOMClass: string; keyboardDOMClass: string;
keyboardDOM: KeyboardElement; keyboardDOM: KeyboardElement;
options: Partial<KeyboardOptions>; options: Partial<KeyboardOptions | undefined>;
}; };
/** /**
* Getters * Getters
*/ */
getOptions: () => KeyboardOptions; getOptions: () => KeyboardOptions;
getCaretPosition: () => number; getCaretPosition: () => number | null;
getCaretPositionEnd: () => number; getCaretPositionEnd: () => number | null;
/** /**
* Changes the internal caret position * Changes the internal caret position
* @param {number} position The caret's start position * @param {number} position The caret's start position
* @param {number} positionEnd The caret's end position * @param {number} positionEnd The caret's end position
*/ */
setCaretPosition(position: number, endPosition?: number): void; setCaretPosition(position: number | null, endPosition?: number | null): void;
/** /**
* Retrieve the candidates for a given input * Retrieve the candidates for a given input
* @param input The input string to check * @param input The input string to check
@@ -104,7 +105,7 @@ declare class SimpleKeyboard {
* Clear the keyboards input. * Clear the keyboards input.
* @param {string} [inputName] optional - the internal input to select * @param {string} [inputName] optional - the internal input to select
*/ */
clearInput(inputName: string): void; clearInput(inputName?: string): void;
/** /**
* Get the keyboards input (You can also get it from the onChange prop). * Get the keyboards input (You can also get it from the onChange prop).
* @param {string} [inputName] optional - the internal input to select * @param {string} [inputName] optional - the internal input to select
@@ -166,7 +167,7 @@ declare class SimpleKeyboard {
* Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned. * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.
* @param {string} button The button layout name to select * @param {string} button The button layout name to select
*/ */
getButtonElement(button: string): KeyboardElement | KeyboardElement[]; getButtonElement(button: string): KeyboardElement | KeyboardElement[] | undefined;
/** /**
* This handles the "inputPattern" option * This handles the "inputPattern" option
* by checking if the provided inputPattern passes * by checking if the provided inputPattern passes
+9 -7
View File
@@ -3,10 +3,10 @@ import Utilities from "./services/Utilities";
export interface KeyboardLayoutObject { export interface KeyboardLayoutObject {
[key: string]: string[]; [key: string]: string[];
} }
export interface KeyboardButtonTheme { export declare type KeyboardButtonTheme = {
class: string; class: string;
buttons: string; buttons: string;
} } | null;
export interface KeyboardButtonAttributes { export interface KeyboardButtonAttributes {
attribute: string; attribute: string;
value: string; value: string;
@@ -32,16 +32,18 @@ export declare type CandidateBoxRenderParams = {
onItemSelected: (selectedCandidate: string) => void; onItemSelected: (selectedCandidate: string) => void;
}; };
export declare type KeyboardElement = HTMLDivElement | HTMLButtonElement; export declare type KeyboardElement = HTMLDivElement | HTMLButtonElement;
export declare type KeyboardHandlerEvent = PointerEvent & TouchEvent & KeyboardEvent & { export declare type KeyboardHandlerEvent = any;
target: HTMLDivElement & HTMLInputElement;
};
export interface KeyboardButtonElements { export interface KeyboardButtonElements {
[key: string]: KeyboardElement[]; [key: string]: KeyboardElement[];
} }
export interface UtilitiesParams { export interface UtilitiesParams {
getOptions: () => KeyboardOptions; getOptions: () => KeyboardOptions;
getCaretPosition: () => number; getCaretPosition: () => number | null;
getCaretPositionEnd: () => number; getCaretPositionEnd: () => number | null;
dispatch: any;
}
export interface PhysicalKeyboardParams {
getOptions: () => KeyboardOptions;
dispatch: any; dispatch: any;
} }
export interface KeyboardOptions { export interface KeyboardOptions {
+2 -2
View File
@@ -1,4 +1,4 @@
import { KeyboardOptions, UtilitiesParams } from "../interfaces"; import { KeyboardOptions, PhysicalKeyboardParams } from "../interfaces";
/** /**
* Physical Keyboard Service * Physical Keyboard Service
*/ */
@@ -8,7 +8,7 @@ declare class PhysicalKeyboard {
/** /**
* Creates an instance of the PhysicalKeyboard service * Creates an instance of the PhysicalKeyboard service
*/ */
constructor({ dispatch, getOptions }: Partial<UtilitiesParams>); constructor({ dispatch, getOptions }: PhysicalKeyboardParams);
handleHighlightKeyDown(event: KeyboardEvent): void; handleHighlightKeyDown(event: KeyboardEvent): void;
handleHighlightKeyUp(event: KeyboardEvent): void; handleHighlightKeyUp(event: KeyboardEvent): void;
/** /**
+13 -5
View File
@@ -5,8 +5,8 @@ import { KeyboardOptions, UtilitiesParams } from "../interfaces";
*/ */
declare class Utilities { declare class Utilities {
getOptions: () => KeyboardOptions; getOptions: () => KeyboardOptions;
getCaretPosition: () => number; getCaretPosition: () => number | null;
getCaretPositionEnd: () => number; getCaretPositionEnd: () => number | null;
dispatch: any; dispatch: any;
maxLengthReached: boolean; maxLengthReached: boolean;
/** /**
@@ -72,6 +72,7 @@ declare class Utilities {
"{home}": string; "{home}": string;
"{pageup}": string; "{pageup}": string;
"{delete}": string; "{delete}": string;
"{forwarddelete}": string;
"{end}": string; "{end}": string;
"{pagedown}": string; "{pagedown}": string;
"{numpadmultiply}": string; "{numpadmultiply}": string;
@@ -122,7 +123,7 @@ declare class Utilities {
* @param {number} length Represents by how many characters the input should be moved * @param {number} length Represents by how many characters the input should be moved
* @param {boolean} minus Whether the cursor should be moved to the left or not. * @param {boolean} minus Whether the cursor should be moved to the left or not.
*/ */
updateCaretPosAction(length: number, minus?: boolean): number; updateCaretPosAction(length: number, minus?: boolean): number | null;
/** /**
* Adds a string to the input at a given position * Adds a string to the input at a given position
* *
@@ -133,20 +134,27 @@ declare class Utilities {
*/ */
addStringAt(source: string, str: string, position?: number, positionEnd?: number, moveCaret?: boolean): string; addStringAt(source: string, str: string, position?: number, positionEnd?: number, moveCaret?: boolean): string;
/** /**
* Removes an amount of characters at a given position * Removes an amount of characters before a given position
* *
* @param {string} source The source input * @param {string} source The source input
* @param {number} position The (cursor) position from where the characters should be removed * @param {number} position The (cursor) position from where the characters should be removed
* @param {boolean} moveCaret Whether to update simple-keyboard's cursor * @param {boolean} moveCaret Whether to update simple-keyboard's cursor
*/ */
removeAt(source: string, position?: number, positionEnd?: number, moveCaret?: boolean): string; removeAt(source: string, position?: number, positionEnd?: number, moveCaret?: boolean): string;
/**
* Removes an amount of characters after a given position
*
* @param {string} source The source input
* @param {number} position The (cursor) position from where the characters should be removed
*/
removeForwardsAt(source: string, position?: number, positionEnd?: number, moveCaret?: boolean): string;
/** /**
* Determines whether the maxLength has been reached. This function is called when the maxLength option it set. * Determines whether the maxLength has been reached. This function is called when the maxLength option it set.
* *
* @param {object} inputObj * @param {object} inputObj
* @param {string} updatedInput * @param {string} updatedInput
*/ */
handleMaxLength(inputObj: KeyboardInput, updatedInput: string): boolean; handleMaxLength(inputObj: KeyboardInput, updatedInput: string): boolean | undefined;
/** /**
* Gets the current value of maxLengthReached * Gets the current value of maxLengthReached
*/ */
+1151 -570
View File
File diff suppressed because it is too large Load Diff
+19 -19
View File
@@ -1,6 +1,6 @@
{ {
"name": "simple-keyboard", "name": "simple-keyboard",
"version": "3.0.0", "version": "3.1.0",
"description": "On-screen Javascript Virtual Keyboard", "description": "On-screen Javascript Virtual Keyboard",
"main": "build/index.js", "main": "build/index.js",
"types": "build/types/index.d.ts", "types": "build/types/index.d.ts",
@@ -39,38 +39,38 @@
], ],
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@babel/cli": "^7.13.0", "@babel/cli": "^7.13.16",
"@babel/core": "^7.13.8", "@babel/core": "^7.14.2",
"@babel/plugin-proposal-class-properties": "^7.13.0", "@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-transform-typescript": "^7.13.0", "@babel/plugin-transform-typescript": "^7.13.0",
"@babel/polyfill": "^7.12.1", "@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.13.9", "@babel/preset-env": "^7.14.2",
"@types/jest": "^26.0.20", "@types/jest": "^26.0.23",
"@typescript-eslint/eslint-plugin": "^4.16.1", "@typescript-eslint/eslint-plugin": "^4.23.0",
"@typescript-eslint/parser": "^4.16.1", "@typescript-eslint/parser": "^4.23.0",
"autoprefixer": "^10.2.5", "autoprefixer": "^10.2.5",
"babel-eslint": "^10.1.0", "babel-eslint": "^10.1.0",
"babel-loader": "^8.2.2", "babel-loader": "^8.2.2",
"babel-preset-minify": "^0.5.0", "babel-preset-minify": "^0.5.0",
"core-js": "^3.9.1", "core-js": "^3.12.1",
"css-loader": "^5.1.1", "css-loader": "^5.2.4",
"eslint": "^7.21.0", "eslint": "^7.26.0",
"file-loader": "^6.2.0", "file-loader": "^6.2.0",
"html-webpack-plugin": "^5.3.0", "html-webpack-plugin": "^5.3.1",
"jest": "^26.6.3", "jest": "^26.6.3",
"mini-css-extract-plugin": "^1.3.9", "mini-css-extract-plugin": "^1.6.0",
"optimize-css-assets-webpack-plugin": "^5.0.4", "optimize-css-assets-webpack-plugin": "^5.0.4",
"postcss": "^8.2.8", "postcss": "^8.2.15",
"postcss-loader": "^5.2.0", "postcss-loader": "^5.2.0",
"prettier": "^2.2.1", "prettier": "^2.3.0",
"prettier-webpack-plugin": "^1.2.0", "prettier-webpack-plugin": "^1.2.0",
"style-loader": "^2.0.0", "style-loader": "^2.0.0",
"terser-webpack-plugin": "^5.1.1", "terser-webpack-plugin": "^5.1.2",
"typescript": "^4.2.3", "typescript": "^4.2.4",
"url-loader": "^4.1.1", "url-loader": "^4.1.1",
"webpack": "^5.24.3", "webpack": "^5.37.0",
"webpack-cli": "^4.5.0", "webpack-cli": "^4.7.0",
"webpack-dev-server": "4.0.0-beta.0" "webpack-dev-server": "4.0.0-beta.3"
}, },
"jest": { "jest": {
"roots": [ "roots": [
+1 -1
View File
@@ -9,7 +9,7 @@ import {
class CandidateBox { class CandidateBox {
utilities: Utilities; utilities: Utilities;
candidateBoxElement: HTMLDivElement; candidateBoxElement!: HTMLDivElement;
pageIndex = 0; pageIndex = 0;
pageSize; pageSize;
+273 -261
View File
@@ -22,28 +22,29 @@ import CandidateBox from "./CandidateBox";
* - Handles button functionality * - Handles button functionality
*/ */
class SimpleKeyboard { class SimpleKeyboard {
input: KeyboardInput; input!: KeyboardInput;
options: KeyboardOptions; options!: KeyboardOptions;
utilities: any; utilities: any;
caretPosition: number; caretPosition!: number | null;
caretPositionEnd: number; caretPositionEnd!: number | null;
keyboardDOM: KeyboardElement; keyboardDOM!: KeyboardElement;
keyboardPluginClasses: string; keyboardPluginClasses!: string;
keyboardDOMClass: string; keyboardDOMClass!: string;
buttonElements: KeyboardButtonElements; buttonElements!: KeyboardButtonElements;
currentInstanceName: string; currentInstanceName!: string;
allKeyboardInstances: { [key: string]: SimpleKeyboard }; allKeyboardInstances!: { [key: string]: SimpleKeyboard };
keyboardInstanceNames: string[]; keyboardInstanceNames!: string[];
isFirstKeyboardInstance: boolean; isFirstKeyboardInstance!: boolean;
physicalKeyboard: PhysicalKeyboard; physicalKeyboard!: PhysicalKeyboard;
modules: { [key: string]: any }; modules!: { [key: string]: any };
activeButtonClass: string; activeButtonClass!: string;
holdInteractionTimeout: number; holdInteractionTimeout!: number;
holdTimeout: number; holdTimeout!: number;
isMouseHold: boolean; isMouseHold!: boolean;
initialized: boolean; initialized!: boolean;
candidateBox: CandidateBox; candidateBox!: CandidateBox | null;
keyboardRowsDOM: KeyboardElement; keyboardRowsDOM!: KeyboardElement;
defaultName = "default";
/** /**
* Creates an instance of SimpleKeyboard * Creates an instance of SimpleKeyboard
@@ -159,8 +160,9 @@ class SimpleKeyboard {
* @property {object} default Default SimpleKeyboard internal input. * @property {object} default Default SimpleKeyboard internal input.
* @property {object} myInputName Example input that can be set through `options.inputName:"myInputName"`. * @property {object} myInputName Example input that can be set through `options.inputName:"myInputName"`.
*/ */
const { inputName = this.defaultName } = this.options;
this.input = {}; this.input = {};
this.input[this.options.inputName] = ""; this.input[inputName] = "";
/** /**
* @type {string} DOM class of the keyboard wrapper, normally "simple-keyboard" by default. * @type {string} DOM class of the keyboard wrapper, normally "simple-keyboard" by default.
@@ -231,7 +233,7 @@ class SimpleKeyboard {
): { ): {
keyboardDOMClass: string; keyboardDOMClass: string;
keyboardDOM: KeyboardElement; keyboardDOM: KeyboardElement;
options: Partial<KeyboardOptions>; options: Partial<KeyboardOptions | undefined>;
} => { } => {
let keyboardDOMClass; let keyboardDOMClass;
let keyboardDOM; let keyboardDOM;
@@ -287,15 +289,15 @@ class SimpleKeyboard {
* Getters * Getters
*/ */
getOptions = (): KeyboardOptions => this.options; getOptions = (): KeyboardOptions => this.options;
getCaretPosition = (): number => this.caretPosition; getCaretPosition = (): number | null => this.caretPosition;
getCaretPositionEnd = (): number => this.caretPositionEnd; getCaretPositionEnd = (): number | null => this.caretPositionEnd;
/** /**
* Changes the internal caret position * Changes the internal caret position
* @param {number} position The caret's start position * @param {number} position The caret's start position
* @param {number} positionEnd The caret's end position * @param {number} positionEnd The caret's end position
*/ */
setCaretPosition(position: number, endPosition = position): void { setCaretPosition(position: number | null, endPosition = position): void {
this.caretPosition = position; this.caretPosition = position;
this.caretPositionEnd = endPosition; this.caretPositionEnd = endPosition;
} }
@@ -379,8 +381,7 @@ class SimpleKeyboard {
* @param {string} button The button's layout name. * @param {string} button The button's layout name.
*/ */
handleButtonClicked(button: string, e?: KeyboardHandlerEvent): void { handleButtonClicked(button: string, e?: KeyboardHandlerEvent): void {
const debug = this.options.debug; const { inputName = this.defaultName, debug } = this.options;
/** /**
* Ignoring placeholder buttons * Ignoring placeholder buttons
*/ */
@@ -389,15 +390,14 @@ class SimpleKeyboard {
/** /**
* Creating inputName if it doesn't exist * Creating inputName if it doesn't exist
*/ */
if (!this.input[this.options.inputName]) if (!this.input[inputName]) this.input[inputName] = "";
this.input[this.options.inputName] = "";
/** /**
* Calculating new input * Calculating new input
*/ */
const updatedInput = this.utilities.getUpdatedInput( const updatedInput = this.utilities.getUpdatedInput(
button, button,
this.input[this.options.inputName], this.input[inputName],
this.caretPosition, this.caretPosition,
this.caretPositionEnd this.caretPositionEnd
); );
@@ -410,7 +410,7 @@ class SimpleKeyboard {
if ( if (
// If input will change as a result of this button press // If input will change as a result of this button press
this.input[this.options.inputName] !== updatedInput && this.input[inputName] !== updatedInput &&
// This pertains to the "inputPattern" option: // This pertains to the "inputPattern" option:
// If inputPattern isn't set // If inputPattern isn't set
(!this.options.inputPattern || (!this.options.inputPattern ||
@@ -432,7 +432,7 @@ class SimpleKeyboard {
*/ */
const newInputValue = this.utilities.getUpdatedInput( const newInputValue = this.utilities.getUpdatedInput(
button, button,
this.input[this.options.inputName], this.input[inputName],
this.caretPosition, this.caretPosition,
this.caretPositionEnd, this.caretPositionEnd,
true true
@@ -483,7 +483,7 @@ class SimpleKeyboard {
this.keyboardDOM this.keyboardDOM
); );
} else { } else {
this.candidateBox.destroy(); this.candidateBox?.destroy();
} }
} }
} }
@@ -639,8 +639,9 @@ class SimpleKeyboard {
* Clear the keyboards input. * Clear the keyboards input.
* @param {string} [inputName] optional - the internal input to select * @param {string} [inputName] optional - the internal input to select
*/ */
clearInput(inputName: string): void { clearInput(
inputName = inputName || this.options.inputName; inputName: string = this.options.inputName || this.defaultName
): void {
this.input[inputName] = ""; this.input[inputName] = "";
/** /**
@@ -658,7 +659,10 @@ class SimpleKeyboard {
* Get the keyboards input (You can also get it from the onChange prop). * Get the keyboards input (You can also get it from the onChange prop).
* @param {string} [inputName] optional - the internal input to select * @param {string} [inputName] optional - the internal input to select
*/ */
getInput(inputName = this.options.inputName, skipSync = false): string { getInput(
inputName: string = this.options.inputName || this.defaultName,
skipSync = false
): string {
/** /**
* Enforce syncInstanceInputs, if set * Enforce syncInstanceInputs, if set
*/ */
@@ -697,7 +701,7 @@ class SimpleKeyboard {
*/ */
setInput( setInput(
input: string, input: string,
inputName = this.options.inputName, inputName: string = this.options.inputName || this.defaultName,
skipSync?: boolean skipSync?: boolean
): void { ): void {
this.input[inputName] = input; this.input[inputName] = input;
@@ -758,19 +762,6 @@ class SimpleKeyboard {
* @param {object} options The options to set * @param {object} options The options to set
*/ */
onSetOptions(changedOptions: string[] = []): void { onSetOptions(changedOptions: string[] = []): void {
/**
* Changed: inputName
*/
if (changedOptions.includes("inputName")) {
/**
* inputName changed. This requires a caretPosition reset
*/
if (this.options.debug) {
console.log("inputName changed. caretPosition reset.");
}
this.setCaretPosition(null);
}
/** /**
* Changed: layoutName * Changed: layoutName
*/ */
@@ -851,7 +842,7 @@ class SimpleKeyboard {
* If class is already defined, we add button to class definition * If class is already defined, we add button to class definition
*/ */
this.options.buttonTheme.map((buttonTheme) => { this.options.buttonTheme.map((buttonTheme) => {
if (buttonTheme.class.split(" ").includes(classNameItem)) { if (buttonTheme?.class.split(" ").includes(classNameItem)) {
classNameFound = true; classNameFound = true;
const buttonThemeArray = buttonTheme.buttons.split(" "); const buttonThemeArray = buttonTheme.buttons.split(" ");
@@ -904,26 +895,28 @@ class SimpleKeyboard {
) { ) {
const buttonArray = buttons.split(" "); const buttonArray = buttons.split(" ");
buttonArray.forEach((button) => { buttonArray.forEach((button) => {
this.options.buttonTheme.map((buttonTheme, index) => { this.options?.buttonTheme?.map((buttonTheme, index) => {
/** /**
* If className is set, we affect the buttons only for that class * If className is set, we affect the buttons only for that class
* Otherwise, we afect all classes * Otherwise, we afect all classes
*/ */
if ( if (
(className && className.includes(buttonTheme.class)) || (buttonTheme &&
className &&
className.includes(buttonTheme.class)) ||
!className !className
) { ) {
const filteredButtonArray = buttonTheme.buttons const filteredButtonArray = buttonTheme?.buttons
.split(" ") .split(" ")
.filter((item) => item !== button); .filter((item) => item !== button);
/** /**
* If buttons left, return them, otherwise, remove button Theme * If buttons left, return them, otherwise, remove button Theme
*/ */
if (filteredButtonArray.length) { if (buttonTheme && filteredButtonArray?.length) {
buttonTheme.buttons = filteredButtonArray.join(" "); buttonTheme.buttons = filteredButtonArray.join(" ");
} else { } else {
this.options.buttonTheme.splice(index, 1); this.options.buttonTheme?.splice(index, 1);
buttonTheme = null; buttonTheme = null;
} }
} }
@@ -940,7 +933,9 @@ class SimpleKeyboard {
* Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned. * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.
* @param {string} button The button layout name to select * @param {string} button The button layout name to select
*/ */
getButtonElement(button: string): KeyboardElement | KeyboardElement[] { getButtonElement(
button: string
): KeyboardElement | KeyboardElement[] | undefined {
let output; let output;
const buttonArr = this.buttonElements[button]; const buttonArr = this.buttonElements[button];
@@ -969,7 +964,8 @@ class SimpleKeyboard {
if (inputPatternRaw instanceof RegExp) { if (inputPatternRaw instanceof RegExp) {
inputPattern = inputPatternRaw; inputPattern = inputPatternRaw;
} else { } else {
inputPattern = inputPatternRaw[this.options.inputName]; inputPattern =
inputPatternRaw[this.options.inputName || this.defaultName];
} }
if (inputPattern && inputVal) { if (inputPattern && inputVal) {
@@ -1077,10 +1073,11 @@ class SimpleKeyboard {
} }
if ( if (
(targetTagName === "textarea" || targetTagName === "input") && (targetTagName === "textarea" ||
["text", "search", "url", "tel", "password"].includes( (targetTagName === "input" &&
event.target.type ["text", "search", "url", "tel", "password"].includes(
) && event.target.type
))) &&
!instance.options.disableCaretPositioning !instance.options.disableCaretPositioning
) { ) {
/** /**
@@ -1106,6 +1103,13 @@ class SimpleKeyboard {
* If we toggled off disableCaretPositioning, we must ensure caretPosition doesn't persist once reactivated. * If we toggled off disableCaretPositioning, we must ensure caretPosition doesn't persist once reactivated.
*/ */
instance.setCaretPosition(null); instance.setCaretPosition(null);
if (instance.options.debug) {
console.log(
`Caret position reset due to "${event?.type}" event`,
event
);
}
} }
}); });
} }
@@ -1146,26 +1150,25 @@ class SimpleKeyboard {
/** /**
* Remove buttons * Remove buttons
*/ */
let deleteButton = (buttonElement: KeyboardElement) => { const deleteButton = (buttonElement: KeyboardElement | null) => {
buttonElement.onpointerdown = null; if (buttonElement) {
buttonElement.onpointerup = null; buttonElement.onpointerdown = null;
buttonElement.onpointercancel = null; buttonElement.onpointerup = null;
buttonElement.ontouchstart = null; buttonElement.onpointercancel = null;
buttonElement.ontouchend = null; buttonElement.ontouchstart = null;
buttonElement.ontouchcancel = null; buttonElement.ontouchend = null;
buttonElement.onclick = null; buttonElement.ontouchcancel = null;
buttonElement.onmousedown = null; buttonElement.onclick = null;
buttonElement.onmouseup = null; buttonElement.onmousedown = null;
buttonElement.onmouseup = null;
buttonElement.remove(); buttonElement.remove();
buttonElement = null; buttonElement = null;
}
}; };
this.recurseButtons(deleteButton); this.recurseButtons(deleteButton);
this.recurseButtons = null;
deleteButton = null;
/** /**
* Remove wrapper events * Remove wrapper events
*/ */
@@ -1213,6 +1216,7 @@ class SimpleKeyboard {
if (Array.isArray(buttonTheme)) { if (Array.isArray(buttonTheme)) {
buttonTheme.forEach((themeObj) => { buttonTheme.forEach((themeObj) => {
if ( if (
themeObj &&
themeObj.class && themeObj.class &&
typeof themeObj.class === "string" && typeof themeObj.class === "string" &&
themeObj.buttons && themeObj.buttons &&
@@ -1336,7 +1340,7 @@ class SimpleKeyboard {
} }
if (typeof this.options.beforeFirstRender === "function") if (typeof this.options.beforeFirstRender === "function")
this.options.beforeFirstRender(); this.options.beforeFirstRender(this);
/** /**
* Notify about PointerEvents usage * Notify about PointerEvents usage
@@ -1369,7 +1373,7 @@ class SimpleKeyboard {
*/ */
beforeRender() { beforeRender() {
if (typeof this.options.beforeRender === "function") if (typeof this.options.beforeRender === "function")
this.options.beforeRender(); this.options.beforeRender(this);
} }
/** /**
@@ -1574,211 +1578,219 @@ class SimpleKeyboard {
/** /**
* Iterating through each row * Iterating through each row
*/ */
layout[this.options.layoutName].forEach((row, rIndex) => { layout[this.options.layoutName || this.defaultName].forEach(
let rowArray = row.split(" "); (row, rIndex) => {
let rowArray = row.split(" ");
/**
* Enforce excludeFromLayout
*/
if (this.options.excludeFromLayout[this.options.layoutName]) {
rowArray = rowArray.filter(
(buttonName) =>
!this.options.excludeFromLayout[this.options.layoutName].includes(
buttonName
)
);
}
/**
* Creating empty row
*/
let rowDOM = document.createElement("div");
rowDOM.className += "hg-row";
/**
* Tracking container indicators in rows
*/
const containerStartIndexes: number[] = [];
const containerEndIndexes: number[] = [];
/**
* Iterating through each button in row
*/
rowArray.forEach((button, bIndex) => {
/**
* Check if button has a container indicator
*/
const buttonHasContainerStart =
!disableRowButtonContainers &&
typeof button === "string" &&
button.length > 1 &&
button.indexOf("[") === 0;
const buttonHasContainerEnd =
!disableRowButtonContainers &&
typeof button === "string" &&
button.length > 1 &&
button.indexOf("]") === button.length - 1;
/** /**
* Save container start index, if applicable * Enforce excludeFromLayout
*/ */
if (buttonHasContainerStart) {
containerStartIndexes.push(bIndex);
/**
* Removing indicator
*/
button = button.replace(/\[/g, "");
}
if (buttonHasContainerEnd) {
containerEndIndexes.push(bIndex);
/**
* Removing indicator
*/
button = button.replace(/\]/g, "");
}
/**
* Processing button options
*/
const fctBtnClass = this.utilities.getButtonClass(button);
const buttonDisplayName = this.utilities.getButtonDisplayName(
button,
this.options.display,
this.options.mergeDisplay
);
/**
* Creating button
*/
const buttonType = this.options.useButtonTag ? "button" : "div";
const buttonDOM = document.createElement(buttonType);
buttonDOM.className += `hg-button ${fctBtnClass}`;
/**
* Adding buttonTheme
*/
buttonDOM.classList.add(...this.getButtonThemeClasses(button));
/**
* Adding buttonAttributes
*/
this.setDOMButtonAttributes(
button,
(attribute: string, value: string) => {
buttonDOM.setAttribute(attribute, value);
}
);
this.activeButtonClass = "hg-activeButton";
/**
* Handle button click event
*/
/* istanbul ignore next */
if ( if (
this.utilities.pointerEventsSupported() && this.options.excludeFromLayout &&
!useTouchEvents && this.options.excludeFromLayout[
!useMouseEvents this.options.layoutName || this.defaultName
]
) { ) {
rowArray = rowArray.filter(
(buttonName) =>
this.options.excludeFromLayout &&
!this.options.excludeFromLayout[
this.options.layoutName || this.defaultName
].includes(buttonName)
);
}
/**
* Creating empty row
*/
let rowDOM = document.createElement("div");
rowDOM.className += "hg-row";
/**
* Tracking container indicators in rows
*/
const containerStartIndexes: number[] = [];
const containerEndIndexes: number[] = [];
/**
* Iterating through each button in row
*/
rowArray.forEach((button, bIndex) => {
/** /**
* Handle PointerEvents * Check if button has a container indicator
*/ */
buttonDOM.onpointerdown = (e: KeyboardHandlerEvent) => { const buttonHasContainerStart =
this.handleButtonClicked(button, e); !disableRowButtonContainers &&
this.handleButtonMouseDown(button, e); typeof button === "string" &&
}; button.length > 1 &&
buttonDOM.onpointerup = (e: KeyboardHandlerEvent) => { button.indexOf("[") === 0;
this.handleButtonMouseUp(button, e);
}; const buttonHasContainerEnd =
buttonDOM.onpointercancel = (e: KeyboardHandlerEvent) => { !disableRowButtonContainers &&
this.handleButtonMouseUp(button, e); typeof button === "string" &&
}; button.length > 1 &&
} else { button.indexOf("]") === button.length - 1;
/** /**
* Fallback for browsers not supporting PointerEvents * Save container start index, if applicable
*/ */
if (useTouchEvents) { if (buttonHasContainerStart) {
containerStartIndexes.push(bIndex);
/** /**
* Handle touch events * Removing indicator
*/ */
buttonDOM.ontouchstart = (e: KeyboardHandlerEvent) => { button = button.replace(/\[/g, "");
}
if (buttonHasContainerEnd) {
containerEndIndexes.push(bIndex);
/**
* Removing indicator
*/
button = button.replace(/\]/g, "");
}
/**
* Processing button options
*/
const fctBtnClass = this.utilities.getButtonClass(button);
const buttonDisplayName = this.utilities.getButtonDisplayName(
button,
this.options.display,
this.options.mergeDisplay
);
/**
* Creating button
*/
const buttonType = this.options.useButtonTag ? "button" : "div";
const buttonDOM = document.createElement(buttonType);
buttonDOM.className += `hg-button ${fctBtnClass}`;
/**
* Adding buttonTheme
*/
buttonDOM.classList.add(...this.getButtonThemeClasses(button));
/**
* Adding buttonAttributes
*/
this.setDOMButtonAttributes(
button,
(attribute: string, value: string) => {
buttonDOM.setAttribute(attribute, value);
}
);
this.activeButtonClass = "hg-activeButton";
/**
* Handle button click event
*/
/* istanbul ignore next */
if (
this.utilities.pointerEventsSupported() &&
!useTouchEvents &&
!useMouseEvents
) {
/**
* Handle PointerEvents
*/
buttonDOM.onpointerdown = (e: KeyboardHandlerEvent) => {
this.handleButtonClicked(button, e); this.handleButtonClicked(button, e);
this.handleButtonMouseDown(button, e); this.handleButtonMouseDown(button, e);
}; };
buttonDOM.ontouchend = (e: KeyboardHandlerEvent) => { buttonDOM.onpointerup = (e: KeyboardHandlerEvent) => {
this.handleButtonMouseUp(button, e); this.handleButtonMouseUp(button, e);
}; };
buttonDOM.ontouchcancel = (e: KeyboardHandlerEvent) => { buttonDOM.onpointercancel = (e: KeyboardHandlerEvent) => {
this.handleButtonMouseUp(button, e); this.handleButtonMouseUp(button, e);
}; };
} else { } else {
/** /**
* Handle mouse events * Fallback for browsers not supporting PointerEvents
*/ */
buttonDOM.onclick = (e: KeyboardHandlerEvent) => { if (useTouchEvents) {
this.isMouseHold = false; /**
this.handleButtonClicked(button, e); * Handle touch events
}; */
buttonDOM.onmousedown = (e: KeyboardHandlerEvent) => { buttonDOM.ontouchstart = (e: KeyboardHandlerEvent) => {
this.handleButtonMouseDown(button, e); this.handleButtonClicked(button, e);
}; this.handleButtonMouseDown(button, e);
buttonDOM.onmouseup = (e: KeyboardHandlerEvent) => { };
this.handleButtonMouseUp(button, e); buttonDOM.ontouchend = (e: KeyboardHandlerEvent) => {
}; this.handleButtonMouseUp(button, e);
};
buttonDOM.ontouchcancel = (e: KeyboardHandlerEvent) => {
this.handleButtonMouseUp(button, e);
};
} else {
/**
* Handle mouse events
*/
buttonDOM.onclick = (e: KeyboardHandlerEvent) => {
this.isMouseHold = false;
this.handleButtonClicked(button, e);
};
buttonDOM.onmousedown = (e: KeyboardHandlerEvent) => {
this.handleButtonMouseDown(button, e);
};
buttonDOM.onmouseup = (e: KeyboardHandlerEvent) => {
this.handleButtonMouseUp(button, e);
};
}
} }
}
/**
* Adding identifier
*/
buttonDOM.setAttribute("data-skBtn", button);
/**
* Adding unique id
* Since there's no limit on spawning same buttons, the unique id ensures you can style every button
*/
const buttonUID = `${this.options.layoutName}-r${rIndex}b${bIndex}`;
buttonDOM.setAttribute("data-skBtnUID", buttonUID);
/**
* Adding button label to button
*/
const buttonSpanDOM = document.createElement("span");
buttonSpanDOM.innerHTML = buttonDisplayName;
buttonDOM.appendChild(buttonSpanDOM);
/**
* Adding to buttonElements
*/
if (!this.buttonElements[button]) this.buttonElements[button] = [];
this.buttonElements[button].push(buttonDOM);
/**
* Appending button to row
*/
rowDOM.appendChild(buttonDOM);
});
/** /**
* Adding identifier * Parse containers in row
*/ */
buttonDOM.setAttribute("data-skBtn", button); rowDOM = this.parseRowDOMContainers(
rowDOM,
rIndex,
containerStartIndexes,
containerEndIndexes
);
/** /**
* Adding unique id * Appending row to hg-rows
* Since there's no limit on spawning same buttons, the unique id ensures you can style every button
*/ */
const buttonUID = `${this.options.layoutName}-r${rIndex}b${bIndex}`; this.keyboardRowsDOM.appendChild(rowDOM);
buttonDOM.setAttribute("data-skBtnUID", buttonUID); }
);
/**
* Adding button label to button
*/
const buttonSpanDOM = document.createElement("span");
buttonSpanDOM.innerHTML = buttonDisplayName;
buttonDOM.appendChild(buttonSpanDOM);
/**
* Adding to buttonElements
*/
if (!this.buttonElements[button]) this.buttonElements[button] = [];
this.buttonElements[button].push(buttonDOM);
/**
* Appending button to row
*/
rowDOM.appendChild(buttonDOM);
});
/**
* Parse containers in row
*/
rowDOM = this.parseRowDOMContainers(
rowDOM,
rIndex,
containerStartIndexes,
containerEndIndexes
);
/**
* Appending row to hg-rows
*/
this.keyboardRowsDOM.appendChild(rowDOM);
});
/** /**
* Appending row to keyboard * Appending row to keyboard
@@ -1806,7 +1818,7 @@ class SimpleKeyboard {
!useMouseEvents !useMouseEvents
) { ) {
document.onpointerup = (e: KeyboardHandlerEvent) => document.onpointerup = (e: KeyboardHandlerEvent) =>
this.handleButtonMouseUp(null, e); this.handleButtonMouseUp(undefined, e);
this.keyboardDOM.onpointerdown = (e: KeyboardHandlerEvent) => this.keyboardDOM.onpointerdown = (e: KeyboardHandlerEvent) =>
this.handleKeyboardContainerMouseDown(e); this.handleKeyboardContainerMouseDown(e);
} else if (useTouchEvents) { } else if (useTouchEvents) {
@@ -1814,9 +1826,9 @@ class SimpleKeyboard {
* Handling ontouchend, ontouchcancel * Handling ontouchend, ontouchcancel
*/ */
document.ontouchend = (e: KeyboardHandlerEvent) => document.ontouchend = (e: KeyboardHandlerEvent) =>
this.handleButtonMouseUp(null, e); this.handleButtonMouseUp(undefined, e);
document.ontouchcancel = (e: KeyboardHandlerEvent) => document.ontouchcancel = (e: KeyboardHandlerEvent) =>
this.handleButtonMouseUp(null, e); this.handleButtonMouseUp(undefined, e);
this.keyboardDOM.ontouchstart = (e: KeyboardHandlerEvent) => this.keyboardDOM.ontouchstart = (e: KeyboardHandlerEvent) =>
this.handleKeyboardContainerMouseDown(e); this.handleKeyboardContainerMouseDown(e);
@@ -1825,7 +1837,7 @@ class SimpleKeyboard {
* Handling mouseup * Handling mouseup
*/ */
document.onmouseup = (e: KeyboardHandlerEvent) => document.onmouseup = (e: KeyboardHandlerEvent) =>
this.handleButtonMouseUp(null, e); this.handleButtonMouseUp(undefined, e);
this.keyboardDOM.onmousedown = (e: KeyboardHandlerEvent) => this.keyboardDOM.onmousedown = (e: KeyboardHandlerEvent) =>
this.handleKeyboardContainerMouseDown(e); this.handleKeyboardContainerMouseDown(e);
} }
-21
View File
@@ -1138,27 +1138,6 @@ it('Keyboard disableRowButtonContainers will bypass parseRowDOMContainers', () =
expect(containers.length).toBe(0); expect(containers.length).toBe(0);
}); });
it('Keyboard inputName change will trigget caretPosition reset', () => {
const keyboard = new Keyboard();
keyboard.setCaretPosition(0);
keyboard.getButtonElement("q").onpointerdown();
keyboard.getButtonElement("1").onpointerdown();
expect(keyboard.getCaretPosition()).toBe(2);
keyboard.setOptions({
inputName: "myInput"
});
keyboard.getButtonElement("q").onpointerdown();
keyboard.getButtonElement("1").onpointerdown();
keyboard.getButtonElement("b").onpointerdown();
expect(keyboard.getCaretPosition()).toBe(null);
});
it('Keyboard destroy will work', () => { it('Keyboard destroy will work', () => {
const keyboard = new Keyboard(); const keyboard = new Keyboard();
keyboard.destroy(); keyboard.destroy();
+10 -5
View File
@@ -6,10 +6,10 @@ export interface KeyboardLayoutObject {
[key: string]: string[]; [key: string]: string[];
} }
export interface KeyboardButtonTheme { export type KeyboardButtonTheme = {
class: string; class: string;
buttons: string; buttons: string;
} } | null;
export interface KeyboardButtonAttributes { export interface KeyboardButtonAttributes {
attribute: string; attribute: string;
@@ -44,7 +44,7 @@ export type CandidateBoxRenderParams = {
} }
export type KeyboardElement = HTMLDivElement | HTMLButtonElement; export type KeyboardElement = HTMLDivElement | HTMLButtonElement;
export type KeyboardHandlerEvent = PointerEvent & TouchEvent & KeyboardEvent & { target: HTMLDivElement & HTMLInputElement }; export type KeyboardHandlerEvent = any;
export interface KeyboardButtonElements { export interface KeyboardButtonElements {
[key: string]: KeyboardElement[] [key: string]: KeyboardElement[]
@@ -52,8 +52,13 @@ export interface KeyboardButtonElements {
export interface UtilitiesParams { export interface UtilitiesParams {
getOptions: () => KeyboardOptions; getOptions: () => KeyboardOptions;
getCaretPosition: () => number; getCaretPosition: () => number | null;
getCaretPositionEnd: () => number; getCaretPositionEnd: () => number | null;
dispatch: any;
}
export interface PhysicalKeyboardParams {
getOptions: () => KeyboardOptions;
dispatch: any; dispatch: any;
} }
+2 -2
View File
@@ -1,4 +1,4 @@
import { KeyboardOptions, UtilitiesParams } from "../interfaces"; import { KeyboardOptions, PhysicalKeyboardParams } from "../interfaces";
import Utilities from "../services/Utilities"; import Utilities from "../services/Utilities";
/** /**
@@ -11,7 +11,7 @@ class PhysicalKeyboard {
/** /**
* Creates an instance of the PhysicalKeyboard service * Creates an instance of the PhysicalKeyboard service
*/ */
constructor({ dispatch, getOptions }: Partial<UtilitiesParams>) { constructor({ dispatch, getOptions }: PhysicalKeyboardParams) {
/** /**
* @type {object} A simple-keyboard instance * @type {object} A simple-keyboard instance
*/ */
+79 -11
View File
@@ -6,10 +6,10 @@ import { KeyboardOptions, UtilitiesParams } from "../interfaces";
*/ */
class Utilities { class Utilities {
getOptions: () => KeyboardOptions; getOptions: () => KeyboardOptions;
getCaretPosition: () => number; getCaretPosition: () => number | null;
getCaretPositionEnd: () => number; getCaretPositionEnd: () => number | null;
dispatch: any; dispatch: any;
maxLengthReached: boolean; maxLengthReached!: boolean;
/** /**
* Creates an instance of the Utility service * Creates an instance of the Utility service
@@ -106,6 +106,7 @@ class Utilities {
"{home}": "home", "{home}": "home",
"{pageup}": "up", "{pageup}": "up",
"{delete}": "del", "{delete}": "del",
"{forwarddelete}": "del",
"{end}": "end", "{end}": "end",
"{pagedown}": "down", "{pagedown}": "down",
"{numpadmultiply}": "*", "{numpadmultiply}": "*",
@@ -177,6 +178,11 @@ class Utilities {
output.length > 0 output.length > 0
) { ) {
output = this.removeAt(output, ...commonParams); output = this.removeAt(output, ...commonParams);
} else if (
(button === "{delete}" || button === "{forwarddelete}") &&
output.length > 0
) {
output = this.removeForwardsAt(output, ...commonParams);
} else if (button === "{space}") } else if (button === "{space}")
output = this.addStringAt(output, " ", ...commonParams); output = this.addStringAt(output, " ", ...commonParams);
else if ( else if (
@@ -243,10 +249,12 @@ class Utilities {
const options = this.getOptions(); const options = this.getOptions();
let caretPosition = this.getCaretPosition(); let caretPosition = this.getCaretPosition();
if (minus) { if (caretPosition != null) {
if (caretPosition > 0) caretPosition = caretPosition - length; if (minus) {
} else { if (caretPosition > 0) caretPosition = caretPosition - length;
caretPosition = caretPosition + length; } else {
caretPosition = caretPosition + length;
}
} }
if (options.debug) { if (options.debug) {
@@ -292,7 +300,7 @@ class Utilities {
} }
/** /**
* Removes an amount of characters at a given position * Removes an amount of characters before a given position
* *
* @param {string} source The source input * @param {string} source The source input
* @param {number} position The (cursor) position from where the characters should be removed * @param {number} position The (cursor) position from where the characters should be removed
@@ -353,6 +361,65 @@ class Utilities {
return output; return output;
} }
/**
* Removes an amount of characters after a given position
*
* @param {string} source The source input
* @param {number} position The (cursor) position from where the characters should be removed
*/
removeForwardsAt(
source: string,
position = source.length,
positionEnd = source.length,
moveCaret = false
) {
if (position === 0 && positionEnd === 0) {
return source;
}
let output;
if (position === positionEnd) {
let nextTwoChars;
let emojiMatched;
const emojiMatchedReg = /([\uD800-\uDBFF][\uDC00-\uDFFF])/g;
/**
* Emojis are made out of two characters, so we must take a custom approach to trim them.
* For more info: https://mathiasbynens.be/notes/javascript-unicode
*/
if (position && position >= 0) {
nextTwoChars = source.substring(position, position + 2);
emojiMatched = nextTwoChars.match(emojiMatchedReg);
if (emojiMatched) {
output = source.substr(0, position) + source.substr(position + 2);
} else {
output = source.substr(0, position) + source.substr(position + 1);
}
} else {
nextTwoChars = source.slice(2);
emojiMatched = nextTwoChars.match(emojiMatchedReg);
if (emojiMatched) {
output = source.slice(0, 2);
} else {
output = source.slice(0, 1);
}
}
} else {
output = source.slice(0, position) + source.slice(positionEnd);
if (moveCaret) {
this.dispatch((instance: any) => {
instance.setCaretPosition(position);
});
}
}
return output;
}
/** /**
* Determines whether the maxLength has been reached. This function is called when the maxLength option it set. * Determines whether the maxLength has been reached. This function is called when the maxLength option it set.
* *
@@ -362,7 +429,7 @@ class Utilities {
handleMaxLength(inputObj: KeyboardInput, updatedInput: string) { handleMaxLength(inputObj: KeyboardInput, updatedInput: string) {
const options = this.getOptions(); const options = this.getOptions();
const maxLength = options.maxLength; const maxLength = options.maxLength;
const currentInput = inputObj[options.inputName]; const currentInput = inputObj[options.inputName || "default"];
const condition = updatedInput.length - 1 >= maxLength; const condition = updatedInput.length - 1 >= maxLength;
if ( if (
@@ -393,7 +460,8 @@ class Utilities {
} }
if (typeof maxLength === "object") { if (typeof maxLength === "object") {
const condition = updatedInput.length - 1 >= maxLength[options.inputName]; const condition =
updatedInput.length - 1 >= maxLength[options.inputName || "default"];
if (options.debug) { if (options.debug) {
console.log("maxLength (obj) reached:", condition); console.log("maxLength (obj) reached:", condition);
@@ -451,7 +519,7 @@ class Utilities {
* @param {string} str The string to transform. * @param {string} str The string to transform.
*/ */
camelCase(str: string): string { camelCase(str: string): string {
if (!str) return; if (!str) return "";
return str return str
.toLowerCase() .toLowerCase()
+10
View File
@@ -34,6 +34,16 @@ it('Keyboard {bksp} button will work', () => {
expect(output).toBe("tes"); expect(output).toBe("tes");
}); });
it('Keyboard {delete} button will work', () => {
setDOM();
const keyboard = new Keyboard();
const output = keyboard.utilities.getUpdatedInput("{delete}", "test", 1);
expect(output).toBe("tst");
});
it('Keyboard {space} button will work', () => { it('Keyboard {space} button will work', () => {
setDOM(); setDOM();
+2 -1
View File
@@ -11,7 +11,8 @@
"suppressImplicitAnyIndexErrors": true, "suppressImplicitAnyIndexErrors": true,
"lib": ["es2020", "dom"], "lib": ["es2020", "dom"],
"moduleResolution": "node", "moduleResolution": "node",
"downlevelIteration": true "downlevelIteration": true,
"strict": true
}, },
"include": ["src/lib"], "include": ["src/lib"],
"exclude": ["src/lib/**/tests"], "exclude": ["src/lib/**/tests"],
+1
View File
@@ -27,6 +27,7 @@ const banner = `
module.exports = { module.exports = {
mode: "production", mode: "production",
entry: './src/lib/index.ts', entry: './src/lib/index.ts',
target: 'es5',
output: { output: {
filename: 'index.js', filename: 'index.js',
path: path.resolve(__dirname, 'build'), path: path.resolve(__dirname, 'build'),