From b5f5c5450b507b67ab7c324f3917a094e77f3071 Mon Sep 17 00:00:00 2001 From: Vinicius CZB Date: Fri, 7 Jul 2023 20:16:26 -0300 Subject: [PATCH 1/2] Remove support to mulple sizes on GridMain component --- src/packages/GridMain/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packages/GridMain/index.tsx b/src/packages/GridMain/index.tsx index eab3748..7b34475 100644 --- a/src/packages/GridMain/index.tsx +++ b/src/packages/GridMain/index.tsx @@ -3,7 +3,7 @@ import * as S from './styles' export type GridMainProps = { children: React.ReactNode - size?: 'medium' | 'small' | 'mini' + size?: 'medium' // | 'small' | 'mini' #TODO: it's not working as expected, test and fix minHeight?: '70vh' | '100vh' | '100%' | 'unset' } & BaseHTMLAttributes From 8ed7a60ba8353db0322555cfee4343231bc96d99 Mon Sep 17 00:00:00 2001 From: Vinicius CZB Date: Fri, 7 Jul 2023 20:17:48 -0300 Subject: [PATCH 2/2] Fix SpacingKeys relative import #89 --- src/packages/Button/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packages/Button/index.tsx b/src/packages/Button/index.tsx index 249ffc4..9b085f9 100644 --- a/src/packages/Button/index.tsx +++ b/src/packages/Button/index.tsx @@ -1,6 +1,6 @@ import React from 'react' import { ButtonHTMLAttributes } from 'react' -import { SpacingKeys } from '../../utils/spacingModifier' +import { SpacingKeys } from '../../styles/spacingModifier' import * as S from './styles' export type ButtonProps = {