@pandacss/studio 0.8.0 → 0.10.0
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/studio.js +49 -47
- package/dist/studio.mjs +49 -47
- package/package.json +15 -15
- package/styled-system/css/conditions.mjs +5 -116
- package/styled-system/css/css.mjs +19 -379
- package/styled-system/css/index.d.ts +2 -1
- package/styled-system/css/index.mjs +1 -0
- package/styled-system/css/sva.d.ts +4 -0
- package/styled-system/css/sva.mjs +20 -0
- package/styled-system/helpers.mjs +59 -21
- package/styled-system/jsx/aspect-ratio.mjs +1 -1
- package/styled-system/jsx/box.mjs +1 -1
- package/styled-system/jsx/center.mjs +1 -1
- package/styled-system/jsx/circle.mjs +1 -1
- package/styled-system/jsx/container.mjs +1 -1
- package/styled-system/jsx/divider.mjs +1 -1
- package/styled-system/jsx/factory.mjs +2 -2
- package/styled-system/jsx/flex.mjs +1 -1
- package/styled-system/jsx/float.mjs +1 -1
- package/styled-system/jsx/grid-item.mjs +1 -1
- package/styled-system/jsx/grid.mjs +1 -1
- package/styled-system/jsx/hstack.mjs +1 -1
- package/styled-system/jsx/is-valid-prop.mjs +8 -1018
- package/styled-system/jsx/link-box.mjs +1 -1
- package/styled-system/jsx/link-overlay.mjs +1 -1
- package/styled-system/jsx/spacer.mjs +1 -1
- package/styled-system/jsx/square.mjs +1 -1
- package/styled-system/jsx/stack.mjs +1 -1
- package/styled-system/jsx/styled-link.mjs +1 -1
- package/styled-system/jsx/vstack.mjs +1 -1
- package/styled-system/jsx/wrap.mjs +1 -1
- package/styled-system/tokens/index.css +1 -1
- package/styled-system/tokens/index.mjs +1 -1
- package/styled-system/types/global.d.ts +3 -2
- package/styled-system/types/pattern.d.ts +8 -1
- package/styled-system/types/prop-type.d.ts +5 -0
- package/styled-system/types/recipe.d.ts +66 -4
- package/styled-system/types/style-props.d.ts +3 -72
- package/styled-system/types/system-types.d.ts +3 -4
package/dist/studio.js
CHANGED
|
@@ -33,10 +33,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
33
|
));
|
|
34
34
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
35
|
|
|
36
|
-
// ../../node_modules/.pnpm/tsup@7.1.0_postcss@8.4.
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@7.1.0_postcss@8.4.27_typescript@5.1.6/node_modules/tsup/assets/cjs_shims.js
|
|
37
37
|
var getImportMetaUrl, importMetaUrl;
|
|
38
38
|
var init_cjs_shims = __esm({
|
|
39
|
-
"../../node_modules/.pnpm/tsup@7.1.0_postcss@8.4.
|
|
39
|
+
"../../node_modules/.pnpm/tsup@7.1.0_postcss@8.4.27_typescript@5.1.6/node_modules/tsup/assets/cjs_shims.js"() {
|
|
40
40
|
"use strict";
|
|
41
41
|
getImportMetaUrl = () => typeof document === "undefined" ? new URL("file:" + __filename).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
42
42
|
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
@@ -601,11 +601,11 @@ var require_signal_exit = __commonJS({
|
|
|
601
601
|
"../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js"(exports, module2) {
|
|
602
602
|
"use strict";
|
|
603
603
|
init_cjs_shims();
|
|
604
|
-
var
|
|
605
|
-
var processOk = function(
|
|
606
|
-
return
|
|
604
|
+
var process6 = global.process;
|
|
605
|
+
var processOk = function(process7) {
|
|
606
|
+
return process7 && typeof process7 === "object" && typeof process7.removeListener === "function" && typeof process7.emit === "function" && typeof process7.reallyExit === "function" && typeof process7.listeners === "function" && typeof process7.kill === "function" && typeof process7.pid === "number" && typeof process7.on === "function";
|
|
607
607
|
};
|
|
608
|
-
if (!processOk(
|
|
608
|
+
if (!processOk(process6)) {
|
|
609
609
|
module2.exports = function() {
|
|
610
610
|
return function() {
|
|
611
611
|
};
|
|
@@ -613,15 +613,15 @@ var require_signal_exit = __commonJS({
|
|
|
613
613
|
} else {
|
|
614
614
|
assert = require("assert");
|
|
615
615
|
signals = require_signals();
|
|
616
|
-
isWin = /^win/i.test(
|
|
616
|
+
isWin = /^win/i.test(process6.platform);
|
|
617
617
|
EE = require("events");
|
|
618
618
|
if (typeof EE !== "function") {
|
|
619
619
|
EE = EE.EventEmitter;
|
|
620
620
|
}
|
|
621
|
-
if (
|
|
622
|
-
emitter =
|
|
621
|
+
if (process6.__signal_exit_emitter__) {
|
|
622
|
+
emitter = process6.__signal_exit_emitter__;
|
|
623
623
|
} else {
|
|
624
|
-
emitter =
|
|
624
|
+
emitter = process6.__signal_exit_emitter__ = new EE();
|
|
625
625
|
emitter.count = 0;
|
|
626
626
|
emitter.emitted = {};
|
|
627
627
|
}
|
|
@@ -658,12 +658,12 @@ var require_signal_exit = __commonJS({
|
|
|
658
658
|
loaded = false;
|
|
659
659
|
signals.forEach(function(sig) {
|
|
660
660
|
try {
|
|
661
|
-
|
|
661
|
+
process6.removeListener(sig, sigListeners[sig]);
|
|
662
662
|
} catch (er) {
|
|
663
663
|
}
|
|
664
664
|
});
|
|
665
|
-
|
|
666
|
-
|
|
665
|
+
process6.emit = originalProcessEmit;
|
|
666
|
+
process6.reallyExit = originalProcessReallyExit;
|
|
667
667
|
emitter.count -= 1;
|
|
668
668
|
};
|
|
669
669
|
module2.exports.unload = unload;
|
|
@@ -680,7 +680,7 @@ var require_signal_exit = __commonJS({
|
|
|
680
680
|
if (!processOk(global.process)) {
|
|
681
681
|
return;
|
|
682
682
|
}
|
|
683
|
-
var listeners =
|
|
683
|
+
var listeners = process6.listeners(sig);
|
|
684
684
|
if (listeners.length === emitter.count) {
|
|
685
685
|
unload();
|
|
686
686
|
emit("exit", null, sig);
|
|
@@ -688,7 +688,7 @@ var require_signal_exit = __commonJS({
|
|
|
688
688
|
if (isWin && sig === "SIGHUP") {
|
|
689
689
|
sig = "SIGINT";
|
|
690
690
|
}
|
|
691
|
-
|
|
691
|
+
process6.kill(process6.pid, sig);
|
|
692
692
|
}
|
|
693
693
|
};
|
|
694
694
|
});
|
|
@@ -704,36 +704,36 @@ var require_signal_exit = __commonJS({
|
|
|
704
704
|
emitter.count += 1;
|
|
705
705
|
signals = signals.filter(function(sig) {
|
|
706
706
|
try {
|
|
707
|
-
|
|
707
|
+
process6.on(sig, sigListeners[sig]);
|
|
708
708
|
return true;
|
|
709
709
|
} catch (er) {
|
|
710
710
|
return false;
|
|
711
711
|
}
|
|
712
712
|
});
|
|
713
|
-
|
|
714
|
-
|
|
713
|
+
process6.emit = processEmit;
|
|
714
|
+
process6.reallyExit = processReallyExit;
|
|
715
715
|
};
|
|
716
716
|
module2.exports.load = load;
|
|
717
|
-
originalProcessReallyExit =
|
|
717
|
+
originalProcessReallyExit = process6.reallyExit;
|
|
718
718
|
processReallyExit = function processReallyExit2(code) {
|
|
719
719
|
if (!processOk(global.process)) {
|
|
720
720
|
return;
|
|
721
721
|
}
|
|
722
|
-
|
|
722
|
+
process6.exitCode = code || /* istanbul ignore next */
|
|
723
723
|
0;
|
|
724
|
-
emit("exit",
|
|
725
|
-
emit("afterexit",
|
|
726
|
-
originalProcessReallyExit.call(
|
|
724
|
+
emit("exit", process6.exitCode, null);
|
|
725
|
+
emit("afterexit", process6.exitCode, null);
|
|
726
|
+
originalProcessReallyExit.call(process6, process6.exitCode);
|
|
727
727
|
};
|
|
728
|
-
originalProcessEmit =
|
|
728
|
+
originalProcessEmit = process6.emit;
|
|
729
729
|
processEmit = function processEmit2(ev, arg) {
|
|
730
730
|
if (ev === "exit" && processOk(global.process)) {
|
|
731
731
|
if (arg !== void 0) {
|
|
732
|
-
|
|
732
|
+
process6.exitCode = arg;
|
|
733
733
|
}
|
|
734
734
|
var ret = originalProcessEmit.apply(this, arguments);
|
|
735
|
-
emit("exit",
|
|
736
|
-
emit("afterexit",
|
|
735
|
+
emit("exit", process6.exitCode, null);
|
|
736
|
+
emit("afterexit", process6.exitCode, null);
|
|
737
737
|
return ret;
|
|
738
738
|
} else {
|
|
739
739
|
return originalProcessEmit.apply(this, arguments);
|
|
@@ -912,12 +912,12 @@ module.exports = __toCommonJS(studio_exports);
|
|
|
912
912
|
init_cjs_shims();
|
|
913
913
|
var import_logger = require("@pandacss/logger");
|
|
914
914
|
|
|
915
|
-
// ../../node_modules/.pnpm/execa@7.
|
|
915
|
+
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/index.js
|
|
916
916
|
init_cjs_shims();
|
|
917
917
|
var import_node_buffer2 = require("buffer");
|
|
918
918
|
var import_node_path2 = __toESM(require("path"), 1);
|
|
919
919
|
var import_node_child_process3 = __toESM(require("child_process"), 1);
|
|
920
|
-
var
|
|
920
|
+
var import_node_process4 = __toESM(require("process"), 1);
|
|
921
921
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
922
922
|
|
|
923
923
|
// ../../node_modules/.pnpm/strip-final-newline@3.0.0/node_modules/strip-final-newline/index.js
|
|
@@ -1060,8 +1060,9 @@ onetime.callCount = (function_) => {
|
|
|
1060
1060
|
};
|
|
1061
1061
|
var onetime_default = onetime;
|
|
1062
1062
|
|
|
1063
|
-
// ../../node_modules/.pnpm/execa@7.
|
|
1063
|
+
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/error.js
|
|
1064
1064
|
init_cjs_shims();
|
|
1065
|
+
var import_node_process2 = __toESM(require("process"), 1);
|
|
1065
1066
|
|
|
1066
1067
|
// ../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/main.js
|
|
1067
1068
|
init_cjs_shims();
|
|
@@ -1431,7 +1432,7 @@ var findSignalByNumber = (number, signals) => {
|
|
|
1431
1432
|
};
|
|
1432
1433
|
var signalsByNumber = getSignalsByNumber();
|
|
1433
1434
|
|
|
1434
|
-
// ../../node_modules/.pnpm/execa@7.
|
|
1435
|
+
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/error.js
|
|
1435
1436
|
var getErrorPrefix = ({ timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled }) => {
|
|
1436
1437
|
if (timedOut) {
|
|
1437
1438
|
return `timed out after ${timeout} milliseconds`;
|
|
@@ -1462,7 +1463,7 @@ var makeError = ({
|
|
|
1462
1463
|
timedOut,
|
|
1463
1464
|
isCanceled,
|
|
1464
1465
|
killed,
|
|
1465
|
-
parsed: { options: { timeout } }
|
|
1466
|
+
parsed: { options: { timeout, cwd = import_node_process2.default.cwd() } }
|
|
1466
1467
|
}) => {
|
|
1467
1468
|
exitCode = exitCode === null ? void 0 : exitCode;
|
|
1468
1469
|
signal = signal === null ? void 0 : signal;
|
|
@@ -1488,6 +1489,7 @@ ${error.message}` : execaMessage;
|
|
|
1488
1489
|
error.signalDescription = signalDescription;
|
|
1489
1490
|
error.stdout = stdout;
|
|
1490
1491
|
error.stderr = stderr;
|
|
1492
|
+
error.cwd = cwd;
|
|
1491
1493
|
if (all !== void 0) {
|
|
1492
1494
|
error.all = all;
|
|
1493
1495
|
}
|
|
@@ -1501,7 +1503,7 @@ ${error.message}` : execaMessage;
|
|
|
1501
1503
|
return error;
|
|
1502
1504
|
};
|
|
1503
1505
|
|
|
1504
|
-
// ../../node_modules/.pnpm/execa@7.
|
|
1506
|
+
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/stdio.js
|
|
1505
1507
|
init_cjs_shims();
|
|
1506
1508
|
var aliases = ["stdin", "stdout", "stderr"];
|
|
1507
1509
|
var hasAlias = (options) => aliases.some((alias) => options[alias] !== void 0);
|
|
@@ -1526,7 +1528,7 @@ var normalizeStdio = (options) => {
|
|
|
1526
1528
|
return Array.from({ length }, (value, index) => stdio[index]);
|
|
1527
1529
|
};
|
|
1528
1530
|
|
|
1529
|
-
// ../../node_modules/.pnpm/execa@7.
|
|
1531
|
+
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/kill.js
|
|
1530
1532
|
init_cjs_shims();
|
|
1531
1533
|
var import_node_os3 = __toESM(require("os"), 1);
|
|
1532
1534
|
var import_signal_exit = __toESM(require_signal_exit(), 1);
|
|
@@ -1601,7 +1603,7 @@ var setExitHandler = async (spawned, { cleanup, detached }, timedPromise) => {
|
|
|
1601
1603
|
});
|
|
1602
1604
|
};
|
|
1603
1605
|
|
|
1604
|
-
// ../../node_modules/.pnpm/execa@7.
|
|
1606
|
+
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/pipe.js
|
|
1605
1607
|
init_cjs_shims();
|
|
1606
1608
|
var import_node_fs = require("fs");
|
|
1607
1609
|
var import_node_child_process = require("child_process");
|
|
@@ -1615,7 +1617,7 @@ function isWritableStream(stream) {
|
|
|
1615
1617
|
return isStream(stream) && stream.writable !== false && typeof stream._write === "function" && typeof stream._writableState === "object";
|
|
1616
1618
|
}
|
|
1617
1619
|
|
|
1618
|
-
// ../../node_modules/.pnpm/execa@7.
|
|
1620
|
+
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/pipe.js
|
|
1619
1621
|
var isExecaChildProcess = (target) => target instanceof import_node_child_process.ChildProcess && typeof target.then === "function";
|
|
1620
1622
|
var pipeToTarget = (spawned, streamName, target) => {
|
|
1621
1623
|
if (typeof target === "string") {
|
|
@@ -1647,7 +1649,7 @@ var addPipeMethods = (spawned) => {
|
|
|
1647
1649
|
}
|
|
1648
1650
|
};
|
|
1649
1651
|
|
|
1650
|
-
// ../../node_modules/.pnpm/execa@7.
|
|
1652
|
+
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/stream.js
|
|
1651
1653
|
init_cjs_shims();
|
|
1652
1654
|
var import_node_fs2 = require("fs");
|
|
1653
1655
|
var import_get_stream = __toESM(require_get_stream(), 1);
|
|
@@ -1738,7 +1740,7 @@ var getSpawnedResult = async ({ stdout, stderr, all }, { encoding, buffer, maxBu
|
|
|
1738
1740
|
}
|
|
1739
1741
|
};
|
|
1740
1742
|
|
|
1741
|
-
// ../../node_modules/.pnpm/execa@7.
|
|
1743
|
+
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/promise.js
|
|
1742
1744
|
init_cjs_shims();
|
|
1743
1745
|
var nativePromisePrototype = (/* @__PURE__ */ (async () => {
|
|
1744
1746
|
})()).constructor.prototype;
|
|
@@ -1766,7 +1768,7 @@ var getSpawnedPromise = (spawned) => new Promise((resolve, reject) => {
|
|
|
1766
1768
|
}
|
|
1767
1769
|
});
|
|
1768
1770
|
|
|
1769
|
-
// ../../node_modules/.pnpm/execa@7.
|
|
1771
|
+
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/command.js
|
|
1770
1772
|
init_cjs_shims();
|
|
1771
1773
|
var import_node_buffer = require("buffer");
|
|
1772
1774
|
var import_node_child_process2 = require("child_process");
|
|
@@ -1839,10 +1841,10 @@ var parseTemplates = (templates, expressions) => {
|
|
|
1839
1841
|
return tokens;
|
|
1840
1842
|
};
|
|
1841
1843
|
|
|
1842
|
-
// ../../node_modules/.pnpm/execa@7.
|
|
1844
|
+
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/verbose.js
|
|
1843
1845
|
init_cjs_shims();
|
|
1844
1846
|
var import_node_util = require("util");
|
|
1845
|
-
var
|
|
1847
|
+
var import_node_process3 = __toESM(require("process"), 1);
|
|
1846
1848
|
var verboseDefault = (0, import_node_util.debuglog)("execa").enabled;
|
|
1847
1849
|
var padField = (field, padding) => String(field).padStart(padding, "0");
|
|
1848
1850
|
var getTimestamp = () => {
|
|
@@ -1853,14 +1855,14 @@ var logCommand = (escapedCommand, { verbose }) => {
|
|
|
1853
1855
|
if (!verbose) {
|
|
1854
1856
|
return;
|
|
1855
1857
|
}
|
|
1856
|
-
|
|
1858
|
+
import_node_process3.default.stderr.write(`[${getTimestamp()}] ${escapedCommand}
|
|
1857
1859
|
`);
|
|
1858
1860
|
};
|
|
1859
1861
|
|
|
1860
|
-
// ../../node_modules/.pnpm/execa@7.
|
|
1862
|
+
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/index.js
|
|
1861
1863
|
var DEFAULT_MAX_BUFFER = 1e3 * 1e3 * 100;
|
|
1862
1864
|
var getEnv = ({ env: envOption, extendEnv, preferLocal, localDir, execPath }) => {
|
|
1863
|
-
const env = extendEnv ? { ...
|
|
1865
|
+
const env = extendEnv ? { ...import_node_process4.default.env, ...envOption } : envOption;
|
|
1864
1866
|
if (preferLocal) {
|
|
1865
1867
|
return npmRunPathEnv({ env, cwd: localDir, execPath });
|
|
1866
1868
|
}
|
|
@@ -1877,8 +1879,8 @@ var handleArguments = (file, args, options = {}) => {
|
|
|
1877
1879
|
stripFinalNewline: true,
|
|
1878
1880
|
extendEnv: true,
|
|
1879
1881
|
preferLocal: false,
|
|
1880
|
-
localDir: options.cwd ||
|
|
1881
|
-
execPath:
|
|
1882
|
+
localDir: options.cwd || import_node_process4.default.cwd(),
|
|
1883
|
+
execPath: import_node_process4.default.execPath,
|
|
1882
1884
|
encoding: "utf8",
|
|
1883
1885
|
reject: true,
|
|
1884
1886
|
cleanup: true,
|
|
@@ -1889,7 +1891,7 @@ var handleArguments = (file, args, options = {}) => {
|
|
|
1889
1891
|
};
|
|
1890
1892
|
options.env = getEnv(options);
|
|
1891
1893
|
options.stdio = normalizeStdio(options);
|
|
1892
|
-
if (
|
|
1894
|
+
if (import_node_process4.default.platform === "win32" && import_node_path2.default.basename(file, ".exe") === "cmd") {
|
|
1893
1895
|
args.unshift("/q");
|
|
1894
1896
|
}
|
|
1895
1897
|
return { file, args, options, parsed };
|
package/dist/studio.mjs
CHANGED
|
@@ -34,12 +34,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
34
34
|
mod
|
|
35
35
|
));
|
|
36
36
|
|
|
37
|
-
// ../../node_modules/.pnpm/tsup@7.1.0_postcss@8.4.
|
|
37
|
+
// ../../node_modules/.pnpm/tsup@7.1.0_postcss@8.4.27_typescript@5.1.6/node_modules/tsup/assets/esm_shims.js
|
|
38
38
|
import { fileURLToPath } from "url";
|
|
39
39
|
import path from "path";
|
|
40
40
|
var getFilename, getDirname, __dirname;
|
|
41
41
|
var init_esm_shims = __esm({
|
|
42
|
-
"../../node_modules/.pnpm/tsup@7.1.0_postcss@8.4.
|
|
42
|
+
"../../node_modules/.pnpm/tsup@7.1.0_postcss@8.4.27_typescript@5.1.6/node_modules/tsup/assets/esm_shims.js"() {
|
|
43
43
|
"use strict";
|
|
44
44
|
getFilename = () => fileURLToPath(import.meta.url);
|
|
45
45
|
getDirname = () => path.dirname(getFilename());
|
|
@@ -605,11 +605,11 @@ var require_signal_exit = __commonJS({
|
|
|
605
605
|
"../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js"(exports, module) {
|
|
606
606
|
"use strict";
|
|
607
607
|
init_esm_shims();
|
|
608
|
-
var
|
|
609
|
-
var processOk = function(
|
|
610
|
-
return
|
|
608
|
+
var process6 = global.process;
|
|
609
|
+
var processOk = function(process7) {
|
|
610
|
+
return process7 && typeof process7 === "object" && typeof process7.removeListener === "function" && typeof process7.emit === "function" && typeof process7.reallyExit === "function" && typeof process7.listeners === "function" && typeof process7.kill === "function" && typeof process7.pid === "number" && typeof process7.on === "function";
|
|
611
611
|
};
|
|
612
|
-
if (!processOk(
|
|
612
|
+
if (!processOk(process6)) {
|
|
613
613
|
module.exports = function() {
|
|
614
614
|
return function() {
|
|
615
615
|
};
|
|
@@ -617,15 +617,15 @@ var require_signal_exit = __commonJS({
|
|
|
617
617
|
} else {
|
|
618
618
|
assert = __require("assert");
|
|
619
619
|
signals = require_signals();
|
|
620
|
-
isWin = /^win/i.test(
|
|
620
|
+
isWin = /^win/i.test(process6.platform);
|
|
621
621
|
EE = __require("events");
|
|
622
622
|
if (typeof EE !== "function") {
|
|
623
623
|
EE = EE.EventEmitter;
|
|
624
624
|
}
|
|
625
|
-
if (
|
|
626
|
-
emitter =
|
|
625
|
+
if (process6.__signal_exit_emitter__) {
|
|
626
|
+
emitter = process6.__signal_exit_emitter__;
|
|
627
627
|
} else {
|
|
628
|
-
emitter =
|
|
628
|
+
emitter = process6.__signal_exit_emitter__ = new EE();
|
|
629
629
|
emitter.count = 0;
|
|
630
630
|
emitter.emitted = {};
|
|
631
631
|
}
|
|
@@ -662,12 +662,12 @@ var require_signal_exit = __commonJS({
|
|
|
662
662
|
loaded = false;
|
|
663
663
|
signals.forEach(function(sig) {
|
|
664
664
|
try {
|
|
665
|
-
|
|
665
|
+
process6.removeListener(sig, sigListeners[sig]);
|
|
666
666
|
} catch (er) {
|
|
667
667
|
}
|
|
668
668
|
});
|
|
669
|
-
|
|
670
|
-
|
|
669
|
+
process6.emit = originalProcessEmit;
|
|
670
|
+
process6.reallyExit = originalProcessReallyExit;
|
|
671
671
|
emitter.count -= 1;
|
|
672
672
|
};
|
|
673
673
|
module.exports.unload = unload;
|
|
@@ -684,7 +684,7 @@ var require_signal_exit = __commonJS({
|
|
|
684
684
|
if (!processOk(global.process)) {
|
|
685
685
|
return;
|
|
686
686
|
}
|
|
687
|
-
var listeners =
|
|
687
|
+
var listeners = process6.listeners(sig);
|
|
688
688
|
if (listeners.length === emitter.count) {
|
|
689
689
|
unload();
|
|
690
690
|
emit("exit", null, sig);
|
|
@@ -692,7 +692,7 @@ var require_signal_exit = __commonJS({
|
|
|
692
692
|
if (isWin && sig === "SIGHUP") {
|
|
693
693
|
sig = "SIGINT";
|
|
694
694
|
}
|
|
695
|
-
|
|
695
|
+
process6.kill(process6.pid, sig);
|
|
696
696
|
}
|
|
697
697
|
};
|
|
698
698
|
});
|
|
@@ -708,36 +708,36 @@ var require_signal_exit = __commonJS({
|
|
|
708
708
|
emitter.count += 1;
|
|
709
709
|
signals = signals.filter(function(sig) {
|
|
710
710
|
try {
|
|
711
|
-
|
|
711
|
+
process6.on(sig, sigListeners[sig]);
|
|
712
712
|
return true;
|
|
713
713
|
} catch (er) {
|
|
714
714
|
return false;
|
|
715
715
|
}
|
|
716
716
|
});
|
|
717
|
-
|
|
718
|
-
|
|
717
|
+
process6.emit = processEmit;
|
|
718
|
+
process6.reallyExit = processReallyExit;
|
|
719
719
|
};
|
|
720
720
|
module.exports.load = load;
|
|
721
|
-
originalProcessReallyExit =
|
|
721
|
+
originalProcessReallyExit = process6.reallyExit;
|
|
722
722
|
processReallyExit = function processReallyExit2(code) {
|
|
723
723
|
if (!processOk(global.process)) {
|
|
724
724
|
return;
|
|
725
725
|
}
|
|
726
|
-
|
|
726
|
+
process6.exitCode = code || /* istanbul ignore next */
|
|
727
727
|
0;
|
|
728
|
-
emit("exit",
|
|
729
|
-
emit("afterexit",
|
|
730
|
-
originalProcessReallyExit.call(
|
|
728
|
+
emit("exit", process6.exitCode, null);
|
|
729
|
+
emit("afterexit", process6.exitCode, null);
|
|
730
|
+
originalProcessReallyExit.call(process6, process6.exitCode);
|
|
731
731
|
};
|
|
732
|
-
originalProcessEmit =
|
|
732
|
+
originalProcessEmit = process6.emit;
|
|
733
733
|
processEmit = function processEmit2(ev, arg) {
|
|
734
734
|
if (ev === "exit" && processOk(global.process)) {
|
|
735
735
|
if (arg !== void 0) {
|
|
736
|
-
|
|
736
|
+
process6.exitCode = arg;
|
|
737
737
|
}
|
|
738
738
|
var ret = originalProcessEmit.apply(this, arguments);
|
|
739
|
-
emit("exit",
|
|
740
|
-
emit("afterexit",
|
|
739
|
+
emit("exit", process6.exitCode, null);
|
|
740
|
+
emit("afterexit", process6.exitCode, null);
|
|
741
741
|
return ret;
|
|
742
742
|
} else {
|
|
743
743
|
return originalProcessEmit.apply(this, arguments);
|
|
@@ -908,13 +908,13 @@ var require_merge_stream = __commonJS({
|
|
|
908
908
|
init_esm_shims();
|
|
909
909
|
import { colors, logger } from "@pandacss/logger";
|
|
910
910
|
|
|
911
|
-
// ../../node_modules/.pnpm/execa@7.
|
|
911
|
+
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/index.js
|
|
912
912
|
init_esm_shims();
|
|
913
913
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
914
914
|
import { Buffer as Buffer3 } from "node:buffer";
|
|
915
915
|
import path3 from "node:path";
|
|
916
916
|
import childProcess from "node:child_process";
|
|
917
|
-
import
|
|
917
|
+
import process5 from "node:process";
|
|
918
918
|
|
|
919
919
|
// ../../node_modules/.pnpm/strip-final-newline@3.0.0/node_modules/strip-final-newline/index.js
|
|
920
920
|
init_esm_shims();
|
|
@@ -1056,8 +1056,9 @@ onetime.callCount = (function_) => {
|
|
|
1056
1056
|
};
|
|
1057
1057
|
var onetime_default = onetime;
|
|
1058
1058
|
|
|
1059
|
-
// ../../node_modules/.pnpm/execa@7.
|
|
1059
|
+
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/error.js
|
|
1060
1060
|
init_esm_shims();
|
|
1061
|
+
import process3 from "node:process";
|
|
1061
1062
|
|
|
1062
1063
|
// ../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/main.js
|
|
1063
1064
|
init_esm_shims();
|
|
@@ -1427,7 +1428,7 @@ var findSignalByNumber = (number, signals) => {
|
|
|
1427
1428
|
};
|
|
1428
1429
|
var signalsByNumber = getSignalsByNumber();
|
|
1429
1430
|
|
|
1430
|
-
// ../../node_modules/.pnpm/execa@7.
|
|
1431
|
+
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/error.js
|
|
1431
1432
|
var getErrorPrefix = ({ timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled }) => {
|
|
1432
1433
|
if (timedOut) {
|
|
1433
1434
|
return `timed out after ${timeout} milliseconds`;
|
|
@@ -1458,7 +1459,7 @@ var makeError = ({
|
|
|
1458
1459
|
timedOut,
|
|
1459
1460
|
isCanceled,
|
|
1460
1461
|
killed,
|
|
1461
|
-
parsed: { options: { timeout } }
|
|
1462
|
+
parsed: { options: { timeout, cwd = process3.cwd() } }
|
|
1462
1463
|
}) => {
|
|
1463
1464
|
exitCode = exitCode === null ? void 0 : exitCode;
|
|
1464
1465
|
signal = signal === null ? void 0 : signal;
|
|
@@ -1484,6 +1485,7 @@ ${error.message}` : execaMessage;
|
|
|
1484
1485
|
error.signalDescription = signalDescription;
|
|
1485
1486
|
error.stdout = stdout;
|
|
1486
1487
|
error.stderr = stderr;
|
|
1488
|
+
error.cwd = cwd;
|
|
1487
1489
|
if (all !== void 0) {
|
|
1488
1490
|
error.all = all;
|
|
1489
1491
|
}
|
|
@@ -1497,7 +1499,7 @@ ${error.message}` : execaMessage;
|
|
|
1497
1499
|
return error;
|
|
1498
1500
|
};
|
|
1499
1501
|
|
|
1500
|
-
// ../../node_modules/.pnpm/execa@7.
|
|
1502
|
+
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/stdio.js
|
|
1501
1503
|
init_esm_shims();
|
|
1502
1504
|
var aliases = ["stdin", "stdout", "stderr"];
|
|
1503
1505
|
var hasAlias = (options) => aliases.some((alias) => options[alias] !== void 0);
|
|
@@ -1522,7 +1524,7 @@ var normalizeStdio = (options) => {
|
|
|
1522
1524
|
return Array.from({ length }, (value, index) => stdio[index]);
|
|
1523
1525
|
};
|
|
1524
1526
|
|
|
1525
|
-
// ../../node_modules/.pnpm/execa@7.
|
|
1527
|
+
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/kill.js
|
|
1526
1528
|
init_esm_shims();
|
|
1527
1529
|
var import_signal_exit = __toESM(require_signal_exit(), 1);
|
|
1528
1530
|
import os from "node:os";
|
|
@@ -1597,7 +1599,7 @@ var setExitHandler = async (spawned, { cleanup, detached }, timedPromise) => {
|
|
|
1597
1599
|
});
|
|
1598
1600
|
};
|
|
1599
1601
|
|
|
1600
|
-
// ../../node_modules/.pnpm/execa@7.
|
|
1602
|
+
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/pipe.js
|
|
1601
1603
|
init_esm_shims();
|
|
1602
1604
|
import { createWriteStream } from "node:fs";
|
|
1603
1605
|
import { ChildProcess } from "node:child_process";
|
|
@@ -1611,7 +1613,7 @@ function isWritableStream(stream) {
|
|
|
1611
1613
|
return isStream(stream) && stream.writable !== false && typeof stream._write === "function" && typeof stream._writableState === "object";
|
|
1612
1614
|
}
|
|
1613
1615
|
|
|
1614
|
-
// ../../node_modules/.pnpm/execa@7.
|
|
1616
|
+
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/pipe.js
|
|
1615
1617
|
var isExecaChildProcess = (target) => target instanceof ChildProcess && typeof target.then === "function";
|
|
1616
1618
|
var pipeToTarget = (spawned, streamName, target) => {
|
|
1617
1619
|
if (typeof target === "string") {
|
|
@@ -1643,7 +1645,7 @@ var addPipeMethods = (spawned) => {
|
|
|
1643
1645
|
}
|
|
1644
1646
|
};
|
|
1645
1647
|
|
|
1646
|
-
// ../../node_modules/.pnpm/execa@7.
|
|
1648
|
+
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/stream.js
|
|
1647
1649
|
init_esm_shims();
|
|
1648
1650
|
import { createReadStream, readFileSync } from "node:fs";
|
|
1649
1651
|
var import_get_stream = __toESM(require_get_stream(), 1);
|
|
@@ -1734,7 +1736,7 @@ var getSpawnedResult = async ({ stdout, stderr, all }, { encoding, buffer, maxBu
|
|
|
1734
1736
|
}
|
|
1735
1737
|
};
|
|
1736
1738
|
|
|
1737
|
-
// ../../node_modules/.pnpm/execa@7.
|
|
1739
|
+
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/promise.js
|
|
1738
1740
|
init_esm_shims();
|
|
1739
1741
|
var nativePromisePrototype = (/* @__PURE__ */ (async () => {
|
|
1740
1742
|
})()).constructor.prototype;
|
|
@@ -1762,7 +1764,7 @@ var getSpawnedPromise = (spawned) => new Promise((resolve, reject) => {
|
|
|
1762
1764
|
}
|
|
1763
1765
|
});
|
|
1764
1766
|
|
|
1765
|
-
// ../../node_modules/.pnpm/execa@7.
|
|
1767
|
+
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/command.js
|
|
1766
1768
|
init_esm_shims();
|
|
1767
1769
|
import { Buffer as Buffer2 } from "node:buffer";
|
|
1768
1770
|
import { ChildProcess as ChildProcess2 } from "node:child_process";
|
|
@@ -1835,10 +1837,10 @@ var parseTemplates = (templates, expressions) => {
|
|
|
1835
1837
|
return tokens;
|
|
1836
1838
|
};
|
|
1837
1839
|
|
|
1838
|
-
// ../../node_modules/.pnpm/execa@7.
|
|
1840
|
+
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/verbose.js
|
|
1839
1841
|
init_esm_shims();
|
|
1840
1842
|
import { debuglog } from "node:util";
|
|
1841
|
-
import
|
|
1843
|
+
import process4 from "node:process";
|
|
1842
1844
|
var verboseDefault = debuglog("execa").enabled;
|
|
1843
1845
|
var padField = (field, padding) => String(field).padStart(padding, "0");
|
|
1844
1846
|
var getTimestamp = () => {
|
|
@@ -1849,14 +1851,14 @@ var logCommand = (escapedCommand, { verbose }) => {
|
|
|
1849
1851
|
if (!verbose) {
|
|
1850
1852
|
return;
|
|
1851
1853
|
}
|
|
1852
|
-
|
|
1854
|
+
process4.stderr.write(`[${getTimestamp()}] ${escapedCommand}
|
|
1853
1855
|
`);
|
|
1854
1856
|
};
|
|
1855
1857
|
|
|
1856
|
-
// ../../node_modules/.pnpm/execa@7.
|
|
1858
|
+
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/index.js
|
|
1857
1859
|
var DEFAULT_MAX_BUFFER = 1e3 * 1e3 * 100;
|
|
1858
1860
|
var getEnv = ({ env: envOption, extendEnv, preferLocal, localDir, execPath }) => {
|
|
1859
|
-
const env = extendEnv ? { ...
|
|
1861
|
+
const env = extendEnv ? { ...process5.env, ...envOption } : envOption;
|
|
1860
1862
|
if (preferLocal) {
|
|
1861
1863
|
return npmRunPathEnv({ env, cwd: localDir, execPath });
|
|
1862
1864
|
}
|
|
@@ -1873,8 +1875,8 @@ var handleArguments = (file, args, options = {}) => {
|
|
|
1873
1875
|
stripFinalNewline: true,
|
|
1874
1876
|
extendEnv: true,
|
|
1875
1877
|
preferLocal: false,
|
|
1876
|
-
localDir: options.cwd ||
|
|
1877
|
-
execPath:
|
|
1878
|
+
localDir: options.cwd || process5.cwd(),
|
|
1879
|
+
execPath: process5.execPath,
|
|
1878
1880
|
encoding: "utf8",
|
|
1879
1881
|
reject: true,
|
|
1880
1882
|
cleanup: true,
|
|
@@ -1885,7 +1887,7 @@ var handleArguments = (file, args, options = {}) => {
|
|
|
1885
1887
|
};
|
|
1886
1888
|
options.env = getEnv(options);
|
|
1887
1889
|
options.stdio = normalizeStdio(options);
|
|
1888
|
-
if (
|
|
1890
|
+
if (process5.platform === "win32" && path3.basename(file, ".exe") === "cmd") {
|
|
1889
1891
|
args.unshift("/q");
|
|
1890
1892
|
}
|
|
1891
1893
|
return { file, args, options, parsed };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/studio",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "The automated token documentation for Panda CSS",
|
|
5
5
|
"main": "dist/studio.js",
|
|
6
6
|
"module": "dist/studio.mjs",
|
|
@@ -26,26 +26,26 @@
|
|
|
26
26
|
"author": "Segun Adebayo <joseshegs@gmail.com>",
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@ark-ui/react": "0.
|
|
29
|
+
"@ark-ui/react": "0.9.0",
|
|
30
30
|
"@astrojs/react": "2.2.1",
|
|
31
|
-
"astro": "2.
|
|
31
|
+
"astro": "2.9.6",
|
|
32
32
|
"javascript-stringify": "2.1.0",
|
|
33
33
|
"react": "18.2.0",
|
|
34
34
|
"react-dom": "18.2.0",
|
|
35
|
-
"vite": "4.4.
|
|
36
|
-
"@pandacss/types": "0.
|
|
37
|
-
"@pandacss/config": "0.
|
|
38
|
-
"@pandacss/shared": "0.
|
|
39
|
-
"@pandacss/token-dictionary": "0.
|
|
40
|
-
"@pandacss/logger": "0.
|
|
41
|
-
"@pandacss/node": "0.
|
|
35
|
+
"vite": "4.4.8",
|
|
36
|
+
"@pandacss/types": "0.10.0",
|
|
37
|
+
"@pandacss/config": "0.10.0",
|
|
38
|
+
"@pandacss/shared": "0.10.0",
|
|
39
|
+
"@pandacss/token-dictionary": "0.10.0",
|
|
40
|
+
"@pandacss/logger": "0.10.0",
|
|
41
|
+
"@pandacss/node": "0.10.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@types/react": "18.2.
|
|
45
|
-
"@types/react-dom": "18.2.
|
|
46
|
-
"@vitejs/plugin-react": "4.0.
|
|
47
|
-
"execa": "7.
|
|
48
|
-
"@pandacss/dev": "0.
|
|
44
|
+
"@types/react": "18.2.18",
|
|
45
|
+
"@types/react-dom": "18.2.7",
|
|
46
|
+
"@vitejs/plugin-react": "4.0.4",
|
|
47
|
+
"execa": "7.2.0",
|
|
48
|
+
"@pandacss/dev": "0.10.0"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"codegen": "panda",
|