You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat!: remove misused styling props
Remove one-off styling props that should be handled via className/style,
and reshape Callout's `outline` boolean into a `variant` axis. CSS defaults
are preserved, so default rendering is unchanged.
BREAKING CHANGE:
- Callout: removed `width`; `outline` boolean -> `variant="outline"`
(new `variant?: 'solid' | 'outline'`, default `solid`; orthogonal to
`type`, so `type="success" variant="outline"` still combines)
- Button: removed `width`, `maxWidth`
- Input: removed `width`
- TextArea: removed `width`
- List: removed `maxWidth` (root) and `minWidth` (List.Label)
- Flex: removed `width="full"`
- Dialog.Content: removed `width`
- AlertDialog.Content: removed `width`
Consumers should migrate these to `style`/`className` (or a sized wrapper).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* fix(input): keep default 100% width on wrapper after removing width prop
FilterChip composes Input via classNames.container and relies on the wrapper's inline width:100% (jsdom can't observe the .input-wrapper CSS rule). Dropping the width prop removed that inline default and broke FilterChip's content-fit tests; restore it so composing components stay fluid. Behavior is identical to pre-PR.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* refactor(input): remove width prop and related demos
* refactor: remove unused style props from multiple components
* refactor(tests): remove redundant content-fit width tests for FilterChip
* docs: document removed styling props in v1 migration guide
Add a 'One-off styling props removed' section (table + migration + className-over-inline-style guidance), and fix stale Dialog/Input/TextArea references that still showed the removed width prop.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments