jaml-ui 7.0.0 → 8.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.
Files changed (45) hide show
  1. package/dist/components/DeckStakePicker.d.ts +1 -1
  2. package/dist/components/JamlCodeEditor.d.ts +1 -1
  3. package/dist/components/JamlyzerBulk.d.ts +2 -2
  4. package/dist/components/JamlyzerView.d.ts +1 -1
  5. package/dist/components/SeedCalculus.d.ts +1 -1
  6. package/dist/components/SeedLab.d.ts +7 -2
  7. package/dist/components/filterStory/FilterStory.d.ts +1 -1
  8. package/dist/components/jamlyzer/JamlyzerAnteDetails.d.ts +3 -3
  9. package/dist/components/jamlyzer/JamlyzerErraticDeck.d.ts +1 -1
  10. package/dist/components/jamlyzer/JamlyzerEvents.d.ts +1 -1
  11. package/dist/components/jamlyzer/JamlyzerItemCard.d.ts +1 -1
  12. package/dist/components/jamlyzer/JamlyzerPackSection.d.ts +1 -1
  13. package/dist/components/jamlyzer/JamlyzerPulls.d.ts +1 -1
  14. package/dist/index.js +4015 -3963
  15. package/dist/index.js.map +1 -1
  16. package/dist/motely.js +98 -92
  17. package/dist/motely.js.map +1 -1
  18. package/dist/ui/JimboApp.d.ts +1 -1
  19. package/dist/ui/JimboButton.d.ts +1 -1
  20. package/dist/ui/JimboCodeSurface.d.ts +1 -1
  21. package/dist/ui/JimboDivider.d.ts +1 -1
  22. package/dist/ui/JimboDock.d.ts +1 -1
  23. package/dist/ui/JimboErrorBlock.d.ts +1 -1
  24. package/dist/ui/JimboGrid.d.ts +1 -1
  25. package/dist/ui/JimboInset.d.ts +1 -1
  26. package/dist/ui/JimboLayout.d.ts +2 -2
  27. package/dist/ui/JimboListItem.d.ts +1 -1
  28. package/dist/ui/JimboMascot.d.ts +1 -1
  29. package/dist/ui/JimboOrbitalMenu.d.ts +1 -1
  30. package/dist/ui/JimboOuterTab.d.ts +1 -1
  31. package/dist/ui/JimboPanel.d.ts +1 -1
  32. package/dist/ui/JimboPanelSpinner.d.ts +1 -1
  33. package/dist/ui/JimboPicker.d.ts +8 -8
  34. package/dist/ui/JimboSectionHeader.d.ts +1 -1
  35. package/dist/ui/JimboShopBelt.d.ts +1 -1
  36. package/dist/ui/JimboSpacer.d.ts +1 -1
  37. package/dist/ui/JimboStatusPill.d.ts +1 -1
  38. package/dist/ui/JimboTextArea.d.ts +1 -1
  39. package/dist/ui/JimboTextInput.d.ts +1 -1
  40. package/dist/ui/JimboWordmark.d.ts +1 -1
  41. package/dist/ui/jimboTabs.d.ts +1 -1
  42. package/dist/ui/jimboText.d.ts +1 -1
  43. package/dist/ui/panel.d.ts +2 -2
  44. package/dist/ui/sprites.d.ts +1 -1
  45. package/package.json +20 -19
@@ -9,5 +9,5 @@ export interface DeckStakePickerProps {
9
9
  className?: string;
10
10
  }
11
11
  /** New-run deck + stake cyclers. Sprites from the atlas, names from Motely enums. */
12
- export declare function DeckStakePicker({ deck, stake, onDeckChange, onStakeChange, layout, className, }: DeckStakePickerProps): import("react").JSX.Element;
12
+ export declare function DeckStakePicker({ deck, stake, onDeckChange, onStakeChange, layout, className, }: DeckStakePickerProps): import('react').JSX.Element;
13
13
  export { DECKS as DECK_PICKER_NAMES, STAKES as STAKE_PICKER_NAMES };
