Commit b7b501f
committed
refactor: JDS Checkbox 컴포넌트 vanilla-extract 마이그레이션 (#462)
* chore: @react-aria/checkbox 패키지 의존성 추가
* feat: Checkbox vanilla-extract 마이그레이션 타입 정의
* feat: Checkbox Context 정의
* fix: Checkbox 타입 최신 DS 기준으로 업데이트
* feat: labelTypographyVars CSS vars 유틸리티 추가
* fix: CheckboxContext에서 align 속성 제거
* feat: CheckboxContext에 onChildCheckedChange 콜백 추가
* feat: Checkbox vanilla-extract 스타일 작성
* refactor: checkboxSizeMap을 checkbox.variants로 분리
* refactor: Checkbox prop/타입에서 컴포넌트명 prefix 제거
* fix: Checkbox visual disabled 상태에서 인터랙션 오버레이 제거
* feat: Checkbox vanilla-extract 마이그레이션 구현체 작성
* refactor: Checkbox 스타일 satisfies/어노테이션 표기 통일
* docs: Checkbox 마이그레이션 Storybook 문서 작성
* fix: 그룹 input 요소에 ref 연결
* fix: 그룹 내 Checkbox.Basic의 value 누락 검증 추가
* refactor: Checkbox 타이포그래피를 getLabelClassName으로 통일
* refactor: Checkbox 사이즈 맵을 단일 테이블로 통합
* fix: 체크 상태 타입명을 CheckedState로 복원
* docs: Checkbox 마이그레이션 changeset 추가
* docs: changeset 제목 수정
* refactor: focus ring 억제 로직을 globalStyle에서 variant로 전환
* fix: 라벨 색상을 labelColorVar 주입으로 변경해 cascade 순서 의존 제거
# Conflicts:
# packages/jds/src/utils/typography.css.ts
* style: ::before/::after 동일 shape를 쉼표 셀렉터로 통합
* feat: Label 클릭 시 체크박스가 토글되도록 controlId 연결
* fix: Item 내부에서 Checkbox visual 오버레이 이중 적용 제거
* fix: Checkbox.Item 클릭 영역 불일치 및 구조 수정 (#471)
* refactor: Checkbox.Item을 단일 label로 전환해 아이템 전체 토글 통일
* feat: Checkbox.Helper를 aria-describedby로 input에 연결
* fix: CheckboxItemProps 기반 타입을 label로 수정
* fix: Checkbox.Helper를 span으로 변경
* refactor: checkbox.variants.ts 제거 및 사이즈맵을 소비처로 분리
* refactor: 클래스명을 역할에 맞게 변경
* refactor: 컨텍스트를 공통 설정과 Item 내부 상태 공유 용도로 분리
* refactor: parentContext를 parentConfig로 수정
* refactor: 마이그레이션 구현체 교체 및 소비처 정리1 parent 914890f commit b7b501f
13 files changed
Lines changed: 1110 additions & 1321 deletions
File tree
- .changeset
- packages/jds
- src/components
- Checkbox
- Dialog
- Select
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
0 commit comments