Skip to content
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

refactor/update-react-segmented-control-props #1927

Merged
merged 4 commits into from
Jan 21, 2025

Conversation

terrance456
Copy link
Contributor

  • Update segmented-control component props according to latest green/core component

@terrance456 terrance456 self-assigned this Jan 20, 2025
@terrance456 terrance456 changed the title /refactor/update-react-segmented-control-props refactor/update-react-segmented-control-props Jan 20, 2025
@green-design-system-bot
Copy link
Contributor

green-design-system-bot bot commented Jan 20, 2025

🦋 Changeset status

Based on the included changeset, the following releases will be published as a result of this PR:

  • @sebgroup/green-react: 3.22.0 → 3.23.0 (minor bump)

Note: If unpublished changesets where merged to main after the first commit of this PR, this
list will include those changes in addition to the ones specific to this PR.

@green-design-system-bot
Copy link
Contributor

green-design-system-bot bot commented Jan 20, 2025

👋 Thanks for creating a pull request!

🚀 Checkout the storybook we've created for it:

Copy link
Contributor

@splashdust splashdust left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@terrance456 Looks good, but I added the following:

  • Keep segMinWidth but assign it to min-width, to avoid breaking existing API
  • Deprecate the manual wrappers in favor of the generated ones. No need to keep having to update this manually when the underlying component changesm since the Lit wrapper already handles it automatically.

@splashdust splashdust merged commit 23f052c into main Jan 21, 2025
5 checks passed
@splashdust splashdust deleted the refactor/update-react-segmented-control-props branch January 21, 2025 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants