@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/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: 200 },
1968
- function: { w: 380, h: 170 },
1967
+ actor: { w: 340, h: 165 },
1968
+ function: { w: 380, h: 151 },
1969
1969
  storage: { w: 400, h: 240 },
1970
- event: { w: 360, h: 200 },
1970
+ event: { w: 360, h: 156 },
1971
1971
  card: { w: 320, h: 150 },
1972
1972
  // 人系
1973
- person: { w: 280, h: 180 },
1974
- "user-group": { w: 320, h: 180 },
1975
- admin: { w: 280, h: 180 },
1976
- developer: { w: 280, h: 180 },
1977
- "external-user": { w: 300, h: 180 },
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: 200 },
1980
- cache: { w: 280, h: 160 },
1981
- queue: { w: 340, h: 140 },
1982
- "message-bus": { w: 380, h: 140 },
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: 160 },
1984
+ cdn: { w: 320, h: 116 },
1985
1985
  // アプリ系
1986
- service: { w: 320, h: 180 },
1987
- api: { w: 320, h: 160 },
1988
- frontend: { w: 320, h: 180 },
1989
- backend: { w: 320, h: 180 },
1990
- webhook: { w: 320, h: 160 },
1991
- microservice: { w: 320, h: 180 },
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: 180 },
1994
- oracle: { w: 320, h: 180 },
1995
- "merkle-tree": { w: 340, h: 220 },
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 150 + \u547C\u3073\u540D\u306E\u5206;
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);