Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pandacss/error

Package Overview
Dependencies
Maintainers
1
Versions
922
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pandacss/error - npm Package Versions

1
93

0.0.0-dev-20231128191244

Diff

segunadebayo
published 0.19.0 •

Changelog

Source

[0.19.0] - 2023-11-24

Fixed

  • Fix issue where typescript error is shown in recipes when exactOptionalPropertyTypes is set.

    To learn more about this issue, see this issue

  • Fix issue in preflight where monospace fallback pointed to the wrong variable
  • Fix issue where css variables were not supported in layer styles and text styles types.
  • Fix issue where recipe artifacts might not match the recipes defined in the theme due to the internal cache not being cleared as needed.

Changed

  • Require explicit installation of @pandacss/studio to use the panda studio command.
  • Improves the config.strictTokens type-safety by allowing CSS predefined values (like 'flex' or 'block' for the property 'display') and throwing when using anything else than those, if no theme tokens was found on that property.

Before:

// config.strictTokens = true
css({ display: 'flex' }) // OK, didn't throw
css({ display: 'block' }) // OK, didn't throw
css({ display: 'abc' }) // ❌ didn't throw even though 'abc' is not a valid value for 'display'

Now:

// config.strictTokens = true
css({ display: 'flex' }) // OK, didn't throw
css({ display: 'block' }) // OK, didn't throw
css({ display: 'abc' }) // ✅ will throw since 'abc' is not a valid value for 'display'
segunadebayo
published 0.0.0-dev-20231122181702 •

segunadebayo
published 0.0.0-dev-20231122180455 •

segunadebayo
published 0.0.0-dev-20231122132710 •

segunadebayo
published 0.0.0-dev-20231122132114 •

segunadebayo
published 0.0.0-dev-20231122120702 •

segunadebayo
published 0.0.0-dev-20231121133835 •

segunadebayo
published 0.0.0-dev-20231121133707 •

segunadebayo
published 0.0.0-dev-20231121130830 •

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