1.1.0 • Published 6 months ago

movester-design-system v1.1.0

Weekly downloads
-
License
-
Repository
github
Last release
6 months ago

Movester-Design-System

Design system and UI library for react and typescript projects. Simple and modern styeld design is implented. Focused on very basic components but will be imporved continuously.

installation

npm i movester-design-system

Version Info

  • 1.1.0 2023-12-4

    추가

    Radio

    props

    prop namenullabletype
    isCheckedfalseboolean
    setIsCheckedfalseReact.Dispatch<React.SetStateAction>
    childrentruechildren

    Textarea

    props

    prop namenullabletype
    isCheckedfalseboolean
    setIsCheckedfalseReact.Dispatch<React.SetStateAction>

    수정

    Button

    • hover 시 cursor pointer 로 변하게 수정
    • div tag 로 구성되어있던 컴포넌트 button tag로 수정

    ComboBox

    • option box 높이 조정
  • 1.0.0 2023-11

    • 아래 컴포넌트들 추가

Components

Box

props

prop namenullabletype
flexDirectiontruecolumn
row
gaptruenumber
justifyContenttruecenter
start
end
space-between
alignItemstruecenter
start
end
paddingtruenumber
string
widthtruenumber
string
heighttruenumber
string
displaytrueflex
block
inline
grid
overflowtruescroll
hidden
backgroundColortruestring
bordertruestring
borderRadiustruenumber
gridTemplateColumnstruestring
boxShadowtruestring
onClicktrue()⇒void
onMouseOvertrue()⇒void
reftrueany

Button

props

prop namenullabletype
variantstrueprimary
secondary
sizefalsexs
sm
md
lg
disabledtrueboolean
widthtruenumber
onClicktrue() ⇒ void

Check Box

props

prop namenullabletype
isCheckedfalseboolean
setIsCheckedfalseReact.Dispatch<React.SetStateAction>

Chip

props

prop namenullabletype
variantstrueprimary (default)
secondary
sizefalsesm
md (default)

Combo Box

props

prop namenullabletype
listfalse{ name: string; id: string }[]
valuefalse{ name: string; id: string }
setValuefalseDispatch<SetStateAction<{ name: string; id: string }>>
sizefalsexs
sm
md
disabledtrueboolean
labletruestring

Divider

props

prop namenullabletype
colortruestring

Input

props

prop namenullabletype
valuefalsestring
number
setValuefalse(e:React.ChangeEvent) ⇒ void
placeholdertruestring
invisibletrueboolean
onCleartrue()⇒void

Typography

props

prop namenullabletype
variantstruetitle1
heading1
heading2
heading3
body1
body2 (default)
body3
caption
colorstruestring

Radio

props | prop name | nullable | type | | --- | --- | --- | | isChecked | false | boolean | | setIsChecked | false | React.Dispatch<React.SetStateAction> | | children | true | children |

---

Textarea

props | prop name | nullable | type | | --- | --- | --- | | isChecked | false | boolean | | setIsChecked | false | React.Dispatch<React.SetStateAction> |

related Projects