From c8d43361e6ab5b4f40eecf7c7bfd4c0da73ba132 Mon Sep 17 00:00:00 2001 From: Dawid Tarasiuk Date: Wed, 29 Sep 2021 15:55:19 +0300 Subject: [PATCH] (0.3) Create status icons components (#52) * Create status icons components * Update icons names * Update icons exports * Remove legacy icons * Update icons props * Change package limit size * Update icons names --- package.json | 4 ++-- src/icons/Error.tsx | 23 ----------------------- src/icons/Info.tsx | 23 ----------------------- src/icons/Success.tsx | 23 ----------------------- src/icons/Warning.tsx | 23 ----------------------- 5 files changed, 2 insertions(+), 94 deletions(-) delete mode 100644 src/icons/Error.tsx delete mode 100644 src/icons/Info.tsx delete mode 100644 src/icons/Success.tsx delete mode 100644 src/icons/Warning.tsx diff --git a/package.json b/package.json index ab29721c..935267d7 100644 --- a/package.json +++ b/package.json @@ -71,11 +71,11 @@ "size-limit": [ { "path": "dist/macaw-ui.cjs.production.min.js", - "limit": "45 KB" + "limit": "50 KB" }, { "path": "dist/macaw-ui.esm.js", - "limit": "25 KB" + "limit": "35 KB" } ], "devDependencies": { diff --git a/src/icons/Error.tsx b/src/icons/Error.tsx deleted file mode 100644 index 5864a90d..00000000 --- a/src/icons/Error.tsx +++ /dev/null @@ -1,23 +0,0 @@ -import React from "react"; - -export const Error: React.FC> = (props) => ( - - - - - -); - -Error.displayName = "Error"; diff --git a/src/icons/Info.tsx b/src/icons/Info.tsx deleted file mode 100644 index 87414fd1..00000000 --- a/src/icons/Info.tsx +++ /dev/null @@ -1,23 +0,0 @@ -import React from "react"; - -export const Info: React.FC> = (props) => ( - - - - - -); - -Info.displayName = "Info"; diff --git a/src/icons/Success.tsx b/src/icons/Success.tsx deleted file mode 100644 index 00c81b83..00000000 --- a/src/icons/Success.tsx +++ /dev/null @@ -1,23 +0,0 @@ -import React from "react"; - -export const Success: React.FC> = (props) => ( - - - - - -); - -Success.displayName = "Success"; diff --git a/src/icons/Warning.tsx b/src/icons/Warning.tsx deleted file mode 100644 index 30ade836..00000000 --- a/src/icons/Warning.tsx +++ /dev/null @@ -1,23 +0,0 @@ -import React from "react"; - -export const Warning: React.FC> = (props) => ( - - - - - -); - -Warning.displayName = "Warning";