-
Notifications
You must be signed in to change notification settings - Fork 4
refactor(divider): apply vanilla-extract #164
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
base: release/v1
Are you sure you want to change the base?
Conversation
- test 조건 추가 - vanilla-extract recipe 활용해 스타일 확장 - 필요한 패키지 추가
- divider 스토리북에 색상 섹션 추가 - 사용자 스타일링 UI 추가
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAttention: Patch coverage is
🚀 New features to boost your workflow:
|
packages/divider/src/Divider.css.ts
Outdated
|
||
export type Orientation = keyof typeof Orientation; | ||
|
||
export const divider = recipe({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
divider도 recipe 없이 구현해도 복잡하지 않을 것 같아!
packages/divider/src/Divider.tsx
Outdated
orientation?: 'horizontal' | 'vertical'; | ||
export interface DividerProps extends ComponentProps<'hr'> { | ||
orientation?: styles.Orientation; | ||
color?: 'default' | 'primary' | 'dark'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
color도 Orientation처럼 const 객체로 분리해주면 어떨까?
- 코드 리뷰 반영 - vanilla extract recipe 제거 - 상수 분리
- pnpm install --no-frozen-lockfile
Changes
Visuals
Checklist
Additional Discussion Points