From 1cadb01e8d5b30b2122a0470c074553e1314f53f Mon Sep 17 00:00:00 2001 From: Mikunj Date: Tue, 31 Mar 2020 12:22:32 +1100 Subject: [PATCH] Remove intl-tel-input --- bower.json | 1 - package.json | 1 - stylesheets/_options.scss | 13 ------------- stylesheets/_theme_dark.scss | 3 --- ts/util/lint/linter.ts | 1 - yarn.lock | 5 ----- 6 files changed, 24 deletions(-) diff --git a/bower.json b/bower.json index 8b2fbba06..751d468d0 100644 --- a/bower.json +++ b/bower.json @@ -56,7 +56,6 @@ "node_modules/backbone/backbone.js", "components/indexeddb-backbonejs-adapter/**/*.js", "components/qrcode/**/*.js", - "node_modules/intl-tel-input/build/js/intlTelInput.js", "components/autosize/**/*.js", "components/webaudiorecorder/lib/WebAudioRecorder.js", "components/multibase/dist/index.js" diff --git a/package.json b/package.json index 25e45860b..f35fafb8d 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,6 @@ "fs-extra": "9.0.0", "glob": "7.1.2", "he": "1.2.0", - "intl-tel-input": "12.1.15", "jquery": "3.3.1", "js-sha512": "0.8.0", "js-yaml": "3.13.0", diff --git a/stylesheets/_options.scss b/stylesheets/_options.scss index a28bbafcb..51b78dccd 100644 --- a/stylesheets/_options.scss +++ b/stylesheets/_options.scss @@ -1,15 +1,2 @@ @import 'variables'; -@import '../node_modules/intl-tel-input/build/css/intlTelInput.css'; @import 'progress'; -.iti-flag { - // override intlTelInput's flags image location - background: url('../node_modules/intl-tel-input/build/img/flags.png'); -} - -.intl-tel-input .country-list { - text-align: left; -} - -.intl-tel-input .country-list .country .country-name { - color: #000; -} diff --git a/stylesheets/_theme_dark.scss b/stylesheets/_theme_dark.scss index 39de2faad..b291bb442 100644 --- a/stylesheets/_theme_dark.scss +++ b/stylesheets/_theme_dark.scss @@ -1670,9 +1670,6 @@ body.dark-theme { // _options - .intl-tel-input .country-list .country .country-name { - color: #000; - } // _progress diff --git a/ts/util/lint/linter.ts b/ts/util/lint/linter.ts index 1ada85d60..a1ad506f7 100644 --- a/ts/util/lint/linter.ts +++ b/ts/util/lint/linter.ts @@ -122,7 +122,6 @@ const excludedFiles = [ '^node_modules/hpack\\.js/*', '^node_modules/http-proxy-middlewar/*', '^node_modules/icss-utils/*', - '^node_modules/intl-tel-input/examples/*', '^node_modules/istanbul*', '^node_modules/jimp/*', '^node_modules/jquery/*', diff --git a/yarn.lock b/yarn.lock index 0ae3a8296..abb2c1f7c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5010,11 +5010,6 @@ internal-ip@1.2.0: dependencies: meow "^3.3.0" -intl-tel-input@12.1.15: - version "12.1.15" - resolved "https://registry.yarnpkg.com/intl-tel-input/-/intl-tel-input-12.1.15.tgz#7393e6b77572731bbc65ca4585782e8ba3d74de4" - integrity sha512-9TN9x6aGdO1eL6iGFpobuLU4UymZqjSnS9UnsOSi//LU3A8nkLOcokSYBYjak18Uu8OM59HsGYDd1jKmwRsskw== - invariant@^2.2.2, invariant@^2.2.4: version "2.2.4" resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6"