@pandacss/node 0.0.0-dev-20230413071915 → 0.0.0-dev-20230413135202

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.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  export { discardDuplicate } from '@pandacss/core';
2
2
  import * as _pandacss_types from '@pandacss/types';
3
3
  import { Artifact, LoadConfigResult, ParserResult, Config } from '@pandacss/types';
4
- import { Project, ParserMode } from '@pandacss/parser';
5
4
  import { Generator } from '@pandacss/generator';
5
+ import { Project } from '@pandacss/parser';
6
6
  import { Runtime } from '@pandacss/types/src/runtime';
7
7
  import { Root, Message } from 'postcss';
8
8
 
@@ -37,7 +37,6 @@ type PandaContext = Generator & {
37
37
 
38
38
  declare function analyzeTokens(ctx: PandaContext, options?: {
39
39
  onResult?: (file: string, result: ParserResult) => void;
40
- mode?: ParserMode;
41
40
  }): {
42
41
  duration: {
43
42
  extractTimeByFiles: {
package/dist/index.js CHANGED
@@ -796,14 +796,12 @@ function gzipSizeSync(input, options) {
796
796
  }
797
797
 
798
798
  // src/analyze-tokens.ts
799
- function analyzeTokens(ctx, options = {
800
- mode: "box-extractor"
801
- }) {
799
+ function analyzeTokens(ctx, options = {}) {
802
800
  const parserResultByFilepath = /* @__PURE__ */ new Map();
803
801
  const extractTimeByFilepath = /* @__PURE__ */ new Map();
804
802
  ctx.getFiles().map((file) => {
805
803
  const start2 = performance.now();
806
- const result = ctx.project.parseSourceFile(file, ctx.properties, options.mode);
804
+ const result = ctx.project.parseSourceFile(file, ctx.properties);
807
805
  const extractMs = performance.now() - start2;
808
806
  extractTimeByFilepath.set(file, extractMs);
809
807
  import_logger.logger.debug("analyze", `Extracted ${file} in ${extractMs}ms`);
package/dist/index.mjs CHANGED
@@ -777,14 +777,12 @@ function gzipSizeSync(input, options) {
777
777
  }
778
778
 
779
779
  // src/analyze-tokens.ts
780
- function analyzeTokens(ctx, options = {
781
- mode: "box-extractor"
782
- }) {
780
+ function analyzeTokens(ctx, options = {}) {
783
781
  const parserResultByFilepath = /* @__PURE__ */ new Map();
784
782
  const extractTimeByFilepath = /* @__PURE__ */ new Map();
785
783
  ctx.getFiles().map((file) => {
786
784
  const start2 = performance.now();
787
- const result = ctx.project.parseSourceFile(file, ctx.properties, options.mode);
785
+ const result = ctx.project.parseSourceFile(file, ctx.properties);
788
786
  const extractMs = performance.now() - start2;
789
787
  extractTimeByFilepath.set(file, extractMs);
790
788
  logger.debug("analyze", `Extracted ${file} in ${extractMs}ms`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/node",
3
- "version": "0.0.0-dev-20230413071915",
3
+ "version": "0.0.0-dev-20230413135202",
4
4
  "description": "The core css panda library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -33,17 +33,17 @@
33
33
  "preferred-pm": "^3.0.3",
34
34
  "ts-morph": "18.0.0",
35
35
  "ts-pattern": "4.2.2",
36
- "@pandacss/config": "0.0.0-dev-20230413071915",
37
- "@pandacss/core": "0.0.0-dev-20230413071915",
38
- "@pandacss/error": "0.0.0-dev-20230413071915",
39
- "@pandacss/generator": "0.0.0-dev-20230413071915",
40
- "@pandacss/is-valid-prop": "0.0.0-dev-20230413071915",
41
- "@pandacss/logger": "0.0.0-dev-20230413071915",
42
- "@pandacss/parser": "0.0.0-dev-20230413071915",
43
- "@pandacss/extractor": "0.0.0-dev-20230413071915",
44
- "@pandacss/shared": "0.0.0-dev-20230413071915",
45
- "@pandacss/token-dictionary": "0.0.0-dev-20230413071915",
46
- "@pandacss/types": "0.0.0-dev-20230413071915"
36
+ "@pandacss/config": "0.0.0-dev-20230413135202",
37
+ "@pandacss/core": "0.0.0-dev-20230413135202",
38
+ "@pandacss/error": "0.0.0-dev-20230413135202",
39
+ "@pandacss/generator": "0.0.0-dev-20230413135202",
40
+ "@pandacss/is-valid-prop": "0.0.0-dev-20230413135202",
41
+ "@pandacss/logger": "0.0.0-dev-20230413135202",
42
+ "@pandacss/parser": "0.0.0-dev-20230413135202",
43
+ "@pandacss/extractor": "0.0.0-dev-20230413135202",
44
+ "@pandacss/shared": "0.0.0-dev-20230413135202",
45
+ "@pandacss/token-dictionary": "0.0.0-dev-20230413135202",
46
+ "@pandacss/types": "0.0.0-dev-20230413135202"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/fs-extra": "11.0.1",
@@ -53,7 +53,7 @@
53
53
  "@types/pluralize": "0.0.29",
54
54
  "boxen": "^7.0.2",
55
55
  "gzip-size": "^7.0.0",
56
- "@pandacss/fixture": "0.0.0-dev-20230413071915"
56
+ "@pandacss/fixture": "0.0.0-dev-20230413135202"
57
57
  },
58
58
  "scripts": {
59
59
  "build": "tsup src/index.ts --format=cjs,esm --shims --dts",