From 47ba40e72e12cdbe2b42f36a3e289e3ee8152409 Mon Sep 17 00:00:00 2001 From: alireza-sharifpour Date: Mon, 20 Mar 2023 10:48:10 +0330 Subject: [PATCH] fix: removed old container and exported new ones --- package.json | 2 +- src/components/index.ts | 3 +-- src/components/layout/Container.tsx | 25 ------------------------ src/components/layout/ContainerFluid.tsx | 7 ------- 4 files changed, 2 insertions(+), 35 deletions(-) delete mode 100644 src/components/layout/Container.tsx delete mode 100644 src/components/layout/ContainerFluid.tsx diff --git a/package.json b/package.json index 7db1aa5..7a972b4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@giveth/ui-design-system", - "version": "1.11.5", + "version": "1.11.6", "files": [ "/lib" ], diff --git a/src/components/index.ts b/src/components/index.ts index eeb24a3..c605a16 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -29,8 +29,7 @@ export * from './buttons/type'; export * from './buttonLinks/ButtonLink'; export * from './buttonLinks/OutlineButtonLink'; -export * from './layout/Container'; -export * from './layout/ContainerFluid'; +export * from './layout/Grid'; export * from './icons'; export * from './icons/type'; diff --git a/src/components/layout/Container.tsx b/src/components/layout/Container.tsx deleted file mode 100644 index 3d1a2fb..0000000 --- a/src/components/layout/Container.tsx +++ /dev/null @@ -1,25 +0,0 @@ -import styled from 'styled-components'; - -export const Container = styled.div` - width: 100%; - padding-right: 32px; - padding-left: 32px; - margin-right: auto; - margin-left: auto; - - @media (min-width: 768px) { - max-width: 768px; - } - - @media (min-width: 1024px) { - max-width: 1024px; - } - - @media (min-width: 1280px) { - max-width: 1280px; - } - - /* @media (min-width: 1440px) { - max-width: 1440px; - } */ -`; diff --git a/src/components/layout/ContainerFluid.tsx b/src/components/layout/ContainerFluid.tsx deleted file mode 100644 index 3568e8a..0000000 --- a/src/components/layout/ContainerFluid.tsx +++ /dev/null @@ -1,7 +0,0 @@ -import styled from 'styled-components'; - -export const ContainerFluid = styled.div` - width: 100%; - padding-right: 32px; - padding-left: 32px; -`;