@tscircuit/core 0.0.1494 → 0.0.1496
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.js +8 -4
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -14046,6 +14046,7 @@ var NormalComponent3 = class extends PrimitiveComponent2 {
|
|
|
14046
14046
|
subcircuit_id: subcircuit.subcircuit_id ?? void 0,
|
|
14047
14047
|
do_not_place: props.doNotPlace ?? false,
|
|
14048
14048
|
obstructs_within_bounds: props.obstructsWithinBounds ?? true,
|
|
14049
|
+
is_allowed_to_be_off_board: props.allowOffBoard ?? false,
|
|
14049
14050
|
metadata: props.kicadFootprintMetadata ? { kicad_footprint: props.kicadFootprintMetadata } : void 0
|
|
14050
14051
|
});
|
|
14051
14052
|
const footprint = this.resolveFootprint();
|
|
@@ -19009,9 +19010,9 @@ var Group_doInitialPcbLayoutPack = (group) => {
|
|
|
19009
19010
|
staticPcbComponentIds: Array.from(staticPcbComponentIds)
|
|
19010
19011
|
})
|
|
19011
19012
|
),
|
|
19012
|
-
// @ts-expect-error
|
|
19013
|
-
|
|
19014
|
-
|
|
19013
|
+
// @ts-expect-error calculate-packing is missing some supported strategies
|
|
19014
|
+
packOrderStrategy: packOrderStrategy ?? "largest_to_smallest",
|
|
19015
|
+
packPlacementStrategy: packPlacementStrategy ?? "minimum_sum_squared_distance_to_network",
|
|
19015
19016
|
minGap: gapMm,
|
|
19016
19017
|
bounds
|
|
19017
19018
|
};
|
|
@@ -23394,7 +23395,7 @@ function Group_getRoutingPhasePlans(group) {
|
|
|
23394
23395
|
var package_default = {
|
|
23395
23396
|
name: "@tscircuit/core",
|
|
23396
23397
|
type: "module",
|
|
23397
|
-
version: "0.0.
|
|
23398
|
+
version: "0.0.1495",
|
|
23398
23399
|
types: "dist/index.d.ts",
|
|
23399
23400
|
main: "dist/index.js",
|
|
23400
23401
|
module: "dist/index.js",
|
|
@@ -23425,6 +23426,7 @@ var package_default = {
|
|
|
23425
23426
|
devDependencies: {
|
|
23426
23427
|
"@biomejs/biome": "^1.8.3",
|
|
23427
23428
|
"@resvg/resvg-js": "^2.6.2",
|
|
23429
|
+
"@tsci/tscircuit.ti": "github:tscircuit/ti#57e314be4b2b06bc546d4def7453e619604d1157",
|
|
23428
23430
|
"@tscircuit/alphabet": "0.0.25",
|
|
23429
23431
|
"@tscircuit/breakout-point-solver": "github:tscircuit/breakout-point-solver#bac9629",
|
|
23430
23432
|
"@tscircuit/capacity-autorouter": "^0.0.710",
|
|
@@ -29133,6 +29135,7 @@ var Jumper = class extends NormalComponent3 {
|
|
|
29133
29135
|
subcircuit_id: this.getSubcircuit().subcircuit_id ?? void 0,
|
|
29134
29136
|
do_not_place: props.doNotPlace ?? false,
|
|
29135
29137
|
obstructs_within_bounds: props.obstructsWithinBounds ?? true,
|
|
29138
|
+
is_allowed_to_be_off_board: props.allowOffBoard ?? false,
|
|
29136
29139
|
metadata: props.kicadFootprintMetadata ? { kicad_footprint: props.kicadFootprintMetadata } : void 0
|
|
29137
29140
|
});
|
|
29138
29141
|
this.pcb_component_id = pcb_component.pcb_component_id;
|
|
@@ -29415,6 +29418,7 @@ var SolderJumper = class extends NormalComponent3 {
|
|
|
29415
29418
|
subcircuit_id: this.getSubcircuit().subcircuit_id ?? void 0,
|
|
29416
29419
|
do_not_place: props.doNotPlace ?? false,
|
|
29417
29420
|
obstructs_within_bounds: props.obstructsWithinBounds ?? true,
|
|
29421
|
+
is_allowed_to_be_off_board: props.allowOffBoard ?? false,
|
|
29418
29422
|
metadata: props.kicadFootprintMetadata ? { kicad_footprint: props.kicadFootprintMetadata } : void 0
|
|
29419
29423
|
});
|
|
29420
29424
|
this.pcb_component_id = pcb_component.pcb_component_id;
|
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.1496",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@biomejs/biome": "^1.8.3",
|
|
34
34
|
"@resvg/resvg-js": "^2.6.2",
|
|
35
|
+
"@tsci/tscircuit.ti": "github:tscircuit/ti#57e314be4b2b06bc546d4def7453e619604d1157",
|
|
35
36
|
"@tscircuit/alphabet": "0.0.25",
|
|
36
37
|
"@tscircuit/breakout-point-solver": "github:tscircuit/breakout-point-solver#bac9629",
|
|
37
38
|
"@tscircuit/capacity-autorouter": "^0.0.710",
|