@pandacss/astro-plugin-studio
Advanced tools
Changelog
[0.22.1] - 2023-12-15
slotRecipes
typings, the recently added recipe.staticCss
added
to config.recipes
weren't added to config.slotRecipes
config.strictTokens
when using the [xxx]
escape-hatch syntax with property-based
conditionalscss({
bg: '[#3B00B9]', // ✅ was okay
_dark: {
// ✅ was okay
color: '[#3B00B9]',
},
// ❌ Not okay, will be fixed in this patch
color: {
_dark: '[#3B00B9]',
},
})
Fix a regression with the @pandacss/astro integration where the automatically provided base.css
would be ignored by
the @pandacss/postcss plugin
Fix a CSS generation issue with config.strictTokens
when using the [xxx]
escape-hatch syntax with !
or
!important
css({
borderWidth: '[2px!]',
width: '[2px !important]',
})
Changelog
[0.22.0] - 2023-12-14
styled-system/jsx/index
had the wrong exportspathe
instead of path
children
does not work in styled factory's defaultProps
in React, Preact and QwikUpdate csstype to support newer css features
Redesign astro integration and studio to use the new Astro v4 (experimental) JavaScript API
Update Astro version to v4 for the @pandacss/studio
Improve initial css extraction time by at least 5x 🚀
Initial extraction time can get slow when using static CSS with lots of recipes or parsing a lot of files.
Scenarios
Potential Breaking Change
If you use hooks
in your panda.config
file to listen for when css is extracted, we no longer return the css
string for performance reasons. We might reconsider this in the future.