@modular-circuit/transpiler 0.0.79 → 0.0.81
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calc_boxes_pos.d.ts","sourceRoot":"","sources":["../../../src/converter/netlist_to_kicad/calc_boxes_pos.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAQjE,eAAO,MAAM,cAAc,GAAU,OAAO;IAC1C,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAA;CACtB,
|
|
1
|
+
{"version":3,"file":"calc_boxes_pos.d.ts","sourceRoot":"","sources":["../../../src/converter/netlist_to_kicad/calc_boxes_pos.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAQjE,eAAO,MAAM,cAAc,GAAU,OAAO;IAC1C,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAA;CACtB,qCA0CA,CAAA"}
|
|
@@ -63,8 +63,7 @@ export var calc_boxes_pos = function (boxes) { return __awaiter(void 0, void 0,
|
|
|
63
63
|
node.setAlignContent(Yoga.ALIGN_CENTER);
|
|
64
64
|
node.setWidth(DEFAULT_PAPER_SIZE.width / GRID_SIZE);
|
|
65
65
|
node.setHeight(DEFAULT_PAPER_SIZE.height / GRID_SIZE);
|
|
66
|
-
node.
|
|
67
|
-
node.setJustifyContent(Yoga.JUSTIFY_CENTER);
|
|
66
|
+
node.setJustifyContent(Yoga.JUSTIFY_SPACE_EVENLY);
|
|
68
67
|
node.setPadding(Yoga.EDGE_ALL, 1);
|
|
69
68
|
child_count = 0;
|
|
70
69
|
idList = Object.keys(boxes);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modular-circuit/transpiler",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.81",
|
|
4
4
|
"description": "Intermediate representation of the modular circuit",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"files": [
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"jszip": "^3.10.1",
|
|
29
29
|
"yoga-layout": "^3.2.1",
|
|
30
30
|
"@modular-circuit/electronics-model": "0.0.54",
|
|
31
|
-
"@modular-circuit/ir": "0.0.61",
|
|
32
31
|
"@modular-circuit/utils": "0.0.40",
|
|
32
|
+
"@modular-circuit/ir": "0.0.61",
|
|
33
33
|
"@modular-circuit/perc": "0.0.61"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|