From 49d0e3fa64c6a55650e808f31f1c67bd598a3508 Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 26 Oct 2017 22:44:57 -0700 Subject: [PATCH] Add whatinput dependency for more responsive focus styling --- app/javascript/packs/application.js | 2 ++ package.json | 3 ++- yarn.lock | 4 ++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/javascript/packs/application.js b/app/javascript/packs/application.js index 91240aecf..3d021a632 100644 --- a/app/javascript/packs/application.js +++ b/app/javascript/packs/application.js @@ -9,3 +9,5 @@ loadPolyfills().then(() => { }).catch(e => { console.error(e); }); + +require('what-input'); diff --git a/package.json b/package.json index 7b8f49dd8..573dc67c0 100644 --- a/package.json +++ b/package.json @@ -168,7 +168,8 @@ "webpack-bundle-analyzer": "^4.1.0", "webpack-cli": "^3.3.12", "webpack-merge": "^5.4.0", - "wicg-inert": "^3.1.0" + "wicg-inert": "^3.1.0", + "what-input": "^4.3.1" }, "devDependencies": { "@testing-library/jest-dom": "^5.11.6", diff --git a/yarn.lock b/yarn.lock index 4aa8f6380..95e928980 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11149,6 +11149,10 @@ websocket-extensions@>=0.1.1: resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.4.tgz#7f8473bc839dfd87608adb95d7eb075211578a42" integrity sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg== +what-input@^4.3.1: + version "4.3.1" + resolved "https://registry.yarnpkg.com/what-input/-/what-input-4.3.1.tgz#b8ea7554ba1d9171887c4c6addf28185fec3d31d" + whatwg-encoding@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz#5abacf777c32166a51d085d6b4f3e7d27113ddb0"