Skip to content

Conversation

@siddharthkp
Copy link
Member

Title says it all

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

@changeset-bot
Copy link

changeset-bot bot commented Oct 14, 2025

🦋 Changeset detected

Latest commit: 573d1bc

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

@github-actions github-actions bot added the staff Author is a staff member label Oct 14, 2025
@siddharthkp siddharthkp self-assigned this Oct 14, 2025
@siddharthkp siddharthkp marked this pull request as ready for review October 14, 2025 23:25
@siddharthkp siddharthkp requested a review from a team as a code owner October 14, 2025 23:25
Copilot AI review requested due to automatic review settings October 14, 2025 23:25
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 type definitions for ThemeProviderProps and BaseStylesProps from the @primer/styled-react package to improve the developer experience by making these types available for consumers who need to type their components that use these props.

Key Changes

  • Export ThemeProviderProps and BaseStylesProps types from the main package index
  • Reorganize imports in FeatureFlaggedTheming.tsx to properly expose these types
  • Add changeset for patch release

Reviewed Changes

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

File Description
packages/styled-react/src/index.tsx Added type exports for ThemeProviderProps and BaseStylesProps to the main package exports
packages/styled-react/src/components/FeatureFlaggedTheming.tsx Reorganized imports and added type re-exports to make types available for export
.changeset/nice-cycles-dress.md Added changeset documenting the new type exports for patch release

@siddharthkp siddharthkp added this pull request to the merge queue Oct 15, 2025
Merged via the queue into main with commit c83d6a4 Oct 15, 2025
42 checks passed
@siddharthkp siddharthkp deleted the styled-react-export-theme-props branch October 15, 2025 12:06
@primer primer bot mentioned this pull request Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

staff Author is a staff member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants