-
Notifications
You must be signed in to change notification settings - Fork 616
chore(SelectPanel2): Remove the css modules feature flag from the SelectPanel2 experimental component #6051
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: 15e56cf The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
👋 Hi, this pull request contains changes to the source code that github/github depends on. If you are GitHub staff, we recommend testing these changes with github/github using the integration workflow. Thanks! |
size-limit report 📦
|
👋 Hi from github/github! Your integration PR is ready: https://github.com/github/github/pull/379053 |
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.
Pull Request Overview
This PR removes the old CSS modules feature flag from the SelectPanel2
experimental component, simplifying the code by always using the CSS module classes and replacing conditional styling branches with direct className usage.
- Eliminates all
useFeatureFlag
checks and related branches - Replaces
Box
andText
wrappers with semantic HTML elements and CSS module classes - Adds
className
prop support toPanel
and updates the changeset for a minor release
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
File | Description |
---|---|
packages/react/src/experimental/SelectPanel2/SelectPanel.tsx | Removed feature-flag branches, cleaned up imports, replaced Box /Text with div /span , added className prop |
.changeset/famous-olives-smoke.md | Updated changeset to remove the CSS modules feature flag under a minor release |
Comments suppressed due to low confidence (1)
packages/react/src/experimental/SelectPanel2/SelectPanel.tsx:14
- The import 'useFormControlForwardedProps' is no longer used in this file; consider removing it to clean up unused imports.
useFormControlForwardedProps,
🟢 golden-jobs completed with status |
Changelog
New
Changed
Removed
Remove the css modules feature flag from the SelectPanel2 experimental component
Rollout strategy
Testing & Reviewing
Merge checklist