From 5e2dce8f3f4ae65463e0994d2b3accc0d051daac Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Fri, 11 Aug 2023 23:21:34 +0200 Subject: [PATCH] Update to shlink-frontend-kit 0.2.0 --- package-lock.json | 14 +++++++------- package.json | 2 +- .../src/overview/helpers/HighlightCard.scss | 2 +- src/index.scss | 13 ------------- 4 files changed, 9 insertions(+), 22 deletions(-) diff --git a/package-lock.json b/package-lock.json index f6694e1c..928eeb18 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "@fortawesome/react-fontawesome": "^0.2.0", "@json2csv/plainjs": "^7.0.1", "@reduxjs/toolkit": "^1.9.5", - "@shlinkio/shlink-frontend-kit": "^0.1.2", + "@shlinkio/shlink-frontend-kit": "^0.2.0", "bootstrap": "5.2.3", "bottlejs": "^2.0.1", "bowser": "^2.11.0", @@ -3109,9 +3109,9 @@ "dev": true }, "node_modules/@shlinkio/shlink-frontend-kit": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/@shlinkio/shlink-frontend-kit/-/shlink-frontend-kit-0.1.2.tgz", - "integrity": "sha512-7PppdcD7Urv5wJYxXR1X9KIJC9MbQXReG6qtusjSeUdyjeliux/6LclHlZteWwT5JuVvdV+FPVpbxl+D4wLXsw==", + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@shlinkio/shlink-frontend-kit/-/shlink-frontend-kit-0.2.0.tgz", + "integrity": "sha512-8kGaae0bTiGzbLzPsolLvJ5ud37BR2b1WeDy8lyXIiwoFiSAMIgWpqro0nMdBVBQXovjmMbtiS6BFYsaoBo9/g==", "dependencies": { "classnames": "^2.3.2", "qs": "^6.11.2", @@ -13326,9 +13326,9 @@ } }, "@shlinkio/shlink-frontend-kit": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/@shlinkio/shlink-frontend-kit/-/shlink-frontend-kit-0.1.2.tgz", - "integrity": "sha512-7PppdcD7Urv5wJYxXR1X9KIJC9MbQXReG6qtusjSeUdyjeliux/6LclHlZteWwT5JuVvdV+FPVpbxl+D4wLXsw==", + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@shlinkio/shlink-frontend-kit/-/shlink-frontend-kit-0.2.0.tgz", + "integrity": "sha512-8kGaae0bTiGzbLzPsolLvJ5ud37BR2b1WeDy8lyXIiwoFiSAMIgWpqro0nMdBVBQXovjmMbtiS6BFYsaoBo9/g==", "requires": { "classnames": "^2.3.2", "qs": "^6.11.2", diff --git a/package.json b/package.json index 75c865f8..48296338 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "@fortawesome/react-fontawesome": "^0.2.0", "@json2csv/plainjs": "^7.0.1", "@reduxjs/toolkit": "^1.9.5", - "@shlinkio/shlink-frontend-kit": "^0.1.2", + "@shlinkio/shlink-frontend-kit": "^0.2.0", "bootstrap": "5.2.3", "bottlejs": "^2.0.1", "bowser": "^2.11.0", diff --git a/shlink-web-component/src/overview/helpers/HighlightCard.scss b/shlink-web-component/src/overview/helpers/HighlightCard.scss index 1c41f361..a51b5309 100644 --- a/shlink-web-component/src/overview/helpers/HighlightCard.scss +++ b/shlink-web-component/src/overview/helpers/HighlightCard.scss @@ -1,6 +1,6 @@ @import 'node_modules/@shlinkio/shlink-frontend-kit/dist/base'; -.highlight-card.highlight-card { +.highlight-card.highlight-card.highlight-card { text-align: center; border-top: 3px solid var(--brand-color); color: inherit; diff --git a/src/index.scss b/src/index.scss index fe2dbf0f..c19dad45 100644 --- a/src/index.scss +++ b/src/index.scss @@ -6,16 +6,3 @@ * { outline: none !important; } - -:root { - scroll-behavior: auto; - color-scheme: var(--color-scheme); -} - -html, -body, -#root { - height: 100%; - background: var(--secondary-color); - color: var(--text-color); -}