jaml-ui 2.5.1 → 3.0.2
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 +38 -225
- package/dist/chunks/Layer-B5y9UIAt.js +19 -0
- package/dist/chunks/Layer-B5y9UIAt.js.map +1 -0
- package/dist/chunks/motelySprite-BYsaes3N.js +753 -0
- package/dist/chunks/motelySprite-BYsaes3N.js.map +1 -0
- package/dist/chunks/spriteMapper-BiDkbZrD.js +480 -0
- package/dist/chunks/spriteMapper-BiDkbZrD.js.map +1 -0
- package/dist/components/DeckSprite.d.ts +1 -1
- package/dist/components/GameCard.d.ts +5 -4
- package/dist/components/JamlyzerView.d.ts +9 -0
- package/dist/components/StandardCard.d.ts +4 -3
- package/dist/core.d.ts +0 -1
- package/dist/core.js +38 -26
- package/dist/core.js.map +1 -1
- package/dist/decode/motelyItemDecoder.d.ts +5 -0
- package/dist/index.d.ts +5 -28
- package/dist/index.js +3180 -27606
- package/dist/index.js.map +1 -1
- package/dist/json-render/catalog.d.ts +26 -1
- package/dist/json-render/components/domain.d.ts +8 -8
- package/dist/json-render/components/game.d.ts +3 -7
- package/dist/json-render/components/jammySeedMascotImage.d.ts +1 -0
- package/dist/json-render/components/layout.d.ts +2 -1
- package/dist/json-render/components/mascot.d.ts +22 -0
- package/dist/json-render/components/reference.d.ts +7 -7
- package/dist/json-render/engine.d.ts +4 -4
- package/dist/json-render/index.d.ts +2 -0
- package/dist/motely.d.ts +2 -5
- package/dist/motely.js +22 -173
- package/dist/motely.js.map +1 -1
- package/dist/render/CanvasRenderer.d.ts +2 -1
- package/dist/render/useJamlCardRenderer.d.ts +15 -0
- package/dist/ui/jimbo.css +1 -2
- package/dist/ui.d.ts +0 -39
- package/dist/ui.js +58 -3
- package/dist/ui.js.map +1 -0
- package/package.json +13 -53
- package/dist/assets/searchPoolWorker-DA5uFkl3.js +0 -2
- package/dist/assets/searchPoolWorker-DA5uFkl3.js.map +0 -1
- package/dist/chunks/jamlSeeds-CRthre97.js +0 -69
- package/dist/chunks/jamlSeeds-CRthre97.js.map +0 -1
- package/dist/chunks/runtime-D7eHq1kP.js +0 -2060
- package/dist/chunks/runtime-D7eHq1kP.js.map +0 -1
- package/dist/chunks/searchPoolWorker-649yzf3l.js +0 -11
- package/dist/chunks/searchPoolWorker-649yzf3l.js.map +0 -1
- package/dist/chunks/spriteMapper-BqG15k6f.js +0 -2496
- package/dist/chunks/spriteMapper-BqG15k6f.js.map +0 -1
- package/dist/chunks/ui-DwggmAYr.js +0 -3399
- package/dist/chunks/ui-DwggmAYr.js.map +0 -1
- package/dist/components/CardFan.d.ts +0 -13
- package/dist/components/JamlAestheticSelector.d.ts +0 -12
- package/dist/components/JamlCodeEditor.d.ts +0 -7
- package/dist/components/JamlCurator.d.ts +0 -1
- package/dist/components/JamlIde.d.ts +0 -44
- package/dist/components/JamlIdeToolbar.d.ts +0 -14
- package/dist/components/JamlIdeVisual.d.ts +0 -30
- package/dist/components/JamlMapPreview.d.ts +0 -11
- package/dist/components/JamlSeedInput.d.ts +0 -24
- package/dist/components/JamlSeedSpinner.d.ts +0 -9
- package/dist/components/JamlSpeedometer.d.ts +0 -16
- package/dist/components/Jamlyzer.d.ts +0 -8
- package/dist/components/JimmolateEditor.d.ts +0 -47
- package/dist/components/MotelyHello.d.ts +0 -5
- package/dist/components/MotelyVersionBadge.d.ts +0 -28
- package/dist/components/PaginatedFilterBrowser.d.ts +0 -26
- package/dist/components/RunConfigModal.d.ts +0 -8
- package/dist/components/SeedFinderApp.d.ts +0 -7
- package/dist/components/jamlMap/CategoryPicker.d.ts +0 -32
- package/dist/components/jamlMap/JamlMapEditor.d.ts +0 -14
- package/dist/components/jamlMap/JokerPicker.d.ts +0 -8
- package/dist/components/jamlMap/MysterySlot.d.ts +0 -37
- package/dist/components/jamlMap/index.d.ts +0 -4
- package/dist/components/jamlMap/jokerRarity.d.ts +0 -6
- package/dist/components/jamlSeedUtils.d.ts +0 -1
- package/dist/hooks/searchPoolWorker.d.ts +0 -61
- package/dist/hooks/searchWorker.d.ts +0 -1
- package/dist/hooks/useAnalyzer.d.ts +0 -10
- package/dist/hooks/useIntersectionObserver.d.ts +0 -14
- package/dist/hooks/useJamlLibrary.d.ts +0 -13
- package/dist/hooks/useSearch.d.ts +0 -31
- package/dist/hooks/useSearchPool.d.ts +0 -43
- package/dist/hooks/useShopStream.d.ts +0 -22
- package/dist/lib/SpriteMapper.d.ts +0 -10
- package/dist/lib/cardParser.d.ts +0 -8
- package/dist/lib/classes/BuyMetaData.d.ts +0 -11
- package/dist/lib/config.d.ts +0 -13
- package/dist/lib/const.d.ts +0 -70
- package/dist/lib/data/constants.d.ts +0 -11
- package/dist/lib/hooks/useDragScroll.d.ts +0 -4
- package/dist/lib/hooks/useJamlFilter.d.ts +0 -48
- package/dist/lib/hooks/useSeedAnalyzer.d.ts +0 -5
- package/dist/lib/jaml/jamlCompletion.d.ts +0 -12
- package/dist/lib/jaml/jamlData.d.ts +0 -4
- package/dist/lib/jaml/jamlLangCodemirror.d.ts +0 -13
- package/dist/lib/jaml/jamlObjectives.d.ts +0 -13
- package/dist/lib/jaml/jamlParser.d.ts +0 -14
- package/dist/lib/jaml/jamlPresets.d.ts +0 -8
- package/dist/lib/jaml/jamlSchema.d.ts +0 -19
- package/dist/lib/jaml/jamlSeeds.d.ts +0 -7
- package/dist/lib/motely/runtime.d.ts +0 -40
- package/dist/lib/parseDailyRitual.d.ts +0 -45
- package/dist/lib/tts/getRevealPos.d.ts +0 -5
- package/dist/lib/tts/splitTtsDisplay.d.ts +0 -19
- package/dist/lib/types.d.ts +0 -122
- package/dist/lib/utils.d.ts +0 -2
- package/dist/motelyDisplay.d.ts +0 -10
- package/dist/ui/JimboBadge.d.ts +0 -12
- package/dist/ui/JimboBalatroFooter.d.ts +0 -16
- package/dist/ui/JimboCopyButton.d.ts +0 -27
- package/dist/ui/JimboDeckAndStakeSelectorModal.d.ts +0 -30
- package/dist/ui/JimboDualChip.d.ts +0 -17
- package/dist/ui/JimboIconButton.d.ts +0 -15
- package/dist/ui/JimboInlineEdit.d.ts +0 -16
- package/dist/ui/JimboInputModal.d.ts +0 -13
- package/dist/ui/JimboListItem.d.ts +0 -11
- package/dist/ui/JimboPanelSpinner.d.ts +0 -15
- package/dist/ui/JimboPanelSplitter.d.ts +0 -8
- package/dist/ui/JimboPicker.d.ts +0 -28
- package/dist/ui/JimboSeedCopyChip.d.ts +0 -16
- package/dist/ui/JimboSelect.d.ts +0 -30
- package/dist/ui/JimboSlider.d.ts +0 -11
- package/dist/ui/JimboSpinner.d.ts +0 -18
- package/dist/ui/JimboStepper.d.ts +0 -22
- package/dist/ui/JimboTextInput.d.ts +0 -5
- package/dist/ui/JimboToggleList.d.ts +0 -12
- package/dist/ui/JimboValueBadge.d.ts +0 -19
- package/dist/ui/codeBlock.d.ts +0 -11
- package/dist/ui/hooks.d.ts +0 -126
- package/dist/ui/ide/JamlEditor.d.ts +0 -7
- package/dist/ui/jimboApp.d.ts +0 -9
- package/dist/ui/jimboBackground.d.ts +0 -17
- package/dist/ui/jimboCopyRow.d.ts +0 -9
- package/dist/ui/jimboFilterBar.d.ts +0 -22
- package/dist/ui/jimboFlankNav.d.ts +0 -17
- package/dist/ui/jimboInfoCard.d.ts +0 -31
- package/dist/ui/jimboInset.d.ts +0 -9
- package/dist/ui/jimboLayout.d.ts +0 -25
- package/dist/ui/jimboLink.d.ts +0 -12
- package/dist/ui/jimboSectionHeader.d.ts +0 -11
- package/dist/ui/jimboStatGrid.d.ts +0 -13
- package/dist/ui/jimboTabs.d.ts +0 -21
- package/dist/ui/jimboText.d.ts +0 -25
- package/dist/ui/jimboTooltip.d.ts +0 -33
- package/dist/ui/jimboWordmark.d.ts +0 -10
- package/dist/ui/mascot/JammySpeechBox.d.ts +0 -9
- package/dist/ui/mascot/SeedMascot.d.ts +0 -37
- package/dist/ui/mascot/index.d.ts +0 -3
- package/dist/ui/mascot/menuConfig.d.ts +0 -102
- package/dist/ui/panel.d.ts +0 -32
- package/dist/ui/radial/RadialBadge.d.ts +0 -16
- package/dist/ui/radial/RadialBreadcrumb.d.ts +0 -12
- package/dist/ui/radial/RadialButton.d.ts +0 -60
- package/dist/ui/radial/RadialMenu.d.ts +0 -38
- package/dist/ui/radial/RadialPill.d.ts +0 -17
- package/dist/ui/radial/index.d.ts +0 -16
- package/dist/ui/radial/radialMenuStore.d.ts +0 -31
- package/dist/ui/radial/radialMenuViewport.d.ts +0 -6
- package/dist/ui/radial/useRadialMenu.d.ts +0 -35
- package/dist/ui/showcase.d.ts +0 -38
- package/dist/ui/sprites.d.ts +0 -25
- package/dist/utils/jamlMapPreview.d.ts +0 -12
- package/dist/utils/jamlVisualFilter.d.ts +0 -3
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BadgeTone } from './components/layout.js';
|
|
1
2
|
/**
|
|
2
3
|
* Balatro Catalog — Component vocabulary for AI-generated UI.
|
|
3
4
|
*
|
|
@@ -126,8 +127,32 @@ export declare const balatroCatalog: {
|
|
|
126
127
|
isEternal?: boolean;
|
|
127
128
|
isPerishable?: boolean;
|
|
128
129
|
isRental?: boolean;
|
|
130
|
+
scale?: number;
|
|
129
131
|
};
|
|
130
|
-
|
|
132
|
+
};
|
|
133
|
+
description: string;
|
|
134
|
+
};
|
|
135
|
+
JammyMascot: {
|
|
136
|
+
props: {
|
|
137
|
+
mood?: "idle" | "happy" | "surprised";
|
|
138
|
+
size?: number;
|
|
139
|
+
menuItems?: {
|
|
140
|
+
label: string;
|
|
141
|
+
action: string;
|
|
142
|
+
tone?: BadgeTone;
|
|
143
|
+
}[];
|
|
144
|
+
onMenuAction?: boolean;
|
|
145
|
+
};
|
|
146
|
+
description: string;
|
|
147
|
+
};
|
|
148
|
+
JammyOrbitalMenu: {
|
|
149
|
+
props: {
|
|
150
|
+
items: {
|
|
151
|
+
label: string;
|
|
152
|
+
action: string;
|
|
153
|
+
tone?: BadgeTone;
|
|
154
|
+
}[];
|
|
155
|
+
radius?: number;
|
|
131
156
|
};
|
|
132
157
|
description: string;
|
|
133
158
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
/**
|
|
3
3
|
* Domain components — SearchStats, ErrorBanner, LoadingPulse, SeedCard, etc.
|
|
4
4
|
*
|
|
@@ -13,18 +13,18 @@ export interface SearchStatsProps {
|
|
|
13
13
|
elapsed?: string;
|
|
14
14
|
className?: string;
|
|
15
15
|
}
|
|
16
|
-
export declare const SearchStats:
|
|
16
|
+
export declare const SearchStats: FC<SearchStatsProps>;
|
|
17
17
|
export interface ErrorBannerProps {
|
|
18
18
|
message: string;
|
|
19
19
|
onDismiss?: boolean;
|
|
20
20
|
className?: string;
|
|
21
21
|
}
|
|
22
|
-
export declare const ErrorBanner:
|
|
22
|
+
export declare const ErrorBanner: FC<ErrorBannerProps>;
|
|
23
23
|
export interface LoadingPulseProps {
|
|
24
24
|
text?: string;
|
|
25
25
|
className?: string;
|
|
26
26
|
}
|
|
27
|
-
export declare const LoadingPulse:
|
|
27
|
+
export declare const LoadingPulse: FC<LoadingPulseProps>;
|
|
28
28
|
export interface SeedCardProps {
|
|
29
29
|
seed: string;
|
|
30
30
|
score?: number;
|
|
@@ -35,7 +35,7 @@ export interface SeedCardProps {
|
|
|
35
35
|
onClick?: boolean;
|
|
36
36
|
className?: string;
|
|
37
37
|
}
|
|
38
|
-
export declare const SeedCard:
|
|
38
|
+
export declare const SeedCard: FC<SeedCardProps>;
|
|
39
39
|
export interface SeedListProps {
|
|
40
40
|
seeds: string[];
|
|
41
41
|
scores?: number[];
|
|
@@ -43,16 +43,16 @@ export interface SeedListProps {
|
|
|
43
43
|
pageSize?: number;
|
|
44
44
|
className?: string;
|
|
45
45
|
}
|
|
46
|
-
export declare const SeedList:
|
|
46
|
+
export declare const SeedList: FC<SeedListProps>;
|
|
47
47
|
export interface JokerBadgeProps {
|
|
48
48
|
name: string;
|
|
49
49
|
edition?: "Foil" | "Holographic" | "Polychrome" | "Negative";
|
|
50
50
|
rarity?: "Common" | "Uncommon" | "Rare" | "Legendary";
|
|
51
51
|
className?: string;
|
|
52
52
|
}
|
|
53
|
-
export declare const JokerBadge:
|
|
53
|
+
export declare const JokerBadge: FC<JokerBadgeProps>;
|
|
54
54
|
export interface EditionBadgeProps {
|
|
55
55
|
edition: "Foil" | "Holographic" | "Polychrome" | "Negative";
|
|
56
56
|
className?: string;
|
|
57
57
|
}
|
|
58
|
-
export declare const EditionBadge:
|
|
58
|
+
export declare const EditionBadge: FC<EditionBadgeProps>;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
/**
|
|
3
3
|
* Game Card wrapper — bridges json-render to jaml-ui's sprite system.
|
|
4
|
-
*
|
|
5
|
-
* We lazily import the real JamlGameCard so json-render has no hard dependency
|
|
6
|
-
* on jaml-ui's heavy sprite imports. The consumer must import this component
|
|
7
|
-
* AND have jaml-ui available in their bundle.
|
|
8
4
|
*/
|
|
9
5
|
export interface JamlGameCardProps {
|
|
10
6
|
type: "joker" | "consumable" | "playing";
|
|
@@ -15,8 +11,8 @@ export interface JamlGameCardProps {
|
|
|
15
11
|
isEternal?: boolean;
|
|
16
12
|
isPerishable?: boolean;
|
|
17
13
|
isRental?: boolean;
|
|
14
|
+
scale?: number;
|
|
18
15
|
};
|
|
19
|
-
scale?: number;
|
|
20
16
|
className?: string;
|
|
21
17
|
}
|
|
22
|
-
export declare const JamlGameCard:
|
|
18
|
+
export declare const JamlGameCard: FC<JamlGameCardProps>;
|