@tscircuit/core 0.0.303 → 0.0.304

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4012,10 +4012,10 @@ var Group = class extends NormalComponent {
4012
4012
  * or if using a "fullview" or "rip and replace" autorouting mode
4013
4013
  */
4014
4014
  _shouldUseTraceByTraceRouting() {
4015
- const props = this._parsedProps;
4016
- if (props.autorouter === "auto-local") return true;
4017
- if (props.autorouter === "sequential-trace") return true;
4018
- if (props.autorouter) return false;
4015
+ const autorouter = this._parsedProps.autorouter ?? this.getInheritedProperty("autorouter");
4016
+ if (autorouter === "auto-local") return true;
4017
+ if (autorouter === "sequential-trace") return true;
4018
+ if (autorouter) return false;
4019
4019
  return true;
4020
4020
  }
4021
4021
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.303",
4
+ "version": "0.0.304",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",