Skip to content

fix(ui): simplify ChevronIcon props#16536

Open
JarrodMFlesch wants to merge 2 commits intomainfrom
v4/chevron-fix
Open

fix(ui): simplify ChevronIcon props#16536
JarrodMFlesch wants to merge 2 commits intomainfrom
v4/chevron-fix

Conversation

@JarrodMFlesch
Copy link
Copy Markdown
Contributor

What

Simplifies ChevronIcon props by removing large, bold, and legacy string size values.

Changes

  • Remove large and bold props from ChevronIcon
  • Remove deprecated string values ('small' / 'large') for size prop
  • Keep only size: 16 | 24 (default: 24)
  • Update all usages across the codebase

Why

The large prop was confusing since large={true} was the default, and bold was a deprecated alias. Now the icon follows the same pattern as other icons - just size: 16 | 24.

Breaking Change

If anyone was using:

  • large={false} → now uses the "large" variant (visual change)
  • bold={true/false} → removed
  • size="small" → use size={16}
  • size="large" → use size={24} or omit (default)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant