-
Notifications
You must be signed in to change notification settings - Fork 51
feat(SegmentedControl): adjusted text size and remove side paddings #2623
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
Conversation
🦋 Changeset detectedLatest commit: 45de2b9 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 ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2623 +/- ##
=======================================
Coverage 81.87% 81.88%
=======================================
Files 145 145
Lines 2891 2892 +1
Branches 915 920 +5
=======================================
+ Hits 2367 2368 +1
- Misses 494 520 +26
+ Partials 30 4 -26 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Chromatic Report🚀 Congratulations! Your build was successful! |
스토리북 SegmentedControl에 leftContent, rightContent도 추가할까요? |
이번에 바뀌는 디자인 스펙이 SegmentControl 의 모든 사이즈에 적용되는 것인가요? |
@yangwooseong 넵! 요 스레드에서 리버께서 그렇게 말씀하셨습니다! |
/> | ||
) : ( | ||
leftContent | ||
)} |
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.
- 베지어에서 인터페이스를 바꾸기 보다 사용처에서 xs 사이즈의 아이콘으로 넣는 것은 어떨까요? 지금 스펙상으로는
SegmentedControl
이 s, xs 사이즈 에 대한 아이콘 사이즈는 정해지지 않은 것 같아서 이걸 스펙으로 가져가기는 애매한 것 같기도 합니다.
m 사이즈 한정이라고 하셔서 다시 확인 부탁드립니다! |
Revert adding BezierIcon to SideContentProps of SegmentedControl
packages/bezier-react/src/components/SegmentedControl/SegmentedControl.types.ts
Outdated
Show resolved
Hide resolved
packages/bezier-react/src/components/SegmentedControl/SegmentedControl.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Yang Wooseong (Andrew) <[email protected]>
…dControl.tsx Co-authored-by: Yang Wooseong (Andrew) <[email protected]>
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.
PR 설명 업데이트 부탁드립니다!
연휴 끝나고 오전에 다시 체크한 뒤 리뷰 재요청 드리겠습니다! |
피그마 상에는 tab별 사이드 패딩이 있으나 어차피 overflow 가능하고 & 기존에도 베지어상에는 패딩이 존재하지 않았기에 추가하지 않았습니다. |
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @channel.io/[email protected] ### Patch Changes - Disable truncation of SegmentedControl Item ([#2623](#2623)) by @dohyun-ko - Adjusted SegmentedControl's typo, padding, and gap as design spec changes ([#2623](#2623)) by @dohyun-ko ## [email protected] ### Patch Changes - Updated dependencies - @channel.io/[email protected] Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Self Checklist
Related Issue
Summary
Resized SegmentedControlItem's size according to the design spec changes
Details
2
to4
14
to13
4px
)Breaking change? (Yes/No)
References