jaml-ui 0.26.3 → 0.26.5
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/README.md +22 -7
- package/dist/assets/searchPoolWorker-CejAnH4a.js +35 -0
- package/dist/assets/searchPoolWorker-CejAnH4a.js.map +1 -0
- package/dist/chunks/motelyItemDecoder-Bg12hhB2.js +248 -0
- package/dist/chunks/motelyItemDecoder-Bg12hhB2.js.map +1 -0
- package/dist/chunks/searchPoolWorker-CTtPOuxF.js +8 -0
- package/dist/chunks/searchPoolWorker-CTtPOuxF.js.map +1 -0
- package/dist/chunks/{ui-BRMCKSX4.js → ui-0liG4zOw.js} +2 -2
- package/dist/chunks/{ui-BRMCKSX4.js.map → ui-0liG4zOw.js.map} +1 -1
- package/dist/components/JamlIde.d.ts +8 -1
- package/dist/components/JamlIdeToolbar.d.ts +3 -1
- package/dist/components/jamlMap/CategoryPicker.d.ts +1 -0
- package/dist/components/jamlMap/JokerPicker.d.ts +1 -0
- package/dist/config.d.ts +7 -0
- package/dist/hooks/searchPoolWorker.d.ts +60 -0
- package/dist/hooks/searchWorker.d.ts +1 -0
- package/dist/hooks/useAnalyzer.d.ts +17 -16
- package/dist/hooks/useJamlLibrary.d.ts +13 -0
- package/dist/hooks/useMotelyRuntime.d.ts +11 -0
- package/dist/hooks/useSearch.d.ts +5 -6
- package/dist/hooks/useSearchPool.d.ts +42 -0
- package/dist/index.d.ts +6 -4
- package/dist/index.js +3320 -3989
- package/dist/index.js.map +1 -1
- package/dist/lib/hooks/useSeedAnalyzer.d.ts +10 -3
- package/dist/motely.d.ts +3 -1
- package/dist/motely.js +42 -5
- package/dist/motely.js.map +1 -1
- package/dist/motelyBoot.d.ts +13 -0
- package/dist/ui/jimbo.css +1 -1
- package/dist/ui/mascot/SeedMascot.d.ts +1 -1
- package/dist/ui/mascot/index.d.ts +3 -3
- package/dist/ui/radial/RadialBadge.d.ts +1 -1
- package/dist/ui/radial/RadialMenu.d.ts +1 -1
- package/dist/ui/radial/index.d.ts +16 -16
- package/dist/ui.js +1 -1
- package/package.json +18 -13
- package/assets/WeeJokerExampleDAilyGame.png +0 -0
- package/dist/chunks/motelyItemDecoder-HsR2riGq.js +0 -149
- package/dist/chunks/motelyItemDecoder-HsR2riGq.js.map +0 -1
- package/dist/components/JamlAnalyzerFullscreen.d.ts +0 -30
- package/dist/hooks/analyzerStreamRegistry.d.ts +0 -35
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { StreamItem } from './useShopStream.js';
|
|
2
|
-
import { AnalyzerLive } from './useAnalyzer.js';
|
|
3
|
-
/**
|
|
4
|
-
* Registry of motely-wasm streams the fullscreen analyzer can surface as
|
|
5
|
-
* lanes. Each entry knows how to (a) open a stream against a live ctx +
|
|
6
|
-
* runState for a given ante, and (b) pull the next item.
|
|
7
|
-
*
|
|
8
|
-
* Streams that produce raw item *values* (jokers, tarots, planets,
|
|
9
|
-
* spectrals) are normalized through `motelyItemDisplayNameFromValue` so
|
|
10
|
-
* downstream rendering uses one shared resolver. Pack-contents streams
|
|
11
|
-
* return arrays in a single call; we flatten to per-card items keyed by
|
|
12
|
-
* pack-pull index so React keys stay stable across reloads.
|
|
13
|
-
*/
|
|
14
|
-
export type AnalyzerStreamKey = "shop" | "soulJoker" | "rareTagJoker" | "uncommonTagJoker" | "riffRaffJoker" | "buffoonJoker" | "judgementJoker" | "wraithJoker" | "shopJoker" | "shopTarot" | "shopPlanet" | "shopSpectral" | "purpleSealTarot";
|
|
15
|
-
export interface AnalyzerStreamMeta {
|
|
16
|
-
key: AnalyzerStreamKey;
|
|
17
|
-
label: string;
|
|
18
|
-
/** Tone hint for the lane header. */
|
|
19
|
-
tone: "gold" | "purple" | "blue" | "spectral" | "default";
|
|
20
|
-
/** Whether this stream is on by default in the picker. */
|
|
21
|
-
defaultEnabled: boolean;
|
|
22
|
-
}
|
|
23
|
-
export declare const ANALYZER_STREAM_META: Record<AnalyzerStreamKey, AnalyzerStreamMeta>;
|
|
24
|
-
export declare const DEFAULT_ENABLED_STREAMS: AnalyzerStreamKey[];
|
|
25
|
-
interface StreamHandle {
|
|
26
|
-
initStream: () => void;
|
|
27
|
-
nextItem: () => StreamItem;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Build init/next callbacks for a (key, ante) pair against the live ctx.
|
|
31
|
-
* The component wraps these with useMotelyStream. Items are normalized to
|
|
32
|
-
* { id, name, value } so the same ShopItem renderer can show every lane.
|
|
33
|
-
*/
|
|
34
|
-
export declare function buildStreamHandle(live: AnalyzerLive, ante: number, key: AnalyzerStreamKey): StreamHandle | null;
|
|
35
|
-
export {};
|