@pandacss/generator 0.39.0 → 0.39.1

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/index.js CHANGED
@@ -154,16 +154,20 @@ function generateCssFn(ctx) {
154
154
 
155
155
  type Styles = SystemStyleObject | undefined | null | false
156
156
 
157
+ interface CssRawFunction {
158
+ (styles: Styles): SystemStyleObject
159
+ (styles: Styles[]): SystemStyleObject
160
+ (...styles: Array<Styles | Styles[]>): SystemStyleObject
161
+ (styles: Styles): SystemStyleObject
162
+ }
163
+
157
164
  interface CssFunction {
158
165
  (styles: Styles): string
159
166
  (styles: Styles[]): string
160
167
  (...styles: Array<Styles | Styles[]>): string
161
168
  (styles: Styles): string
162
169
 
163
- raw: (styles: Styles) => string
164
- raw: (styles: Styles[]) => string
165
- raw: (...styles: Array<Styles | Styles[]>) => string
166
- raw: (styles: Styles) => string
170
+ raw: CssRawFunction
167
171
  }
168
172
 
169
173
  export declare const css: CssFunction;
package/dist/index.mjs CHANGED
@@ -118,16 +118,20 @@ function generateCssFn(ctx) {
118
118
 
119
119
  type Styles = SystemStyleObject | undefined | null | false
120
120
 
121
+ interface CssRawFunction {
122
+ (styles: Styles): SystemStyleObject
123
+ (styles: Styles[]): SystemStyleObject
124
+ (...styles: Array<Styles | Styles[]>): SystemStyleObject
125
+ (styles: Styles): SystemStyleObject
126
+ }
127
+
121
128
  interface CssFunction {
122
129
  (styles: Styles): string
123
130
  (styles: Styles[]): string
124
131
  (...styles: Array<Styles | Styles[]>): string
125
132
  (styles: Styles): string
126
133
 
127
- raw: (styles: Styles) => string
128
- raw: (styles: Styles[]) => string
129
- raw: (...styles: Array<Styles | Styles[]>) => string
130
- raw: (styles: Styles) => string
134
+ raw: CssRawFunction
131
135
  }
132
136
 
133
137
  export declare const css: CssFunction;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/generator",
3
- "version": "0.39.0",
3
+ "version": "0.39.1",
4
4
  "description": "The css generator for css panda",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -37,12 +37,12 @@
37
37
  "pluralize": "8.0.0",
38
38
  "postcss": "8.4.35",
39
39
  "ts-pattern": "5.0.8",
40
- "@pandacss/core": "0.39.0",
41
- "@pandacss/is-valid-prop": "^0.39.0",
42
- "@pandacss/logger": "0.39.0",
43
- "@pandacss/shared": "0.39.0",
44
- "@pandacss/token-dictionary": "0.39.0",
45
- "@pandacss/types": "0.39.0"
40
+ "@pandacss/core": "0.39.1",
41
+ "@pandacss/is-valid-prop": "^0.39.1",
42
+ "@pandacss/logger": "0.39.1",
43
+ "@pandacss/shared": "0.39.1",
44
+ "@pandacss/token-dictionary": "0.39.1",
45
+ "@pandacss/types": "0.39.1"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/pluralize": "0.0.33"