@wire-dsl/engine 0.8.0 → 0.9.1
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.cjs +2 -1
- package/dist/index.js +2 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -3104,7 +3104,8 @@ var LayoutEngine = class {
|
|
|
3104
3104
|
this.calculateCard(node, innerX, innerY, innerWidth, innerHeight);
|
|
3105
3105
|
break;
|
|
3106
3106
|
}
|
|
3107
|
-
|
|
3107
|
+
const isHorizontalStack = node.containerType === "stack" && !isVerticalStack;
|
|
3108
|
+
if ((isVerticalStack || isHorizontalStack || node.containerType === "card") && node.children.length > 0) {
|
|
3108
3109
|
let containerMaxY = y;
|
|
3109
3110
|
node.children.forEach((childRef) => {
|
|
3110
3111
|
const childPos = this.result[childRef.ref];
|
package/dist/index.js
CHANGED
|
@@ -3058,7 +3058,8 @@ var LayoutEngine = class {
|
|
|
3058
3058
|
this.calculateCard(node, innerX, innerY, innerWidth, innerHeight);
|
|
3059
3059
|
break;
|
|
3060
3060
|
}
|
|
3061
|
-
|
|
3061
|
+
const isHorizontalStack = node.containerType === "stack" && !isVerticalStack;
|
|
3062
|
+
if ((isVerticalStack || isHorizontalStack || node.containerType === "card") && node.children.length > 0) {
|
|
3062
3063
|
let containerMaxY = y;
|
|
3063
3064
|
node.children.forEach((childRef) => {
|
|
3064
3065
|
const childPos = this.result[childRef.ref];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wire-dsl/engine",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "WireDSL engine - Parser, IR generator, layout engine, and SVG renderer (browser-safe, pure JS/TS)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"chevrotain": "11.1.1",
|
|
34
34
|
"zod": "4.3.6",
|
|
35
|
-
"@wire-dsl/language-support": "0.
|
|
35
|
+
"@wire-dsl/language-support": "0.9.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/node": "25.2.0",
|