From 71d1e98765e6f56c116e121d7b20d869c9967776 Mon Sep 17 00:00:00 2001 From: Pranav Raj S Date: Wed, 20 Sep 2023 05:48:55 -0700 Subject: [PATCH] chore: Remove spinkit from dependencies (#7948) --- .../administrate/utilities/_variables.scss | 5 ---- .../dashboard/assets/scss/_variables.scss | 5 ---- .../dashboard/assets/scss/storybook.scss | 1 - .../widget/assets/scss/_variables.scss | 23 ++++++++----------- app/javascript/widget/assets/scss/woot.scss | 1 - package.json | 2 -- yarn.lock | 23 ------------------- 7 files changed, 9 insertions(+), 51 deletions(-) diff --git a/app/assets/stylesheets/administrate/utilities/_variables.scss b/app/assets/stylesheets/administrate/utilities/_variables.scss index db8d1a302ed4e..818f96e4c89dd 100644 --- a/app/assets/stylesheets/administrate/utilities/_variables.scss +++ b/app/assets/stylesheets/administrate/utilities/_variables.scss @@ -78,11 +78,6 @@ $conv-header-height: 4rem; $inbox-thumb-size: 4.8rem; -// Spinner -$spinkit-spinner-color: $color-white !default; -$spinkit-spinner-margin: 0 0 0 1.6rem !default; -$spinkit-size: 1.6rem !default; - // Snackbar default $woot-snackbar-bg: #323232; $woot-snackbar-button: #ffeb3b; diff --git a/app/javascript/dashboard/assets/scss/_variables.scss b/app/javascript/dashboard/assets/scss/_variables.scss index 930fe5f0e73ab..b50643bd40e82 100644 --- a/app/javascript/dashboard/assets/scss/_variables.scss +++ b/app/javascript/dashboard/assets/scss/_variables.scss @@ -81,11 +81,6 @@ $conv-header-height: 2.5rem; $inbox-thumb-size: 3rem; -// Spinner -$spinkit-spinner-color: $color-white !default; -$spinkit-spinner-margin: 0 0 0 1rem !default; -$spinkit-size: 1rem !default; - // Snackbar default $woot-snackbar-bg: #323232; $woot-snackbar-button: #ffeb3b; diff --git a/app/javascript/dashboard/assets/scss/storybook.scss b/app/javascript/dashboard/assets/scss/storybook.scss index e735ed3d76d56..457560aa9ffae 100644 --- a/app/javascript/dashboard/assets/scss/storybook.scss +++ b/app/javascript/dashboard/assets/scss/storybook.scss @@ -9,7 +9,6 @@ @import 'shared/assets/stylesheets/border-radius'; @import 'variables'; -@import '~spinkit/scss/spinners/7-three-bounce'; @import 'vue-multiselect/dist/vue-multiselect.min.css'; @import '~shared/assets/stylesheets/ionicons'; diff --git a/app/javascript/widget/assets/scss/_variables.scss b/app/javascript/widget/assets/scss/_variables.scss index 73c4fce1bcb2a..a0033266df81e 100755 --- a/app/javascript/widget/assets/scss/_variables.scss +++ b/app/javascript/widget/assets/scss/_variables.scss @@ -59,11 +59,6 @@ $color-success: #44ce4b; $color-primary-light: #c7e3ff; $color-primary-dark: darken($color-woot, 20%); -// Spinner -$spinkit-spinner-color: $color-white !default; -$spinkit-spinner-margin: 0 0 0 1.6rem !default; -$spinkit-size: 1.6rem !default; - // Snackbar default $woot-snackbar-bg: #323232; $woot-snackbar-button: #ffeb3b; @@ -78,15 +73,15 @@ $footer-height: 11.2rem; $header-expanded-height: $space-medium * 10; $font-family: 'Inter', --apple-system, -system-ui, -BlinkMacSystemFont, -'Segoe UI', -Roboto, -'Helvetica Neue', -Tahoma, -Arial, -sans-serif; + -apple-system, + system-ui, + BlinkMacSystemFont, + 'Segoe UI', + Roboto, + 'Helvetica Neue', + Tahoma, + Arial, + sans-serif; // Break points $break-point-medium: 667px; diff --git a/app/javascript/widget/assets/scss/woot.scss b/app/javascript/widget/assets/scss/woot.scss index a4957c3da1bdb..6c5cdc2e307d0 100755 --- a/app/javascript/widget/assets/scss/woot.scss +++ b/app/javascript/widget/assets/scss/woot.scss @@ -11,7 +11,6 @@ @import 'forms'; @import 'utilities'; @import 'shared/assets/fonts/widget_fonts'; -@import '~spinkit/scss/spinners/7-three-bounce'; @import 'views/conversation'; html, diff --git a/package.json b/package.json index b4a6ca3cfe3d9..2dbe792913ff2 100644 --- a/package.json +++ b/package.json @@ -67,11 +67,9 @@ "md5": "^2.3.0", "ninja-keys": "^1.1.9", "opus-recorder": "^8.0.5", - "pinia": "^2.1.4", "postcss": "^8.4.24", "postcss-loader": "^4.2.0", "semver": "7.5.2", - "spinkit": "~1.2.5", "tailwindcss": "^3.3.2", "turbolinks": "^5.2.0", "url-loader": "^2.0.0", diff --git a/yarn.lock b/yarn.lock index 710019a8483df..272c61f2c7542 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6472,11 +6472,6 @@ optionalDependencies: prettier "^1.18.2" -"@vue/devtools-api@^6.5.0": - version "6.5.0" - resolved "https://registry.yarnpkg.com/@vue/devtools-api/-/devtools-api-6.5.0.tgz#98b99425edee70b4c992692628fa1ea2c1e57d07" - integrity sha512-o9KfBeaBmCKl10usN4crU53fYtC1r7jJwdGKjPT24t348rHxgfpZ0xL3Xm/gLUYnc0oTp8LAmrxOeLyu6tbk2Q== - "@vue/reactivity-transform@3.3.4": version "3.3.4" resolved "https://registry.yarnpkg.com/@vue/reactivity-transform/-/reactivity-transform-3.3.4.tgz#52908476e34d6a65c6c21cd2722d41ed8ae51929" @@ -15633,14 +15628,6 @@ pify@^4.0.1: resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231" integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g== -pinia@^2.1.4: - version "2.1.4" - resolved "https://registry.yarnpkg.com/pinia/-/pinia-2.1.4.tgz#a642adfe6208e10c36d3dc16184a91064788142a" - integrity sha512-vYlnDu+Y/FXxv1ABo1vhjC+IbqvzUdiUC3sfDRrRyY2CQSrqqaa+iiHmqtARFxJVqWQMCJfXx1PBvFs9aJVLXQ== - dependencies: - "@vue/devtools-api" "^6.5.0" - vue-demi ">=0.14.5" - pinkie-promise@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" @@ -18654,11 +18641,6 @@ spdy@^4.0.2: select-hose "^2.0.0" spdy-transport "^3.0.0" -spinkit@~1.2.5: - version "1.2.5" - resolved "https://registry.yarnpkg.com/spinkit/-/spinkit-1.2.5.tgz#90f9f466a20e8e39ef24da959c1e611c2a30dd54" - integrity sha1-kPn0ZqIOjjnvJNqVnB5hHCow3VQ= - split-string@^3.0.1, split-string@^3.0.2: version "3.1.0" resolved "https://registry.yarnpkg.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2" @@ -20236,11 +20218,6 @@ vue-color@2.8.1: material-colors "^1.0.0" tinycolor2 "^1.1.2" -vue-demi@>=0.14.5: - version "0.14.5" - resolved "https://registry.yarnpkg.com/vue-demi/-/vue-demi-0.14.5.tgz#676d0463d1a1266d5ab5cba932e043d8f5f2fbd9" - integrity sha512-o9NUVpl/YlsGJ7t+xuqJKx8EBGf1quRhCiT6D/J0pfwmk9zUwYkC7yrF4SZCe6fETvSM3UNL2edcbYrSyc4QHA== - vue-docgen-api@^4.44.15: version "4.73.0" resolved "https://registry.yarnpkg.com/vue-docgen-api/-/vue-docgen-api-4.73.0.tgz#13ef47c349374f5fd375093199085bd83e6b096c"