@cardenelabs/cdl 0.77.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 +26 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +3 -3
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +3 -3
- package/dist/react.js.map +1 -1
- package/package.json +1 -1
- package/src/kinds/shape-blockchain.tsx +13 -3
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,30 @@ 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
|
+
|
|
8
32
|
## [0.77.0] - 2026-09-26
|
|
9
33
|
|
|
10
34
|
### Fixed
|
|
@@ -3204,7 +3228,8 @@ Initial OSS release.
|
|
|
3204
3228
|
使わない = annotated tag を push しても GitHub Release は作られず、 Release を作っていない版で
|
|
3205
3229
|
行き止まりになる。
|
|
3206
3230
|
|
|
3207
|
-
[Unreleased]: https://github.com/cardene777/cdl/compare/v0.
|
|
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
|
|
3208
3233
|
[0.77.0]: https://github.com/cardene777/cdl/compare/v0.76.0...v0.77.0
|
|
3209
3234
|
[0.76.0]: https://github.com/cardene777/cdl/compare/v0.75.0...v0.76.0
|
|
3210
3235
|
[0.75.0]: https://github.com/cardene777/cdl/compare/v0.74.0...v0.75.0
|
package/dist/index.cjs
CHANGED
|
@@ -30081,9 +30081,9 @@ function ShapeSmartContractNode({ node, active, lang }) {
|
|
|
30081
30081
|
}
|
|
30082
30082
|
var \u5B57\u306E\u5E45 = (text, size) => \u7D75\u306E\u4E2D\u306E\u5B57\u306E\u5E45(text, size);
|
|
30083
30083
|
var BLOCK_DEFAULT_FIELDS = [
|
|
30084
|
-
{ key: "hash", label: "blockchainBlock.hash", value: { text: "
|
|
30085
|
-
{ key: "prev", label: "blockchainBlock.prev", value: { text: "
|
|
30086
|
-
{ key: "merkle", label: "blockchainBlock.merkle", value: { text: "
|
|
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..." } },
|
|
30087
30087
|
{ key: "nonce", label: "blockchainBlock.nonce", value: { text: "82,914" } },
|
|
30088
30088
|
{ key: "tx", label: "blockchainBlock.tx", value: { \u8F9E\u66F8: "blockchainBlock.txCount" } }
|
|
30089
30089
|
];
|