about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew <andrewLchronister@gmail.com>2017-10-26 22:44:57 -0700
committerchr <chr@cybre.space>2021-03-01 22:57:44 -0800
commit49d0e3fa64c6a55650e808f31f1c67bd598a3508 (patch)
tree4a9a925c1c115e20e5e25d9fd8cc59776e800ad4
parent633d175146d6acaf2cc4bfbfcfdee4c85ef20ed1 (diff)
Add whatinput dependency for more responsive focus styling
-rw-r--r--app/javascript/packs/application.js2
-rw-r--r--package.json3
-rw-r--r--yarn.lock4
3 files changed, 8 insertions, 1 deletions
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"