Skip to content

Exports TextInputProps type from styled-react - #6845

Closed
mperrotti wants to merge 3 commits into
mainfrom
mp/export-textinputprops-styled-react
Closed

Exports TextInputProps type from styled-react#6845
mperrotti wants to merge 3 commits into
mainfrom
mp/export-textinputprops-styled-react

Conversation

@mperrotti

@mperrottimperrotti commented Sep 12, 2025

Copy link
Copy Markdown
Contributor

Slack thread for context.

Changelog

New

Changed

Removed

Rollout strategy

  • Patch release
  • Minor release
  • Major release; if selected, include a written rollout or migration plan
  • None; if selected, include a brief description as to why

Testing & Reviewing

Merge checklist

@mperrotti
mperrotti requested a review from a team as a code ownerSeptember 12, 2025 17:12
@changeset-bot

changeset-botBot commented Sep 12, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 46aeb1c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
NameType
@primer/styled-reactPatch

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

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

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 exports the TextInputProps type from the @primer/styled-react package to make it available for external consumption. This change allows users of the styled-react package to access the type definition for TextInput component props.

  • Imports and exports TextInputProps type from the TextInput component
  • Adds a changeset documenting this as a patch release

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

FileDescription
packages/styled-react/src/index.tsxImports TextInputProps type and adds it to the type exports
.changeset/grumpy-streets-dance.mdDocuments the change as a patch release

@github-actions

github-actionsBot commented Sep 12, 2025

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize
packages/react/dist/browser.esm.js89.68 KB (0%)
packages/react/dist/browser.umd.js89.89 KB (0%)

@mperrotti

Copy link
Copy Markdown
ContributorAuthor

Closing this because we fixed the failing CI tests with #6846

@jonrohan
jonrohan deleted the mp/export-textinputprops-styled-react branch October 30, 2025 21:01
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@mperrotti