Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update panda-css monorepo to v0.49.0 #75

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 17, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@pandacss/dev (source) 0.41.0 -> 0.49.0 age adoption passing confidence
@pandacss/types (source) 0.41.0 -> 0.49.0 age adoption passing confidence

Release Notes

chakra-ui/panda (@​pandacss/dev)

v0.49.0

Compare Source

Minor Changes
  • 97a0e4d: Add support for animation styles. Animation styles focus solely on animations, allowing you to orchestrate
    animation properties.

    Pairing animation styles with text styles and layer styles can make your styles a lot cleaner.

    Here's an example of this:

    import { defineAnimationStyles } from '@​pandacss/dev'
    
    export const animationStyles = defineAnimationStyles({
      'slide-fade-in': {
        value: {
          transformOrigin: 'var(--transform-origin)',
          animationDuration: 'fast',
          '&[data-placement^=top]': {
            animationName: 'slide-from-top, fade-in',
          },
          '&[data-placement^=bottom]': {
            animationName: 'slide-from-bottom, fade-in',
          },
          '&[data-placement^=left]': {
            animationName: 'slide-from-left, fade-in',
          },
          '&[data-placement^=right]': {
            animationName: 'slide-from-right, fade-in',
          },
        },
      },
    })

    With that defined, I can use it in my recipe or css like so:

    export const popoverSlotRecipe = defineSlotRecipe({
      slots: anatomy.keys(),
      base: {
        content: {
          _open: {
            animationStyle: 'scale-fade-in',
          },
          _closed: {
            animationStyle: 'scale-fade-out',
          },
        },
      },
    })

    This feature will drive consumers to lean in towards CSS for animations rather than JS. Composing animation names is a
    powerful feature we should encourage consumers to use.

Patch Changes

v0.48.1

Compare Source

Patch Changes

v0.48.0

Compare Source

Patch Changes

v0.47.1

Compare Source

Patch Changes

v0.47.0

Compare Source

Patch Changes

v0.46.1

Compare Source

Patch Changes

v0.46.0

Compare Source

Patch Changes

v0.45.2

Compare Source

Patch Changes

v0.45.1

Compare Source

Patch Changes

v0.45.0

Compare Source

Patch Changes

v0.44.0

Compare Source

Patch Changes

v0.43.0

Compare Source

Patch Changes

v0.42.0

Compare Source

Patch Changes
chakra-ui/panda (@​pandacss/types)

v0.49.0

Compare Source

Minor Changes
  • 97a0e4d: Add support for animation styles. Animation styles focus solely on animations, allowing you to orchestrate
    animation properties.

    Pairing animation styles with text styles and layer styles can make your styles a lot cleaner.

    Here's an example of this:

    import { defineAnimationStyles } from '@​pandacss/dev'
    
    export const animationStyles = defineAnimationStyles({
      'slide-fade-in': {
        value: {
          transformOrigin: 'var(--transform-origin)',
          animationDuration: 'fast',
          '&[data-placement^=top]': {
            animationName: 'slide-from-top, fade-in',
          },
          '&[data-placement^=bottom]': {
            animationName: 'slide-from-bottom, fade-in',
          },
          '&[data-placement^=left]': {
            animationName: 'slide-from-left, fade-in',
          },
          '&[data-placement^=right]': {
            animationName: 'slide-from-right, fade-in',
          },
        },
      },
    })

    With that defined, I can use it in my recipe or css like so:

    export const popoverSlotRecipe = defineSlotRecipe({
      slots: anatomy.keys(),
      base: {
        content: {
          _open: {
            animationStyle: 'scale-fade-in',
          },
          _closed: {
            animationStyle: 'scale-fade-out',
          },
        },
      },
    })

    This feature will drive consumers to lean in towards CSS for animations rather than JS. Composing animation names is a
    powerful feature we should encourage consumers to use.

v0.48.1

Compare Source

v0.48.0

Compare Source

v0.47.1

Compare Source

v0.47.0

Compare Source

Minor Changes
  • 5e683ee: Add support for cursor token types. Useful for tokenizing cursor types for interactive components.

    Here's an example of how to define a cursor token in your panda.config.ts file:

    // panda.config.ts
    export default defineConfig({
      theme: {
        extend: {
          tokens: {
            cursor: {
              button: { value: 'pointer' },
              checkbox: { value: 'default' },
            },
          },
        },
      },
    })

    Then you can use the cursor token in your styles or recipes.

    <button className={css({ cursor: 'button' })}>Click me</button>

    This makes it easy to manage cursor styles across your application.

v0.46.1

Compare Source

v0.46.0

Compare Source

v0.45.2

Compare Source

v0.45.1

Compare Source

v0.45.0

Compare Source

Minor Changes
  • dcc9053: Remove base from css or pattern style objects. The base keyword is only supported in recipes or
    conditional styles.

    Before

    hstack({
      // ❌ doesn't work
      base: {
        background: 'red.400',
        p: '11',
      },
      display: 'flex',
      flexDirection: 'column',
    })

    After

    hstack({
      // ✅ works
      background: 'red.400',
      p: '11',
      display: 'flex',
      flexDirection: 'column',
    })

v0.44.0

Compare Source

Minor Changes
  • c99cb75: Add a name mandatory key in Preset to make it easy to target one specifically

v0.43.0

Compare Source

