@pandacss/types
Advanced tools
Comparing version 0.48.1 to 0.49.0
@@ -134,5 +134,31 @@ import type { CompositionStyleObject } from './system-types' | ||
/* ----------------------------------------------------------------------------- | ||
* Motion styles | ||
* -----------------------------------------------------------------------------*/ | ||
type AnimationStyleProperty = | ||
| 'animation' | ||
| 'animationComposition' | ||
| 'animationDelay' | ||
| 'animationDirection' | ||
| 'animationDuration' | ||
| 'animationFillMode' | ||
| 'animationIterationCount' | ||
| 'animationName' | ||
| 'animationPlayState' | ||
| 'animationTimingFunction' | ||
| 'animationRange' | ||
| 'animationRangeStart' | ||
| 'animationRangeEnd' | ||
| 'animationTimeline' | ||
| 'transformOrigin' | ||
export type AnimationStyle = CompositionStyleObject<AnimationStyleProperty> | ||
export type AnimationStyles = Recursive<Token<AnimationStyle>> | ||
export interface CompositionStyles { | ||
textStyles: TextStyles | ||
layerStyles: LayerStyles | ||
animationStyles: AnimationStyles | ||
} |
@@ -1,2 +0,2 @@ | ||
import type { LayerStyles, TextStyles } from './composition' | ||
import type { AnimationStyles, LayerStyles, TextStyles } from './composition' | ||
import type { RecipeConfig, SlotRecipeConfig } from './recipe' | ||
@@ -32,2 +32,6 @@ import type { CssKeyframes } from './system-types' | ||
/** | ||
* The animation styles for your project. | ||
*/ | ||
animationStyles?: AnimationStyles | ||
/** | ||
* Multi-variant style definitions for your project. | ||
@@ -34,0 +38,0 @@ * Useful for defining component styles. |
{ | ||
"name": "@pandacss/types", | ||
"version": "0.48.1", | ||
"version": "0.49.0", | ||
"description": "The types for css panda", | ||
@@ -34,3 +34,3 @@ "main": "dist/index.d.ts", | ||
"ts-morph": "21.0.1", | ||
"@pandacss/extractor": "0.48.1" | ||
"@pandacss/extractor": "0.49.0" | ||
}, | ||
@@ -37,0 +37,0 @@ "scripts": { |
966102
22760