jaml-ui 6.0.2 → 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.
- package/dist/chunks/{JimboSwipeDeck-DUwjKBbo.js → JimboSwipeDeck-BYXDxmy7.js} +890 -759
- package/dist/chunks/JimboSwipeDeck-BYXDxmy7.js.map +1 -0
- package/dist/components/DeckStakePicker.d.ts +1 -1
- package/dist/components/JamlCodeEditor.d.ts +1 -1
- package/dist/components/JamlIdeVisual.d.ts +0 -2
- package/dist/components/JamlyzerBulk.d.ts +2 -2
- package/dist/components/JamlyzerView.d.ts +1 -1
- package/dist/components/SeedCalculus.d.ts +1 -1
- package/dist/components/SeedLab.d.ts +7 -2
- package/dist/components/filterStory/FilterStory.d.ts +16 -0
- package/dist/components/jamlyzer/JamlyzerAnteDetails.d.ts +3 -3
- package/dist/components/jamlyzer/JamlyzerErraticDeck.d.ts +1 -1
- package/dist/components/jamlyzer/JamlyzerEvents.d.ts +1 -1
- package/dist/components/jamlyzer/JamlyzerItemCard.d.ts +1 -1
- package/dist/components/jamlyzer/JamlyzerPackSection.d.ts +1 -1
- package/dist/components/jamlyzer/JamlyzerPulls.d.ts +1 -1
- package/dist/components/jamlyzer/JamlyzerSeedCard.d.ts +0 -1
- package/dist/index.js +6846 -6631
- package/dist/index.js.map +1 -1
- package/dist/lib/jaml/jaml.d.ts +3 -0
- package/dist/motd/motd.d.ts +10 -0
- package/dist/motd/motdData.generated.d.ts +1 -0
- package/dist/motd.js +164 -0
- package/dist/motd.js.map +1 -0
- package/dist/motely.js +98 -92
- package/dist/motely.js.map +1 -1
- package/dist/ui/JimboApp.d.ts +1 -1
- package/dist/ui/JimboButton.d.ts +1 -1
- package/dist/ui/JimboCodeSurface.d.ts +1 -1
- package/dist/ui/JimboDivider.d.ts +1 -1
- package/dist/ui/JimboDock.d.ts +1 -2
- package/dist/ui/JimboErrorBlock.d.ts +1 -1
- package/dist/ui/JimboGrid.d.ts +1 -1
- package/dist/ui/JimboInset.d.ts +1 -1
- package/dist/ui/JimboLayout.d.ts +2 -2
- package/dist/ui/JimboListItem.d.ts +1 -1
- package/dist/ui/JimboMascot.d.ts +1 -1
- package/dist/ui/JimboOrbitalMenu.d.ts +1 -1
- package/dist/ui/JimboOuterTab.d.ts +1 -1
- package/dist/ui/JimboPanel.d.ts +1 -1
- package/dist/ui/JimboPanelSpinner.d.ts +1 -1
- package/dist/ui/JimboPicker.d.ts +8 -8
- package/dist/ui/JimboSectionHeader.d.ts +1 -1
- package/dist/ui/JimboSeedBatchInput.d.ts +29 -0
- package/dist/ui/JimboShopBelt.d.ts +1 -1
- package/dist/ui/JimboSpacer.d.ts +1 -1
- package/dist/ui/JimboStatusPill.d.ts +1 -1
- package/dist/ui/JimboTextArea.d.ts +1 -1
- package/dist/ui/JimboTextInput.d.ts +1 -1
- package/dist/ui/JimboWordmark.d.ts +1 -1
- package/dist/ui/jimbo.css +1 -1
- package/dist/ui/jimboTabs.d.ts +1 -1
- package/dist/ui/jimboText.d.ts +1 -1
- package/dist/ui/panel.d.ts +2 -2
- package/dist/ui/sprites.d.ts +1 -1
- package/dist/ui.d.ts +3 -1
- package/dist/ui.js +47 -46
- package/package.json +45 -45
- package/dist/chunks/JimboSwipeDeck-DUwjKBbo.js.map +0 -1
|
@@ -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(
|
|
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(
|
|
7
|
+
export declare function JamlCodeEditor({ value, onChange, placeholder, minHeight, }: JamlCodeEditorProps): import('react').JSX.Element;
|
|
@@ -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;
|
|
@@ -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(
|
|
21
|
-
export declare function JamlyzerBulk({ results, jamlText, clauses: clausesProp, tallies, deck, stake, pageSize, }: JamlyzerBulkProps): import(
|
|
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(
|
|
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(
|
|
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(
|
|
23
|
+
}): import('react').JSX.Element;
|
|
19
24
|
export declare function SeedLab({ defaultJaml }: {
|
|
20
25
|
defaultJaml?: string;
|
|
21
|
-
}): import(
|
|
26
|
+
}): import('react').JSX.Element;
|
|
@@ -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;
|
|
@@ -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(
|
|
5
|
+
}): import('react').JSX.Element;
|
|
6
6
|
export declare function ResolvedItem({ value, scale }: {
|
|
7
7
|
value: number;
|
|
8
8
|
scale: number;
|
|
9
|
-
}): import(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
8
|
+
export declare function JamlyzerPulls({ ante, matches }: JamlyzerPullsProps): import('react').JSX.Element | null;
|
|
@@ -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;
|