@cardenelabs/cdl 0.76.0 → 0.78.0

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,63 @@ CDL (Chainome Diagram Language) の主要変更履歴。
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [0.78.0] - 2026-09-26
9
+
10
+ ### Fixed
11
+
12
+ - **連鎖の箱の既定の 5 行が絵の幅に入るようになった** (#885 / #894)
13
+
14
+ `shape-blockchain-block` の既定値のうち 16 進の 3 行 (`hash` / `prev` / `merkle`) が 12 字あり、
15
+ 絵の幅 240 に入らず `0xc1892f…` に切れていた。 使う側はこの切れた字を「描く側が書いた
16
+ literal」 として許す一覧に入れて回避していた。
17
+
18
+ 0.74.0 で入れた打ち消しは **名前も値も同じ倍率で伸ばす**。 打ち消しが強いほど値に残る幅が
19
+ 減り、いちばん長い名前 (`merkle`) の行が最も狭くなる。
20
+
21
+ | 打ち消し | `merkle` 行の値に残る幅 | 12 字の値の幅 |
22
+ |---|---|---|
23
+ | なし (1.0 倍) | 172.1 | 69.0 |
24
+ | 上限 (1.6 倍) | 118.6 | 132.5 |
25
+
26
+ 上限の予算 118.6 から逆算した 9 字 (110.4) へ短縮した。 既定値は `0xaf31...` / `0x7b3f...` /
27
+ `0xc189...` になる。
28
+
29
+ **絵の幅は広げていない**。 240 は種別が持つ固定値で、広げると 5 行の行間と箱の縦横比が
30
+ すべて変わる。 16 進の値は元から `...` で省いた見本なので、短くしても意味が変わらない。
31
+
32
+ ## [0.77.0] - 2026-09-26
33
+
34
+ ### Fixed
35
+
36
+ - **自分で中身を縮める種別の字が読める大きさを保つようになった** (#891 / #893)
37
+
38
+ 箱の大きさから自分で倍率を出して中身へ掛ける種別があり、その倍率を字にもそのまま
39
+ 掛けていた。 120x110 の箱では輪の中央の字が 3.00 world、code の行番号が 4.33 world まで
40
+ 落ちていた。
41
+
42
+ **どちらの契約にも属さない隙間だった**。 包みを持たないので 0.74.0 から 0.76.0 で入れた
43
+ 打ち消しに掛からず、縮まない箱では下限を満たすので 0.76.0 の検査にも掛からない。
44
+
45
+ 対象は実物から導いた。 包みを持たないのに字が縮む種別を 2 つの基準の箱で数えると
46
+ 5 種別あり、直し方は何が倍率を決めていたかで分かれる。
47
+
48
+ | 種別 | 倍率を決めていたもの | 直した所 | 変更前 | 変更後 |
49
+ |---|---|---|---|---|
50
+ | `shape-code-block` | 飾りの帯の長さ | 幅を倍率から外し、本体の右端で帯を切る | 4.33 | 9.56 |
51
+ | `shape-kanban-card` | 上段の `ID` と状態の札 | 上段の自然幅を下限から逆算 | 6.73 | 8.11 |
52
+ | `shape-terminal` | いちばん長い出力の行 | 行を短くし、名札の指定を中の行へ揃える | 7.07 | 8.03 |
53
+ | `chart-pie` | 半径に比例した指定 | 下限まで戻し、穴に入らない時だけ割る | 3.00 | 8.00 |
54
+ | `chart-gauge` | 同上 | 変更なし (下限を満たす) | 9.00 | 9.00 |
55
+
56
+ **見え方が変わる所**。 `shape-code-block` は狭い箱で行の帯が右端で切れる (実際の editor と
57
+ 同じ形)。 `shape-kanban-card` は札の余白が 14 から 12、状態の札が 70 から 62 になる。
58
+ `shape-terminal` の出力の行が短くなり (`→ 12 chunks in 1.8s` から `→ 12 chunks`)、
59
+ 帯の名札が中の行と同じ大きさになる。
60
+
61
+ 行番号 (10.5) と担当者の頭文字 (10) の指定を 11 に上げた。 半径 9 の丸の内側は一辺 12.7 で、
62
+ 指定 11 の字 (9.46 x 10.7) が入る。 0.76.0 で「上げると丸から出る」 と据え置いたのは
63
+ 実測していなかった。
64
+
8
65
  ## [0.76.0] - 2026-09-26
9
66
 
10
67
  ### Changed
@@ -3171,7 +3228,9 @@ Initial OSS release.
3171
3228
  使わない = annotated tag を push しても GitHub Release は作られず、 Release を作っていない版で
3172
3229
  行き止まりになる。
3173
3230
 
3174
- [Unreleased]: https://github.com/cardene777/cdl/compare/v0.76.0...HEAD
3231
+ [Unreleased]: https://github.com/cardene777/cdl/compare/v0.78.0...HEAD
3232
+ [0.78.0]: https://github.com/cardene777/cdl/compare/v0.77.0...v0.78.0
3233
+ [0.77.0]: https://github.com/cardene777/cdl/compare/v0.76.0...v0.77.0
3175
3234
  [0.76.0]: https://github.com/cardene777/cdl/compare/v0.75.0...v0.76.0
3176
3235
  [0.75.0]: https://github.com/cardene777/cdl/compare/v0.74.0...v0.75.0
3177
3236
  [0.74.0]: https://github.com/cardene777/cdl/compare/v0.73.0...v0.74.0
package/dist/index.cjs CHANGED
@@ -359,7 +359,14 @@ function resolveLang(value) {
359
359
  }
360
360
  var en = {
361
361
  /** `shape-terminal` の 2 行目 (命令の出力) */
362
- "terminal.output": "\u2192 12 chunks in 1.8s",
362
+ /*
363
+ * `shape-terminal` の出力の行。
364
+ *
365
+ * **いちばん長い行が絵の倍率を決める** (#891)。 端末の中身は自分の座標で組んでから箱へ
366
+ * 収めるので、この行が長いほど全部の字が小さくなる。 120x110 の箱では 20 字の版で
367
+ * 7.71 world まで落ちていた。
368
+ */
369
+ "terminal.output": "\u2192 12 chunks",
363
370
  /** `shape-code-block` の札の file 名 */
364
371
  "codeBlock.fileName": "utils.ts",
365
372
  /** `shape-kanban-card` の課題の番号 */
@@ -586,7 +593,7 @@ var en = {
586
593
  "readout.trafficLight.green": "green"
587
594
  };
588
595
  var ja = {
589
- "terminal.output": "\u2192 1.8 \u79D2\u3067\u5B8C\u4E86",
596
+ "terminal.output": "\u2192 12 \u500B\u3092\u7D50\u5408",
590
597
  "codeBlock.fileName": "\u5171\u901A.ts",
591
598
  "kanbanCard.id": "#1111",
592
599
  "kanbanCard.status": "\u9032\u884C\u4E2D",
@@ -1661,6 +1668,7 @@ function textWidth(s, size, \u5B57\u9001\u308A = 0) {
1661
1668
  }
1662
1669
  return \u5E45 * size + \u5B57\u9001\u308A * \u5B57\u6570;
1663
1670
  }
1671
+ var \u7E2E\u3093\u3060\u7D75\u306E\u5B57\u306E\u4E0B\u9650 = 8;
1664
1672
 
1665
1673
  // src/kinds/row-align.ts
1666
1674
  var GENERIC_ROW_LEFT_SIZE_PX = 18;
@@ -25260,6 +25268,11 @@ function \u5272\u5408\u8868\u8A18(frac) {
25260
25268
  const v = Math.round(frac * 1e3) / 10;
25261
25269
  return `${Number.isInteger(v) ? v : v.toFixed(1)}%`;
25262
25270
  }
25271
+ var \u7A74\u306B\u5BFE\u3059\u308B\u4E0A\u9650 = 0.8;
25272
+ function \u4E2D\u592E\u306E\u5B57(\u6BD4\u4F8B\u3057\u305F\u5927\u304D\u3055, \u7A74\u306E\u534A\u5F84, \u6587) {
25273
+ const \u5165\u308B\u5927\u304D\u3055 = \u7A74\u306E\u534A\u5F84 * 2 * \u7A74\u306B\u5BFE\u3059\u308B\u4E0A\u9650 / Math.max(textWidth(\u6587, 1), 1e-6);
25274
+ return Math.min(Math.max(\u6BD4\u4F8B\u3057\u305F\u5927\u304D\u3055, \u7E2E\u3093\u3060\u7D75\u306E\u5B57\u306E\u4E0B\u9650), \u5165\u308B\u5927\u304D\u3055);
25275
+ }
25263
25276
  function ChartPieNode({
25264
25277
  node,
25265
25278
  active,
@@ -25317,6 +25330,11 @@ function ChartPieNode({
25317
25330
  const cx = node.w / 2;
25318
25331
  const cy = PAD_TOP2 + chartAreaH / 2;
25319
25332
  const \u524D\u306Eslices = \u524D\u3042\u308A ? \u8F2A\u3092\u7D44\u3080(data, cx, cy, \u524D\u306E\u5916\u534A\u5F84, \u524D\u306E\u5185\u534A\u5F84, \u524D\u306E\u5272\u5408) : [];
25333
+ const \u7A74 = \u524D\u3042\u308A ? \u524D\u306E\u5185\u534A\u5F84 : \u5916\u306E\u5185\u534A\u5F84;
25334
+ const \u5408\u8A08\u306E\u6587 = \u5B9F\u5024\u8868\u8A18(Math.round(\u524D\u3042\u308A ? \u4ECA\u306E\u5408\u8A08 : total));
25335
+ const \u5408\u8A08\u306E\u5B57 = \u4E2D\u592E\u306E\u5B57(Math.round(radius * 0.26), \u7A74, \u5408\u8A08\u306E\u6587);
25336
+ const \u898B\u51FA\u3057\u306E\u5B572 = \u4E2D\u592E\u306E\u5B57(Math.round(radius * 0.12), \u7A74, "\u5408\u8A08");
25337
+ const \u5408\u8A08\u306E\u4E0B = Math.max(Math.round(radius * 0.2), \u5408\u8A08\u306E\u5B57 * 0.25 + \u898B\u51FA\u3057\u306E\u5B572 * 0.8);
25320
25338
  const slices = \u8F2A\u3092\u7D44\u3080(data, cx, cy, radius, \u5916\u306E\u5185\u534A\u5F84, \u4ECA\u306E\u5272\u5408);
25321
25339
  const \u958B\u304D = \u9032\u307F\u3092\u7573\u3080(drawing, progress);
25322
25340
  const \u5207\u308A\u629C\u304Did = `cdl-pie-draw-${instanceId}`;
@@ -25395,19 +25413,19 @@ function ChartPieNode({
25395
25413
  x: cx,
25396
25414
  y: cy - 2,
25397
25415
  textAnchor: "middle",
25398
- fontSize: Math.round(radius * 0.26),
25416
+ fontSize: \u5408\u8A08\u306E\u5B57,
25399
25417
  fontWeight: 600,
25400
25418
  fill: "var(--cdl-text, #1a1f2a)",
25401
- children: \u5B9F\u5024\u8868\u8A18(Math.round(\u524D\u3042\u308A ? \u4ECA\u306E\u5408\u8A08 : total))
25419
+ children: \u5408\u8A08\u306E\u6587
25402
25420
  }
25403
25421
  ),
25404
25422
  /* @__PURE__ */ jsxRuntime.jsx(
25405
25423
  "text",
25406
25424
  {
25407
25425
  x: cx,
25408
- y: cy + Math.round(radius * 0.2),
25426
+ y: cy + \u5408\u8A08\u306E\u4E0B,
25409
25427
  textAnchor: "middle",
25410
- fontSize: Math.round(radius * 0.12),
25428
+ fontSize: \u898B\u51FA\u3057\u306E\u5B572,
25411
25429
  fill: "var(--cdl-text-dim, #5a6270)",
25412
25430
  children: "\u5408\u8A08"
25413
25431
  }
@@ -25610,6 +25628,10 @@ function \u8868\u306E\u5F62({ node, active, data, \u5272\u5408, x0, y0, drawing,
25610
25628
  const \u5185\u534A\u5F84 = R * 0.58;
25611
25629
  const cx = PAD + R;
25612
25630
  const cy = node.h / 2;
25631
+ const \u5408\u8A08\u306E\u6587 = \u5B9F\u5024\u8868\u8A18(Math.round(data.reduce((acc, d) => acc + d.value, 0)));
25632
+ const \u5408\u8A08\u306E\u5B57 = \u4E2D\u592E\u306E\u5B57(Math.round(R * 0.26), \u5185\u534A\u5F84, \u5408\u8A08\u306E\u6587);
25633
+ const \u898B\u51FA\u3057\u306E\u5B572 = \u4E2D\u592E\u306E\u5B57(Math.round(R * 0.12), \u5185\u534A\u5F84, "\u5408\u8A08");
25634
+ const \u5408\u8A08\u306E\u4E0B = Math.max(Math.round(R * 0.2), \u5408\u8A08\u306E\u5B57 * 0.25 + \u898B\u51FA\u3057\u306E\u5B572 * 0.8);
25613
25635
  const \u8868\u5DE6 = node.w - PAD - \u8868\u5E45;
25614
25636
  const \u53F3\u7AEF = node.w - PAD;
25615
25637
  const \u5272\u5408\u53F3 = \u53F3\u7AEF - \u5B9F\u6570\u5E45 - 24;
@@ -25651,19 +25673,19 @@ function \u8868\u306E\u5F62({ node, active, data, \u5272\u5408, x0, y0, drawing,
25651
25673
  x: cx,
25652
25674
  y: cy - 2,
25653
25675
  textAnchor: "middle",
25654
- fontSize: Math.round(R * 0.26),
25676
+ fontSize: \u5408\u8A08\u306E\u5B57,
25655
25677
  fontWeight: 600,
25656
25678
  fill: "var(--cdl-text, #1a1f2a)",
25657
- children: \u5B9F\u5024\u8868\u8A18(Math.round(data.reduce((acc, d) => acc + d.value, 0)))
25679
+ children: \u5408\u8A08\u306E\u6587
25658
25680
  }
25659
25681
  ),
25660
25682
  /* @__PURE__ */ jsxRuntime.jsx(
25661
25683
  "text",
25662
25684
  {
25663
25685
  x: cx,
25664
- y: cy + Math.round(R * 0.2),
25686
+ y: cy + \u5408\u8A08\u306E\u4E0B,
25665
25687
  textAnchor: "middle",
25666
- fontSize: Math.round(R * 0.12),
25688
+ fontSize: \u898B\u51FA\u3057\u306E\u5B572,
25667
25689
  fill: "var(--cdl-text-dim, #5a6270)",
25668
25690
  children: "\u5408\u8A08"
25669
25691
  }
@@ -28440,6 +28462,7 @@ function ShapeTerminalNode({ node, active, lang }) {
28440
28462
  const lineFont = "ui-monospace, SFMono-Regular, Menlo, monospace";
28441
28463
  const \u4F59\u767D = 16;
28442
28464
  const \u5E2F = 28;
28465
+ const \u5E2F\u306E\u5B57 = 12.5;
28443
28466
  const \u89D2 = 10;
28444
28467
  const \u5148\u982D = 26;
28445
28468
  const \u884C\u9593 = 22;
@@ -28449,7 +28472,7 @@ function ShapeTerminalNode({ node, active, lang }) {
28449
28472
  { \u5DE6: 16, \u5B57: 12.5, \u8272: "#7cd88f", \u6587: "$" },
28450
28473
  { \u5DE6: 30, \u5B57: 12.5, \u8272: "#e6edf3", \u6587: "pnpm build" }
28451
28474
  ],
28452
- [{ \u5DE6: 16, \u5B57: 12, \u8272: "#8b95a5", \u6587: \u5B57\u5F15("terminal.output") }],
28475
+ [{ \u5DE6: 16, \u5B57: 12.5, \u8272: "#8b95a5", \u6587: \u5B57\u5F15("terminal.output") }],
28453
28476
  [{ \u5DE6: 16, \u5B57: 12.5, \u8272: "#7cd88f", \u6587: "$" }]
28454
28477
  ];
28455
28478
  const \u81EA\u7136\u5E45 = Math.max(...\u884C.flat().map((c) => c.\u5DE6 + \u7B49\u5E45\u306E\u6841(c.\u6587) * MONO_ADVANCE * c.\u5B57)) + \u4F59\u767D;
@@ -28491,7 +28514,7 @@ function ShapeTerminalNode({ node, active, lang }) {
28491
28514
  {
28492
28515
  x: x + w / 2,
28493
28516
  y: y + barH / 2 + 4 * \u500D,
28494
- fontSize: 11 * \u500D,
28517
+ fontSize: \u5E2F\u306E\u5B57 * \u500D,
28495
28518
  fontFamily: lineFont,
28496
28519
  textAnchor: "middle",
28497
28520
  fill: "#7a8290",
@@ -28582,6 +28605,7 @@ function ShapeCodeBlockNode({ node, active, lang }) {
28582
28605
  const \u592A\u3055 = 9;
28583
28606
  const \u9699\u9593 = 6;
28584
28607
  const \u6301\u3061\u4E0A\u3052 = 8;
28608
+ const \u884C\u756A\u53F7\u306E\u5B57 = 11;
28585
28609
  const lines = [
28586
28610
  [
28587
28611
  { c: "#c678dd", w: 40 },
@@ -28604,14 +28628,13 @@ function ShapeCodeBlockNode({ node, active, lang }) {
28604
28628
  { c: "#e6edf3", w: 40 }
28605
28629
  ]
28606
28630
  ];
28607
- const \u6700\u9577 = Math.max(
28608
- ...lines.map(
28609
- (tokens) => tokens.reduce((sum, token) => sum + token.w, 0) + \u9699\u9593 * (tokens.length - 1)
28610
- )
28611
- );
28612
- const \u81EA\u7136\u5E45 = \u6E9D + \u5B57\u4E0B\u3052 + \u6700\u9577 + \u4F59\u767D;
28613
- const \u81EA\u7136\u9AD8 = \u30BF\u30D6\u9AD8 + \u884C\u982D + \u884C\u9593 * (lines.length - 1) + Math.max(\u592A\u3055 - \u6301\u3061\u4E0A\u3052, 10.5 * DESCENT3);
28614
- const \u500D = Math.min(1, w / \u81EA\u7136\u5E45, bodyH / \u81EA\u7136\u9AD8);
28631
+ const \u81EA\u7136\u9AD8 = \u30BF\u30D6\u9AD8 + \u884C\u982D + \u884C\u9593 * (lines.length - 1) + Math.max(\u592A\u3055 - \u6301\u3061\u4E0A\u3052, \u884C\u756A\u53F7\u306E\u5B57 * DESCENT3);
28632
+ const \u500D = Math.min(1, bodyH / \u81EA\u7136\u9AD8);
28633
+ const \u6253\u3061\u6D88\u3059\u5B57\u3089 = [
28634
+ { text: \u5B57\u5F15("codeBlock.fileName"), size: 11, \u5E2F: { \u5E45: \u30BF\u30D6\u5E45, \u9AD8\u3055: \u30BF\u30D6\u9AD8 } },
28635
+ { text: "1", size: \u884C\u756A\u53F7\u306E\u5B57, \u5E2F: { \u5E45: \u6E9D - \u6301\u3061\u4E0A\u3052, \u9AD8\u3055: \u884C\u9593 } }
28636
+ ];
28637
+ const \u500D\u8FD4\u3057 = \u6253\u3061\u6D88\u3057\u306E\u500D\u7387(\u500D, \u6253\u3061\u6D88\u3059\u5B57\u3089);
28615
28638
  const tabW = \u30BF\u30D6\u5E45 * \u500D;
28616
28639
  const tabH = \u30BF\u30D6\u9AD8 * \u500D;
28617
28640
  const \u4E38 = \u89D2 * \u500D;
@@ -28647,9 +28670,10 @@ function ShapeCodeBlockNode({ node, active, lang }) {
28647
28670
  /* @__PURE__ */ jsxRuntime.jsx(
28648
28671
  "text",
28649
28672
  {
28673
+ "data-cdl-counter-scaled": "1",
28650
28674
  x: x + tabW / 2,
28651
28675
  y: y + tabH / 2 + 4 * \u500D,
28652
- fontSize: 11 * \u500D,
28676
+ fontSize: 11 * \u500D * \u500D\u8FD4\u3057,
28653
28677
  fontFamily: lineFont,
28654
28678
  textAnchor: "middle",
28655
28679
  fill: "#e6edf3",
@@ -28671,9 +28695,10 @@ function ShapeCodeBlockNode({ node, active, lang }) {
28671
28695
  /* @__PURE__ */ jsxRuntime.jsx(
28672
28696
  "text",
28673
28697
  {
28698
+ "data-cdl-counter-scaled": "1",
28674
28699
  x: x + gutterW - \u6301\u3061\u4E0A\u3052 * \u500D,
28675
28700
  y: codeY0 + i * lineH,
28676
- fontSize: 10.5 * \u500D,
28701
+ fontSize: \u884C\u756A\u53F7\u306E\u5B57 * \u500D * \u500D\u8FD4\u3057,
28677
28702
  fontFamily: lineFont,
28678
28703
  textAnchor: "end",
28679
28704
  fill: "#4a5266",
@@ -28681,12 +28706,13 @@ function ShapeCodeBlockNode({ node, active, lang }) {
28681
28706
  }
28682
28707
  ),
28683
28708
  toks.map((t, j) => {
28684
- const rect = /* @__PURE__ */ jsxRuntime.jsx(
28709
+ const \u63CF\u304F\u5E45 = Math.min(t.w * \u500D, x + w - \u4F59\u767D * \u500D - cursor);
28710
+ const rect = \u63CF\u304F\u5E45 > 0 ? /* @__PURE__ */ jsxRuntime.jsx(
28685
28711
  "rect",
28686
28712
  {
28687
28713
  x: cursor,
28688
28714
  y: codeY0 + i * lineH - \u6301\u3061\u4E0A\u3052 * \u500D,
28689
- width: t.w * \u500D,
28715
+ width: \u63CF\u304F\u5E45,
28690
28716
  height: \u592A\u3055 * \u500D,
28691
28717
  rx: 2 * \u500D,
28692
28718
  fill: t.c,
@@ -28694,7 +28720,7 @@ function ShapeCodeBlockNode({ node, active, lang }) {
28694
28720
  stroke: "none"
28695
28721
  },
28696
28722
  j
28697
- );
28723
+ ) : null;
28698
28724
  cursor += (t.w + \u9699\u9593) * \u500D;
28699
28725
  return rect;
28700
28726
  })
@@ -28739,21 +28765,23 @@ function ShapeKanbanCardNode({ node, active, lang }) {
28739
28765
  const w = Math.max(0, node.w - \u7DDA * 2 - \u5F71);
28740
28766
  const h = Math.max(0, node.h - \u7DDA * 2 - \u5F71);
28741
28767
  const \u5E2F\u9593\u4F59\u767D = 4;
28742
- const \u5DE6\u53F3\u4F59\u767D = 14;
28743
- const \u4E0A\u6BB5\u9699\u9593 = 8;
28768
+ const \u5DE6\u53F3\u4F59\u767D = 12;
28769
+ const \u4E0A\u6BB5\u9699\u9593 = 6;
28744
28770
  const \u512A\u5148\u5E2F\u9AD8 = 10;
28745
28771
  const ID\u6587 = \u5B57\u5F15("kanbanCard.id");
28746
28772
  const ID\u57FA\u6E96 = 30;
28747
28773
  const ID\u5B57 = 11;
28748
28774
  const ID\u5B57\u9593 = 1;
28749
28775
  const PILL\u4E0A = 20;
28750
- const PILL\u5E45 = 70;
28776
+ const PILL\u5E45 = 62;
28751
28777
  const PILL\u9AD8 = 16;
28752
28778
  const PILL\u5B57 = 11;
28779
+ const PILL\u5B57\u9593 = 0;
28753
28780
  const FOOTER\u4E0B = 22;
28754
28781
  const AVATAR\u4E2D\u5FC3Y = 4;
28755
28782
  const AVATAR\u534A\u5F84 = 9;
28756
28783
  const AVATAR\u67A0 = 1.5;
28784
+ const AVATAR\u5B57 = 11;
28757
28785
  const \u540D\u524D\u5B57 = 17;
28758
28786
  const \u8AAC\u660E\u57FA\u6E96\u6BD4 = 20 / 17;
28759
28787
  const \u8AAC\u660E\u5B57\u6BD4 = 12 / 17;
@@ -28836,7 +28864,7 @@ function ShapeKanbanCardNode({ node, active, lang }) {
28836
28864
  y: pillY + 12 * \u500D,
28837
28865
  fontSize: PILL\u5B57 * \u500D,
28838
28866
  fontWeight: 700,
28839
- letterSpacing: 1 * \u500D,
28867
+ letterSpacing: PILL\u5B57\u9593 * \u500D,
28840
28868
  textAnchor: "middle",
28841
28869
  fill: "#5a4a1a",
28842
28870
  fontFamily: "ui-monospace, SFMono-Regular, Menlo, monospace",
@@ -28884,7 +28912,7 @@ function ShapeKanbanCardNode({ node, active, lang }) {
28884
28912
  {
28885
28913
  x: 9 * \u500D,
28886
28914
  y: 8 * \u500D,
28887
- fontSize: 10 * \u500D,
28915
+ fontSize: AVATAR\u5B57 * \u500D,
28888
28916
  fontWeight: 700,
28889
28917
  textAnchor: "middle",
28890
28918
  fill: "#ffffff",
@@ -28908,7 +28936,7 @@ function ShapeKanbanCardNode({ node, active, lang }) {
28908
28936
  {
28909
28937
  x: 23 * \u500D,
28910
28938
  y: 8 * \u500D,
28911
- fontSize: 10 * \u500D,
28939
+ fontSize: AVATAR\u5B57 * \u500D,
28912
28940
  fontWeight: 700,
28913
28941
  textAnchor: "middle",
28914
28942
  fill: "#ffffff",
@@ -30053,9 +30081,9 @@ function ShapeSmartContractNode({ node, active, lang }) {
30053
30081
  }
30054
30082
  var \u5B57\u306E\u5E45 = (text, size) => \u7D75\u306E\u4E2D\u306E\u5B57\u306E\u5E45(text, size);
30055
30083
  var BLOCK_DEFAULT_FIELDS = [
30056
- { key: "hash", label: "blockchainBlock.hash", value: { text: "0xaf31c9d2..." } },
30057
- { key: "prev", label: "blockchainBlock.prev", value: { text: "0x7b3f92c1..." } },
30058
- { key: "merkle", label: "blockchainBlock.merkle", value: { text: "0xc1892f4a..." } },
30084
+ { key: "hash", label: "blockchainBlock.hash", value: { text: "0xaf31..." } },
30085
+ { key: "prev", label: "blockchainBlock.prev", value: { text: "0x7b3f..." } },
30086
+ { key: "merkle", label: "blockchainBlock.merkle", value: { text: "0xc189..." } },
30059
30087
  { key: "nonce", label: "blockchainBlock.nonce", value: { text: "82,914" } },
30060
30088
  { key: "tx", label: "blockchainBlock.tx", value: { \u8F9E\u66F8: "blockchainBlock.txCount" } }
30061
30089
  ];