@cardenelabs/dragon 0.43.0 → 0.44.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.
@@ -119,7 +119,10 @@ type DiagramEvent = {
119
119
  } | {
120
120
  type: "now";
121
121
  to: number;
122
- } | TimeMarkEvent | TimeSpanEvent | TreeLeaf | TreeNode;
122
+ } | TimeMarkEvent | TimeSpanEvent | TreeLeaf | TreeNode | LineupOrder | {
123
+ type: "seal" | "open" | "pick";
124
+ box: string;
125
+ } | LineupStamp;
123
126
  /** 時間軸の図 (#3165) の、印の列 `row` の `from` から `to` の目盛りの印の色を変える出来事 */
124
127
  interface TimeMarkEvent {
125
128
  type: "mark";
@@ -207,6 +210,24 @@ interface TreeNode {
207
210
  children: string[];
208
211
  hash?: string;
209
212
  }
213
+ /** 列の図 (#3239) の、列 `box` の並びを `items` に書き換える出来事。前の段との差分を描く部品が滑る動きに変える */
214
+ interface LineupOrder {
215
+ type: "line";
216
+ box: string;
217
+ items: string[];
218
+ }
219
+ /** 列の図の、列 `box` の右に `text` の札を押す出来事 */
220
+ interface LineupStamp {
221
+ type: "stamp";
222
+ box: string;
223
+ text: string;
224
+ }
225
+ /** 列の図のチップ。`color` を書かないチップは薄い色で、`label` を書かないチップは色だけで出す */
226
+ interface LineupItem {
227
+ id: string;
228
+ color?: Color;
229
+ label?: string;
230
+ }
210
231
  /** 枝分かれの図の枝。上から宣言した順に帯を並べる */
211
232
  interface GitBranch {
212
233
  id: string;
@@ -233,7 +254,7 @@ interface Step {
233
254
  }
234
255
  interface Diagram {
235
256
  version: number;
236
- kind: "sequence" | "architecture" | "state" | "git" | "time" | "tree";
257
+ kind: "sequence" | "architecture" | "state" | "git" | "time" | "tree" | "lineup";
237
258
  title: string;
238
259
  view?: ViewMode;
239
260
  regions?: Region[];
@@ -254,6 +275,9 @@ interface Diagram {
254
275
  branches: GitBranch[];
255
276
  };
256
277
  time?: TimeSpec;
278
+ lineup?: {
279
+ items: LineupItem[];
280
+ };
257
281
  }
258
282
  interface FieldError {
259
283
  /** 誤った欄の場所 (JSON Pointer) */
@@ -469,4 +493,4 @@ type Overlap = {
469
493
  */
470
494
  declare function describeOverlap(overlap: Overlap, lang?: NotationLang): string;
471
495
 
472
- export { type TimeSpanEvent as $, type SceneRegion as A, type Box as B, type CheckOptions as C, type Diagram as D, type SceneSide as E, type FieldError as F, type GitBranch as G, type SceneStrip as H, type InkPart as I, type SceneTrail as J, type StatePath as K, type Layout as L, type Step as M, type NotationLang as N, type Overlap as O, type Point as P, type StepSource as Q, type Rect as R, type SceneBox as S, type Theme as T, type StripMeter as U, type ViewMode as V, type TimeMarkEvent as W, type TimePeriod as X, type TimePoint as Y, type TimeRow as Z, type TimeScale as _, type ColorKey as a, type TimeSpec as a0, type TreeLeaf as a1, type TreeNode as a2, describeOverlap as a3, resolvePalette as a4, validateDiagram as a5, type TextStyle as b, type Colors as c, type Carry as d, type Checked as e, type Color as f, type ColorName as g, DEFAULT_PALETTE as h, type DiagramEvent as i, FONTS as j, type Family as k, type GitCommit as l, type LabelSide as m, type OverlapSpot as n, PALETTES as o, type Palette as p, READABLE_PX as q, type Region as r, type SceneAction as s, type SceneBadge as t, type SceneEdge as u, type SceneEnd as v, type SceneField as w, type SceneLabel as x, type SceneLifeline as y, type ScenePath as z };
496
+ export { type TimePoint as $, type SceneLabel as A, type Box as B, type CheckOptions as C, type Diagram as D, type SceneLifeline as E, type FieldError as F, type GitBranch as G, type ScenePath as H, type InkPart as I, type SceneRegion as J, type SceneSide as K, type Layout as L, type SceneStrip as M, type NotationLang as N, type Overlap as O, type Point as P, type SceneTrail as Q, type Rect as R, type SceneBox as S, type Theme as T, type StatePath as U, type ViewMode as V, type Step as W, type StepSource as X, type StripMeter as Y, type TimeMarkEvent as Z, type TimePeriod as _, type ColorKey as a, type TimeRow as a0, type TimeScale as a1, type TimeSpanEvent as a2, type TimeSpec as a3, type TreeLeaf as a4, type TreeNode as a5, describeOverlap as a6, resolvePalette as a7, validateDiagram as a8, type TextStyle as b, type Colors as c, type Carry as d, type Checked as e, type Color as f, type ColorName as g, DEFAULT_PALETTE as h, type DiagramEvent as i, FONTS as j, type Family as k, type GitCommit as l, type LabelSide as m, type LineupItem as n, type LineupOrder as o, type LineupStamp as p, type OverlapSpot as q, PALETTES as r, type Palette as s, READABLE_PX as t, type Region as u, type SceneAction as v, type SceneBadge as w, type SceneEdge as x, type SceneEnd as y, type SceneField as z };
@@ -119,7 +119,10 @@ type DiagramEvent = {
119
119
  } | {
120
120
  type: "now";
121
121
  to: number;
122
- } | TimeMarkEvent | TimeSpanEvent | TreeLeaf | TreeNode;
122
+ } | TimeMarkEvent | TimeSpanEvent | TreeLeaf | TreeNode | LineupOrder | {
123
+ type: "seal" | "open" | "pick";
124
+ box: string;
125
+ } | LineupStamp;
123
126
  /** 時間軸の図 (#3165) の、印の列 `row` の `from` から `to` の目盛りの印の色を変える出来事 */
124
127
  interface TimeMarkEvent {
125
128
  type: "mark";
@@ -207,6 +210,24 @@ interface TreeNode {
207
210
  children: string[];
208
211
  hash?: string;
209
212
  }
213
+ /** 列の図 (#3239) の、列 `box` の並びを `items` に書き換える出来事。前の段との差分を描く部品が滑る動きに変える */
214
+ interface LineupOrder {
215
+ type: "line";
216
+ box: string;
217
+ items: string[];
218
+ }
219
+ /** 列の図の、列 `box` の右に `text` の札を押す出来事 */
220
+ interface LineupStamp {
221
+ type: "stamp";
222
+ box: string;
223
+ text: string;
224
+ }
225
+ /** 列の図のチップ。`color` を書かないチップは薄い色で、`label` を書かないチップは色だけで出す */
226
+ interface LineupItem {
227
+ id: string;
228
+ color?: Color;
229
+ label?: string;
230
+ }
210
231
  /** 枝分かれの図の枝。上から宣言した順に帯を並べる */
211
232
  interface GitBranch {
212
233
  id: string;
@@ -233,7 +254,7 @@ interface Step {
233
254
  }
234
255
  interface Diagram {
235
256
  version: number;
236
- kind: "sequence" | "architecture" | "state" | "git" | "time" | "tree";
257
+ kind: "sequence" | "architecture" | "state" | "git" | "time" | "tree" | "lineup";
237
258
  title: string;
238
259
  view?: ViewMode;
239
260
  regions?: Region[];
@@ -254,6 +275,9 @@ interface Diagram {
254
275
  branches: GitBranch[];
255
276
  };
256
277
  time?: TimeSpec;
278
+ lineup?: {
279
+ items: LineupItem[];
280
+ };
257
281
  }
258
282
  interface FieldError {
259
283
  /** 誤った欄の場所 (JSON Pointer) */
@@ -469,4 +493,4 @@ type Overlap = {
469
493
  */
470
494
  declare function describeOverlap(overlap: Overlap, lang?: NotationLang): string;
471
495
 
472
- export { type TimeSpanEvent as $, type SceneRegion as A, type Box as B, type CheckOptions as C, type Diagram as D, type SceneSide as E, type FieldError as F, type GitBranch as G, type SceneStrip as H, type InkPart as I, type SceneTrail as J, type StatePath as K, type Layout as L, type Step as M, type NotationLang as N, type Overlap as O, type Point as P, type StepSource as Q, type Rect as R, type SceneBox as S, type Theme as T, type StripMeter as U, type ViewMode as V, type TimeMarkEvent as W, type TimePeriod as X, type TimePoint as Y, type TimeRow as Z, type TimeScale as _, type ColorKey as a, type TimeSpec as a0, type TreeLeaf as a1, type TreeNode as a2, describeOverlap as a3, resolvePalette as a4, validateDiagram as a5, type TextStyle as b, type Colors as c, type Carry as d, type Checked as e, type Color as f, type ColorName as g, DEFAULT_PALETTE as h, type DiagramEvent as i, FONTS as j, type Family as k, type GitCommit as l, type LabelSide as m, type OverlapSpot as n, PALETTES as o, type Palette as p, READABLE_PX as q, type Region as r, type SceneAction as s, type SceneBadge as t, type SceneEdge as u, type SceneEnd as v, type SceneField as w, type SceneLabel as x, type SceneLifeline as y, type ScenePath as z };
496
+ export { type TimePoint as $, type SceneLabel as A, type Box as B, type CheckOptions as C, type Diagram as D, type SceneLifeline as E, type FieldError as F, type GitBranch as G, type ScenePath as H, type InkPart as I, type SceneRegion as J, type SceneSide as K, type Layout as L, type SceneStrip as M, type NotationLang as N, type Overlap as O, type Point as P, type SceneTrail as Q, type Rect as R, type SceneBox as S, type Theme as T, type StatePath as U, type ViewMode as V, type Step as W, type StepSource as X, type StripMeter as Y, type TimeMarkEvent as Z, type TimePeriod as _, type ColorKey as a, type TimeRow as a0, type TimeScale as a1, type TimeSpanEvent as a2, type TimeSpec as a3, type TreeLeaf as a4, type TreeNode as a5, describeOverlap as a6, resolvePalette as a7, validateDiagram as a8, type TextStyle as b, type Colors as c, type Carry as d, type Checked as e, type Color as f, type ColorName as g, DEFAULT_PALETTE as h, type DiagramEvent as i, FONTS as j, type Family as k, type GitCommit as l, type LabelSide as m, type LineupItem as n, type LineupOrder as o, type LineupStamp as p, type OverlapSpot as q, PALETTES as r, type Palette as s, READABLE_PX as t, type Region as u, type SceneAction as v, type SceneBadge as w, type SceneEdge as x, type SceneEnd as y, type SceneField as z };