@tscircuit/core 0.0.656 → 0.0.657

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 CHANGED
@@ -1684,6 +1684,7 @@ declare class Board extends Group<typeof boardProps> {
1684
1684
  }>>;
1685
1685
  schAutoLayoutEnabled: zod.ZodOptional<zod.ZodBoolean>;
1686
1686
  schTraceAutoLabelEnabled: zod.ZodOptional<zod.ZodBoolean>;
1687
+ schMaxTraceDistance: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
1687
1688
  routingDisabled: zod.ZodOptional<zod.ZodBoolean>;
1688
1689
  defaultTraceWidth: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
1689
1690
  minTraceWidth: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
@@ -1968,6 +1969,7 @@ declare class Board extends Group<typeof boardProps> {
1968
1969
  } | undefined;
1969
1970
  schAutoLayoutEnabled?: boolean | undefined;
1970
1971
  schTraceAutoLabelEnabled?: boolean | undefined;
1972
+ schMaxTraceDistance?: number | undefined;
1971
1973
  partsEngine?: _tscircuit_props.PartsEngine | undefined;
1972
1974
  square?: boolean | undefined;
1973
1975
  emptyArea?: string | undefined;
@@ -2205,6 +2207,7 @@ declare class Board extends Group<typeof boardProps> {
2205
2207
  } | undefined;
2206
2208
  schAutoLayoutEnabled?: boolean | undefined;
2207
2209
  schTraceAutoLabelEnabled?: boolean | undefined;
2210
+ schMaxTraceDistance?: string | number | undefined;
2208
2211
  partsEngine?: _tscircuit_props.PartsEngine | undefined;
2209
2212
  square?: boolean | undefined;
2210
2213
  emptyArea?: string | undefined;
package/dist/index.js CHANGED
@@ -9645,7 +9645,7 @@ function createSchematicTraceSolverInputProblem(group) {
9645
9645
  directConnections,
9646
9646
  netConnections,
9647
9647
  availableNetLabelOrientations,
9648
- maxMspPairDistance: 5
9648
+ maxMspPairDistance: group._parsedProps.schMaxTraceDistance ?? 5
9649
9649
  };
9650
9650
  return {
9651
9651
  inputProblem,
@@ -13729,7 +13729,7 @@ import { identity as identity5 } from "transformation-matrix";
13729
13729
  var package_default = {
13730
13730
  name: "@tscircuit/core",
13731
13731
  type: "module",
13732
- version: "0.0.655",
13732
+ version: "0.0.656",
13733
13733
  types: "dist/index.d.ts",
13734
13734
  main: "dist/index.js",
13735
13735
  module: "dist/index.js",
@@ -13768,7 +13768,7 @@ var package_default = {
13768
13768
  "@tscircuit/matchpack": "^0.0.9",
13769
13769
  "@tscircuit/math-utils": "^0.0.18",
13770
13770
  "@tscircuit/miniflex": "^0.0.4",
13771
- "@tscircuit/props": "^0.0.287",
13771
+ "@tscircuit/props": "0.0.288",
13772
13772
  "@tscircuit/schematic-autolayout": "^0.0.6",
13773
13773
  "@tscircuit/schematic-match-adapt": "^0.0.16",
13774
13774
  "@tscircuit/schematic-trace-solver": "^0.0.23",
@@ -13844,7 +13844,7 @@ var RootCircuit = class {
13844
13844
  schematicDisabled = false;
13845
13845
  pcbDisabled = false;
13846
13846
  pcbRoutingDisabled = false;
13847
- _featureMspSchematicTraceRouting = false;
13847
+ _featureMspSchematicTraceRouting = true;
13848
13848
  /**
13849
13849
  * The RootCircuit name is usually set by the platform, it's not required but
13850
13850
  * if supplied can identify the circuit in certain effects, e.g. it is passed
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.656",
4
+ "version": "0.0.657",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -40,7 +40,7 @@
40
40
  "@tscircuit/matchpack": "^0.0.9",
41
41
  "@tscircuit/math-utils": "^0.0.18",
42
42
  "@tscircuit/miniflex": "^0.0.4",
43
- "@tscircuit/props": "^0.0.287",
43
+ "@tscircuit/props": "0.0.288",
44
44
  "@tscircuit/schematic-autolayout": "^0.0.6",
45
45
  "@tscircuit/schematic-match-adapt": "^0.0.16",
46
46
  "@tscircuit/schematic-trace-solver": "^0.0.23",