diff --git a/.yarn/install-state.gz b/.yarn/install-state.gz index 45f5917e..6bcf8901 100644 Binary files a/.yarn/install-state.gz and b/.yarn/install-state.gz differ diff --git a/src/components/Container/index.tsx b/src/components/Container/index.tsx index 6a18002a..375e3c5d 100644 --- a/src/components/Container/index.tsx +++ b/src/components/Container/index.tsx @@ -1,3 +1,4 @@ +import { css } from '@emotion/react'; import { HTMLAttributes } from 'react'; import { isMatchedSM } from '../../utils/mediaQuery'; interface ContainerProps extends HTMLAttributes { @@ -9,11 +10,11 @@ export function Container({ children, fluid = false, ...props }: ContainerProps) return (
{children} diff --git a/src/components/Flex/index.tsx b/src/components/Flex/index.tsx index ca298bc9..73f06574 100644 --- a/src/components/Flex/index.tsx +++ b/src/components/Flex/index.tsx @@ -1,3 +1,4 @@ +import { css } from '@emotion/react'; import { CSSProperties, ElementType, forwardRef, PropsWithRef, Ref } from 'react'; import { OverridableProps } from '../../types/OverridableProps'; @@ -26,12 +27,12 @@ const Flex = ( return ( {children} diff --git a/src/components/Grid/Row.tsx b/src/components/Grid/Row.tsx index 173a1af5..443bfb71 100644 --- a/src/components/Grid/Row.tsx +++ b/src/components/Grid/Row.tsx @@ -2,6 +2,7 @@ import { ElementType, Ref, forwardRef } from 'react'; import { DEFAULT_ELEMENT } from './types'; import { OverridableProps } from '../../types/OverridableProps'; import { gridGutter } from './constants'; +import { css } from '@emotion/react'; type BaseAlign = 'flex-start' | 'center' | 'flex-end'; interface RowBaseProps { @@ -26,15 +27,15 @@ const Row = ( return ( ); diff --git a/src/components/Skeleton/Circle.tsx b/src/components/Skeleton/Circle.tsx index 99edf1de..c135c99e 100644 --- a/src/components/Skeleton/Circle.tsx +++ b/src/components/Skeleton/Circle.tsx @@ -1,3 +1,4 @@ +import { css } from '@emotion/react'; import { CombineElementProps } from '../../types/utils'; type Props = Omit< @@ -16,11 +17,13 @@ const Circle = ({ width, height, backgroundStyle, style, ...rest }: Props) => { return (
{ return (
{ return (
); }; diff --git a/src/components/Text/index.tsx b/src/components/Text/index.tsx index 11c2ef6c..d642c58c 100644 --- a/src/components/Text/index.tsx +++ b/src/components/Text/index.tsx @@ -1,3 +1,4 @@ +import { css } from '@emotion/react'; import { CSSProperties } from '@emotion/react/node_modules/@emotion/serialize'; import { ElementType, Ref, forwardRef } from 'react'; import { OverridableProps } from '../../types/OverridableProps'; @@ -24,14 +25,14 @@ const Text = ( {children} diff --git a/src/stories/Components/Flex/Components.tsx b/src/stories/Components/Flex/Components.tsx index 512a1975..22a1aead 100644 --- a/src/stories/Components/Flex/Components.tsx +++ b/src/stories/Components/Flex/Components.tsx @@ -1,11 +1,13 @@ +import { css } from '@emotion/react'; + export function Box({ color }: { color: string }) { return (
); } diff --git a/src/stories/Components/Spacing/Components.tsx b/src/stories/Components/Spacing/Components.tsx index 512a1975..fdba4efd 100644 --- a/src/stories/Components/Spacing/Components.tsx +++ b/src/stories/Components/Spacing/Components.tsx @@ -1,11 +1,13 @@ +import { css } from '@emotion/react'; + export function Box({ color }: { color: string }) { return (
); } diff --git a/src/stories/Components/Stack/Components.tsx b/src/stories/Components/Stack/Components.tsx index 512a1975..fdba4efd 100644 --- a/src/stories/Components/Stack/Components.tsx +++ b/src/stories/Components/Stack/Components.tsx @@ -1,11 +1,13 @@ +import { css } from '@emotion/react'; + export function Box({ color }: { color: string }) { return (
); }