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

@pandacss/astro-plugin-studio

Package Overview
Dependencies
Maintainers
0
Versions
319
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pandacss/astro-plugin-studio - npm Package Versions

1
32

0.0.0-dev-20240106191203

Diff

segunadebayo
published 0.0.0-dev-20240106191137 •

segunadebayo
published 0.25.0 •

Changelog

Source

[0.25.0] - 2024-01-06

Fixed

  • Fix config dependencies detection by re-introducing the file tracing utility
  • Fix issue where base doesn't work within css function
css({
  // This didn't work, but now it does
  base: { color: 'blue' },
})

Added

  • Add a way to generate the staticCss for all recipes (and all variants of each recipe)
import { defineConfig } from '@pandacss/dev'

export default defineConfig({
  // ...
  staticCss: {
    recipes: '*', // ✅ will generate the staticCss for all recipes
  },
})
  • Support token reference syntax when authoring styles object, text styles and layer styles.
import { css } from '../styled-system/css'

const styles = css({
  border: '2px solid {colors.primary}',
})

This will resolve the token reference and convert it to css variables.

.border_2px_solid_\{colors\.primary\} {
  border: 2px solid var(--colors-primary);
}

The alternative to this was to use the token(...) css function which will be resolved.

token(...) vs {...}

Both approaches return the css variable

const styles = css({
  // token reference syntax
  border: '2px solid {colors.primary}',
  // token function syntax
  border: '2px solid token(colors.primary)',
})

However, The token(...) syntax allows you to set a fallback value.

const styles = css({
  border: '2px solid token(colors.primary, red)',
})
segunadebayo
published 0.0.0-dev-20240106004525 •

segunadebayo
published 0.0.0-dev-20240105182122 •

segunadebayo
published 0.0.0-dev-20240104190957 •

segunadebayo
published 0.24.2 •

Changelog

Source

[0.24.2] - 2024-01-04

Fixed

  • Fix a regression with utility where boolean values would be treated as a string, resulting in "false" being seen as a truthy value
  • Fix an issue with the panda init command which didn't update existing .gitignore to include the styled-system
  • Fix issue where config slot recipes with compound variants were not processed correctly
segunadebayo
published 0.0.0-dev-20240104000044 •

segunadebayo
published 0.0.0-dev-20240103185234 •

segunadebayo
published 0.0.0-dev-20240103102529 •

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