From 062696958bf883ed58071c19d69fcaa8d1e0d1b3 Mon Sep 17 00:00:00 2001 From: Michael Shanks Date: Fri, 11 Sep 2020 10:39:16 +0100 Subject: [PATCH] removing feather icons - no longer used --- packages/builder/package.json | 1 - packages/builder/src/components/common/icon.js | 4 ---- packages/builder/yarn.lock | 15 --------------- 3 files changed, 20 deletions(-) delete mode 100644 packages/builder/src/components/common/icon.js diff --git a/packages/builder/package.json b/packages/builder/package.json index ea555007a9..599baf4536 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -72,7 +72,6 @@ "d3-selection": "^1.4.1", "deepmerge": "^4.2.2", "fast-sort": "^2.2.0", - "feather-icons": "^4.21.0", "lodash": "^4.17.13", "mustache": "^4.0.1", "posthog-js": "1.3.1", diff --git a/packages/builder/src/components/common/icon.js b/packages/builder/src/components/common/icon.js deleted file mode 100644 index 3ac2921e60..0000000000 --- a/packages/builder/src/components/common/icon.js +++ /dev/null @@ -1,4 +0,0 @@ -import feather from "feather-icons" -const getIcon = (icon, size) => - feather.icons[icon].toSvg({ height: size || "16", width: size || "16" }) -export default getIcon diff --git a/packages/builder/yarn.lock b/packages/builder/yarn.lock index b79accc67c..77a3a8c356 100644 --- a/packages/builder/yarn.lock +++ b/packages/builder/yarn.lock @@ -1832,10 +1832,6 @@ class-utils@^0.3.5: isobject "^3.0.0" static-extend "^0.1.1" -classnames@^2.2.5: - version "2.2.6" - resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.2.6.tgz#43935bffdd291f326dad0a205309b38d00f650ce" - cli-cursor@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-1.0.2.tgz#64da3f7d56a54412e59794bd62dc35295e8f2987" @@ -1983,10 +1979,6 @@ core-js-pure@^3.0.0: version "3.6.5" resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.6.5.tgz#c79e75f5e38dbc85a662d91eea52b8256d53b813" -core-js@^3.1.3: - version "3.6.5" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.6.5.tgz#7395dc273af37fb2e50e9bd3d9fe841285231d1a" - core-util-is@1.0.2, core-util-is@~1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" @@ -2905,13 +2897,6 @@ fd-slicer@~1.1.0: dependencies: pend "~1.2.0" -feather-icons@^4.21.0: - version "4.28.0" - resolved "https://registry.yarnpkg.com/feather-icons/-/feather-icons-4.28.0.tgz#e1892a401fe12c4559291770ff6e68b0168e760f" - dependencies: - classnames "^2.2.5" - core-js "^3.1.3" - figures@^1.7.0: version "1.7.0" resolved "https://registry.yarnpkg.com/figures/-/figures-1.7.0.tgz#cbe1e3affcf1cd44b80cadfed28dc793a9701d2e"