Skip to content

refactor(react): streamline package.json export generation#6301

Open
diegonzs wants to merge 1 commit intobeta-9from
feat/HHTA-420
Open

refactor(react): streamline package.json export generation#6301
diegonzs wants to merge 1 commit intobeta-9from
feat/HHTA-420

Conversation

@diegonzs
Copy link
Contributor

Closes #N/A

📝 Description

Adds support for granular component-level imports in @heroui/react, allowing users to import components directly from scoped entrypoints.

⛳️ Current behavior (updates)

Users primarily rely on the root package entrypoint, which limits import granularity and makes component-level import paths less explicit.

🚀 New behavior

Users can now import components from dedicated subpath entrypoints, for example:

import {Button} from "@heroui/react/button"

This provides clearer, more granular import paths for individual components.

💣 Is this a breaking change (Yes/No):

No

📝 Additional Information

This change updates the export generation workflow to support and maintain these per-component entrypoints consistently.

@diegonzs diegonzs added the ♿ Scope: v3 Related to HeroUI v3 label Mar 10, 2026
@diegonzs diegonzs requested a review from jrgarciadev as a code owner March 10, 2026 01:56
@changeset-bot
Copy link

changeset-bot bot commented Mar 10, 2026

⚠️ No Changeset found

Latest commit: 3b539b4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Mar 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
heroui Ready Ready Preview, Comment Mar 10, 2026 1:56am
heroui-sb Ready Ready Preview, Comment Mar 10, 2026 1:56am

Request Review

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 10, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@heroui/react@6301
npm i https://pkg.pr.new/@heroui/styles@6301

commit: 4a6c214

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

♿ Scope: v3 Related to HeroUI v3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant