@pandacss/studio 0.48.1 → 0.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/studio.mjs CHANGED
@@ -1,4 +1,4 @@
1
- // ../../node_modules/.pnpm/tsup@8.0.2_@swc+core@1.9.2_postcss@8.4.49_typescript@5.3.3/node_modules/tsup/assets/esm_shims.js
1
+ // ../../node_modules/.pnpm/tsup@8.0.2_@swc+core@1.7.6_postcss@8.4.49_typescript@5.3.3/node_modules/tsup/assets/esm_shims.js
2
2
  import { fileURLToPath } from "url";
3
3
  import path from "path";
4
4
  var getFilename = () => fileURLToPath(import.meta.url);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/studio",
3
- "version": "0.48.1",
3
+ "version": "0.50.0",
4
4
  "description": "The automated token documentation for Panda CSS",
5
5
  "main": "dist/studio.js",
6
6
  "module": "dist/studio.mjs",
@@ -44,16 +44,16 @@
44
44
  "license": "MIT",
45
45
  "dependencies": {
46
46
  "@astrojs/react": "3.6.3",
47
- "astro": "4.16.16",
47
+ "astro": "4.16.18",
48
48
  "react": "18.2.0",
49
49
  "react-dom": "18.2.0",
50
50
  "vite": "5.4.11",
51
- "@pandacss/config": "0.48.1",
52
- "@pandacss/logger": "0.48.1",
53
- "@pandacss/shared": "0.48.1",
54
- "@pandacss/token-dictionary": "0.48.1",
55
- "@pandacss/types": "0.48.1",
56
- "@pandacss/astro-plugin-studio": "0.48.1"
51
+ "@pandacss/config": "0.50.0",
52
+ "@pandacss/logger": "0.50.0",
53
+ "@pandacss/shared": "0.50.0",
54
+ "@pandacss/token-dictionary": "0.50.0",
55
+ "@pandacss/types": "0.50.0",
56
+ "@pandacss/astro-plugin-studio": "0.50.0"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@types/react": "18.2.55",
@@ -132,7 +132,33 @@ export type LayerStyle = CompositionStyleObject<LayerStyleProperty>
132
132
 
133
133
  export type LayerStyles = Recursive<Token<LayerStyle>>
134
134
 
135
+ /* -----------------------------------------------------------------------------
136
+ * Motion styles
137
+ * -----------------------------------------------------------------------------*/
138
+
139
+ type AnimationStyleProperty =
140
+ | 'animation'
141
+ | 'animationComposition'
142
+ | 'animationDelay'
143
+ | 'animationDirection'
144
+ | 'animationDuration'
145
+ | 'animationFillMode'
146
+ | 'animationIterationCount'
147
+ | 'animationName'
148
+ | 'animationPlayState'
149
+ | 'animationTimingFunction'
150
+ | 'animationRange'
151
+ | 'animationRangeStart'
152
+ | 'animationRangeEnd'
153
+ | 'animationTimeline'
154
+ | 'transformOrigin'
155
+
156
+ export type AnimationStyle = CompositionStyleObject<AnimationStyleProperty>
157
+
158
+ export type AnimationStyles = Recursive<Token<AnimationStyle>>
159
+
135
160
  export interface CompositionStyles {
136
161
  textStyles: TextStyles
137
162
  layerStyles: LayerStyles
163
+ animationStyles: AnimationStyles
138
164
  }
@@ -13,6 +13,7 @@ declare module '@pandacss/dev' {
13
13
  export function defineStyles(definition: SystemStyleObject): SystemStyleObject
14
14
  export function defineGlobalStyles(definition: GlobalStyleObject): Panda.GlobalStyleObject
15
15
  export function defineTextStyles(definition: CompositionStyles['textStyles']): Panda.TextStyles
16
+ export function defineAnimationStyles(definition: CompositionStyles['animationStyles']): Panda.AnimationStyles
16
17
  export function defineLayerStyles(definition: CompositionStyles['layerStyles']): Panda.LayerStyles
17
18
  export function definePattern<T extends PatternProperties>(config: PatternConfig<T>): Panda.PatternConfig
18
19
  export function defineParts<T extends Parts>(parts: T): (config: Partial<Record<keyof T, SystemStyleObject>>) => Partial<Record<keyof T, SystemStyleObject>>