github chakra-ui/panda @pandacss/studio@0.34.3

latest releases: @pandacss/types@0.53.0, @pandacss/preset-panda@0.53.0, @pandacss/token-dictionary@0.53.0...
11 months ago

Patch Changes

  • 4576a60: Fix nested styled factory composition

    import { styled } from "../styled-system/jsx";
    
    const BasicBox = styled("div", { base: { fontSize: "10px" } });
    const ExtendedBox1 = styled(BasicBox, { base: { fontSize: "20px" } });
    const ExtendedBox2 = styled(ExtendedBox1, { base: { fontSize: "30px" } });
    
    export const App = () => {
      return (
        <>
          {/* ✅ fs_10px */}
          <BasicBox>text1</BasicBox>
          {/* ✅ fs_20px */}
          <ExtendedBox1>text2</ExtendedBox1>
          {/* BEFORE: ❌ fs_10px fs_30px */}
          {/* NOW: ✅ fs_30px */}
          <ExtendedBox2>text3</ExtendedBox2>
        </>
      );
    };
    • @pandacss/astro-plugin-studio@0.34.3
    • @pandacss/config@0.34.3
    • @pandacss/logger@0.34.3
    • @pandacss/shared@0.34.3
    • @pandacss/token-dictionary@0.34.3
    • @pandacss/types@0.34.3

Don't miss a new panda release

NewReleases is sending notifications on new releases.