@tscircuit/core 0.0.2184 → 0.0.2185

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 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -5748,6 +5748,9 @@ var Port = class extends PrimitiveComponent2 {
5748
5748
  }
5749
5749
  getPortSelector() {
5750
5750
  const parentComponent = this.getParentNormalComponent() ?? this.parent;
5751
+ if (parentComponent !== this.parent) {
5752
+ return `.${parentComponent?.props.name} port.${this.props.name}`;
5753
+ }
5751
5754
  return `.${parentComponent?.props.name} > port.${this.props.name}`;
5752
5755
  }
5753
5756
  getAvailablePcbLayers() {
@@ -150535,7 +150538,7 @@ var RoutingPhasePreparationError = class extends Error {
150535
150538
  var package_default = {
150536
150539
  name: "@tscircuit/core",
150537
150540
  type: "module",
150538
- version: "0.0.2183",
150541
+ version: "0.0.2184",
150539
150542
  types: "dist/index.d.ts",
150540
150543
  main: "dist/index.js",
150541
150544
  module: "dist/index.js",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.2184",
4
+ "version": "0.0.2185",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",