Skip to content

Shared components#89

Merged
Hys-Lee merged 32 commits intomainfrom
shared-components
Dec 18, 2025
Merged

Shared components#89
Hys-Lee merged 32 commits intomainfrom
shared-components

Conversation

@Hys-Lee
Copy link
Owner

@Hys-Lee Hys-Lee commented Dec 18, 2025

#70 #73 #74 #75 #76 #77 #78 #79 #80 #81 #82 #83 #84 #85 #86 #87 #88

**
filter는 컴포넌트가 아니라 필터에 들어갈 수 있는 컴포넌트들 - Dropdown, DatePicker, Switch 등으로 생각.

추가 완성

  • 필요한 각종 유틸 훅 및 컴포넌트 : useSubmitIntercept, useStateReducer, Virtualizer

  • 디자인 색상 토큰

의존성 변경

  • @tanstack/react-virtual": Dropdown 가상화
  • "antd" : DatePicker 제작
  • "dayjs" : Antd DatePicker 날짜 조작
  • Radix : 공통 컴포넌트 제작
  • Next, React 버전 업 : React RSC관련 보안 문제 해결

textPrimary 색상 토큰도 추가
Molecule단에는 많이 쓰일 stateReducer패턴용 훅
비제어 방식에서 form의 submit에 대해 내부 input에서 간섭해서 동작하기 위해..
내부 복잡한 연산 delay시켜 최적화

폴더 구조 변경으로 인한 처리
multi-selection가능하도록 처리
제어/비제어 모두 사용 가능하도록 처리
스크롤 처리
유틸 컴포넌트가 생겨서, 유틸로 하나로 모아둠.
가상화 추상 유틸 컴포넌트 Virtualizer 제작
Item에 대해 Components as Props방식으로 함.

Tab은 이전 유틸 훅 위치 변경으로 인한 변경
… 말줄임으로 수정

기존 방식은 사용성이 낮아서 render props 방식으로 가시성 개선
placeholder, format, suffix, prefix 추가
Radix Primitive의 ToggleGroup기반으로. 개별 아이템 대해 토글 off 되지 않도록.
@Hys-Lee Hys-Lee added this to the 공유 컴포넌트 재정비 milestone Dec 18, 2025
@Hys-Lee Hys-Lee self-assigned this Dec 18, 2025
@Hys-Lee Hys-Lee merged commit b07acb2 into main Dec 18, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant