feat: add design-system TextInput component#13
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
More reviews will be available in 14 minutes and 47 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
✨ 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 |
Summary
Figma input 계열 컴포넌트를 디자인 시스템 공통 컴포넌트로 추가합니다.
input bar, title이 있는input, title이 없는input_no title노드를 기준으로 크기, radius, fill, border, inset shadow, caret, helper/counter 상태를 맞췄습니다.Closes #12
Changes
TextInput컴포넌트를 추가하고bar,field,fieldNoTitlevariant를 지원하도록 구현했습니다.default,focus,type,filled,filledPlus스타일을 구성했습니다.type상태에서 caret, helper text, 글자 수 counter가 표시되도록 추가했습니다.maxLength에 적용하고, helper/counter를aria-describedby로 input에 연결했습니다.filledPlusplus affordance는onPlusClick이 있을 때만 button으로 렌더링하고, 없으면 decorative icon으로 렌더링하도록 정리했습니다.@comma/design-systemroot export에TextInput과 관련 타입을 추가했습니다.Verification
pnpm lintpnpm typecheckpnpm build --filter=@comma/webpnpm build:storybookNotes
pnpm lint는 통과하지만, 기존apps/web/public/images/onboardingBackground*.svg2개가 Biome max size warning을 냅니다.pnpm build:storybook는 통과하지만, Storybook 번들에서 기존 large chunk warning이 표시됩니다.