@pandacss/generator 1.11.0 → 1.11.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 +20 -1
- package/dist/index.mjs +20 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -261,7 +261,26 @@ function generateStringLiteralCssFn(ctx) {
|
|
|
261
261
|
const { separator } = utility;
|
|
262
262
|
return {
|
|
263
263
|
dts: import_outdent4.outdent`
|
|
264
|
-
|
|
264
|
+
${ctx.file.importType("SystemStyleObject", "../types/index")}
|
|
265
|
+
|
|
266
|
+
type Styles =
|
|
267
|
+
| { raw: readonly string[] | ArrayLike<string> }
|
|
268
|
+
| SystemStyleObject
|
|
269
|
+
| boolean
|
|
270
|
+
| null
|
|
271
|
+
| undefined
|
|
272
|
+
|
|
273
|
+
interface CssRawFunction {
|
|
274
|
+
(...styles: Styles[]): SystemStyleObject
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
interface CssFunction {
|
|
278
|
+
(...styles: Styles[]): string
|
|
279
|
+
|
|
280
|
+
raw: CssRawFunction
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
export declare const css: CssFunction;
|
|
265
284
|
`,
|
|
266
285
|
js: import_outdent4.outdent`
|
|
267
286
|
${ctx.file.import("astish, createCss, isObject, mergeProps, withoutSpace", "../helpers")}
|
package/dist/index.mjs
CHANGED
|
@@ -224,7 +224,26 @@ function generateStringLiteralCssFn(ctx) {
|
|
|
224
224
|
const { separator } = utility;
|
|
225
225
|
return {
|
|
226
226
|
dts: outdent4`
|
|
227
|
-
|
|
227
|
+
${ctx.file.importType("SystemStyleObject", "../types/index")}
|
|
228
|
+
|
|
229
|
+
type Styles =
|
|
230
|
+
| { raw: readonly string[] | ArrayLike<string> }
|
|
231
|
+
| SystemStyleObject
|
|
232
|
+
| boolean
|
|
233
|
+
| null
|
|
234
|
+
| undefined
|
|
235
|
+
|
|
236
|
+
interface CssRawFunction {
|
|
237
|
+
(...styles: Styles[]): SystemStyleObject
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
interface CssFunction {
|
|
241
|
+
(...styles: Styles[]): string
|
|
242
|
+
|
|
243
|
+
raw: CssRawFunction
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
export declare const css: CssFunction;
|
|
228
247
|
`,
|
|
229
248
|
js: outdent4`
|
|
230
249
|
${ctx.file.import("astish, createCss, isObject, mergeProps, withoutSpace", "../helpers")}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/generator",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.1",
|
|
4
4
|
"description": "The css generator for css panda",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
"javascript-stringify": "2.1.0",
|
|
37
37
|
"outdent": " ^0.8.0",
|
|
38
38
|
"pluralize": "8.0.0",
|
|
39
|
-
"postcss": "8.5.
|
|
39
|
+
"postcss": "8.5.14",
|
|
40
40
|
"ts-pattern": "5.9.0",
|
|
41
|
-
"@pandacss/core": "1.11.
|
|
42
|
-
"@pandacss/is-valid-prop": "^1.11.
|
|
43
|
-
"@pandacss/logger": "1.11.
|
|
44
|
-
"@pandacss/shared": "1.11.
|
|
45
|
-
"@pandacss/token-dictionary": "1.11.
|
|
46
|
-
"@pandacss/types": "1.11.
|
|
41
|
+
"@pandacss/core": "1.11.1",
|
|
42
|
+
"@pandacss/is-valid-prop": "^1.11.1",
|
|
43
|
+
"@pandacss/logger": "1.11.1",
|
|
44
|
+
"@pandacss/shared": "1.11.1",
|
|
45
|
+
"@pandacss/token-dictionary": "1.11.1",
|
|
46
|
+
"@pandacss/types": "1.11.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@types/pluralize": "0.0.33"
|