From fc4f120487d5143b1418909f962abcbfc4b53e23 Mon Sep 17 00:00:00 2001 From: Tom French <tom@tomfren.ch> Date: Sun, 17 Jul 2022 12:03:11 +0100 Subject: [PATCH] revert: revert pruning of svg imports --- packages/loot-design/src/svg/Add.mobile.js | 19 +++++++++++++++++- packages/loot-design/src/svg/Bank.mobile.js | 19 +++++++++++++++++- packages/loot-design/src/svg/Budget.mobile.js | 19 +++++++++++++++++- packages/loot-design/src/svg/Delete.mobile.js | 19 +++++++++++++++++- .../loot-design/src/svg/DownArrow.mobile.js | 19 +++++++++++++++++- .../loot-design/src/svg/DragIOS.mobile.js | 19 +++++++++++++++++- .../loot-design/src/svg/ExpandArrow.mobile.js | 19 +++++++++++++++++- .../loot-design/src/svg/LeftArrow.mobile.js | 19 +++++++++++++++++- .../loot-design/src/svg/LeftArrow2.mobile.js | 19 +++++++++++++++++- .../loot-design/src/svg/LeftArrow3.mobile.js | 19 +++++++++++++++++- .../loot-design/src/svg/Loading.mobile.js | 9 +++++++++ packages/loot-design/src/svg/Logo.mobile.js | 19 +++++++++++++++++- packages/loot-design/src/svg/Math.mobile.js | 19 +++++++++++++++++- packages/loot-design/src/svg/Pencil.mobile.js | 19 +++++++++++++++++- .../loot-design/src/svg/Reports.mobile.js | 20 +++++++++++++++++-- .../loot-design/src/svg/RightArrow.mobile.js | 20 +++++++++++++++++-- .../loot-design/src/svg/RightArrow2.mobile.js | 19 +++++++++++++++++- packages/loot-design/src/svg/Search.mobile.js | 19 +++++++++++++++++- .../loot-design/src/svg/Settings.mobile.js | 19 +++++++++++++++++- .../loot-design/src/svg/Subtract.mobile.js | 19 +++++++++++++++++- packages/loot-design/src/svg/merge.mobile.js | 19 +++++++++++++++++- packages/loot-design/src/svg/split.mobile.js | 19 +++++++++++++++++- 22 files changed, 387 insertions(+), 23 deletions(-) diff --git a/packages/loot-design/src/svg/Add.mobile.js b/packages/loot-design/src/svg/Add.mobile.js index 582ac853b..1f16d3aae 100644 --- a/packages/loot-design/src/svg/Add.mobile.js +++ b/packages/loot-design/src/svg/Add.mobile.js @@ -1,7 +1,24 @@ /* This file is auto-generated, do not touch! Please edit the SVG file instead. */ import React from "react"; -import { Svg, Path } from "mobile/node_modules/react-native-svg"; +import { + Svg, + Circle, + Ellipse, + G, + LinearGradient, + RadialGradient, + Line, + Path, + Polygon, + Polyline, + Rect, + Symbol, + Text, + Use, + Defs, + Stop +} from "mobile/node_modules/react-native-svg"; function Add({ width, height, style, color = "black", ...props }) { return ( diff --git a/packages/loot-design/src/svg/Bank.mobile.js b/packages/loot-design/src/svg/Bank.mobile.js index 42ba26ec3..6f619a63f 100644 --- a/packages/loot-design/src/svg/Bank.mobile.js +++ b/packages/loot-design/src/svg/Bank.mobile.js @@ -1,7 +1,24 @@ /* This file is auto-generated, do not touch! Please edit the SVG file instead. */ import React from "react"; -import { Svg, Path } from "mobile/node_modules/react-native-svg"; +import { + Svg, + Circle, + Ellipse, + G, + LinearGradient, + RadialGradient, + Line, + Path, + Polygon, + Polyline, + Rect, + Symbol, + Text, + Use, + Defs, + Stop +} from "mobile/node_modules/react-native-svg"; function Bank({ width, height, style, color = "black", ...props }) { return ( diff --git a/packages/loot-design/src/svg/Budget.mobile.js b/packages/loot-design/src/svg/Budget.mobile.js index 72426c60b..3a223a5ff 100644 --- a/packages/loot-design/src/svg/Budget.mobile.js +++ b/packages/loot-design/src/svg/Budget.mobile.js @@ -1,7 +1,24 @@ /* This file is auto-generated, do not touch! Please edit the SVG file instead. */ import React from "react"; -import { Svg, Path } from "mobile/node_modules/react-native-svg"; +import { + Svg, + Circle, + Ellipse, + G, + LinearGradient, + RadialGradient, + Line, + Path, + Polygon, + Polyline, + Rect, + Symbol, + Text, + Use, + Defs, + Stop +} from "mobile/node_modules/react-native-svg"; function Budget({ width, height, style, color = "black", ...props }) { return ( diff --git a/packages/loot-design/src/svg/Delete.mobile.js b/packages/loot-design/src/svg/Delete.mobile.js index 467b97da5..bb5efd982 100644 --- a/packages/loot-design/src/svg/Delete.mobile.js +++ b/packages/loot-design/src/svg/Delete.mobile.js @@ -1,7 +1,24 @@ /* This file is auto-generated, do not touch! Please edit the SVG file instead. */ import React from "react"; -import { Svg, Path } from "mobile/node_modules/react-native-svg"; +import { + Svg, + Circle, + Ellipse, + G, + LinearGradient, + RadialGradient, + Line, + Path, + Polygon, + Polyline, + Rect, + Symbol, + Text, + Use, + Defs, + Stop +} from "mobile/node_modules/react-native-svg"; function Delete({ width, height, style, color = "black", ...props }) { return ( diff --git a/packages/loot-design/src/svg/DownArrow.mobile.js b/packages/loot-design/src/svg/DownArrow.mobile.js index 528149e3b..e0582cf08 100644 --- a/packages/loot-design/src/svg/DownArrow.mobile.js +++ b/packages/loot-design/src/svg/DownArrow.mobile.js @@ -1,7 +1,24 @@ /* This file is auto-generated, do not touch! Please edit the SVG file instead. */ import React from "react"; -import { Svg, Path } from "mobile/node_modules/react-native-svg"; +import { + Svg, + Circle, + Ellipse, + G, + LinearGradient, + RadialGradient, + Line, + Path, + Polygon, + Polyline, + Rect, + Symbol, + Text, + Use, + Defs, + Stop +} from "mobile/node_modules/react-native-svg"; function DownArrow({ width, height, style, color = "black", ...props }) { return ( diff --git a/packages/loot-design/src/svg/DragIOS.mobile.js b/packages/loot-design/src/svg/DragIOS.mobile.js index 6533fd8d1..252933f7d 100644 --- a/packages/loot-design/src/svg/DragIOS.mobile.js +++ b/packages/loot-design/src/svg/DragIOS.mobile.js @@ -1,7 +1,24 @@ /* This file is auto-generated, do not touch! Please edit the SVG file instead. */ import React from "react"; -import { Svg, Path } from "mobile/node_modules/react-native-svg"; +import { + Svg, + Circle, + Ellipse, + G, + LinearGradient, + RadialGradient, + Line, + Path, + Polygon, + Polyline, + Rect, + Symbol, + Text, + Use, + Defs, + Stop +} from "mobile/node_modules/react-native-svg"; function DragIos({ width, height, style, color = "black", ...props }) { return ( diff --git a/packages/loot-design/src/svg/ExpandArrow.mobile.js b/packages/loot-design/src/svg/ExpandArrow.mobile.js index 707720d05..5a5fceb0f 100644 --- a/packages/loot-design/src/svg/ExpandArrow.mobile.js +++ b/packages/loot-design/src/svg/ExpandArrow.mobile.js @@ -1,7 +1,24 @@ /* This file is auto-generated, do not touch! Please edit the SVG file instead. */ import React from "react"; -import { Svg, Path } from "mobile/node_modules/react-native-svg"; +import { + Svg, + Circle, + Ellipse, + G, + LinearGradient, + RadialGradient, + Line, + Path, + Polygon, + Polyline, + Rect, + Symbol, + Text, + Use, + Defs, + Stop +} from "mobile/node_modules/react-native-svg"; function ExpandArrow({ width, height, style, color = "black", ...props }) { return ( diff --git a/packages/loot-design/src/svg/LeftArrow.mobile.js b/packages/loot-design/src/svg/LeftArrow.mobile.js index 2a2e28c50..23a1244dd 100644 --- a/packages/loot-design/src/svg/LeftArrow.mobile.js +++ b/packages/loot-design/src/svg/LeftArrow.mobile.js @@ -1,7 +1,24 @@ /* This file is auto-generated, do not touch! Please edit the SVG file instead. */ import React from "react"; -import { Svg, Path } from "mobile/node_modules/react-native-svg"; +import { + Svg, + Circle, + Ellipse, + G, + LinearGradient, + RadialGradient, + Line, + Path, + Polygon, + Polyline, + Rect, + Symbol, + Text, + Use, + Defs, + Stop +} from "mobile/node_modules/react-native-svg"; function LeftArrow({ width, height, style, color = "black", ...props }) { return ( diff --git a/packages/loot-design/src/svg/LeftArrow2.mobile.js b/packages/loot-design/src/svg/LeftArrow2.mobile.js index 7e2a2f5b5..3b4d5c3c4 100644 --- a/packages/loot-design/src/svg/LeftArrow2.mobile.js +++ b/packages/loot-design/src/svg/LeftArrow2.mobile.js @@ -1,7 +1,24 @@ /* This file is auto-generated, do not touch! Please edit the SVG file instead. */ import React from "react"; -import { Svg, Path } from "mobile/node_modules/react-native-svg"; +import { + Svg, + Circle, + Ellipse, + G, + LinearGradient, + RadialGradient, + Line, + Path, + Polygon, + Polyline, + Rect, + Symbol, + Text, + Use, + Defs, + Stop +} from "mobile/node_modules/react-native-svg"; function LeftArrow2({ width, height, style, color = "black", ...props }) { return ( diff --git a/packages/loot-design/src/svg/LeftArrow3.mobile.js b/packages/loot-design/src/svg/LeftArrow3.mobile.js index 2ea48d0ea..7efb98281 100644 --- a/packages/loot-design/src/svg/LeftArrow3.mobile.js +++ b/packages/loot-design/src/svg/LeftArrow3.mobile.js @@ -1,7 +1,24 @@ /* This file is auto-generated, do not touch! Please edit the SVG file instead. */ import React from "react"; -import { Svg, Path } from "mobile/node_modules/react-native-svg"; +import { + Svg, + Circle, + Ellipse, + G, + LinearGradient, + RadialGradient, + Line, + Path, + Polygon, + Polyline, + Rect, + Symbol, + Text, + Use, + Defs, + Stop +} from "mobile/node_modules/react-native-svg"; function LeftArrow3({ width, height, style, color = "black", ...props }) { return ( diff --git a/packages/loot-design/src/svg/Loading.mobile.js b/packages/loot-design/src/svg/Loading.mobile.js index 9147af3e8..07c28a4ff 100644 --- a/packages/loot-design/src/svg/Loading.mobile.js +++ b/packages/loot-design/src/svg/Loading.mobile.js @@ -4,9 +4,18 @@ import React from "react"; import { Svg, Circle, + Ellipse, G, LinearGradient, + RadialGradient, + Line, Path, + Polygon, + Polyline, + Rect, + Symbol, + Text, + Use, Defs, Stop } from "mobile/node_modules/react-native-svg"; diff --git a/packages/loot-design/src/svg/Logo.mobile.js b/packages/loot-design/src/svg/Logo.mobile.js index 2ba08921f..1fafa5bbf 100644 --- a/packages/loot-design/src/svg/Logo.mobile.js +++ b/packages/loot-design/src/svg/Logo.mobile.js @@ -1,7 +1,24 @@ /* This file is auto-generated, do not touch! Please edit the SVG file instead. */ import React from "react"; -import { Svg, Path } from "mobile/node_modules/react-native-svg"; +import { + Svg, + Circle, + Ellipse, + G, + LinearGradient, + RadialGradient, + Line, + Path, + Polygon, + Polyline, + Rect, + Symbol, + Text, + Use, + Defs, + Stop +} from "mobile/node_modules/react-native-svg"; function Logo({ width, height, style, color = "black", ...props }) { return ( diff --git a/packages/loot-design/src/svg/Math.mobile.js b/packages/loot-design/src/svg/Math.mobile.js index 90b671eeb..1c93d2dfc 100644 --- a/packages/loot-design/src/svg/Math.mobile.js +++ b/packages/loot-design/src/svg/Math.mobile.js @@ -1,7 +1,24 @@ /* This file is auto-generated, do not touch! Please edit the SVG file instead. */ import React from "react"; -import { Svg, Path } from "mobile/node_modules/react-native-svg"; +import { + Svg, + Circle, + Ellipse, + G, + LinearGradient, + RadialGradient, + Line, + Path, + Polygon, + Polyline, + Rect, + Symbol, + Text, + Use, + Defs, + Stop +} from "mobile/node_modules/react-native-svg"; function Math({ width, height, style, color = "black", ...props }) { return ( diff --git a/packages/loot-design/src/svg/Pencil.mobile.js b/packages/loot-design/src/svg/Pencil.mobile.js index c70aa6111..11a9f8a42 100644 --- a/packages/loot-design/src/svg/Pencil.mobile.js +++ b/packages/loot-design/src/svg/Pencil.mobile.js @@ -1,7 +1,24 @@ /* This file is auto-generated, do not touch! Please edit the SVG file instead. */ import React from "react"; -import { Svg, Path } from "mobile/node_modules/react-native-svg"; +import { + Svg, + Circle, + Ellipse, + G, + LinearGradient, + RadialGradient, + Line, + Path, + Polygon, + Polyline, + Rect, + Symbol, + Text, + Use, + Defs, + Stop +} from "mobile/node_modules/react-native-svg"; function Pencil({ width, height, style, color = "black", ...props }) { return ( diff --git a/packages/loot-design/src/svg/Reports.mobile.js b/packages/loot-design/src/svg/Reports.mobile.js index a5b2f912c..073f8dc08 100644 --- a/packages/loot-design/src/svg/Reports.mobile.js +++ b/packages/loot-design/src/svg/Reports.mobile.js @@ -1,8 +1,24 @@ /* This file is auto-generated, do not touch! Please edit the SVG file instead. */ import React from "react"; -import { Svg, Path } from "mobile/node_modules/react-native-svg"; - +import { + Svg, + Circle, + Ellipse, + G, + LinearGradient, + RadialGradient, + Line, + Path, + Polygon, + Polyline, + Rect, + Symbol, + Text, + Use, + Defs, + Stop +} from "mobile/node_modules/react-native-svg"; function Reports({ width, height, style, color = "black", ...props }) { return ( diff --git a/packages/loot-design/src/svg/RightArrow.mobile.js b/packages/loot-design/src/svg/RightArrow.mobile.js index cbfad1a69..40d9057e1 100644 --- a/packages/loot-design/src/svg/RightArrow.mobile.js +++ b/packages/loot-design/src/svg/RightArrow.mobile.js @@ -1,8 +1,24 @@ /* This file is auto-generated, do not touch! Please edit the SVG file instead. */ import React from "react"; -import { Svg, Polyline } from "mobile/node_modules/react-native-svg"; - +import { + Svg, + Circle, + Ellipse, + G, + LinearGradient, + RadialGradient, + Line, + Path, + Polygon, + Polyline, + Rect, + Symbol, + Text, + Use, + Defs, + Stop +} from "mobile/node_modules/react-native-svg"; function RightArrow({ width, height, style, color = "black", ...props }) { return ( diff --git a/packages/loot-design/src/svg/RightArrow2.mobile.js b/packages/loot-design/src/svg/RightArrow2.mobile.js index 628e0e1a6..749b1594e 100644 --- a/packages/loot-design/src/svg/RightArrow2.mobile.js +++ b/packages/loot-design/src/svg/RightArrow2.mobile.js @@ -1,7 +1,24 @@ /* This file is auto-generated, do not touch! Please edit the SVG file instead. */ import React from "react"; -import { Svg, Path } from "mobile/node_modules/react-native-svg"; +import { + Svg, + Circle, + Ellipse, + G, + LinearGradient, + RadialGradient, + Line, + Path, + Polygon, + Polyline, + Rect, + Symbol, + Text, + Use, + Defs, + Stop +} from "mobile/node_modules/react-native-svg"; function RightArrow2({ width, height, style, color = "black", ...props }) { return ( diff --git a/packages/loot-design/src/svg/Search.mobile.js b/packages/loot-design/src/svg/Search.mobile.js index 0ca90a375..9a9899042 100644 --- a/packages/loot-design/src/svg/Search.mobile.js +++ b/packages/loot-design/src/svg/Search.mobile.js @@ -1,7 +1,24 @@ /* This file is auto-generated, do not touch! Please edit the SVG file instead. */ import React from "react"; -import { Svg, Path } from "mobile/node_modules/react-native-svg"; +import { + Svg, + Circle, + Ellipse, + G, + LinearGradient, + RadialGradient, + Line, + Path, + Polygon, + Polyline, + Rect, + Symbol, + Text, + Use, + Defs, + Stop +} from "mobile/node_modules/react-native-svg"; function Search({ width, height, style, color = "black", ...props }) { return ( diff --git a/packages/loot-design/src/svg/Settings.mobile.js b/packages/loot-design/src/svg/Settings.mobile.js index b13fdbe12..ea9ab10ee 100644 --- a/packages/loot-design/src/svg/Settings.mobile.js +++ b/packages/loot-design/src/svg/Settings.mobile.js @@ -1,7 +1,24 @@ /* This file is auto-generated, do not touch! Please edit the SVG file instead. */ import React from "react"; -import { Svg, G, Path } from "mobile/node_modules/react-native-svg"; +import { + Svg, + Circle, + Ellipse, + G, + LinearGradient, + RadialGradient, + Line, + Path, + Polygon, + Polyline, + Rect, + Symbol, + Text, + Use, + Defs, + Stop +} from "mobile/node_modules/react-native-svg"; function Settings({ width, height, style, color = "black", ...props }) { return ( diff --git a/packages/loot-design/src/svg/Subtract.mobile.js b/packages/loot-design/src/svg/Subtract.mobile.js index 0ba7b6705..318abe180 100644 --- a/packages/loot-design/src/svg/Subtract.mobile.js +++ b/packages/loot-design/src/svg/Subtract.mobile.js @@ -1,7 +1,24 @@ /* This file is auto-generated, do not touch! Please edit the SVG file instead. */ import React from "react"; -import { Svg, Path } from "mobile/node_modules/react-native-svg"; +import { + Svg, + Circle, + Ellipse, + G, + LinearGradient, + RadialGradient, + Line, + Path, + Polygon, + Polyline, + Rect, + Symbol, + Text, + Use, + Defs, + Stop +} from "mobile/node_modules/react-native-svg"; function Add({ width, height, style, color = "black", ...props }) { return ( diff --git a/packages/loot-design/src/svg/merge.mobile.js b/packages/loot-design/src/svg/merge.mobile.js index 887d6aee2..0a22c2eb8 100644 --- a/packages/loot-design/src/svg/merge.mobile.js +++ b/packages/loot-design/src/svg/merge.mobile.js @@ -1,7 +1,24 @@ /* This file is auto-generated, do not touch! Please edit the SVG file instead. */ import React from "react"; -import { Svg, Path } from "mobile/node_modules/react-native-svg"; +import { + Svg, + Circle, + Ellipse, + G, + LinearGradient, + RadialGradient, + Line, + Path, + Polygon, + Polyline, + Rect, + Symbol, + Text, + Use, + Defs, + Stop +} from "mobile/node_modules/react-native-svg"; function Merge({ width, height, style, color = "black", ...props }) { return ( diff --git a/packages/loot-design/src/svg/split.mobile.js b/packages/loot-design/src/svg/split.mobile.js index a92d72ad7..cea507fc1 100644 --- a/packages/loot-design/src/svg/split.mobile.js +++ b/packages/loot-design/src/svg/split.mobile.js @@ -1,7 +1,24 @@ /* This file is auto-generated, do not touch! Please edit the SVG file instead. */ import React from "react"; -import { Svg, Path } from "mobile/node_modules/react-native-svg"; +import { + Svg, + Circle, + Ellipse, + G, + LinearGradient, + RadialGradient, + Line, + Path, + Polygon, + Polyline, + Rect, + Symbol, + Text, + Use, + Defs, + Stop +} from "mobile/node_modules/react-native-svg"; function Split({ width, height, style, color = "black", ...props }) { return ( -- GitLab