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

@pandacss/shared

Package Overview
Dependencies
Maintainers
1
Versions
1160
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pandacss/shared - npm Package Versions

1
116

0.0.0-dev-20240214123754

Diff

segunadebayo
published 0.31.0 •

Changelog

Source

[0.31.0] - 2024-02-13

Fixed

  • Fix styled factory nested composition with cva
  • Fix issue in token validation logic where token with additional properties like description is considered invalid.
  • When validation is set to error, show all config errors at once instead of stopping at the first error.

Added

  • Add a RecipeVariant type to get the variants in a strict object from cva function. This complements the RecipeVariantprops type that extracts the variant as optional props, mostly intended for JSX components.
  • Add missing log with the panda -w CLI, expose resolveConfig from @pandacss/config
  • Add a config.polyfill option that will polyfill the CSS @layer at-rules using a postcss plugin
  • And --polyfill flag to panda and panda cssgen commands
  • Add textShadowColor utility
css({
  textShadow: '1px 1px 1px var(--text-shadow-color)',
  textShadowColor: 'black',
})

Changed

  • Automatically merge the base object in the css root styles in the runtime
  • Sort the longhand/shorthand atomic rules in a deterministic order to prevent property conflicts

This may be a breaking change depending on how your styles are created

Ex:

css({
  padding: '1px',
  paddingTop: '3px',
  paddingBottom: '4px',
})

Will now always generate the following css:

@layer utilities {
  .p_1px {
    padding: 1px;
  }

  .pt_3px {
    padding-top: 3px;
  }

  .pb_4px {
    padding-bottom: 4px;
  }
}
segunadebayo
published 0.0.0-dev-20240212192921 •

segunadebayo
published 0.0.0-dev-20240212185235 •

segunadebayo
published 0.0.0-dev-20240212114108 •

segunadebayo
published 0.0.0-dev-20240212091357 •

segunadebayo
published 0.0.0-dev-20240212091351 •

segunadebayo
published 0.0.0-dev-20240211205914 •

segunadebayo
published 0.0.0-dev-20240211192055 •

segunadebayo
published 0.0.0-dev-20240211191317 •

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