Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Switch 컴포넌트 구현 #156

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from
Open

feat: Switch 컴포넌트 구현 #156

wants to merge 8 commits into from

Conversation

nijuy
Copy link
Collaborator

@nijuy nijuy commented Sep 20, 2024

1️⃣ 어떤 작업을 했나요? (Summary)

image

기존 코드에 영향을 미치지 않는 변경사항

  • switch 컴포넌트용 컬러 토큰을 추가했습니다

  • switch 컴포넌트를 구현했습니다

    • tab / space를 사용한 키보드 조작이 가능합니다

2️⃣ 알아두시면 좋아요!

  • ts-pattern을 이번에 설치해서 사용했다가.... 나중에 다른 방식으로 바꾸는 바람에 코드에는 없습니다 머쓱

  • 컬러 토큰 이름이 피그마와 상이한 것

    • 피그마 코멘트로 문의해둔 상태 (링크)

      피그마 코드
      switch/track switch/thumb
      thumb (동글이) 색상인데 이름이 track인 점이 수상함
  • isDisabled와 isSelected 관련 문서 내용은 수정될 수 있습니다

    image

    • 여기도 정확한 내용을 피그마 코멘트로 문의해둔 상태 (링크)

3️⃣ 추후 작업

4️⃣ 체크리스트 (Checklist)

  • main 브랜치의 최신 코드를 pull 받았나요?

@nijuy nijuy added the feat label Sep 20, 2024
@nijuy nijuy self-assigned this Sep 20, 2024
@nijuy nijuy linked an issue Sep 20, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: Switch 컴포넌트 구현
1 participant