-
-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
97a0e4d
commit cada22c
Showing
39 changed files
with
449 additions
and
79 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@pandacss/astro-plugin-studio", | ||
"version": "0.48.1", | ||
"version": "0.49.0", | ||
"description": "Vite plugin for Pandacss Studio", | ||
"author": "Segun Adebayo <[email protected]>", | ||
"main": "dist/index.js", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
# @pandacss/extractor | ||
|
||
## 0.49.0 | ||
|
||
### Patch Changes | ||
|
||
- @pandacss/shared@0.49.0 | ||
|
||
## 0.48.1 | ||
|
||
### Patch Changes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,72 @@ | ||
# @pandacss/generator | ||
|
||
## 0.49.0 | ||
|
||
### 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: | ||
|
||
```jsx | ||
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: | ||
|
||
```js | ||
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 | ||
|
||
- Updated dependencies [97a0e4d] | ||
- @pandacss/[email protected] | ||
- @pandacss/[email protected] | ||
- @pandacss/[email protected] | ||
- @pandacss/[email protected] | ||
- @pandacss/[email protected] | ||
- @pandacss/[email protected] | ||
|
||
## 0.48.1 | ||
|
||
### Patch Changes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# @pandacss/is-valid-prop | ||
|
||
## 0.49.0 | ||
|
||
## 0.48.1 | ||
|
||
## 0.48.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.