@pandacss/node 0.0.0-dev-20221127082405 → 0.0.0-dev-20221128063601

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
@@ -242,7 +242,7 @@ function generateCx() {
242
242
  i = 0,
243
243
  arg
244
244
 
245
- while (i < arguments.length) {
245
+ for (; i < arguments.length; ) {
246
246
  if ((arg = arguments[i++]) && typeof arg === 'string') {
247
247
  str && (str += ' ')
248
248
  str += arg
@@ -255,6 +255,8 @@ function generateCx() {
255
255
  `,
256
256
  dts: import_outdent4.default`
257
257
  type Argument = string | boolean | null | undefined
258
+
259
+ /** Conditionally join classNames into a single string */
258
260
  export declare function cx(...args: Argument[]): string
259
261
  `
260
262
  };
@@ -1024,7 +1026,7 @@ function generateRecipes(ctx) {
1024
1026
  dts.push(import_outdent17.outdent`
1025
1027
  import { ConditionalValue } from "../types"
1026
1028
 
1027
- export type ${(0, import_shared9.capitalize)(name)}Value = {
1029
+ export type ${(0, import_shared9.capitalize)(name)}Variants = {
1028
1030
  ${Object.keys(variants ?? {}).map((key) => {
1029
1031
  const value = variants[key];
1030
1032
  const keys = Object.keys(value);
package/dist/index.mjs CHANGED
@@ -197,7 +197,7 @@ function generateCx() {
197
197
  i = 0,
198
198
  arg
199
199
 
200
- while (i < arguments.length) {
200
+ for (; i < arguments.length; ) {
201
201
  if ((arg = arguments[i++]) && typeof arg === 'string') {
202
202
  str && (str += ' ')
203
203
  str += arg
@@ -210,6 +210,8 @@ function generateCx() {
210
210
  `,
211
211
  dts: outdent4`
212
212
  type Argument = string | boolean | null | undefined
213
+
214
+ /** Conditionally join classNames into a single string */
213
215
  export declare function cx(...args: Argument[]): string
214
216
  `
215
217
  };
@@ -979,7 +981,7 @@ function generateRecipes(ctx) {
979
981
  dts.push(outdent17`
980
982
  import { ConditionalValue } from "../types"
981
983
 
982
- export type ${capitalize8(name)}Value = {
984
+ export type ${capitalize8(name)}Variants = {
983
985
  ${Object.keys(variants ?? {}).map((key) => {
984
986
  const value = variants[key];
985
987
  const keys = Object.keys(value);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/node",
3
- "version": "0.0.0-dev-20221127082405",
3
+ "version": "0.0.0-dev-20221128063601",
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": "6.0.8",
31
31
  "ts-pattern": "4.0.6",
32
32
  "ts-morph": "17.0.1",
33
- "@pandacss/types": "0.0.0-dev-20221127082405",
34
- "@pandacss/is-valid-prop": "0.0.0-dev-20221127082405",
35
- "@pandacss/error": "0.0.0-dev-20221127082405",
36
- "@pandacss/parser": "0.0.0-dev-20221127082405",
37
- "@pandacss/shared": "0.0.0-dev-20221127082405",
38
- "@pandacss/token-dictionary": "0.0.0-dev-20221127082405",
39
- "@pandacss/logger": "0.0.0-dev-20221127082405",
40
- "@pandacss/core": "0.0.0-dev-20221127082405",
41
- "@pandacss/config": "0.0.0-dev-20221127082405"
33
+ "@pandacss/types": "0.0.0-dev-20221128063601",
34
+ "@pandacss/is-valid-prop": "0.0.0-dev-20221128063601",
35
+ "@pandacss/error": "0.0.0-dev-20221128063601",
36
+ "@pandacss/parser": "0.0.0-dev-20221128063601",
37
+ "@pandacss/shared": "0.0.0-dev-20221128063601",
38
+ "@pandacss/token-dictionary": "0.0.0-dev-20221128063601",
39
+ "@pandacss/logger": "0.0.0-dev-20221128063601",
40
+ "@pandacss/core": "0.0.0-dev-20221128063601",
41
+ "@pandacss/config": "0.0.0-dev-20221128063601"
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-20221127082405"
49
+ "@pandacss/fixture": "0.0.0-dev-20221128063601"
50
50
  },
51
51
  "scripts": {
52
52
  "build": "tsup src/index.ts --format=cjs,esm --shims --dts",