Skip to content

Commit

Permalink
chore: Remove spinkit from dependencies (chatwoot#7948)
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavrajs authored Sep 20, 2023
1 parent 2c93d56 commit 71d1e98
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 51 deletions.
5 changes: 0 additions & 5 deletions app/assets/stylesheets/administrate/utilities/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
5 changes: 0 additions & 5 deletions app/javascript/dashboard/assets/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion app/javascript/dashboard/assets/scss/storybook.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
23 changes: 9 additions & 14 deletions app/javascript/widget/assets/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
1 change: 0 additions & 1 deletion app/javascript/widget/assets/scss/woot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
23 changes: 0 additions & 23 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]":
version "3.3.4"
resolved "https://registry.yarnpkg.com/@vue/reactivity-transform/-/reactivity-transform-3.3.4.tgz#52908476e34d6a65c6c21cd2722d41ed8ae51929"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -20236,11 +20218,6 @@ [email protected]:
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"
Expand Down

0 comments on commit 71d1e98

Please sign in to comment.