@@ -4,4 +4,4 @@ export interface JamlCodeEditorProps {
4
4
  placeholder?: string;
5
5
  minHeight?: number;
6
6
  }
7
- export declare function JamlCodeEditor({ value, onChange, placeholder, minHeight, }: JamlCodeEditorProps): import("react").JSX.Element;
7
+ export declare function JamlCodeEditor({ value, onChange, placeholder, minHeight, }: JamlCodeEditorProps): import('react').JSX.Element;
@@ -17,5 +17,5 @@ export declare function ClauseHitPanel({ clause, hitAntes, tally, }: {
17
17
  clause: JamlClause;
18
18
  hitAntes: number[];
19
19
  tally?: number;
20
- }): import("react").JSX.Element;
21
- export declare function JamlyzerBulk({ results, jamlText, clauses: clausesProp, tallies, deck, stake, pageSize, }: JamlyzerBulkProps): import("react").JSX.Element;
20
+ }): import('react').JSX.Element;
21
+ export declare function JamlyzerBulk({ results, jamlText, clauses: clausesProp, tallies, deck, stake, pageSize, }: JamlyzerBulkProps): import('react').JSX.Element;
@@ -5,4 +5,4 @@ export interface JamlyzerViewProps {
5
5
  stake?: MotelyStake;
6
6
  maxAnte?: number;
7
7
  }
8
- export declare function JamlyzerView({ result, deck, stake, maxAnte: maxAnteProp, }: JamlyzerViewProps): import("react").JSX.Element;
8
+ export declare function JamlyzerView({ result, deck, stake, maxAnte: maxAnteProp, }: JamlyzerViewProps): import('react').JSX.Element;
@@ -14,4 +14,4 @@ export interface SeedCalculusProps {
14
14
  defaultSeedsPerSecond?: number;
15
15
  className?: string;
16
16
  }
17
- export declare function SeedCalculus({ measured, defaultRarityOneIn, defaultSeedsPerSecond, className, }: SeedCalculusProps): import("react").JSX.Element;
17
+ export declare function SeedCalculus({ measured, defaultRarityOneIn, defaultSeedsPerSecond, className, }: SeedCalculusProps): import('react').JSX.Element;
@@ -1,8 +1,13 @@
1
1
  export declare const STARTER_JAML = "must:\n - joker: Blueprint\n antes: [1]\nshould:\n - voucher: Telescope\n antes: [1]\n";
2
2
  export declare const JAMLYZE_JAML = "seeds:\n - WEEJOKER\nmust:\n - joker: Blueprint\n antes: [1]\nshould:\n - voucher: Telescope\n antes: [1]\n";
3
+ /**
4
+ * One search hit. `tallies` is motely-wasm 28's per-should-clause tally: one raw
5
+ * occurrence count per `should:` clause, in authored order. Empty for an unscored filter.
6
+ */
3
7
  export type SeedHit = {
4
8
  seed: string;
5
9
  score: number;
10
+ tallies: readonly number[];
6
11
  };
7
12
  export type SeedSearchPhase = "idle" | "booting" | "searching" | "done" | "cancelled" | "error";
