@tscircuit/core 0.0.700 → 0.0.702
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 +1 -0
- package/dist/index.js +12 -3
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -257,6 +257,7 @@ declare class RootCircuit {
|
|
|
257
257
|
emit(event: RootCircuitEventName, ...args: any[]): void;
|
|
258
258
|
on(event: RootCircuitEventName, listener: (...args: any[]) => void): void;
|
|
259
259
|
removeListener(event: RootCircuitEventName, listener: (...args: any[]) => void): void;
|
|
260
|
+
enableDebug(debug: string | null | false): void;
|
|
260
261
|
getClientOrigin(): string;
|
|
261
262
|
}
|
|
262
263
|
/**
|
package/dist/index.js
CHANGED
|
@@ -11426,6 +11426,7 @@ var Group6 = class extends NormalComponent2 {
|
|
|
11426
11426
|
}
|
|
11427
11427
|
_getPcbLayoutMode() {
|
|
11428
11428
|
const props = this._parsedProps;
|
|
11429
|
+
if (props.pcbRelative) return "none";
|
|
11429
11430
|
if (props.pcbLayout?.matchAdapt) return "match-adapt";
|
|
11430
11431
|
if (props.pcbLayout?.flex) return "flex";
|
|
11431
11432
|
if (props.pcbLayout?.grid) return "grid";
|
|
@@ -14357,7 +14358,7 @@ import { identity as identity6 } from "transformation-matrix";
|
|
|
14357
14358
|
var package_default = {
|
|
14358
14359
|
name: "@tscircuit/core",
|
|
14359
14360
|
type: "module",
|
|
14360
|
-
version: "0.0.
|
|
14361
|
+
version: "0.0.701",
|
|
14361
14362
|
types: "dist/index.d.ts",
|
|
14362
14363
|
main: "dist/index.js",
|
|
14363
14364
|
module: "dist/index.js",
|
|
@@ -14386,10 +14387,10 @@ var package_default = {
|
|
|
14386
14387
|
},
|
|
14387
14388
|
devDependencies: {
|
|
14388
14389
|
"@biomejs/biome": "^1.8.3",
|
|
14389
|
-
"@tscircuit/capacity-autorouter": "^0.0.
|
|
14390
|
+
"@tscircuit/capacity-autorouter": "^0.0.107",
|
|
14390
14391
|
"@tscircuit/checks": "^0.0.71",
|
|
14391
14392
|
"@tscircuit/circuit-json-util": "^0.0.67",
|
|
14392
|
-
"@tscircuit/footprinter": "^0.0.
|
|
14393
|
+
"@tscircuit/footprinter": "^0.0.236",
|
|
14393
14394
|
"@tscircuit/import-snippet": "^0.0.4",
|
|
14394
14395
|
"@tscircuit/infgrid-ijump-astar": "^0.0.33",
|
|
14395
14396
|
"@tscircuit/log-soup": "^1.0.2",
|
|
@@ -14464,6 +14465,7 @@ var package_default = {
|
|
|
14464
14465
|
};
|
|
14465
14466
|
|
|
14466
14467
|
// lib/RootCircuit.ts
|
|
14468
|
+
import Debug12 from "debug";
|
|
14467
14469
|
var RootCircuit = class {
|
|
14468
14470
|
firstChild = null;
|
|
14469
14471
|
children;
|
|
@@ -14632,6 +14634,13 @@ var RootCircuit = class {
|
|
|
14632
14634
|
(l) => l !== listener
|
|
14633
14635
|
);
|
|
14634
14636
|
}
|
|
14637
|
+
enableDebug(debug10) {
|
|
14638
|
+
if (typeof debug10 === "string") {
|
|
14639
|
+
Debug12.enable(debug10);
|
|
14640
|
+
} else if (debug10 === null || debug10 === false) {
|
|
14641
|
+
Debug12.disable();
|
|
14642
|
+
}
|
|
14643
|
+
}
|
|
14635
14644
|
getClientOrigin() {
|
|
14636
14645
|
if (typeof window !== "undefined" && window.location) {
|
|
14637
14646
|
return window.location.origin;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.702",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@biomejs/biome": "^1.8.3",
|
|
33
|
-
"@tscircuit/capacity-autorouter": "^0.0.
|
|
33
|
+
"@tscircuit/capacity-autorouter": "^0.0.107",
|
|
34
34
|
"@tscircuit/checks": "^0.0.71",
|
|
35
35
|
"@tscircuit/circuit-json-util": "^0.0.67",
|
|
36
|
-
"@tscircuit/footprinter": "^0.0.
|
|
36
|
+
"@tscircuit/footprinter": "^0.0.236",
|
|
37
37
|
"@tscircuit/import-snippet": "^0.0.4",
|
|
38
38
|
"@tscircuit/infgrid-ijump-astar": "^0.0.33",
|
|
39
39
|
"@tscircuit/log-soup": "^1.0.2",
|