@tscircuit/core 0.0.1168 → 0.0.1169

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 +8 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1970,11 +1970,13 @@ var PrimitiveComponent2 = class extends Renderable {
1970
1970
  (n) => n.lowercaseComponentName === options.type
1971
1971
  );
1972
1972
  }
1973
- result ??= selectOne(
1974
- selector,
1975
- this,
1976
- cssSelectOptionsInsideSubcircuit
1977
- );
1973
+ if (!options?.type) {
1974
+ result ??= selectOne(
1975
+ selector,
1976
+ this,
1977
+ cssSelectOptionsInsideSubcircuit
1978
+ );
1979
+ }
1978
1980
  if (result) {
1979
1981
  this._cachedSelectOneQueries.set(selectorRaw, result);
1980
1982
  return result;
@@ -19620,7 +19622,7 @@ import { identity as identity5 } from "transformation-matrix";
19620
19622
  var package_default = {
19621
19623
  name: "@tscircuit/core",
19622
19624
  type: "module",
19623
- version: "0.0.1167",
19625
+ version: "0.0.1168",
19624
19626
  types: "dist/index.d.ts",
19625
19627
  main: "dist/index.js",
19626
19628
  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.1168",
4
+ "version": "0.0.1169",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",