New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@pandacss/extractor

Package Overview
Dependencies
Maintainers
1
Versions
888
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pandacss/extractor - npm Package Versions

1
89

0.0.0-dev-20240223124029

Diff

segunadebayo
published 0.0.0-dev-20240222232733 •

segunadebayo
published 0.0.0-dev-20240222200127 •

segunadebayo
published 0.0.0-dev-20240222185959 •

segunadebayo
published 0.0.0-dev-20240221020431 •

segunadebayo
published 0.32.0 •

Changelog

Source

[0.32.0] - 2024-02-19

Fixed

  • Fix issue in defineParts where it silently fails if a part not defined is used. It now errors with a helpful message
  • Automatically generate a recipe compoundVariants when using staticCss
  • Fix issue where 0 values doesn't get extracted when used in a condition

Changed

  • Always sort all to be first, so that other properties can easily override it
  • Switch from em to rem for breakpoints and container queries to prevent side effects.
  • Allow config.hooks to be shared in plugins

For hooks that can transform Panda's internal state by returning something (like cssgen:done and codegen:prepare), each hook instance will be called sequentially and the return result (if any) of the previous hook call is passed to the next hook so that they can be chained together.

  • Allow the user to set jsxFramework to any string to enable extracting JSX components.

Context: In a previous version, Panda's extractor used to always extract JSX style props even when not specifying a jsxFramework. This was considered a bug and has been fixed, which reduced the amount of work panda does and artifacts generated if the user doesn't need jsx.

Now, in some cases like when using Svelte or Astro, the user might still to use & extract JSX style props, but the jsxFramework didn't have a way to specify that. This change allows the user to set jsxFramework to any string to enable extracting JSX components without generating any artifacts.

segunadebayo
published 0.0.0-dev-20240219094740 •

segunadebayo
published 0.0.0-dev-20240218191408 •

segunadebayo
published 0.0.0-dev-20240218185104 •

segunadebayo
published 0.0.0-dev-20240218175501 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc