From 194cef6abc97ed7e3522901f7398b915fae7d9ab Mon Sep 17 00:00:00 2001 From: Kata Date: Thu, 7 May 2020 23:25:58 -0400 Subject: [PATCH] feat: replace uk-icons with react-icons/go --- UI/package-lock.json | 8 +++++ UI/package.json | 1 + UI/public/index.html | 4 --- UI/src/components/role-editor/Category.js | 21 ++++++++----- .../components/role-editor/CategoryEditor.js | 17 +++++----- UI/src/components/role-editor/actions.js | 29 +++++++---------- UI/src/components/role-editor/index.js | 13 ++++---- UI/src/components/role-picker/index.js | 31 +++++++++++++------ UI/src/components/servers/Navigation.js | 12 ++++--- UI/src/components/servers/ServerCard.js | 11 ++++--- UI/src/components/servers/UserCard.js | 24 +++++--------- UI/src/generic.sass | 16 ++++++---- UI/src/pages/WhyNoRoles.js | 14 ++++----- 13 files changed, 110 insertions(+), 91 deletions(-) diff --git a/UI/package-lock.json b/UI/package-lock.json index 0157987..20a1427 100644 --- a/UI/package-lock.json +++ b/UI/package-lock.json @@ -12688,6 +12688,14 @@ "resolved": "https://registry.npmjs.org/react-error-overlay/-/react-error-overlay-6.0.7.tgz", "integrity": "sha512-TAv1KJFh3RhqxNvhzxj6LeT5NWklP6rDr2a0jaTfsZ5wSZWHOGeqQyejUp3xxLfPt2UpyJEcVQB/zyPcmonNFA==" }, + "react-icons": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-3.10.0.tgz", + "integrity": "sha512-WsQ5n1JToG9VixWilSo1bHv842Cj5aZqTGiS3Ud47myF6aK7S/IUY2+dHcBdmkQcCFRuHsJ9OMUI0kTDfjyZXQ==", + "requires": { + "camelcase": "^5.0.0" + } + }, "react-immutable-proptypes": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/react-immutable-proptypes/-/react-immutable-proptypes-2.1.0.tgz", diff --git a/UI/package.json b/UI/package.json index a0a07b6..37c659e 100644 --- a/UI/package.json +++ b/UI/package.json @@ -13,6 +13,7 @@ "react-dnd": "^7.0.0", "react-dnd-html5-backend": "^7.0.0", "react-dom": "^16.13.1", + "react-icons": "^3.10.0", "react-immutable-proptypes": "^2.1.0", "react-redux": "^7.2.0", "react-router": "^5.1.2", diff --git a/UI/public/index.html b/UI/public/index.html index 15608bf..1bd7532 100644 --- a/UI/public/index.html +++ b/UI/public/index.html @@ -20,10 +20,6 @@ defer src="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.4.4/js/uikit.min.js" > -