@cardenelabs/cdl 0.31.0 → 0.31.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,20 @@ CDL (Chainome Diagram Language) の主要変更履歴。
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [0.31.1] - 2026-09-06
9
+
10
+ ### Fixed
11
+
12
+ - **折れ線図の図表の境界が分かるようになった** (#675)
13
+
14
+ `0.31.0` で図表の枠を外した。枠は何も表していないと判断したためだが、実際には図が
15
+ どこからどこまでかを示していた。外した結果、目盛線の外側と台の区別が付かなくなった。
16
+
17
+ 前と同じ形には戻さず、境界だけを示す静かな細枠にした。色は折れ線と同じ
18
+ `--cdl-tone-accent` ではなく、目盛線と同じ `--cdl-divider` にした。太さは光っている時が
19
+ 1.5、通常時が 1。読ませたい折れ線は光っている時が 3、通常時が 2 になり、今光っている
20
+ ことを枠と折れ線の両方で示す。
21
+
8
22
  ## [0.31.0] - 2026-09-06
9
23
 
10
24
  ### Added
@@ -1607,7 +1621,8 @@ Initial OSS release.
1607
1621
  使わない = annotated tag を push しても GitHub Release は作られず、 Release を作っていない版で
1608
1622
  行き止まりになる。
1609
1623
 
1610
- [Unreleased]: https://github.com/cardene777/cdl/compare/v0.31.0...HEAD
1624
+ [Unreleased]: https://github.com/cardene777/cdl/compare/v0.31.1...HEAD
1625
+ [0.31.1]: https://github.com/cardene777/cdl/compare/v0.31.0...v0.31.1
1611
1626
  [0.31.0]: https://github.com/cardene777/cdl/compare/v0.30.3...v0.31.0
1612
1627
  [0.30.3]: https://github.com/cardene777/cdl/compare/v0.30.2...v0.30.3
1613
1628
  [0.30.2]: https://github.com/cardene777/cdl/compare/v0.30.1...v0.30.2
package/dist/index.cjs CHANGED
@@ -22472,6 +22472,20 @@ function ChartLineNode({
22472
22472
  }
22473
22473
  const gridTicks = scale.ticks.map((value) => ({ y: yAt(value), value }));
22474
22474
  return /* @__PURE__ */ jsxRuntime.jsxs("g", { transform: `translate(${x0} ${y0})`, children: [
22475
+ /* @__PURE__ */ jsxRuntime.jsx(
22476
+ "rect",
22477
+ {
22478
+ "data-cdl-role": "node-body",
22479
+ x: 0,
22480
+ y: 0,
22481
+ width: node.w,
22482
+ height: node.h,
22483
+ rx: 16,
22484
+ fill: "var(--cdl-node-fill, #ffffff)",
22485
+ stroke: "var(--cdl-divider, #d4d4d8)",
22486
+ strokeWidth: active ? 1.5 : 1
22487
+ }
22488
+ ),
22475
22489
  gridTicks.map((t, i) => /* @__PURE__ */ jsxRuntime.jsxs("g", { children: [
22476
22490
  /* @__PURE__ */ jsxRuntime.jsx(
22477
22491
  "line",