Skip to content

Conversation

@changeset-bot
Copy link

changeset-bot bot commented Sep 16, 2025

🦋 Changeset detected

Latest commit: 4d2f578

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

This PR includes changesets to release 1 package
Name Type
@primer/styled-react Patch

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

@liuliu-dev liuliu-dev marked this pull request as ready for review September 16, 2025 18:36
@liuliu-dev liuliu-dev requested a review from a team as a code owner September 16, 2025 18:36
Copy link
Contributor

Copilot AI left a 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 exports TypeScript prop types for three components (TooltipProps, TextInputProps, and TokenProps) from the @primer/styled-react package to support usage in the github-ui codebase where these types are needed with sx props.

  • Adds type exports for TooltipProps from the deprecated module
  • Adds type exports for TextInputProps and TokenProps from the main index
  • Includes a changeset for patch release versioning

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
packages/styled-react/src/index.tsx Exports TextInputProps and TokenProps types alongside existing component exports
packages/styled-react/src/deprecated.tsx Exports TooltipProps type from the deprecated module
.changeset/gentle-sheep-feel.md Adds changeset for patch release documenting the new type exports

@liuliu-dev liuliu-dev added this pull request to the merge queue Sep 22, 2025
Merged via the queue into main with commit 697d6e0 Sep 22, 2025
43 checks passed
@liuliu-dev liuliu-dev deleted the liuliu/export-props-types branch September 22, 2025 17:36
@primer primer bot mentioned this pull request Sep 22, 2025
Sign up for free to 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.

3 participants