jaml-ui 0.27.0 → 0.28.1
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 +11 -6
- package/dist/assets/{searchPoolWorker-CejAnH4a.js → searchPoolWorker-BtlROziN.js} +9 -4
- package/dist/assets/searchPoolWorker-BtlROziN.js.map +1 -0
- package/dist/chunks/Layer-BBPJFHfs.js.map +1 -1
- package/dist/chunks/assets-RWUiFSTc.js.map +1 -1
- package/dist/chunks/motelyItemDecoder-BvFrQpaI.js +2061 -0
- package/dist/chunks/motelyItemDecoder-BvFrQpaI.js.map +1 -0
- package/dist/chunks/{searchPoolWorker-CTtPOuxF.js → searchPoolWorker-D1xR43D2.js} +2 -2
- package/dist/chunks/searchPoolWorker-D1xR43D2.js.map +1 -0
- package/dist/chunks/spriteMapper-CFjN0_TV.js.map +1 -1
- package/dist/chunks/tokens-B65Fzble.js.map +1 -1
- package/dist/chunks/ui-BEtq_JNg.js +3229 -0
- package/dist/chunks/ui-BEtq_JNg.js.map +1 -0
- package/dist/components/JamlAestheticSelector.d.ts +2 -3
- package/dist/components/JamlIdeToolbar.d.ts +3 -1
- package/dist/components/JamlSeedInput.d.ts +14 -4
- package/dist/components/JamlSeedSpinner.d.ts +7 -0
- package/dist/components/Jamlyzer.d.ts +5 -1
- package/dist/components/RunConfigModal.d.ts +1 -1
- package/dist/components/jamlSeedUtils.d.ts +1 -0
- package/dist/config.d.ts +5 -4
- package/dist/core.js.map +1 -1
- package/dist/decode/motelyItemFormats.d.ts +3124 -0
- package/dist/hooks/useIntersectionObserver.d.ts +1 -1
- package/dist/hooks/useMotelyRuntime.d.ts +1 -1
- package/dist/hooks/useSearch.d.ts +3 -3
- package/dist/index.d.ts +4 -2
- package/dist/index.js +3297 -3259
- package/dist/index.js.map +1 -1
- package/dist/lib/hooks/useDragScroll.d.ts +1 -1
- package/dist/motely.d.ts +2 -2
- package/dist/motely.js +23 -22
- package/dist/motely.js.map +1 -1
- package/dist/r3f.js.map +1 -1
- package/dist/ui/JimboPanelSpinner.d.ts +15 -0
- package/dist/ui/footer.d.ts +7 -1
- package/dist/ui/hooks.d.ts +2 -2
- package/dist/ui/jimbo.css +1 -1
- package/dist/ui.d.ts +2 -0
- package/dist/ui.js +3 -3
- package/jaml.schema.json +1219 -1165
- package/package.json +20 -22
- package/DESIGN.md +0 -236
- package/dist/assets/searchPoolWorker-CejAnH4a.js.map +0 -1
- package/dist/chunks/motelyItemDecoder-CRhfNIGU.js +0 -219
- package/dist/chunks/motelyItemDecoder-CRhfNIGU.js.map +0 -1
- package/dist/chunks/searchPoolWorker-CTtPOuxF.js.map +0 -1
- package/dist/chunks/ui-BBUfR6RM.js +0 -1386
- package/dist/chunks/ui-BBUfR6RM.js.map +0 -1
- package/dist/motelyBoot.d.ts +0 -15
- package/dist/ui/ide/DeckSprite.d.ts +0 -1
- package/dist/ui/ide/RegexTool.d.ts +0 -3
|
@@ -4,7 +4,7 @@ export interface UseIntersectionObserverOptions extends IntersectionObserverInit
|
|
|
4
4
|
/**
|
|
5
5
|
* Encapsulates IntersectionObserver logic.
|
|
6
6
|
*/
|
|
7
|
-
export declare function useIntersectionObserver(
|
|
7
|
+
export declare function useIntersectionObserver({ root, rootMargin, threshold, freezeOnceVisible, }?: UseIntersectionObserverOptions): {
|
|
8
8
|
ref: (node: Element | null) => void;
|
|
9
9
|
entry: IntersectionObserverEntry | null;
|
|
10
10
|
};
|
|
@@ -15,9 +15,9 @@ export interface UseSearchState {
|
|
|
15
15
|
tallyLabels: string[];
|
|
16
16
|
}
|
|
17
17
|
export declare function useSearch(): {
|
|
18
|
-
startAesthetic: (jaml: string, aesthetic: number) => Promise<void>;
|
|
19
|
-
startSeedList: (jaml: string, seeds: string[]) => Promise<void>;
|
|
20
|
-
startRandom: (jaml: string, count: number) => Promise<void>;
|
|
18
|
+
startAesthetic: (jaml: string, aesthetic: number, predicate?: (seed: string) => boolean) => Promise<void>;
|
|
19
|
+
startSeedList: (jaml: string, seeds: string[], predicate?: (seed: string) => boolean) => Promise<void>;
|
|
20
|
+
startRandom: (jaml: string, count: number, predicate?: (seed: string) => boolean) => Promise<void>;
|
|
21
21
|
cancel: () => void;
|
|
22
22
|
reset: () => void;
|
|
23
23
|
clearError: () => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -23,10 +23,12 @@ export { useSearch, type SearchResult, type SearchMode, type SearchStatus, type
|
|
|
23
23
|
export { useSearchPool, type StartPoolOptions, type UseSearchPoolOptions, type UseSearchPoolState, } from './hooks/useSearchPool.js';
|
|
24
24
|
export { useAnalyzer, type AnalyzerStatus, } from './hooks/useAnalyzer.js';
|
|
25
25
|
export { useJamlLibrary, type JamlLibraryStatus, type UseJamlLibraryState, } from './hooks/useJamlLibrary.js';
|
|
26
|
-
export { useMotelyRuntime, useMotelyRuntimeOwner, type UseMotelyRuntimeState, } from './hooks/useMotelyRuntime.js';
|
|
26
|
+
export { useMotelyRuntime, useMotelyRuntimeOwner, type UseMotelyRuntimeState, type MotelyRuntimeStatus, } from './hooks/useMotelyRuntime.js';
|
|
27
27
|
export { motelyItemRenderCategory } from './decode/motelyItemDecoder.js';
|
|
28
28
|
export { PaginatedFilterBrowser, type PaginatedFilterBrowserProps, type FilterItem, } from './components/PaginatedFilterBrowser.js';
|
|
29
29
|
export { JamlAestheticSelector, type JamlAestheticSelectorProps, type JamlAestheticOption, } from './components/JamlAestheticSelector.js';
|
|
30
|
-
export { JamlSeedInput, type JamlSeedInputProps, } from './components/JamlSeedInput.js';
|
|
30
|
+
export { JamlSeedInput, type JamlSeedInputProps, type JamlSeedInputVariant, } from './components/JamlSeedInput.js';
|
|
31
|
+
export { normalizeJamlSeed } from './components/jamlSeedUtils.js';
|
|
32
|
+
export { JamlSeedSpinner, type JamlSeedSpinnerProps, } from './components/JamlSeedSpinner.js';
|
|
31
33
|
export { setJamlAssetBaseUrl, setMotelyDisplayEnums, setMotelyDecoderEnums, getJamlAssetBaseUrl, getMotelyEnums, } from './config.js';
|
|
32
34
|
export { JamlMapEditor, JokerPicker, MysterySlot, CategoryPicker, type JamlMapEditorProps, type JokerPickerProps, type JokerRarity, type MysterySlotProps, type SlotCategory, type SlotSelection, type CategoryPickerConfig, type CategoryPickerProps, VOUCHER_PICKER_CONFIG, TAG_PICKER_CONFIG, BOSS_PICKER_CONFIG, TAROT_PICKER_CONFIG, PLANET_PICKER_CONFIG, SPECTRAL_PICKER_CONFIG, PACK_PICKER_CONFIG, } from './components/jamlMap/index.js';
|