@cardenelabs/cdl 0.27.0 → 0.29.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
@@ -9002,6 +9002,8 @@ function layout(diag) {
9002
9002
  // **遮断はここだけに置く**。 描画は必ず組み立てを通り、組み立て API も `er` も
9003
9003
  // 素通しにしてある。 上流にも置くと、どの入力でも通らない分岐が残る
9004
9004
  ...diag.palette ? { palette: diag.palette } : {},
9005
+ // 種類も配色と同じく空の目印を出さない。 遮断をここに揃えると手書きの図にも効く
9006
+ ...diag.type ? { type: diag.type } : {},
9005
9007
  bboxes,
9006
9008
  collisions,
9007
9009
  nearCollisions,
@@ -17204,6 +17206,7 @@ function CdlStage({
17204
17206
  "data-cdl-stage": "",
17205
17207
  "data-cdl-scale": diagramScale === 1 ? void 0 : diagramScale,
17206
17208
  "data-cdl-palette": laid.palette,
17209
+ "data-cdl-type": laid.type,
17207
17210
  children: [
17208
17211
  /* @__PURE__ */ jsxRuntime.jsxs("defs", { children: [
17209
17212
  Object.entries(TONE).flatMap(