@pandacss/studio 0.39.0 → 0.39.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/studio",
3
- "version": "0.39.0",
3
+ "version": "0.39.2",
4
4
  "description": "The automated token documentation for Panda CSS",
5
5
  "main": "dist/studio.js",
6
6
  "module": "dist/studio.mjs",
@@ -48,12 +48,12 @@
48
48
  "react": "18.2.0",
49
49
  "react-dom": "18.2.0",
50
50
  "vite": "5.1.7",
51
- "@pandacss/config": "0.39.0",
52
- "@pandacss/logger": "0.39.0",
53
- "@pandacss/shared": "0.39.0",
54
- "@pandacss/token-dictionary": "0.39.0",
55
- "@pandacss/types": "0.39.0",
56
- "@pandacss/astro-plugin-studio": "0.39.0"
51
+ "@pandacss/config": "0.39.2",
52
+ "@pandacss/logger": "0.39.2",
53
+ "@pandacss/shared": "0.39.2",
54
+ "@pandacss/token-dictionary": "0.39.2",
55
+ "@pandacss/types": "0.39.2",
56
+ "@pandacss/astro-plugin-studio": "0.39.2"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@types/react": "18.2.55",
@@ -3,16 +3,20 @@ import type { SystemStyleObject } from '../types/index';
3
3
 
4
4
  type Styles = SystemStyleObject | undefined | null | false
5
5
 
6
+ interface CssRawFunction {
7
+ (styles: Styles): SystemStyleObject
8
+ (styles: Styles[]): SystemStyleObject
9
+ (...styles: Array<Styles | Styles[]>): SystemStyleObject
10
+ (styles: Styles): SystemStyleObject
11
+ }
12
+
6
13
  interface CssFunction {
7
14
  (styles: Styles): string
8
15
  (styles: Styles[]): string
9
16
  (...styles: Array<Styles | Styles[]>): string
10
17
  (styles: Styles): string
11
18
 
12
- raw: (styles: Styles) => string
13
- raw: (styles: Styles[]) => string
14
- raw: (...styles: Array<Styles | Styles[]>) => string
15
- raw: (styles: Styles) => string
19
+ raw: CssRawFunction
16
20
  }
17
21
 
18
22
  export declare const css: CssFunction;
@@ -68,9 +68,8 @@ export type CompositionStyleObject<Property extends string> = Nested<FilterStyle
68
68
  interface WithCss {
69
69
  css?: SystemStyleObject | SystemStyleObject[]
70
70
  }
71
- type StyleProps = SystemStyleObject & WithCss
72
71
 
73
- export type JsxStyleProps = StyleProps & WithCss
72
+ export type JsxStyleProps = SystemStyleObject & WithCss
74
73
 
75
74
  export interface PatchedHTMLProps {
76
75
  htmlWidth?: string | number