Minor Changes
  • e952f82: Add support for defining global font face in config and preset

    // pandacss.config.js
    export default defineConfig({
      globalFontface: {
        Roboto: {
          src: 'url(/fonts/roboto.woff2) format("woff2")',
          fontWeight: '400',
          fontStyle: 'normal',
        },
      },
    })

    You can also add multiple font src for the same weight

    // pandacss.config.js
    
    export default defineConfig({
      globalFontface: {
        Roboto: {
          // multiple src
          src: ['url(/fonts/roboto.woff2) format("woff2")', 'url(/fonts/roboto.woff) format("woff")'],
          fontWeight: '400',
          fontStyle: 'normal',
        },
      },
    })

    You can also define multiple font weights

    // pandacss.config.js
    
    export default defineConfig({
      globalFontface: {
        // multiple font weights
        Roboto: [
          {
            src: 'url(/fonts/roboto.woff2) format("woff2")',
            fontWeight: '400',
            fontStyle: 'normal',
          },
          {
            src: 'url(/fonts/roboto-bold.woff2) format("woff2")',
            fontWeight: '700',
            fontStyle: 'normal',
          },
        ],
      },
    })

v0.42.0

Compare Source

Minor Changes
  • e157dd1: - Ensure classnames are unique across utilities to prevent potential clash

    • Add support for 4xl border radius token
  • f00ff88: BREAKING: Remove emitPackage config option,

    tldr: use importMap instead for absolute paths (e.g can be used for component libraries)

    emitPackage is deprecated, it's known for causing several issues:

    • bundlers sometimes eagerly cache the node_modules, leading to panda codegen updates to the styled-system not
      visible in the browser
    • auto-imports are not suggested in your IDE.
    • in some IDE the typings are not always reflected properly

    As alternatives, you can use:

    • relative paths instead of absolute paths (e.g. ../styled-system/css instead of styled-system/css)
    • use package.json #imports and/or tsconfig path aliases (prefer package.json#imports when possible, TS 5.4 supports
      them by default) like #styled-system/css instead of styled-system/css
      https://nodejs.org/api/packages.html#subpath-imports
    • for a component library, use a dedicated workspace package (e.g. @acme/styled-system) and use
      importMap: "@&#8203;acme/styled-system" so that Panda knows which entrypoint to extract, e.g.
      import { css } from '@&#8203;acme/styled-system/css' https://panda-css.com/docs/guides/component-library
Patch Changes
  • 19c3a2c: Minor changes to the format of the panda analyze --output coverage.json file
  • 17a1932: [BREAKING] Removed the legacy config.optimize option because it was redundant. Now, we always optimize the
    generated CSS where possible.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

vercel bot commented Aug 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
panda-plugin-crv ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 9, 2024 1:46am

@renovate renovate bot force-pushed the renovate/panda-css-monorepo branch from 04ae10b to 74ec507 Compare August 17, 2024 19:14
@renovate renovate bot force-pushed the renovate/panda-css-monorepo branch from 74ec507 to 7ec3401 Compare August 29, 2024 09:17
@renovate renovate bot changed the title chore(deps): update panda-css monorepo to v0.45.1 chore(deps): update panda-css monorepo to v0.45.2 Aug 29, 2024
@renovate renovate bot force-pushed the renovate/panda-css-monorepo branch from 7ec3401 to 1d04e43 Compare September 9, 2024 19:49
@renovate renovate bot changed the title chore(deps): update panda-css monorepo to v0.45.2 chore(deps): update panda-css monorepo to v0.46.0 Sep 9, 2024
@renovate renovate bot force-pushed the renovate/panda-css-monorepo branch from 1d04e43 to dba3ba0 Compare September 23, 2024 01:54
@renovate renovate bot changed the title chore(deps): update panda-css monorepo to v0.46.0 chore(deps): update panda-css monorepo to v0.46.1 Sep 23, 2024
@renovate renovate bot force-pushed the renovate/panda-css-monorepo branch from dba3ba0 to 092a6b7 Compare October 19, 2024 03:07
@renovate renovate bot changed the title chore(deps): update panda-css monorepo to v0.46.1 chore(deps): update panda-css monorepo to v0.47.0 Oct 19, 2024
@renovate renovate bot force-pushed the renovate/panda-css-monorepo branch from 092a6b7 to 5827a60 Compare October 22, 2024 16:45
@renovate renovate bot force-pushed the renovate/panda-css-monorepo branch from 5827a60 to 2f16cef Compare November 6, 2024 11:55
@renovate renovate bot changed the title chore(deps): update panda-css monorepo to v0.47.0 chore(deps): update panda-css monorepo to v0.47.1 Nov 6, 2024
@renovate renovate bot force-pushed the renovate/panda-css-monorepo branch from 2f16cef to 27bc3a8 Compare November 14, 2024 03:08
@renovate renovate bot changed the title chore(deps): update panda-css monorepo to v0.47.1 chore(deps): update panda-css monorepo to v0.48.0 Nov 14, 2024
@renovate renovate bot force-pushed the renovate/panda-css-monorepo branch from 27bc3a8 to 18564dd Compare December 7, 2024 19:55
@renovate renovate bot changed the title chore(deps): update panda-css monorepo to v0.48.0 chore(deps): update panda-css monorepo to v0.48.1 Dec 7, 2024
@renovate renovate bot force-pushed the renovate/panda-css-monorepo branch from 18564dd to dc02c68 Compare December 9, 2024 01:45
@renovate renovate bot changed the title chore(deps): update panda-css monorepo to v0.48.1 chore(deps): update panda-css monorepo to v0.49.0 Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants