jaml-ui 6.0.2 → 7.0.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.
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
- import { SpriteSheetType } from '../sprites/spriteMapper.js';
3
2
  export type JamlZone = "must" | "should" | "mustnot";
4
3
  export interface JamlVisualClause {
5
4
  id: string;
@@ -29,7 +28,6 @@ export interface JamlIdeVisualProps {
29
28
  /** Tap the "?" mystery tile to add a new clause to a zone (Pass 2 wires this to the cascade picker). */
30
29
  onAddClause?: (zone: JamlZone) => void;
31
30
  }
32
- export declare function clauseSpriteSheet(type: string): SpriteSheetType | undefined;
33
31
  export declare function ClauseSprite({ clause, size }: {
34
32
  clause: JamlVisualClause;
35
33
  size?: number;
@@ -0,0 +1,16 @@
1
+ export interface FilterStoryProps {
2
+ /** Full JAML document — the filter AS the author wrote it. */
3
+ source: string;
4
+ /** Seeds kept for their string alone. They get a crown. No justification asked. */
5
+ crowns?: readonly string[];
6
+ /** Highest ante column the arc timeline renders. Default 8. */
7
+ maxAnte?: number;
8
+ className?: string;
9
+ }
10
+ /**
11
+ * A filter as a run story: the author's essay up top, the must/should clauses
12
+ * as a score-weighted ante arc, and the kept seeds as a wall of flippable
13
+ * cards. The filter file is the artifact — this renders what the author
14
+ * MEANT, description verbatim, typos and all.
15
+ */
16
+ export declare function FilterStory({ source, crowns, maxAnte, className }: FilterStoryProps): import("react").JSX.Element;
@@ -17,5 +17,4 @@ export interface SeedMilestoneHit {
17
17
  label: string;
18
18
  tone: "green" | "orange" | "purple" | "blue" | "red";
19
19
  }
20
- export declare function extractSeedMilestones(result: MotelyJamlyzerSeedResult, clauses?: JamlClause[], maxMilestones?: number): SeedMilestoneHit[];
21
20
  export declare function JamlyzerSeedCard({ result, selected, pinned, onSelect, onTogglePin, clauses, className, style, }: JamlyzerSeedCardProps): React.JSX.Element;