github chakra-ui/panda @pandacss/parser@0.39.0

latest releases: @pandacss/token-dictionary@0.51.1, @pandacss/types@0.51.1, @pandacss/studio@0.51.1...
8 months ago

Minor Changes

  • df2546a: BREAKING 💥

    Remove linkBox pattern in favor of using adding position: relative when using the linkOverlay pattern.

    Before

    import { linkBox, linkOverlay } from "styled-system/patterns";
    
    const App = () => {
      return (
        <div className={linkBox()}>
          <img src="https://via.placeholder.com/150" alt="placeholder" />
          <a href="#" className={linkOverlay()}>
            Link
          </a>
        </div>
      );
    };

    After

    import { css } from "styled-system/css";
    import { linkOverlay } from "styled-system/patterns";
    
    const App = () => {
      return (
        <div className={css({ pos: "relative" })}>
          <img src="https://via.placeholder.com/150" alt="placeholder" />
          <a href="#" className={linkOverlay()}>
            Link
          </a>
        </div>
      );
    };

Patch Changes

  • Updated dependencies [221c9a2]
  • Updated dependencies [c3e797e]
  • Updated dependencies [935ec86]
    • @pandacss/types@0.39.0
    • @pandacss/core@0.39.0
    • @pandacss/shared@0.39.0
    • @pandacss/config@0.39.0
    • @pandacss/logger@0.39.0
    • @pandacss/extractor@0.39.0

Don't miss a new panda release

NewReleases is sending notifications on new releases.