Major Changes
-
9e45720: Remove Qwik JSX support:
jsxFramework: 'qwik'no longer generatesstyled,Box, or pattern components.- To migrate, remove
jsxFrameworkand style Qwik components withcss(),cva(), and pattern functions on the
classattribute.
Patch Changes
-
882730a: Follow
export * frombarrel files:- Tokens, style values, and recipes imported through a barrel are extracted and folded like direct imports.
- Large
export { … } frombarrels process much faster.
// components/index.ts export * from './button' export * from './tokens' // app.tsx import { button, brand } from './components' button({ size: 'lg' }) // folds to its class string css({ color: brand }) // extracts the `brand` color
-
883ecd6: Ship less recipe code with
transform: true:- Static
cvaandsvacalls, including imported ones, compile into small per-recipe functions. Fully compiled
recipes drop out of the bundle. - Compiled recipes keep their API and work with
styledandcreateSlotRecipeContext. With hashed class names they
stay on the runtime. - Fix transformed classes not matching the runtime for nested conditions (
md: { _hover: … }), projects without a
preset, compound variants, andsplitVariantPropsorder.
- Static
-
882730a: Shrink generated styled-system output:
- Bundlers can drop the condition list and
normalizeHTMLPropswhen nothing uses them, about 2.7 KB with the full
preset.
- Bundlers can drop the condition list and
-
Updated dependencies [9e45720]
-
Updated dependencies [883ecd6]
- @pandacss/types@2.0.0-beta.20
- @pandacss/compiler-shared@2.0.0-beta.20
- @pandacss/config@2.0.0-beta.20