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

Animation name autocompletion not working with custom keyframes #2546

Closed
1 of 3 tasks
Heenkkk opened this issue Apr 30, 2024 · 0 comments · Fixed by #2551
Closed
1 of 3 tasks

Animation name autocompletion not working with custom keyframes #2546

Heenkkk opened this issue Apr 30, 2024 · 0 comments · Fixed by #2551

Comments

@Heenkkk
Copy link

Heenkkk commented Apr 30, 2024

Description

When I extend the theme with custom keyframes, I expect the animation and animationName properties to be able to autocomplete the available keyframe names. The animation does work, but autocompletion is not available.

Link to Reproduction

https://play.panda-css.com/HauRn_SmG6

Steps to reproduce

  1. Go to App.tsx
  2. Try to set the animation or animationName property
  3. slideInLeft and slideOutLeft should be available as options with autocompletion (as per added in the config)

JS Framework

React (TS)

Panda CSS Version

0.38.0

Browser

No response

Operating System

  • macOS
  • Windows
  • Linux

Additional Information

With animationName I only get the following options:
image

And with animation, I get the following (which also include the default spin, ping, pulse and bounce):
image

The following is generated in tokens.d.ts when including the animated-pandacss preset, but the keys are not available for autocompletion.

export type AnimationName = "spin" | "ping" | "bounce" | "flash" | "pulse" | "rubberBand" | "shakeX" | "shakeY" | "headShake" | "swing" | "tada" | "wobble" | "jello" | "heartBeat" | "backInDown" | "backInLeft" | "backInRight" | "backInUp" | "backOutDown" | "backOutLeft" | "backOutRight" | "backOutUp" | "bounceIn" | "bounceInDown" | "bounceInLeft" | "bounceInRight" | "bounceInUp" | "bounceOut" | "bounceOutDown" | "bounceOutLeft" | "bounceOutRight" | "bounceOutUp" | "fadeIn" | "fadeInDown" | "fadeInDownBig" | "fadeInLeft" | "fadeInLeftBig" | "fadeInRight" | "fadeInRightBig" | "fadeInUp" | "fadeInUpBig" | "fadeInTopLeft" | "fadeInTopRight" | "fadeInBottomLeft" | "fadeInBottomRight" | "fadeOut" | "fadeOutDown" | "fadeOutDownBig" | "fadeOutLeft" | "fadeOutLeftBig" | "fadeOutRight" | "fadeOutRightBig" | "fadeOutUp" | "fadeOutUpBig" | "fadeOutTopLeft" | "fadeOutTopRight" | "fadeOutBottomRight" | "fadeOutBottomLeft" | "flip" | "flipInX" | "flipInY" | "flipOutX" | "flipOutY" | "lightSpeedInRight" | "lightSpeedInLeft" | "lightSpeedOutRight" | "lightSpeedOutLeft" | "rotateIn" | "rotateInDownLeft" | "rotateInDownRight" | "rotateInUpLeft" | "rotateInUpRight" | "rotateOut" | "rotateOutDownLeft" | "rotateOutDownRight" | "rotateOutUpLeft" | "rotateOutUpRight" | "hinge" | "jackInTheBox" | "rollIn" | "rollOut" | "zoomIn" | "zoomInDown" | "zoomInLeft" | "zoomInRight" | "zoomInUp" | "zoomOut" | "zoomOutDown" | "zoomOutLeft" | "zoomOutRight" | "zoomOutUp" | "slideInDown" | "slideInLeft" | "slideInRight" | "slideInUp" | "slideOutDown" | "slideOutLeft" | "slideOutRight" | "slideOutUp"
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 a pull request may close this issue.

1 participant