@cardenelabs/dragon 0.39.0 → 0.40.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/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { N as NotationLang, D as Diagram, F as FieldError, C as CheckOptions, T as Theme, V as ViewMode, L as Layout, O as Overlap, R as Rect } from './ink-Cg-v6XSG.cjs';
2
- export { B as Box, a as Carry, b as Checked, c as Color, d as ColorKey, e as DEFAULT_PALETTE, f as DiagramEvent, g as FONTS, h as Family, I as InkPart, i as LabelSide, j as OverlapSpot, P as PALETTES, k as Palette, l as Point, m as READABLE_PX, n as Region, S as SceneAction, o as SceneBadge, p as SceneBox, q as SceneEdge, r as SceneEnd, s as SceneField, t as SceneLabel, u as SceneLifeline, v as ScenePath, w as SceneRegion, x as SceneSide, y as SceneStrip, z as SceneTrail, A as StatePath, E as Step, G as describeOverlap, H as resolvePalette, J as validateDiagram } from './ink-Cg-v6XSG.cjs';
1
+ import { N as NotationLang, D as Diagram, F as FieldError, C as CheckOptions, T as Theme, V as ViewMode, L as Layout, O as Overlap, R as Rect } from './ink-B_7OXxtb.cjs';
2
+ export { B as Box, a as Carry, b as Checked, c as Color, d as ColorKey, e as DEFAULT_PALETTE, f as DiagramEvent, g as FONTS, h as Family, G as GitBranch, i as GitCommit, I as InkPart, j as LabelSide, k as OverlapSpot, P as PALETTES, l as Palette, m as Point, n as READABLE_PX, o as Region, S as SceneAction, p as SceneBadge, q as SceneBox, r as SceneEdge, s as SceneEnd, t as SceneField, u as SceneLabel, v as SceneLifeline, w as ScenePath, x as SceneRegion, y as SceneSide, z as SceneStrip, A as SceneTrail, E as StatePath, H as Step, J as describeOverlap, K as resolvePalette, M as validateDiagram } from './ink-B_7OXxtb.cjs';
3
3
 
4
4
  /**
5
5
  * Markdown の中の dragon の囲み (```dragon) を、囲みごとに取り出す。
@@ -45,6 +45,7 @@ declare function parseNotation(notation: string, options?: ParseOptions): Parsed
45
45
  * 箱は JSON の並びのまま書き、同じ区画の箱が続く所を 1 つの `group … end` にする。
46
46
  * 区画の箱が飛び飛びの時は同じ `group` を開き直す。区画の並びが箱の現れる順と違う時と、
47
47
  * 箱の無い区画がある時は、先に全ての区画を中の無い `group … end` で宣言してから開き直す。
48
+ * 枝分かれの図 (#3164) は、枝の `branch` の行を箱より前に書き、札を動かす線の運ぶ物が送る側の名前の札なら書かない。
48
49
  */
49
50
 
50
51
  declare function printNotation(diagram: Diagram): string;
@@ -78,7 +79,7 @@ interface Span {
78
79
  start: number;
79
80
  end: number;
80
81
  }
81
- /** 線を引いている間。`start` で引き始め、`drawn` で引き終わり、`end` (段の終わり) まで濃く残す。 */
82
+ /** 線を引いている間。`start` で引き始め、`drawn` で引き終わり、`end` (段の終わり) まで濃く残す。枝分かれの図では commit を積む出来事と枝を切る出来事も持つ */
82
83
  interface EdgeTime extends Span {
83
84
  step: number;
84
85
  event: number;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { N as NotationLang, D as Diagram, F as FieldError, C as CheckOptions, T as Theme, V as ViewMode, L as Layout, O as Overlap, R as Rect } from './ink-Cg-v6XSG.js';
2
- export { B as Box, a as Carry, b as Checked, c as Color, d as ColorKey, e as DEFAULT_PALETTE, f as DiagramEvent, g as FONTS, h as Family, I as InkPart, i as LabelSide, j as OverlapSpot, P as PALETTES, k as Palette, l as Point, m as READABLE_PX, n as Region, S as SceneAction, o as SceneBadge, p as SceneBox, q as SceneEdge, r as SceneEnd, s as SceneField, t as SceneLabel, u as SceneLifeline, v as ScenePath, w as SceneRegion, x as SceneSide, y as SceneStrip, z as SceneTrail, A as StatePath, E as Step, G as describeOverlap, H as resolvePalette, J as validateDiagram } from './ink-Cg-v6XSG.js';
1
+ import { N as NotationLang, D as Diagram, F as FieldError, C as CheckOptions, T as Theme, V as ViewMode, L as Layout, O as Overlap, R as Rect } from './ink-B_7OXxtb.js';
2
+ export { B as Box, a as Carry, b as Checked, c as Color, d as ColorKey, e as DEFAULT_PALETTE, f as DiagramEvent, g as FONTS, h as Family, G as GitBranch, i as GitCommit, I as InkPart, j as LabelSide, k as OverlapSpot, P as PALETTES, l as Palette, m as Point, n as READABLE_PX, o as Region, S as SceneAction, p as SceneBadge, q as SceneBox, r as SceneEdge, s as SceneEnd, t as SceneField, u as SceneLabel, v as SceneLifeline, w as ScenePath, x as SceneRegion, y as SceneSide, z as SceneStrip, A as SceneTrail, E as StatePath, H as Step, J as describeOverlap, K as resolvePalette, M as validateDiagram } from './ink-B_7OXxtb.js';
3
3
 
4
4
  /**
5
5
  * Markdown の中の dragon の囲み (```dragon) を、囲みごとに取り出す。
@@ -45,6 +45,7 @@ declare function parseNotation(notation: string, options?: ParseOptions): Parsed
45
45
  * 箱は JSON の並びのまま書き、同じ区画の箱が続く所を 1 つの `group … end` にする。
46
46
  * 区画の箱が飛び飛びの時は同じ `group` を開き直す。区画の並びが箱の現れる順と違う時と、
47
47
  * 箱の無い区画がある時は、先に全ての区画を中の無い `group … end` で宣言してから開き直す。
48
+ * 枝分かれの図 (#3164) は、枝の `branch` の行を箱より前に書き、札を動かす線の運ぶ物が送る側の名前の札なら書かない。
48
49
  */
49
50
 
50
51
  declare function printNotation(diagram: Diagram): string;
@@ -78,7 +79,7 @@ interface Span {
78
79
  start: number;
79
80
  end: number;
80
81
  }
81
- /** 線を引いている間。`start` で引き始め、`drawn` で引き終わり、`end` (段の終わり) まで濃く残す。 */
82
+ /** 線を引いている間。`start` で引き始め、`drawn` で引き終わり、`end` (段の終わり) まで濃く残す。枝分かれの図では commit を積む出来事と枝を切る出来事も持つ */
82
83
  interface EdgeTime extends Span {
83
84
  step: number;
84
85
  event: number;