Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(parser): JSX styled namespace imports #2371

Merged
merged 1 commit into from
Mar 12, 2024
Merged

Conversation

astahmer
Copy link
Collaborator

πŸ“ Description

Fix extraction of JSX styled factory when using namespace imports

import * as pandaJsx from '../styled-system/jsx'

// βœ… this will work now
pandaJsx.styled('div', { base: { color: 'red' } })
const App = () => <pandaJsx.styled.span color="blue">Hello</pandaJsx.styled.span>

πŸ’£ Is this a breaking change (Yes/No):

no

πŸ“ Additional Information

follow-up to #2327

Copy link

changeset-bot bot commented Mar 11, 2024

πŸ¦‹ Changeset detected

Latest commit: 21124df

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

This PR includes changesets to release 20 packages
Name Type
@pandacss/parser Patch
@pandacss/core Patch
@pandacss/node Patch
@pandacss/fixture Patch
@pandacss/generator Patch
@pandacss/astro-plugin-studio Patch
@pandacss/dev Patch
@pandacss/postcss Patch
@pandacss/studio Patch
@pandacss/config Patch
@pandacss/extractor Patch
@pandacss/is-valid-prop Patch
@pandacss/logger Patch
@pandacss/preset-atlaskit Patch
@pandacss/preset-base Patch
@pandacss/preset-open-props Patch
@pandacss/preset-panda Patch
@pandacss/shared Patch
@pandacss/token-dictionary Patch
@pandacss/types 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

Copy link

vercel bot commented Mar 11, 2024

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Updated (UTC)
panda-docs βœ… Ready (Inspect) Visit Preview Mar 11, 2024 11:52pm
panda-playground βœ… Ready (Inspect) Visit Preview Mar 11, 2024 11:52pm
panda-studio βœ… Ready (Inspect) Visit Preview Mar 11, 2024 11:52pm

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.

2 participants