@pandacss/node 0.0.0-dev-20230106200853 → 0.0.0-dev-20230106201243

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
@@ -1104,7 +1104,7 @@ function generateRecipes(ctx) {
1104
1104
  return;
1105
1105
  const js = [
1106
1106
  import_outdent19.outdent`
1107
- import { createCss, withoutSpace, compact } from "../helpers"
1107
+ import { createCss, withoutSpace, compact } from '../helpers'
1108
1108
 
1109
1109
  const createRecipe = (name, defaultVariants) => {
1110
1110
  return (variants) => {
@@ -1135,15 +1135,17 @@ function generateRecipes(ctx) {
1135
1135
  }
1136
1136
  `
1137
1137
  ];
1138
- const dts = [""];
1138
+ const dts = [
1139
+ import_outdent19.outdent`
1140
+ import { ConditionalValue } from '../types'
1141
+ `
1142
+ ];
1139
1143
  Object.values(recipes).forEach((recipe) => {
1140
1144
  const { name, description, defaultVariants, variants } = recipe;
1141
1145
  js.push(import_outdent19.outdent`
1142
1146
  export const ${name} = createRecipe('${name}', ${JSON.stringify(defaultVariants ?? {})})
1143
1147
  `);
1144
1148
  dts.push(import_outdent19.outdent`
1145
- import { ConditionalValue } from "../types"
1146
-
1147
1149
  export type ${(0, import_shared3.capitalize)(name)}Variants = {
1148
1150
  ${Object.keys(variants ?? {}).map((key) => {
1149
1151
  const value = variants[key];
package/dist/index.mjs CHANGED
@@ -1058,7 +1058,7 @@ function generateRecipes(ctx) {
1058
1058
  return;
1059
1059
  const js = [
1060
1060
  outdent19`
1061
- import { createCss, withoutSpace, compact } from "../helpers"
1061
+ import { createCss, withoutSpace, compact } from '../helpers'
1062
1062
 
1063
1063
  const createRecipe = (name, defaultVariants) => {
1064
1064
  return (variants) => {
@@ -1089,15 +1089,17 @@ function generateRecipes(ctx) {
1089
1089
  }
1090
1090
  `
1091
1091
  ];
1092
- const dts = [""];
1092
+ const dts = [
1093
+ outdent19`
1094
+ import { ConditionalValue } from '../types'
1095
+ `
1096
+ ];
1093
1097
  Object.values(recipes).forEach((recipe) => {
1094
1098
  const { name, description, defaultVariants, variants } = recipe;
1095
1099
  js.push(outdent19`
1096
1100
  export const ${name} = createRecipe('${name}', ${JSON.stringify(defaultVariants ?? {})})
1097
1101
  `);
1098
1102
  dts.push(outdent19`
1099
- import { ConditionalValue } from "../types"
1100
-
1101
1103
  export type ${capitalize2(name)}Variants = {
1102
1104
  ${Object.keys(variants ?? {}).map((key) => {
1103
1105
  const value = variants[key];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/node",
3
- "version": "0.0.0-dev-20230106200853",
3
+ "version": "0.0.0-dev-20230106201243",
4
4
  "description": "The core css panda library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -30,15 +30,15 @@
30
30
  "telejson": "7.0.4",
31
31
  "ts-pattern": "4.0.6",
32
32
  "ts-morph": "17.0.1",
33
- "@pandacss/types": "0.0.0-dev-20230106200853",
34
- "@pandacss/is-valid-prop": "0.0.0-dev-20230106200853",
35
- "@pandacss/error": "0.0.0-dev-20230106200853",
36
- "@pandacss/parser": "0.0.0-dev-20230106200853",
37
- "@pandacss/shared": "0.0.0-dev-20230106200853",
38
- "@pandacss/token-dictionary": "0.0.0-dev-20230106200853",
39
- "@pandacss/logger": "0.0.0-dev-20230106200853",
40
- "@pandacss/core": "0.0.0-dev-20230106200853",
41
- "@pandacss/config": "0.0.0-dev-20230106200853"
33
+ "@pandacss/types": "0.0.0-dev-20230106201243",
34
+ "@pandacss/is-valid-prop": "0.0.0-dev-20230106201243",
35
+ "@pandacss/error": "0.0.0-dev-20230106201243",
36
+ "@pandacss/parser": "0.0.0-dev-20230106201243",
37
+ "@pandacss/shared": "0.0.0-dev-20230106201243",
38
+ "@pandacss/token-dictionary": "0.0.0-dev-20230106201243",
39
+ "@pandacss/logger": "0.0.0-dev-20230106201243",
40
+ "@pandacss/core": "0.0.0-dev-20230106201243",
41
+ "@pandacss/config": "0.0.0-dev-20230106201243"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/fs-extra": "9.0.13",
@@ -46,7 +46,7 @@
46
46
  "@types/glob-parent": "^5.1.1",
47
47
  "@types/pluralize": "0.0.29",
48
48
  "@types/lodash.merge": "4.6.7",
49
- "@pandacss/fixture": "0.0.0-dev-20230106200853"
49
+ "@pandacss/fixture": "0.0.0-dev-20230106201243"
50
50
  },
51
51
  "scripts": {
52
52
  "build": "tsup src/index.ts --format=cjs,esm --shims --dts",