@tscircuit/core 0.0.871 → 0.0.872
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 +233 -4
- package/dist/index.js +56 -23
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -86,7 +86,7 @@ __export(components_exports, {
|
|
|
86
86
|
// lib/components/base-components/NormalComponent/NormalComponent.ts
|
|
87
87
|
import { fp } from "@tscircuit/footprinter";
|
|
88
88
|
import {
|
|
89
|
-
distance as
|
|
89
|
+
distance as distance7,
|
|
90
90
|
pcb_manual_edit_conflict_warning,
|
|
91
91
|
pcb_component_invalid_layer_error,
|
|
92
92
|
point3 as point32,
|
|
@@ -1937,6 +1937,7 @@ var SmtPad = class extends PrimitiveComponent2 {
|
|
|
1937
1937
|
const { _parsedProps: props } = this;
|
|
1938
1938
|
const isCoveredWithSolderMask = props.coveredWithSolderMask ?? false;
|
|
1939
1939
|
const shouldCreateSolderPaste = !isCoveredWithSolderMask;
|
|
1940
|
+
const soldermaskMargin = props.solderMaskMargin;
|
|
1940
1941
|
const subcircuit = this.getSubcircuit();
|
|
1941
1942
|
const position = this._getGlobalPcbPositionBeforeLayout();
|
|
1942
1943
|
const globalTransform = this._computePcbGlobalTransformBeforeLayout();
|
|
@@ -1967,6 +1968,7 @@ var SmtPad = class extends PrimitiveComponent2 {
|
|
|
1967
1968
|
radius: props.radius,
|
|
1968
1969
|
port_hints: portHints,
|
|
1969
1970
|
is_covered_with_solder_mask: isCoveredWithSolderMask,
|
|
1971
|
+
soldermask_margin: soldermaskMargin,
|
|
1970
1972
|
x: position.x,
|
|
1971
1973
|
y: position.y,
|
|
1972
1974
|
subcircuit_id: subcircuit?.subcircuit_id ?? void 0
|
|
@@ -1999,6 +2001,7 @@ var SmtPad = class extends PrimitiveComponent2 {
|
|
|
1999
2001
|
ccw_rotation: finalRotationDegrees,
|
|
2000
2002
|
port_hints: portHints,
|
|
2001
2003
|
is_covered_with_solder_mask: isCoveredWithSolderMask,
|
|
2004
|
+
soldermask_margin: soldermaskMargin,
|
|
2002
2005
|
subcircuit_id: subcircuit?.subcircuit_id ?? void 0,
|
|
2003
2006
|
pcb_group_id: this.getGroup()?.pcb_group_id ?? void 0
|
|
2004
2007
|
});
|
|
@@ -2013,6 +2016,7 @@ var SmtPad = class extends PrimitiveComponent2 {
|
|
|
2013
2016
|
corner_radius: props.cornerRadius ?? void 0,
|
|
2014
2017
|
port_hints: portHints,
|
|
2015
2018
|
is_covered_with_solder_mask: isCoveredWithSolderMask,
|
|
2019
|
+
soldermask_margin: soldermaskMargin,
|
|
2016
2020
|
x: position.x,
|
|
2017
2021
|
y: position.y,
|
|
2018
2022
|
subcircuit_id: subcircuit?.subcircuit_id ?? void 0,
|
|
@@ -2066,6 +2070,7 @@ var SmtPad = class extends PrimitiveComponent2 {
|
|
|
2066
2070
|
ccw_rotation: padRotation,
|
|
2067
2071
|
port_hints: portHints,
|
|
2068
2072
|
is_covered_with_solder_mask: isCoveredWithSolderMask,
|
|
2073
|
+
soldermask_margin: soldermaskMargin,
|
|
2069
2074
|
subcircuit_id: subcircuit?.subcircuit_id ?? void 0,
|
|
2070
2075
|
pcb_group_id: this.getGroup()?.pcb_group_id ?? void 0
|
|
2071
2076
|
});
|
|
@@ -2103,6 +2108,7 @@ var SmtPad = class extends PrimitiveComponent2 {
|
|
|
2103
2108
|
points: transformedPoints,
|
|
2104
2109
|
port_hints: portHints,
|
|
2105
2110
|
is_covered_with_solder_mask: isCoveredWithSolderMask,
|
|
2111
|
+
soldermask_margin: soldermaskMargin,
|
|
2106
2112
|
subcircuit_id: subcircuit?.subcircuit_id ?? void 0,
|
|
2107
2113
|
pcb_group_id: this.getGroup()?.pcb_group_id ?? void 0
|
|
2108
2114
|
});
|
|
@@ -2120,6 +2126,7 @@ var SmtPad = class extends PrimitiveComponent2 {
|
|
|
2120
2126
|
width: props.width,
|
|
2121
2127
|
port_hints: portHints,
|
|
2122
2128
|
is_covered_with_solder_mask: isCoveredWithSolderMask,
|
|
2129
|
+
soldermask_margin: soldermaskMargin,
|
|
2123
2130
|
subcircuit_id: subcircuit?.subcircuit_id ?? void 0,
|
|
2124
2131
|
pcb_group_id: this.getGroup()?.pcb_group_id ?? void 0
|
|
2125
2132
|
});
|
|
@@ -2407,6 +2414,7 @@ var PcbTrace = class extends PrimitiveComponent2 {
|
|
|
2407
2414
|
|
|
2408
2415
|
// lib/components/primitive-components/PlatedHole.ts
|
|
2409
2416
|
import { platedHoleProps } from "@tscircuit/props";
|
|
2417
|
+
import "circuit-json";
|
|
2410
2418
|
var PlatedHole = class extends PrimitiveComponent2 {
|
|
2411
2419
|
pcb_plated_hole_id = null;
|
|
2412
2420
|
matchedPort = null;
|
|
@@ -2502,6 +2510,8 @@ var PlatedHole = class extends PrimitiveComponent2 {
|
|
|
2502
2510
|
const position = this._getGlobalPcbPositionBeforeLayout();
|
|
2503
2511
|
const pcb_component_id = this.parent?.pcb_component_id ?? this.getPrimitiveContainer()?.pcb_component_id;
|
|
2504
2512
|
const subcircuit = this.getSubcircuit();
|
|
2513
|
+
const soldermaskMargin = props.solderMaskMargin;
|
|
2514
|
+
const isCoveredWithSolderMask = props.coveredWithSolderMask ?? false;
|
|
2505
2515
|
if (props.shape === "circle") {
|
|
2506
2516
|
const pcb_plated_hole = db.pcb_plated_hole.insert({
|
|
2507
2517
|
pcb_component_id,
|
|
@@ -2514,6 +2524,8 @@ var PlatedHole = class extends PrimitiveComponent2 {
|
|
|
2514
2524
|
x: position.x,
|
|
2515
2525
|
y: position.y,
|
|
2516
2526
|
layers: ["top", "bottom"],
|
|
2527
|
+
soldermask_margin: soldermaskMargin,
|
|
2528
|
+
is_covered_with_solder_mask: isCoveredWithSolderMask,
|
|
2517
2529
|
subcircuit_id: subcircuit?.subcircuit_id ?? void 0,
|
|
2518
2530
|
pcb_group_id: this.getGroup()?.pcb_group_id ?? void 0
|
|
2519
2531
|
});
|
|
@@ -2553,6 +2565,8 @@ var PlatedHole = class extends PrimitiveComponent2 {
|
|
|
2553
2565
|
x: position.x,
|
|
2554
2566
|
y: position.y,
|
|
2555
2567
|
layers: ["top", "bottom"],
|
|
2568
|
+
soldermask_margin: soldermaskMargin,
|
|
2569
|
+
is_covered_with_solder_mask: isCoveredWithSolderMask,
|
|
2556
2570
|
subcircuit_id: subcircuit?.subcircuit_id ?? void 0,
|
|
2557
2571
|
pcb_group_id: this.getGroup()?.pcb_group_id ?? void 0,
|
|
2558
2572
|
hole_shape: "rotated_pill",
|
|
@@ -2578,6 +2592,8 @@ var PlatedHole = class extends PrimitiveComponent2 {
|
|
|
2578
2592
|
x: position.x,
|
|
2579
2593
|
y: position.y,
|
|
2580
2594
|
layers: ["top", "bottom"],
|
|
2595
|
+
soldermask_margin: soldermaskMargin,
|
|
2596
|
+
is_covered_with_solder_mask: isCoveredWithSolderMask,
|
|
2581
2597
|
subcircuit_id: subcircuit?.subcircuit_id ?? void 0,
|
|
2582
2598
|
pcb_group_id: this.getGroup()?.pcb_group_id ?? void 0,
|
|
2583
2599
|
ccw_rotation: props.pcbRotation ?? 0
|
|
@@ -2618,6 +2634,8 @@ var PlatedHole = class extends PrimitiveComponent2 {
|
|
|
2618
2634
|
x: position.x,
|
|
2619
2635
|
y: position.y,
|
|
2620
2636
|
layers: ["top", "bottom"],
|
|
2637
|
+
soldermask_margin: soldermaskMargin,
|
|
2638
|
+
is_covered_with_solder_mask: isCoveredWithSolderMask,
|
|
2621
2639
|
subcircuit_id: subcircuit?.subcircuit_id ?? void 0,
|
|
2622
2640
|
pcb_group_id: this.getGroup()?.pcb_group_id ?? void 0,
|
|
2623
2641
|
hole_offset_x: props.holeOffsetX,
|
|
@@ -2640,6 +2658,8 @@ var PlatedHole = class extends PrimitiveComponent2 {
|
|
|
2640
2658
|
x: position.x,
|
|
2641
2659
|
y: position.y,
|
|
2642
2660
|
layers: ["top", "bottom"],
|
|
2661
|
+
soldermask_margin: soldermaskMargin,
|
|
2662
|
+
is_covered_with_solder_mask: isCoveredWithSolderMask,
|
|
2643
2663
|
subcircuit_id: subcircuit?.subcircuit_id ?? void 0,
|
|
2644
2664
|
pcb_group_id: this.getGroup()?.pcb_group_id ?? void 0
|
|
2645
2665
|
});
|
|
@@ -2668,6 +2688,8 @@ var PlatedHole = class extends PrimitiveComponent2 {
|
|
|
2668
2688
|
x: position.x,
|
|
2669
2689
|
y: position.y,
|
|
2670
2690
|
layers: ["top", "bottom"],
|
|
2691
|
+
soldermask_margin: soldermaskMargin,
|
|
2692
|
+
is_covered_with_solder_mask: isCoveredWithSolderMask,
|
|
2671
2693
|
subcircuit_id: subcircuit?.subcircuit_id ?? void 0,
|
|
2672
2694
|
pcb_group_id: this.getGroup()?.pcb_group_id ?? void 0
|
|
2673
2695
|
});
|
|
@@ -2741,6 +2763,7 @@ var Keepout = class extends PrimitiveComponent2 {
|
|
|
2741
2763
|
|
|
2742
2764
|
// lib/components/primitive-components/Hole.ts
|
|
2743
2765
|
import { holeProps } from "@tscircuit/props";
|
|
2766
|
+
import "circuit-json";
|
|
2744
2767
|
var Hole = class extends PrimitiveComponent2 {
|
|
2745
2768
|
pcb_hole_id = null;
|
|
2746
2769
|
isPcbPrimitive = true;
|
|
@@ -2777,6 +2800,8 @@ var Hole = class extends PrimitiveComponent2 {
|
|
|
2777
2800
|
const { _parsedProps: props } = this;
|
|
2778
2801
|
const subcircuit = this.getSubcircuit();
|
|
2779
2802
|
const position = this._getGlobalPcbPositionBeforeLayout();
|
|
2803
|
+
const soldermaskMargin = props.solderMaskMargin;
|
|
2804
|
+
const isCoveredWithSolderMask = props.coveredWithSolderMask ?? false;
|
|
2780
2805
|
if (props.shape === "pill") {
|
|
2781
2806
|
if (props.pcbRotation && props.pcbRotation !== 0) {
|
|
2782
2807
|
const inserted_hole = db.pcb_hole.insert({
|
|
@@ -2787,6 +2812,8 @@ var Hole = class extends PrimitiveComponent2 {
|
|
|
2787
2812
|
x: position.x,
|
|
2788
2813
|
y: position.y,
|
|
2789
2814
|
ccw_rotation: props.pcbRotation,
|
|
2815
|
+
soldermask_margin: soldermaskMargin,
|
|
2816
|
+
is_covered_with_solder_mask: isCoveredWithSolderMask,
|
|
2790
2817
|
subcircuit_id: subcircuit?.subcircuit_id ?? void 0,
|
|
2791
2818
|
pcb_group_id: subcircuit?.getGroup()?.pcb_group_id ?? void 0
|
|
2792
2819
|
});
|
|
@@ -2799,6 +2826,8 @@ var Hole = class extends PrimitiveComponent2 {
|
|
|
2799
2826
|
hole_height: props.height,
|
|
2800
2827
|
x: position.x,
|
|
2801
2828
|
y: position.y,
|
|
2829
|
+
soldermask_margin: soldermaskMargin,
|
|
2830
|
+
is_covered_with_solder_mask: isCoveredWithSolderMask,
|
|
2802
2831
|
subcircuit_id: subcircuit?.subcircuit_id ?? void 0,
|
|
2803
2832
|
pcb_group_id: subcircuit?.getGroup()?.pcb_group_id ?? void 0
|
|
2804
2833
|
});
|
|
@@ -2812,6 +2841,8 @@ var Hole = class extends PrimitiveComponent2 {
|
|
|
2812
2841
|
hole_height: props.height,
|
|
2813
2842
|
x: position.x,
|
|
2814
2843
|
y: position.y,
|
|
2844
|
+
soldermask_margin: soldermaskMargin,
|
|
2845
|
+
is_covered_with_solder_mask: isCoveredWithSolderMask,
|
|
2815
2846
|
subcircuit_id: subcircuit?.subcircuit_id ?? void 0,
|
|
2816
2847
|
pcb_group_id: subcircuit?.getGroup()?.pcb_group_id ?? void 0
|
|
2817
2848
|
});
|
|
@@ -2823,6 +2854,8 @@ var Hole = class extends PrimitiveComponent2 {
|
|
|
2823
2854
|
hole_diameter: props.diameter,
|
|
2824
2855
|
x: position.x,
|
|
2825
2856
|
y: position.y,
|
|
2857
|
+
soldermask_margin: soldermaskMargin,
|
|
2858
|
+
is_covered_with_solder_mask: isCoveredWithSolderMask,
|
|
2826
2859
|
subcircuit_id: subcircuit?.subcircuit_id ?? void 0,
|
|
2827
2860
|
pcb_group_id: subcircuit?.getGroup()?.pcb_group_id ?? void 0
|
|
2828
2861
|
});
|
|
@@ -4679,7 +4712,7 @@ var Footprint = class extends PrimitiveComponent2 {
|
|
|
4679
4712
|
// lib/components/primitive-components/CadModel.ts
|
|
4680
4713
|
import { cadmodelProps, point3 } from "@tscircuit/props";
|
|
4681
4714
|
import { z as z7 } from "zod";
|
|
4682
|
-
import { distance as
|
|
4715
|
+
import { distance as distance4 } from "circuit-json";
|
|
4683
4716
|
import { decomposeTSR as decomposeTSR4 } from "transformation-matrix";
|
|
4684
4717
|
|
|
4685
4718
|
// lib/components/base-components/NormalComponent/utils/getFileExtension.ts
|
|
@@ -4756,7 +4789,7 @@ var CadModel = class extends PrimitiveComponent2 {
|
|
|
4756
4789
|
z: props.pcbZ ?? 0,
|
|
4757
4790
|
...typeof props.positionOffset === "object" ? props.positionOffset : {}
|
|
4758
4791
|
});
|
|
4759
|
-
const zOffsetFromSurface = props.zOffsetFromSurface !== void 0 ?
|
|
4792
|
+
const zOffsetFromSurface = props.zOffsetFromSurface !== void 0 ? distance4.parse(props.zOffsetFromSurface) : 0;
|
|
4760
4793
|
const layer = parent.props.layer === "bottom" ? "bottom" : "top";
|
|
4761
4794
|
const ext = props.modelUrl ? getFileExtension(props.modelUrl) : void 0;
|
|
4762
4795
|
const urlProps = {};
|
|
@@ -5069,7 +5102,7 @@ var getEnteringEdgeFromDirection = (direction) => {
|
|
|
5069
5102
|
};
|
|
5070
5103
|
|
|
5071
5104
|
// lib/utils/schematic/getStubEdges.ts
|
|
5072
|
-
import { distance as
|
|
5105
|
+
import { distance as distance5 } from "@tscircuit/math-utils";
|
|
5073
5106
|
var getStubEdges = ({
|
|
5074
5107
|
firstEdge,
|
|
5075
5108
|
firstEdgePort,
|
|
@@ -5116,7 +5149,7 @@ var getStubEdges = ({
|
|
|
5116
5149
|
});
|
|
5117
5150
|
}
|
|
5118
5151
|
}
|
|
5119
|
-
edges = edges.filter((e) =>
|
|
5152
|
+
edges = edges.filter((e) => distance5(e.from, e.to) > 0.01);
|
|
5120
5153
|
return edges;
|
|
5121
5154
|
};
|
|
5122
5155
|
|
|
@@ -5658,7 +5691,7 @@ import { calculateElbow } from "calculate-elbow";
|
|
|
5658
5691
|
import { doesLineIntersectLine as doesLineIntersectLine3 } from "@tscircuit/math-utils";
|
|
5659
5692
|
|
|
5660
5693
|
// lib/components/primitive-components/Trace/trace-utils/create-schematic-trace-crossing-segments.ts
|
|
5661
|
-
import { distance as
|
|
5694
|
+
import { distance as distance6, doesLineIntersectLine } from "@tscircuit/math-utils";
|
|
5662
5695
|
|
|
5663
5696
|
// lib/components/primitive-components/Trace/trace-utils/get-other-schematic-traces.ts
|
|
5664
5697
|
var getOtherSchematicTraces = ({
|
|
@@ -5725,7 +5758,7 @@ var createSchematicTraceCrossingSegments = ({
|
|
|
5725
5758
|
otherEdgesIntersections.push({
|
|
5726
5759
|
otherEdge,
|
|
5727
5760
|
crossingPoint: crossingPoint2,
|
|
5728
|
-
distanceFromEdgeFrom:
|
|
5761
|
+
distanceFromEdgeFrom: distance6(edge.from, crossingPoint2)
|
|
5729
5762
|
});
|
|
5730
5763
|
}
|
|
5731
5764
|
}
|
|
@@ -5750,7 +5783,7 @@ var createSchematicTraceCrossingSegments = ({
|
|
|
5750
5783
|
x: crossingPoint.x + crossingUnitVec.x * crossingSegmentLength / 2,
|
|
5751
5784
|
y: crossingPoint.y + crossingUnitVec.y * crossingSegmentLength / 2
|
|
5752
5785
|
};
|
|
5753
|
-
const overshot =
|
|
5786
|
+
const overshot = distance6(afterCrossing, edge.to) < crossingSegmentLength;
|
|
5754
5787
|
const newEdges = [
|
|
5755
5788
|
{ from: edge.from, to: beforeCrossing },
|
|
5756
5789
|
{ from: beforeCrossing, to: afterCrossing, is_crossing: true },
|
|
@@ -8740,7 +8773,7 @@ var NormalComponent3 = class extends PrimitiveComponent2 {
|
|
|
8740
8773
|
z: 0,
|
|
8741
8774
|
...typeof cadModel?.positionOffset === "object" ? cadModel.positionOffset : {}
|
|
8742
8775
|
});
|
|
8743
|
-
const zOffsetFromSurface = cadModel && typeof cadModel === "object" && "zOffsetFromSurface" in cadModel ? cadModel.zOffsetFromSurface !== void 0 ?
|
|
8776
|
+
const zOffsetFromSurface = cadModel && typeof cadModel === "object" && "zOffsetFromSurface" in cadModel ? cadModel.zOffsetFromSurface !== void 0 ? distance7.parse(
|
|
8744
8777
|
cadModel.zOffsetFromSurface
|
|
8745
8778
|
) : 0 : 0;
|
|
8746
8779
|
const computedLayer = this.props.layer === "bottom" ? "bottom" : "top";
|
|
@@ -9164,7 +9197,7 @@ var CapacityMeshAutorouter = class {
|
|
|
9164
9197
|
|
|
9165
9198
|
// lib/components/primitive-components/Group/Group.ts
|
|
9166
9199
|
import {
|
|
9167
|
-
distance as
|
|
9200
|
+
distance as distance8
|
|
9168
9201
|
} from "circuit-json";
|
|
9169
9202
|
import Debug13 from "debug";
|
|
9170
9203
|
import "zod";
|
|
@@ -13193,8 +13226,8 @@ var Group6 = class extends NormalComponent3 {
|
|
|
13193
13226
|
const groupProps2 = props;
|
|
13194
13227
|
const hasOutline = groupProps2.outline && groupProps2.outline.length > 0;
|
|
13195
13228
|
const numericOutline = hasOutline ? groupProps2.outline.map((point) => ({
|
|
13196
|
-
x:
|
|
13197
|
-
y:
|
|
13229
|
+
x: distance8.parse(point.x),
|
|
13230
|
+
y: distance8.parse(point.y)
|
|
13198
13231
|
})) : void 0;
|
|
13199
13232
|
const pcb_group = db.pcb_group.insert({
|
|
13200
13233
|
is_subcircuit: this.isSubcircuit,
|
|
@@ -13224,8 +13257,8 @@ var Group6 = class extends NormalComponent3 {
|
|
|
13224
13257
|
const hasExplicitPositioning = this._parsedProps.pcbX !== void 0 || this._parsedProps.pcbY !== void 0;
|
|
13225
13258
|
if (hasOutline) {
|
|
13226
13259
|
const numericOutline = props.outline.map((point) => ({
|
|
13227
|
-
x:
|
|
13228
|
-
y:
|
|
13260
|
+
x: distance8.parse(point.x),
|
|
13261
|
+
y: distance8.parse(point.y)
|
|
13229
13262
|
}));
|
|
13230
13263
|
const outlineBounds = getBoundsFromPoints3(numericOutline);
|
|
13231
13264
|
if (!outlineBounds) return;
|
|
@@ -14297,7 +14330,7 @@ var Board = class extends Group6 {
|
|
|
14297
14330
|
|
|
14298
14331
|
// lib/components/normal-components/Panel.ts
|
|
14299
14332
|
import { panelProps } from "@tscircuit/props";
|
|
14300
|
-
import { distance as
|
|
14333
|
+
import { distance as distance9 } from "circuit-json";
|
|
14301
14334
|
|
|
14302
14335
|
// lib/utils/panels/generate-panel-tabs-and-mouse-bites.ts
|
|
14303
14336
|
var TAB_CONFIG = {
|
|
@@ -14658,8 +14691,8 @@ var Panel = class extends Group6 {
|
|
|
14658
14691
|
const { db } = this.root;
|
|
14659
14692
|
const props = this._parsedProps;
|
|
14660
14693
|
const inserted = db.pcb_panel.insert({
|
|
14661
|
-
width:
|
|
14662
|
-
height:
|
|
14694
|
+
width: distance9.parse(props.width),
|
|
14695
|
+
height: distance9.parse(props.height),
|
|
14663
14696
|
center: this._getGlobalPcbPositionBeforeLayout(),
|
|
14664
14697
|
covered_with_solder_mask: !(props.noSolderMask ?? false)
|
|
14665
14698
|
});
|
|
@@ -14671,8 +14704,8 @@ var Panel = class extends Group6 {
|
|
|
14671
14704
|
const { db } = this.root;
|
|
14672
14705
|
const props = this._parsedProps;
|
|
14673
14706
|
db.pcb_panel.update(this.pcb_panel_id, {
|
|
14674
|
-
width:
|
|
14675
|
-
height:
|
|
14707
|
+
width: distance9.parse(props.width),
|
|
14708
|
+
height: distance9.parse(props.height),
|
|
14676
14709
|
center: this._getGlobalPcbPositionBeforeLayout(),
|
|
14677
14710
|
covered_with_solder_mask: !(props.noSolderMask ?? false)
|
|
14678
14711
|
});
|
|
@@ -18460,7 +18493,7 @@ import { identity as identity6 } from "transformation-matrix";
|
|
|
18460
18493
|
var package_default = {
|
|
18461
18494
|
name: "@tscircuit/core",
|
|
18462
18495
|
type: "module",
|
|
18463
|
-
version: "0.0.
|
|
18496
|
+
version: "0.0.871",
|
|
18464
18497
|
types: "dist/index.d.ts",
|
|
18465
18498
|
main: "dist/index.js",
|
|
18466
18499
|
module: "dist/index.js",
|
|
@@ -18504,7 +18537,7 @@ var package_default = {
|
|
|
18504
18537
|
"@tscircuit/math-utils": "^0.0.29",
|
|
18505
18538
|
"@tscircuit/miniflex": "^0.0.4",
|
|
18506
18539
|
"@tscircuit/ngspice-spice-engine": "^0.0.3",
|
|
18507
|
-
"@tscircuit/props": "^0.0.
|
|
18540
|
+
"@tscircuit/props": "^0.0.408",
|
|
18508
18541
|
"@tscircuit/schematic-autolayout": "^0.0.6",
|
|
18509
18542
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|
|
18510
18543
|
"@tscircuit/schematic-trace-solver": "^v0.0.45",
|
|
@@ -18518,13 +18551,13 @@ var package_default = {
|
|
|
18518
18551
|
"bun-match-svg": "0.0.12",
|
|
18519
18552
|
"calculate-elbow": "^0.0.12",
|
|
18520
18553
|
"chokidar-cli": "^3.0.0",
|
|
18521
|
-
"circuit-json": "^0.0.
|
|
18554
|
+
"circuit-json": "^0.0.319",
|
|
18522
18555
|
"circuit-json-to-bpc": "^0.0.13",
|
|
18523
18556
|
"circuit-json-to-connectivity-map": "^0.0.22",
|
|
18524
18557
|
"circuit-json-to-gltf": "^0.0.31",
|
|
18525
18558
|
"circuit-json-to-simple-3d": "^0.0.9",
|
|
18526
18559
|
"circuit-json-to-spice": "^0.0.24",
|
|
18527
|
-
"circuit-to-svg": "^0.0.
|
|
18560
|
+
"circuit-to-svg": "^0.0.275",
|
|
18528
18561
|
concurrently: "^9.1.2",
|
|
18529
18562
|
"connectivity-map": "^1.0.0",
|
|
18530
18563
|
debug: "^4.3.6",
|
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.872",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@tscircuit/math-utils": "^0.0.29",
|
|
46
46
|
"@tscircuit/miniflex": "^0.0.4",
|
|
47
47
|
"@tscircuit/ngspice-spice-engine": "^0.0.3",
|
|
48
|
-
"@tscircuit/props": "^0.0.
|
|
48
|
+
"@tscircuit/props": "^0.0.408",
|
|
49
49
|
"@tscircuit/schematic-autolayout": "^0.0.6",
|
|
50
50
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|
|
51
51
|
"@tscircuit/schematic-trace-solver": "^v0.0.45",
|
|
@@ -59,13 +59,13 @@
|
|
|
59
59
|
"bun-match-svg": "0.0.12",
|
|
60
60
|
"calculate-elbow": "^0.0.12",
|
|
61
61
|
"chokidar-cli": "^3.0.0",
|
|
62
|
-
"circuit-json": "^0.0.
|
|
62
|
+
"circuit-json": "^0.0.319",
|
|
63
63
|
"circuit-json-to-bpc": "^0.0.13",
|
|
64
64
|
"circuit-json-to-connectivity-map": "^0.0.22",
|
|
65
65
|
"circuit-json-to-gltf": "^0.0.31",
|
|
66
66
|
"circuit-json-to-simple-3d": "^0.0.9",
|
|
67
67
|
"circuit-json-to-spice": "^0.0.24",
|
|
68
|
-
"circuit-to-svg": "^0.0.
|
|
68
|
+
"circuit-to-svg": "^0.0.275",
|
|
69
69
|
"concurrently": "^9.1.2",
|
|
70
70
|
"connectivity-map": "^1.0.0",
|
|
71
71
|
"debug": "^4.3.6",
|