@tscircuit/core 0.0.1978 → 0.0.1980

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
@@ -2494,9 +2494,7 @@ declare class NormalComponent<ZodProps extends z.ZodType = any, PortNames extend
2494
2494
  */
2495
2495
  doInitialPcbComponentSizeCalculation(): void;
2496
2496
  updatePcbComponentSizeCalculation(): void;
2497
- /**
2498
- * Calculate and update the size of a custom schematic symbol based on its children
2499
- */
2497
+ /** Calculate a custom schematic symbol's body bounds from its graphics. */
2500
2498
  doInitialSchematicComponentSizeCalculation(): void;
2501
2499
  updateSchematicComponentSizeCalculation(): void;
2502
2500
  doInitialPcbComponentAnchorAlignment(): void;
package/dist/index.js CHANGED
@@ -16236,9 +16236,7 @@ var NormalComponent = class extends PrimitiveComponent2 {
16236
16236
  updatePcbComponentSizeCalculation() {
16237
16237
  this.doInitialPcbComponentSizeCalculation();
16238
16238
  }
16239
- /**
16240
- * Calculate and update the size of a custom schematic symbol based on its children
16241
- */
16239
+ /** Calculate a custom schematic symbol's body bounds from its graphics. */
16242
16240
  doInitialSchematicComponentSizeCalculation() {
16243
16241
  if (this.root?.schematicDisabled) return;
16244
16242
  if (!this.schematic_component_id) return;
@@ -16268,10 +16266,6 @@ var NormalComponent = class extends PrimitiveComponent2 {
16268
16266
  const arc = db.schematic_arc.get(child.schematic_arc_id);
16269
16267
  if (arc) schematicElements.push(arc);
16270
16268
  }
16271
- if (child.isSchematicPrimitive && child.componentName === "SchematicText") {
16272
- const text = db.schematic_text.get(child.schematic_text_id);
16273
- if (text) schematicElements.push(text);
16274
- }
16275
16269
  if (child.isSchematicPrimitive && child.componentName === "SchematicPath") {
16276
16270
  const pathIds = child.schematic_path_ids;
16277
16271
  if (pathIds) {
@@ -64027,7 +64021,7 @@ function Group_getRoutingPhasePlans(group) {
64027
64021
  var package_default = {
64028
64022
  name: "@tscircuit/core",
64029
64023
  type: "module",
64030
- version: "0.0.1977",
64024
+ version: "0.0.1979",
64031
64025
  types: "dist/index.d.ts",
64032
64026
  main: "dist/index.js",
64033
64027
  module: "dist/index.js",
@@ -64084,7 +64078,7 @@ var package_default = {
64084
64078
  "@tscircuit/ngspice-spice-engine": "^0.0.20",
64085
64079
  "@tscircuit/props": "^0.0.666",
64086
64080
  "@tscircuit/schematic-match-adapt": "^0.0.18",
64087
- "@tscircuit/schematic-trace-solver": "^0.0.209",
64081
+ "@tscircuit/schematic-trace-solver": "^0.0.210",
64088
64082
  "@tscircuit/solver-utils": "^0.0.16",
64089
64083
  "@tscircuit/soup-util": "^0.0.41",
64090
64084
  "@tscircuit/via-stitch-solver": "github:tscircuit/via-stitch-solver#64f2ac7781b795bdc0d74ba411988e60767fa653",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.1978",
4
+ "version": "0.0.1980",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -58,7 +58,7 @@
58
58
  "@tscircuit/ngspice-spice-engine": "^0.0.20",
59
59
  "@tscircuit/props": "^0.0.666",
60
60
  "@tscircuit/schematic-match-adapt": "^0.0.18",
61
- "@tscircuit/schematic-trace-solver": "^0.0.209",
61
+ "@tscircuit/schematic-trace-solver": "^0.0.210",
62
62
  "@tscircuit/solver-utils": "^0.0.16",
63
63
  "@tscircuit/soup-util": "^0.0.41",
64
64
  "@tscircuit/via-stitch-solver": "github:tscircuit/via-stitch-solver#64f2ac7781b795bdc0d74ba411988e60767fa653",