@tscircuit/core 0.0.1845 → 0.0.1846
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.js +4 -9
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -46506,7 +46506,7 @@ function Group_getRoutingPhasePlans(group) {
|
|
|
46506
46506
|
var package_default = {
|
|
46507
46507
|
name: "@tscircuit/core",
|
|
46508
46508
|
type: "module",
|
|
46509
|
-
version: "0.0.
|
|
46509
|
+
version: "0.0.1845",
|
|
46510
46510
|
types: "dist/index.d.ts",
|
|
46511
46511
|
main: "dist/index.js",
|
|
46512
46512
|
module: "dist/index.js",
|
|
@@ -46624,7 +46624,7 @@ var package_default = {
|
|
|
46624
46624
|
dependencies: {
|
|
46625
46625
|
"@flatten-js/core": "^1.6.2",
|
|
46626
46626
|
"@lume/kiwi": "^0.4.3",
|
|
46627
|
-
"calculate-cell-boundaries": "^0.0.
|
|
46627
|
+
"calculate-cell-boundaries": "^0.0.21",
|
|
46628
46628
|
"calculate-packing": "^0.0.89",
|
|
46629
46629
|
"css-select": "5.1.0",
|
|
46630
46630
|
"format-si-unit": "^0.0.12",
|
|
@@ -59143,14 +59143,9 @@ var SchematicSection = class _SchematicSection extends PrimitiveComponent2 {
|
|
|
59143
59143
|
if (allSectionsWithBounds.length === 0) return;
|
|
59144
59144
|
const allCells = allSectionsWithBounds.map((s) => s.cell);
|
|
59145
59145
|
const outer = computeBoundsFromCellContents(allCells);
|
|
59146
|
-
const CELL_MARGIN = 1;
|
|
59147
59146
|
const dividers = calculateCellBoundaries(
|
|
59148
|
-
allSectionsWithBounds.map((s) =>
|
|
59149
|
-
|
|
59150
|
-
maxX: s.rawBounds.maxX + CELL_MARGIN,
|
|
59151
|
-
minY: s.rawBounds.minY - CELL_MARGIN,
|
|
59152
|
-
maxY: s.rawBounds.maxY + CELL_MARGIN
|
|
59153
|
-
}))
|
|
59147
|
+
allSectionsWithBounds.map((s) => s.rawBounds),
|
|
59148
|
+
{ cellMargin: 1 }
|
|
59154
59149
|
);
|
|
59155
59150
|
for (const line of dividers) {
|
|
59156
59151
|
db.schematic_line.insert({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.1846",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"dependencies": {
|
|
120
120
|
"@flatten-js/core": "^1.6.2",
|
|
121
121
|
"@lume/kiwi": "^0.4.3",
|
|
122
|
-
"calculate-cell-boundaries": "^0.0.
|
|
122
|
+
"calculate-cell-boundaries": "^0.0.21",
|
|
123
123
|
"calculate-packing": "^0.0.89",
|
|
124
124
|
"css-select": "5.1.0",
|
|
125
125
|
"format-si-unit": "^0.0.12",
|