Releases: yjkwon07/DCS-uikit
v.0.7.1
v.0.7.0
๊ธฐ๋ฅ ์ถ๊ฐ
-
getThemeStyel, cx ์ถ๊ฐ
-
GlobalStyle ์ถ๊ฐ
- storybook preview ๊ต์ฒด
๋ฒ๊ทธ ํด๊ฒฐ
- GapProps, StyledColorProps ํ์
์ด ์๋ค๋ ์๋ฌ => declare ์ ์ธ
- ์ปดํ์ผ ์ดํ์๋ ํ์ ํํธ๋ก ํ์ํ ์ํฉ์ด๊ธฐ ๋๋ฌธ์ export
storybook
-
@6.5.9 update
-
babel ์ค์ ํ์ผ์ ๋ฐ๋ผ๋ณด์ง ์๊ณ main์ ์ง์ ์์ฑ => production ๋ถ๊ธฐ ์ค์ ๋ณด๋ค storybook๋ง ์ฌ์ฉํ๋ plugin, preset ์ค์
- ex) babel-plugin-lodash, @babel/transform-runtime, @emotion/babel-plugin...
-
@babel/preset-react -> preset-react-jsx-transform ์ต์ ์ถ๊ฐ
Can name this anything, just an arbitrary alias to avoid duplicate presets
-
[option] webpackFinal loader ์ ๊ฑฐ
-
[option] typescript ์ ๊ฑฐ
rollup setting
- babel
- @babel/transform-runtime, lodash ์ถ๊ฐ
- @emotion/babel-preset-css-prop ์์น ์์ => "Unused external imports / jsx imported from external module "@emotion/react" but never used in.." rollup warning ํด๊ฒฐ -> ์์์ ๋ฐ๋ผ ast ๋ณํ ์์๊ฐ ๋ฌ๋ผ์ง (bundle size์๋ ์ํฅ ์์)
- babelHelpers: runtime
- @babel/runtime dep.
- tsconfig
- types => @emotion/react/types/css-prop
v.0.6.0
ํ์ ์ฌ ์ ์
-
โ ๏ธ as prop in styled generic component not support the componentProps type hint -
AutoSelect => [style]
- LayoutProps, SpaceProps
- PolymorphicComponentProps ์ ์ฉ => default 'div'
- shouldForwardProp ์ ์ฉ
- focus, disabled ์คํ์ผ ์ ์ฉ
-
Button => [style, scale, variant]
- LayoutProps, SpaceProps
- icon color custom support
- props type ์ฌ ์กฐ์
- shouldForwardProp ์ ์ฉ ์ํจ => html tag write
-
CheckBox => [style, scale]
- LayoutProps, SpaceProps
- shouldForwardProp ์ ์ฉ ์ํจ => html tag write
-
Disclosure => [utils]
- TypographyProps
- shouldForwardProp ์ ์ฉ
-
Box, Flex, Grid => [utils/layout]
- BackgroundProps, BorderProps, LayoutProps, PositionProps, SpaceProps, FlexboxProps, GridProps, StyledColorProps
- PolymorphicComponentProps ์ ์ฉ => default 'div'
- shouldForwardProp ์ ์ฉ ์ํจ => html tag write
-
Heading => [Typography, scale]
- StyledText
- PolymorphicComponentProps ์ ์ฉ ์ํจ
- shouldForwardProp ์ ์ฉ ์ํจ => html tag write
-
Input => [style]
- LayoutProps, SpaceProps
- PolymorphicComponentProps ์ ์ฉ ์ํจ
- shouldForwardProp ์ ์ฉ ์ํจ => html tag write
-
Menu => [style]
- LayoutProps, SpaceProps
- PolymorphicComponentProps ์ ์ฉ ์ํจ
- shouldForwardProp ์ ์ฉ
-
Modal => [utils, style]
- LayoutProps, SpaceProps
- PolymorphicComponentProps ์ ์ฉ ์ํจ
- shouldForwardProp ์ ์ฉ ์ํจ => html tag write
-
Overlay => [utils, style]
- BoxProps
- PolymorphicComponentProps ์ ์ฉ
- shouldForwardProp ์ ์ฉ ์ํจ => html tag write
-
Radio => [style, scale]
- LayoutProps ,SpaceProps
- PolymorphicComponentProps ์ ์ฉ ์ํจ
- shouldForwardProp ์ ์ฉ ์ํจ => html tag write
-
RadioGroup => [style]
- LayoutProps, SpaceProps
- PolymorphicComponentProps ์ ์ฉ => default 'div'
- shouldForwardProp ์ ์ฉ
- focus, disabled ์คํ์ผ ์ ์ฉ
-
Select => [style]
- LayoutProps, SpaceProps
- PolymorphicComponentProps ์ ์ฉ => default 'div'
- shouldForwardProp ์ ์ฉ
- focus, disabled ์คํ์ผ ์ ์ฉ
-
Svg => [icons]
- SpaceProps, fill -> ColorStyleProps
- PolymorphicComponentProps ์ ์ฉ ์ํจ
- shouldForwardProp ์ ์ฉ ์ํจ => html tag write
-
Switch => [style, scale]
- LayoutProps, SpaceProps
- PolymorphicComponentProps ์ ์ฉ
- shouldForwardProp ์ ์ฉ
-
Tab => [style]
- LayoutProps, SpaceProps, StyledColorProps
- PolymorphicComponentProps ์ ์ฉ ์ํจ
- shouldForwardProp ์ ์ฉ ์ํจ => html tag write
-
Tag => [style, scale, variant]
- LayoutProps, SpaceProps, TypographyProps
- PolymorphicComponentProps ์ ์ฉ
- shouldForwardProp ์ ์ฉ ์ํจ => html tag write
-
Text => [Typography, scale]
- LayoutProps, SpaceProps, TypographyProps, StyledColorProps
- PolymorphicComponentProps ์ ์ฉ
- shouldForwardProp ์ ์ฉ ์ํจ => html tag write
-
Transition => [utils]
- TwStyle, SerializedStyles ์ ์ฉ
- PolymorphicComponentProps ์ ์ฉ ์ํจ
- shouldForwardProp ์ ์ฉ ์ํจ => html tag write
-
type utils
- global type ์ ์ฉ -> GapProps, StyledColorProps
- ColorStyleProps -> (string & {}) ์ถ๊ฐ (* string์ ํฌํจ ์ํค๊ธฐ ์ํจ ๊ทธ๋ฅ string ์ ๋ชจ๋ ๋ฒ์ฃผ๋ฅผ string์ผ๋ก ์ธ์ ํ๊ธฐ ๋๋ฌธ)
-
utils
- colorStyle -> background ์ถ๊ฐ
- fontScale -> tailwind config ๊ฐ ์ ์ฉ