@tscircuit/core 0.0.874 → 0.0.875
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 +0 -1
- package/dist/index.js +3 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2718,7 +2718,6 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
2718
2718
|
doInitialSourceRender(): void;
|
|
2719
2719
|
doInitialPcbComponentRender(): void;
|
|
2720
2720
|
removePcbComponentRender(): void;
|
|
2721
|
-
_computePcbGlobalTransformBeforeLayout(): Matrix;
|
|
2722
2721
|
doInitialPcbDesignRuleChecks(): void;
|
|
2723
2722
|
updatePcbDesignRuleChecks(): void;
|
|
2724
2723
|
_emitRenderLifecycleEvent(phase: RenderPhase, startOrEnd: "start" | "end"): void;
|
package/dist/index.js
CHANGED
|
@@ -9079,7 +9079,7 @@ var getBoardCenterFromAnchor = ({
|
|
|
9079
9079
|
|
|
9080
9080
|
// lib/components/normal-components/Board.ts
|
|
9081
9081
|
import { boardProps } from "@tscircuit/props";
|
|
9082
|
-
import
|
|
9082
|
+
import "transformation-matrix";
|
|
9083
9083
|
|
|
9084
9084
|
// lib/components/primitive-components/Group/Group.ts
|
|
9085
9085
|
import {
|
|
@@ -14320,9 +14320,6 @@ var Board = class extends Group6 {
|
|
|
14320
14320
|
db.pcb_board.delete(this.pcb_board_id);
|
|
14321
14321
|
this.pcb_board_id = null;
|
|
14322
14322
|
}
|
|
14323
|
-
_computePcbGlobalTransformBeforeLayout() {
|
|
14324
|
-
return identity4();
|
|
14325
|
-
}
|
|
14326
14323
|
doInitialPcbDesignRuleChecks() {
|
|
14327
14324
|
if (this.root?.pcbDisabled) return;
|
|
14328
14325
|
if (this.getInheritedProperty("routingDisabled")) return;
|
|
@@ -14703,6 +14700,7 @@ var Panel = class extends Group6 {
|
|
|
14703
14700
|
if (!pcbBoard || !pcbBoard.width || !pcbBoard.height) return;
|
|
14704
14701
|
const xPos = colXOffsets[col] + colWidths[col] / 2;
|
|
14705
14702
|
const yPos = rowYOffsets[row] + rowHeights[row] / 2;
|
|
14703
|
+
board._repositionOnPcb({ x: xPos, y: yPos });
|
|
14706
14704
|
db.pcb_board.update(board.pcb_board_id, {
|
|
14707
14705
|
center: { x: xPos, y: yPos }
|
|
14708
14706
|
});
|
|
@@ -18577,7 +18575,7 @@ import { identity as identity6 } from "transformation-matrix";
|
|
|
18577
18575
|
var package_default = {
|
|
18578
18576
|
name: "@tscircuit/core",
|
|
18579
18577
|
type: "module",
|
|
18580
|
-
version: "0.0.
|
|
18578
|
+
version: "0.0.874",
|
|
18581
18579
|
types: "dist/index.d.ts",
|
|
18582
18580
|
main: "dist/index.js",
|
|
18583
18581
|
module: "dist/index.js",
|