@cardenelabs/cdl 0.20.0 → 0.20.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/CHANGELOG.md CHANGED
@@ -5,6 +5,19 @@ CDL (Chainome Diagram Language) の主要変更履歴。
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [0.20.1] - 2026-08-29
9
+
10
+ ### Fixed
11
+
12
+ - **中身から出した高さを段の高さに通すようにした** (#589)
13
+
14
+ 0.20.0 では箱が自分の高さのまま並んでいた。 同じ縦列の中で箱ごとに高さが変わり、隣り合う
15
+ 箱の端どうしの間隔が揃わなくなっていた (実測 = 最小 100 に対し最大 187、
16
+ `column-gap-uniform` が error)。 迂回する線が無関係な箱を貫く図も出ていた。
17
+
18
+ 行内の最大値 (段の高さ) を通してから使う。 縦列が 1 本の図では行に箱が 1 つしか無いので
19
+ 段の高さ = その箱の高さになり、縮む効果はそのまま残る。
20
+
8
21
  ## [0.20.0] - 2026-08-29
9
22
 
10
23
  ### Changed
@@ -1026,7 +1039,8 @@ Initial OSS release.
1026
1039
  使わない = annotated tag を push しても GitHub Release は作られず、 Release を作っていない版で
1027
1040
  行き止まりになる。
1028
1041
 
1029
- [Unreleased]: https://github.com/cardene777/cdl/compare/v0.20.0...HEAD
1042
+ [Unreleased]: https://github.com/cardene777/cdl/compare/v0.20.1...HEAD
1043
+ [0.20.1]: https://github.com/cardene777/cdl/compare/v0.20.0...v0.20.1
1030
1044
  [0.20.0]: https://github.com/cardene777/cdl/compare/v0.19.0...v0.20.0
1031
1045
  [0.19.0]: https://github.com/cardene777/cdl/compare/v0.18.1...v0.19.0
1032
1046
  [0.18.1]: https://github.com/cardene777/cdl/compare/v0.18.0...v0.18.1
package/dist/index.cjs CHANGED
@@ -15250,7 +15250,7 @@ function layoutNodes(diag, lanes) {
15250
15250
  const cx = lane.x + lane.width / 2;
15251
15251
  const \u6BB5\u306E\u82AF = rowCy.get(n.stack);
15252
15252
  const \u6BB5\u306E\u9AD8\u3055 = rowH.get(n.stack);
15253
- const \u81EA\u524D\u306E\u9AD8\u3055 = n.rowMarks !== void 0 || \u6BB5\u3092\u7A4D\u3080\u7BB1\u304B(n.kind, (n.rows?.length ?? 0) > 0);
15253
+ const \u81EA\u524D\u306E\u9AD8\u3055 = n.rowMarks !== void 0;
15254
15254
  const h = n.h ?? (\u81EA\u524D\u306E\u9AD8\u3055 ? \u7BB1\u306E\u9AD8\u3055(n, size.h) : \u6BB5\u306E\u9AD8\u3055);
15255
15255
  const cy = \u6BB5\u306E\u82AF;
15256
15256
  const w = autoRowsWidth(n, size.w);