feat(Card): add ghost variant with transparent background and no border#265
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (2)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
🦋 Changeset detectedLatest commit: 18cd9aa The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov Report✅ All modified and coverable lines are covered by tests.
🚀 New features to boost your workflow:
|
Fixed #264
Changes
Card 컴포넌트에
ghostvariant를 추가했습니다. 실제 SIPE 공식 홈페이지 코드로도 테스트 완료했습니다!Card.css.ts:CardVariant에ghost옵션 추가 (배경색: transparent, border: none, padding: 0)Card.test.tsx: ghost variant에 대한 테스트 3개 추가 (배경색, border, padding 검증)Card.stories.tsx: argTypes에ghost옵션 추가 및GhostVariant스토리 추가 (모든 ratio 조합 포함).changeset/add-card-ghost-variant.md:@sipe-team/cardminor 버전 changeset 추가Visuals
Checklist
Additional Discussion Points
ghostvariant는 배경과 테두리가 없는 투명한 카드로, 레이아웃 용도나 콘텐츠만 감싸는 경우에 활용할 수 있습니다.