8
13
  export type SeedSearchStats = {
@@ -15,7 +20,7 @@ export type SeedSearchStats = {
15
20
  };
16
21
  export declare function LiveJamlIde({ defaultJaml }: {
17
22
  defaultJaml?: string;
18
- }): import("react").JSX.Element;
23
+ }): import('react').JSX.Element;
19
24
  export declare function SeedLab({ defaultJaml }: {
20
25
  defaultJaml?: string;
21
- }): import("react").JSX.Element;
26
+ }): import('react').JSX.Element;
@@ -13,4 +13,4 @@ export interface FilterStoryProps {
13
13
  * cards. The filter file is the artifact — this renders what the author
14
14
  * MEANT, description verbatim, typos and all.
15
15
  */
16
- export declare function FilterStory({ source, crowns, maxAnte, className }: FilterStoryProps): import("react").JSX.Element;
16
+ export declare function FilterStory({ source, crowns, maxAnte, className }: FilterStoryProps): import('react').JSX.Element;
@@ -2,11 +2,11 @@ import { MotelyJamlyzerAnteResult } from 'motely-wasm';
2
2
  export declare function LabeledItem({ value, scale }: {
3
3
  value: number;
4
4
  scale: number;
5
- }): import("react").JSX.Element;
5
+ }): import('react').JSX.Element;
6
6
  export declare function ResolvedItem({ value, scale }: {
7
7
  value: number;
8
8
  scale: number;
9
- }): import("react").JSX.Element;
9
+ }): import('react').JSX.Element;
10
10
  export interface JamlyzerAnteDetailsProps {
11
11
  ante: MotelyJamlyzerAnteResult | undefined;
12
12
  selectedAnte: number;
@@ -15,4 +15,4 @@ export interface JamlyzerAnteDetailsProps {
15
15
  onSelectAnte: (ante: number) => void;
16
16
  }
17
17
  /** Spinner-driven single-ante detail: boss, voucher, tags, shop queue, packs. */
18
- export declare function JamlyzerAnteDetails({ ante, selectedAnte, minAnte, maxAnte, onSelectAnte, }: JamlyzerAnteDetailsProps): import("react").JSX.Element;
18
+ export declare function JamlyzerAnteDetails({ ante, selectedAnte, minAnte, maxAnte, onSelectAnte, }: JamlyzerAnteDetailsProps): import('react').JSX.Element;
@@ -5,4 +5,4 @@ export interface JamlyzerErraticDeckProps {
5
5
  matches: Map<string, JamlClause[]>;
6
6
  }
7
7
  /** The randomized starting deck when playing the Erratic deck. */
8
- export declare function JamlyzerErraticDeck({ cards, matches }: JamlyzerErraticDeckProps): import("react").JSX.Element | null;
8
+ export declare function JamlyzerErraticDeck({ cards, matches }: JamlyzerErraticDeckProps): import('react').JSX.Element | null;
@@ -3,4 +3,4 @@ export interface JamlyzerEventsProps {
3
3
  events: MotelyJamlyzerSeedResult["events"];
4
4
  }
5
5
  /** Probabilistic event roll outcomes (Lucky cards, Cavendish, Wheel, …). */
6
- export declare function JamlyzerEvents({ events }: JamlyzerEventsProps): import("react").JSX.Element | null;
6
+ export declare function JamlyzerEvents({ events }: JamlyzerEventsProps): import('react').JSX.Element | null;
@@ -6,4 +6,4 @@ export interface JamlyzerItemCardProps {
6
6
  highlight?: string;
7
7
  }
8
8
  /** One decoded Motely item rendered as a game card, with clause-match glow. */
9
- export declare function JamlyzerItemCard({ item, scale, highlight }: JamlyzerItemCardProps): import("react").JSX.Element;
9
+ export declare function JamlyzerItemCard({ item, scale, highlight }: JamlyzerItemCardProps): import('react').JSX.Element;
@@ -2,4 +2,4 @@ import { MotelyJamlyzerAnteResult } from 'motely-wasm';
2
2
  export interface JamlyzerPackSectionProps {
3
3
  pack: MotelyJamlyzerAnteResult["packs"][number];
4
4
  }
5
- export declare function JamlyzerPackSection({ pack }: JamlyzerPackSectionProps): import("react").JSX.Element;
5
+ export declare function JamlyzerPackSection({ pack }: JamlyzerPackSectionProps): import('react').JSX.Element;
@@ -5,4 +5,4 @@ export interface JamlyzerPullsProps {
5
5
  matches: Map<string, JamlClause[]>;
6
6
  }
7
7
  /** Extra-card pulls (Judgement, Wraith, tags, …) and the voucher sequence. */
8
- export declare function JamlyzerPulls({ ante, matches }: JamlyzerPullsProps): import("react").JSX.Element | null;
8
+ export declare function JamlyzerPulls({ ante, matches }: JamlyzerPullsProps): import('react').JSX.Element | null;