-
Notifications
You must be signed in to change notification settings - Fork 47
Add uniform width and full width props in SegmentedControl #834
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
|
Size Change: +486 B (+0.13%) Total Size: 377 kB
ℹ️ View Unchanged
|
|
Visit the preview URL for this PR (updated for commit d09947c): https://pixiv-charcoal-web--pr834-mimo-add-isometric-s-lldddj5z.web.app (expires Tue, 03 Feb 2026 05:51:36 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 314b26d3adca98a761c7e4d9922ebb206ff024a0 |
yue4u
left a comment
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.
5.3.0-betaのブランチを作って、https://github.com/pixiv/charcoal/pull/838/changes と混ぜてリリースするといいかもです
| widthUniform: false, | ||
| fullWidth: false, |
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.
fullWidthと合わせてuniformWidth or uniformSegmentWidth がいいかもです
| "@types/yargs": "^17.0.8", | ||
| "@typescript/native-preview": "7.0.0-dev.20250930.1", | ||
| "@vitejs/plugin-react": "^4.2.1", | ||
| "@vueless/storybook-dark-mode": "^10.0.6", |
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.
rebase漏れ?
| .charcoal-segmented-control[data-width-uniform='true'], | ||
| .charcoal-segmented-control[data-full-width='true'] { | ||
| display: inline-grid; | ||
| grid-auto-columns: minmax(80px, 1fr); |
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.
90cd936 to
586e4a9
Compare

やったこと
uniformWidthprop を追加しましたfullWidthprop を追加しました動作確認環境
Storybook
チェックリスト
不要なチェック項目は消して構いません