Revert TextInputWithWrapper changes to remove sx and styled-system#6846
Revert TextInputWithWrapper changes to remove sx and styled-system#6846
TextInputWithWrapper changes to remove sx and styled-system#6846Conversation
🦋 Changeset detectedLatest commit: 281f1ca The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
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! |
There was a problem hiding this comment.
No need for a changeset here since the change hasn't been released yet if that's helpful!
There was a problem hiding this comment.
Do we still need it to kick off the Canary release that's necessary for integration tests?
There was a problem hiding this comment.
Nope! You should be good. I think the workflow will force a "fake" changeset so that it always publishes something if I remember right
size-limit report 📦
|
There was a problem hiding this comment.
Pull Request Overview
This PR restores the sx prop to TextInput and related components that was removed in a previous change. The sx prop allows for custom styling using the design system's styling API.
- Adds
sxprop support back to TextInput, Textarea, and their underlying wrapper components - Updates type definitions to include SxProp in component interfaces
- Adds new Storybook stories to demonstrate
sxprop usage
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/react/src/internal/components/TextInputWrapper.tsx | Adds SxProp to TextInputBaseWrapper type and imports |
| packages/react/src/Textarea/Textarea.tsx | Adds sx prop support to Textarea component |
| packages/react/src/TextInput/TextInput.tsx | Adds sx prop support to TextInput component |
| packages/react/src/TextInput/TextInput.dev.stories.tsx | Adds Storybook stories demonstrating sx prop usage |
| .changeset/silly-parks-give.md | Documents the change for release notes |
sx prop back to TextInputTextInputWithWrapper changes to remove sx and styled-system
|
👋 Hi from github/github-ui! Your integration PR is ready: https://github.com/github/github-ui/pull/2528 |
|
🟢 ci completed with status |
Reverts component changes from #6666
Slack thread for context.
Changelog
New
Changed
Removed
Rollout strategy
Testing & Reviewing
Merge checklist