@pandacss/generator 0.0.0-dev-20230904084900 → 0.0.0-dev-20230904141355

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
@@ -632,7 +632,7 @@ function generateCssFn(ctx) {
632
632
 
633
633
  interface CssFunction {
634
634
  (...styles: Array<SystemStyleObject | undefined | null | false>): string
635
- raw: (styles: SystemStyleObject) => SystemStyleObject
635
+ raw: (...styles: Array<SystemStyleObject | undefined | null | false>) => SystemStyleObject
636
636
  }
637
637
 
638
638
  export declare const css: CssFunction;
@@ -699,7 +699,7 @@ function generateCssFn(ctx) {
699
699
 
700
700
  const cssFn = createCss(context)
701
701
  export const css = (...styles) => cssFn(mergeCss(...styles))
702
- css.raw = (styles) => styles
702
+ css.raw = (...styles) => mergeCss(...styles)
703
703
 
704
704
  export const { mergeCss, assignCss } = createMergeCss(context)
705
705
  `
package/dist/index.mjs CHANGED
@@ -601,7 +601,7 @@ function generateCssFn(ctx) {
601
601
 
602
602
  interface CssFunction {
603
603
  (...styles: Array<SystemStyleObject | undefined | null | false>): string
604
- raw: (styles: SystemStyleObject) => SystemStyleObject
604
+ raw: (...styles: Array<SystemStyleObject | undefined | null | false>) => SystemStyleObject
605
605
  }
606
606
 
607
607
  export declare const css: CssFunction;
@@ -668,7 +668,7 @@ function generateCssFn(ctx) {
668
668
 
669
669
  const cssFn = createCss(context)
670
670
  export const css = (...styles) => cssFn(mergeCss(...styles))
671
- css.raw = (styles) => styles
671
+ css.raw = (...styles) => mergeCss(...styles)
672
672
 
673
673
  export const { mergeCss, assignCss } = createMergeCss(context)
674
674
  `
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/generator",
3
- "version": "0.0.0-dev-20230904084900",
3
+ "version": "0.0.0-dev-20230904141355",
4
4
  "description": "The css generator for css panda",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -20,17 +20,17 @@
20
20
  "pluralize": "8.0.0",
21
21
  "postcss": "8.4.27",
22
22
  "ts-pattern": "5.0.4",
23
- "@pandacss/core": "0.0.0-dev-20230904084900",
24
- "@pandacss/is-valid-prop": "0.0.0-dev-20230904084900",
25
- "@pandacss/logger": "0.0.0-dev-20230904084900",
26
- "@pandacss/shared": "0.0.0-dev-20230904084900",
27
- "@pandacss/token-dictionary": "0.0.0-dev-20230904084900",
28
- "@pandacss/types": "0.0.0-dev-20230904084900"
23
+ "@pandacss/core": "0.0.0-dev-20230904141355",
24
+ "@pandacss/is-valid-prop": "0.0.0-dev-20230904141355",
25
+ "@pandacss/logger": "0.0.0-dev-20230904141355",
26
+ "@pandacss/shared": "0.0.0-dev-20230904141355",
27
+ "@pandacss/token-dictionary": "0.0.0-dev-20230904141355",
28
+ "@pandacss/types": "0.0.0-dev-20230904141355"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/pluralize": "0.0.30",
32
32
  "hookable": "5.5.3",
33
- "@pandacss/fixture": "0.0.0-dev-20230904084900"
33
+ "@pandacss/fixture": "0.0.0-dev-20230904141355"
34
34
  },
35
35
  "scripts": {
36
36
  "prebuild": "tsx scripts/prebuild.ts",