@cardenelabs/cdl 0.28.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.d.cts CHANGED
@@ -1,2 +1,2 @@
1
1
  import 'react';
2
- export { q as CdlDiagramView, m as CdlDiagramViewProps } from './render-ViWKnlu1.cjs';
2
+ export { q as CdlDiagramView, m as CdlDiagramViewProps } from './render-CabTMeao.cjs';
package/dist/react.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  import 'react';
2
- export { q as CdlDiagramView, m as CdlDiagramViewProps } from './render-ViWKnlu1.js';
2
+ export { q as CdlDiagramView, m as CdlDiagramViewProps } from './render-CabTMeao.js';
package/dist/react.js CHANGED
@@ -9000,6 +9000,8 @@ function layout(diag) {
9000
9000
  // **遮断はここだけに置く**。 描画は必ず組み立てを通り、組み立て API も `er` も
9001
9001
  // 素通しにしてある。 上流にも置くと、どの入力でも通らない分岐が残る
9002
9002
  ...diag.palette ? { palette: diag.palette } : {},
9003
+ // 種類も配色と同じく空の目印を出さない。 遮断をここに揃えると手書きの図にも効く
9004
+ ...diag.type ? { type: diag.type } : {},
9003
9005
  bboxes,
9004
9006
  collisions,
9005
9007
  nearCollisions,
@@ -17202,6 +17204,7 @@ function CdlStage({
17202
17204
  "data-cdl-stage": "",
17203
17205
  "data-cdl-scale": diagramScale === 1 ? void 0 : diagramScale,
17204
17206
  "data-cdl-palette": laid.palette,
17207
+ "data-cdl-type": laid.type,
17205
17208
  children: [
17206
17209
  /* @__PURE__ */ jsxs("defs", { children: [
17207
17210
  Object.entries(TONE).flatMap(