@cardenelabs/cdl 0.18.1 → 0.19.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 +22 -1
- package/dist/index.cjs +23 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +23 -23
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +23 -23
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +23 -23
- package/dist/react.js.map +1 -1
- package/package.json +1 -1
- package/src/layout/nodes.ts +4 -2
- package/src/layout/tokens.ts +22 -22
package/dist/react.cjs
CHANGED
|
@@ -1964,35 +1964,35 @@ var TOKENS = {
|
|
|
1964
1964
|
contain_pad: 28,
|
|
1965
1965
|
// node sizes (kind ごと、 unified row h は engine が max() で算出)
|
|
1966
1966
|
node: {
|
|
1967
|
-
actor: { w: 340, h:
|
|
1968
|
-
function: { w: 380, h:
|
|
1967
|
+
actor: { w: 340, h: 165 },
|
|
1968
|
+
function: { w: 380, h: 151 },
|
|
1969
1969
|
storage: { w: 400, h: 240 },
|
|
1970
|
-
event: { w: 360, h:
|
|
1970
|
+
event: { w: 360, h: 156 },
|
|
1971
1971
|
card: { w: 320, h: 150 },
|
|
1972
1972
|
// 人系
|
|
1973
|
-
person: { w: 280, h:
|
|
1974
|
-
"user-group": { w: 320, h:
|
|
1975
|
-
admin: { w: 280, h:
|
|
1976
|
-
developer: { w: 280, h:
|
|
1977
|
-
"external-user": { w: 300, h:
|
|
1973
|
+
person: { w: 280, h: 116 },
|
|
1974
|
+
"user-group": { w: 320, h: 116 },
|
|
1975
|
+
admin: { w: 280, h: 116 },
|
|
1976
|
+
developer: { w: 280, h: 116 },
|
|
1977
|
+
"external-user": { w: 300, h: 116 },
|
|
1978
1978
|
// インフラ
|
|
1979
|
-
database: { w: 320, h:
|
|
1980
|
-
cache: { w: 280, h:
|
|
1981
|
-
queue: { w: 340, h:
|
|
1982
|
-
"message-bus": { w: 380, h:
|
|
1979
|
+
database: { w: 320, h: 172 },
|
|
1980
|
+
cache: { w: 280, h: 116 },
|
|
1981
|
+
queue: { w: 340, h: 116 },
|
|
1982
|
+
"message-bus": { w: 380, h: 116 },
|
|
1983
1983
|
cloud: { w: 320, h: 180 },
|
|
1984
|
-
cdn: { w: 320, h:
|
|
1984
|
+
cdn: { w: 320, h: 116 },
|
|
1985
1985
|
// アプリ系
|
|
1986
|
-
service: { w: 320, h:
|
|
1987
|
-
api: { w: 320, h:
|
|
1988
|
-
frontend: { w: 320, h:
|
|
1989
|
-
backend: { w: 320, h:
|
|
1990
|
-
webhook: { w: 320, h:
|
|
1991
|
-
microservice: { w: 320, h:
|
|
1986
|
+
service: { w: 320, h: 116 },
|
|
1987
|
+
api: { w: 320, h: 116 },
|
|
1988
|
+
frontend: { w: 320, h: 116 },
|
|
1989
|
+
backend: { w: 320, h: 116 },
|
|
1990
|
+
webhook: { w: 320, h: 116 },
|
|
1991
|
+
microservice: { w: 320, h: 116 },
|
|
1992
1992
|
// データ / 判定
|
|
1993
|
-
signer: { w: 300, h:
|
|
1994
|
-
oracle: { w: 320, h:
|
|
1995
|
-
"merkle-tree": { w: 340, h:
|
|
1993
|
+
signer: { w: 300, h: 116 },
|
|
1994
|
+
oracle: { w: 320, h: 116 },
|
|
1995
|
+
"merkle-tree": { w: 340, h: 116 },
|
|
1996
1996
|
decision: { w: 300, h: 180 },
|
|
1997
1997
|
// Chart 系 (CAR-994 Phase A) ... 1 node に datum 配列を持ち、 kind 内で SVG geometry 描画。
|
|
1998
1998
|
// 実際の w/h は preset chart() が w/h override で指定 (default fallback は preset 未指定時のみ)。
|
|
@@ -3752,7 +3752,7 @@ function autoStorageHeight(n, defaultH) {
|
|
|
3752
3752
|
if (n.h != null) return n.h;
|
|
3753
3753
|
const \u5370\u3042\u308A = n.rowMarks !== void 0;
|
|
3754
3754
|
const \u547C\u3073\u540D\u306E\u5206 = \u5370\u3042\u308A && n.subtitle ? SUBTITLE_ROW_SHIFT : 0;
|
|
3755
|
-
if (!n.rows || n.rows.length === 0) return
|
|
3755
|
+
if (!n.rows || n.rows.length === 0) return 115 + \u547C\u3073\u540D\u306E\u5206;
|
|
3756
3756
|
const \u5FC5\u8981 = requiredRowsHeight("storage", n.rows.length) ?? defaultH;
|
|
3757
3757
|
if (\u5370\u3042\u308A) return \u5FC5\u8981 + \u547C\u3073\u540D\u306E\u5206;
|
|
3758
3758
|
return Math.max(defaultH, \u5FC5\u8981);
|