@pandacss/node 0.0.0-dev-20240108091559 → 0.0.0-dev-20240108181940
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.mts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1 -12
- package/dist/index.mjs +1 -12
- package/package.json +11 -11
package/dist/index.d.mts
CHANGED
|
@@ -228,7 +228,6 @@ declare class Builder {
|
|
|
228
228
|
extractFile: (ctx: PandaContext, file: string) => _pandacss_parser.ParserResult | undefined;
|
|
229
229
|
extract: () => void;
|
|
230
230
|
isValidRoot: (root: Root) => boolean;
|
|
231
|
-
private initialRoot;
|
|
232
231
|
write: (root: Root) => void;
|
|
233
232
|
registerDependency: (fn: (dep: Message) => void) => void;
|
|
234
233
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -228,7 +228,6 @@ declare class Builder {
|
|
|
228
228
|
extractFile: (ctx: PandaContext, file: string) => _pandacss_parser.ParserResult | undefined;
|
|
229
229
|
extract: () => void;
|
|
230
230
|
isValidRoot: (root: Root) => boolean;
|
|
231
|
-
private initialRoot;
|
|
232
231
|
write: (root: Root) => void;
|
|
233
232
|
registerDependency: (fn: (dep: Message) => void) => void;
|
|
234
233
|
}
|
package/dist/index.js
CHANGED
|
@@ -2529,7 +2529,6 @@ async function loadConfigAndCreateContext(options = {}) {
|
|
|
2529
2529
|
};
|
|
2530
2530
|
}
|
|
2531
2531
|
}
|
|
2532
|
-
conf.config.outdir ??= "styled-system";
|
|
2533
2532
|
const hooks = (0, import_hookable.createHooks)();
|
|
2534
2533
|
if (conf.config.hooks) {
|
|
2535
2534
|
hooks.addHooks(conf.config.hooks);
|
|
@@ -2707,23 +2706,13 @@ var Builder = class {
|
|
|
2707
2706
|
});
|
|
2708
2707
|
return valid;
|
|
2709
2708
|
};
|
|
2710
|
-
initialRoot;
|
|
2711
2709
|
write = (root) => {
|
|
2712
|
-
if (!this.initialRoot) {
|
|
2713
|
-
this.initialRoot = root.toString();
|
|
2714
|
-
}
|
|
2715
|
-
root.removeAll();
|
|
2716
2710
|
const ctx = this.getContextOrThrow();
|
|
2717
2711
|
const sheet = ctx.createSheet();
|
|
2718
2712
|
ctx.appendBaselineCss(sheet);
|
|
2719
2713
|
ctx.appendParserCss(sheet);
|
|
2720
2714
|
const css = ctx.getCss(sheet);
|
|
2721
|
-
root.append(
|
|
2722
|
-
(0, import_core.optimizeCss)(`
|
|
2723
|
-
${this.initialRoot}
|
|
2724
|
-
${css}
|
|
2725
|
-
`)
|
|
2726
|
-
);
|
|
2715
|
+
root.append((0, import_core.optimizeCss)(css));
|
|
2727
2716
|
};
|
|
2728
2717
|
registerDependency = (fn) => {
|
|
2729
2718
|
const ctx = this.getContextOrThrow();
|
package/dist/index.mjs
CHANGED
|
@@ -2505,7 +2505,6 @@ async function loadConfigAndCreateContext(options = {}) {
|
|
|
2505
2505
|
};
|
|
2506
2506
|
}
|
|
2507
2507
|
}
|
|
2508
|
-
conf.config.outdir ??= "styled-system";
|
|
2509
2508
|
const hooks = createHooks();
|
|
2510
2509
|
if (conf.config.hooks) {
|
|
2511
2510
|
hooks.addHooks(conf.config.hooks);
|
|
@@ -2683,23 +2682,13 @@ var Builder = class {
|
|
|
2683
2682
|
});
|
|
2684
2683
|
return valid;
|
|
2685
2684
|
};
|
|
2686
|
-
initialRoot;
|
|
2687
2685
|
write = (root) => {
|
|
2688
|
-
if (!this.initialRoot) {
|
|
2689
|
-
this.initialRoot = root.toString();
|
|
2690
|
-
}
|
|
2691
|
-
root.removeAll();
|
|
2692
2686
|
const ctx = this.getContextOrThrow();
|
|
2693
2687
|
const sheet = ctx.createSheet();
|
|
2694
2688
|
ctx.appendBaselineCss(sheet);
|
|
2695
2689
|
ctx.appendParserCss(sheet);
|
|
2696
2690
|
const css = ctx.getCss(sheet);
|
|
2697
|
-
root.append(
|
|
2698
|
-
optimizeCss(`
|
|
2699
|
-
${this.initialRoot}
|
|
2700
|
-
${css}
|
|
2701
|
-
`)
|
|
2702
|
-
);
|
|
2691
|
+
root.append(optimizeCss(css));
|
|
2703
2692
|
};
|
|
2704
2693
|
registerDependency = (fn) => {
|
|
2705
2694
|
const ctx = this.getContextOrThrow();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/node",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20240108181940",
|
|
4
4
|
"description": "The core css panda library",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -53,16 +53,16 @@
|
|
|
53
53
|
"ts-morph": "19.0.0",
|
|
54
54
|
"ts-pattern": "5.0.5",
|
|
55
55
|
"tsconfck": "^2.1.2",
|
|
56
|
-
"@pandacss/config": "0.0.0-dev-
|
|
57
|
-
"@pandacss/core": "0.0.0-dev-
|
|
58
|
-
"@pandacss/error": "0.0.0-dev-
|
|
59
|
-
"@pandacss/extractor": "0.0.0-dev-
|
|
60
|
-
"@pandacss/generator": "0.0.0-dev-
|
|
61
|
-
"@pandacss/logger": "0.0.0-dev-
|
|
62
|
-
"@pandacss/parser": "0.0.0-dev-
|
|
63
|
-
"@pandacss/shared": "0.0.0-dev-
|
|
64
|
-
"@pandacss/token-dictionary": "0.0.0-dev-
|
|
65
|
-
"@pandacss/types": "0.0.0-dev-
|
|
56
|
+
"@pandacss/config": "0.0.0-dev-20240108181940",
|
|
57
|
+
"@pandacss/core": "0.0.0-dev-20240108181940",
|
|
58
|
+
"@pandacss/error": "0.0.0-dev-20240108181940",
|
|
59
|
+
"@pandacss/extractor": "0.0.0-dev-20240108181940",
|
|
60
|
+
"@pandacss/generator": "0.0.0-dev-20240108181940",
|
|
61
|
+
"@pandacss/logger": "0.0.0-dev-20240108181940",
|
|
62
|
+
"@pandacss/parser": "0.0.0-dev-20240108181940",
|
|
63
|
+
"@pandacss/shared": "0.0.0-dev-20240108181940",
|
|
64
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20240108181940",
|
|
65
|
+
"@pandacss/types": "0.0.0-dev-20240108181940"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@types/fs-extra": "11.0.4",
|