@tscircuit/core 0.0.1979 → 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 +1 -3
- package/dist/index.js +2 -8
- package/package.json +1 -1
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.
|
|
64024
|
+
version: "0.0.1979",
|
|
64031
64025
|
types: "dist/index.d.ts",
|
|
64032
64026
|
main: "dist/index.js",
|
|
64033
64027
|
module: "dist/index.js",
|