jaml-ui 2.4.0 → 3.0.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.
Files changed (171) hide show
  1. package/README.md +38 -225
  2. package/dist/chunks/Layer-B5y9UIAt.js +19 -0
  3. package/dist/chunks/Layer-B5y9UIAt.js.map +1 -0
  4. package/dist/chunks/motelySprite-BYsaes3N.js +753 -0
  5. package/dist/chunks/motelySprite-BYsaes3N.js.map +1 -0
  6. package/dist/chunks/spriteMapper-BiDkbZrD.js +480 -0
  7. package/dist/chunks/spriteMapper-BiDkbZrD.js.map +1 -0
  8. package/dist/components/DeckSprite.d.ts +1 -1
  9. package/dist/components/GameCard.d.ts +5 -4
  10. package/dist/components/JamlyzerView.d.ts +9 -0
  11. package/dist/components/StandardCard.d.ts +4 -3
  12. package/dist/core.d.ts +0 -1
  13. package/dist/core.js +38 -23
  14. package/dist/core.js.map +1 -1
  15. package/dist/decode/motelyItemDecoder.d.ts +5 -0
  16. package/dist/index.d.ts +6 -26
  17. package/dist/index.js +3177 -22506
  18. package/dist/index.js.map +1 -1
  19. package/dist/json-render/builders/analyzer.d.ts +23 -0
  20. package/dist/json-render/builders/encyclopedia.d.ts +14 -0
  21. package/dist/json-render/builders/search.d.ts +24 -0
  22. package/dist/json-render/catalog.d.ts +204 -0
  23. package/dist/json-render/components/domain.d.ts +58 -0
  24. package/dist/json-render/components/game.d.ts +18 -0
  25. package/dist/json-render/components/layout.d.ts +51 -0
  26. package/dist/json-render/components/mascot.d.ts +22 -0
  27. package/dist/json-render/components/reference.d.ts +38 -0
  28. package/dist/json-render/engine.d.ts +38 -0
  29. package/dist/json-render/index.d.ts +30 -0
  30. package/dist/json-render/knowledge/bosses.d.ts +18 -0
  31. package/dist/json-render/knowledge/decks.d.ts +22 -0
  32. package/dist/json-render/knowledge/jokers.d.ts +23 -0
  33. package/dist/json-render/knowledge/synergies.d.ts +21 -0
  34. package/dist/json-render/registry.d.ts +14 -0
  35. package/dist/motely.d.ts +1 -4
  36. package/dist/motely.js +23 -154
  37. package/dist/motely.js.map +1 -1
  38. package/dist/render/CanvasRenderer.d.ts +2 -1
  39. package/dist/render/useJamlCardRenderer.d.ts +15 -0
  40. package/dist/ui/jimbo.css +1 -2
  41. package/dist/ui.d.ts +0 -40
  42. package/dist/ui.js +58 -3
  43. package/dist/ui.js.map +1 -0
  44. package/package.json +23 -68
  45. package/dist/assets/searchPoolWorker-BdrYmnig.js +0 -2
  46. package/dist/assets/searchPoolWorker-BdrYmnig.js.map +0 -1
  47. package/dist/chunks/jamlSeeds-CKHvpjhC.js +0 -66
  48. package/dist/chunks/jamlSeeds-CKHvpjhC.js.map +0 -1
  49. package/dist/chunks/runtime-Dx5VPTsV.js +0 -2031
  50. package/dist/chunks/runtime-Dx5VPTsV.js.map +0 -1
  51. package/dist/chunks/searchPoolWorker-CEK2FyxS.js +0 -11
  52. package/dist/chunks/searchPoolWorker-CEK2FyxS.js.map +0 -1
  53. package/dist/chunks/spriteMapper-C8uYedXB.js +0 -2455
  54. package/dist/chunks/spriteMapper-C8uYedXB.js.map +0 -1
  55. package/dist/chunks/ui-BK5rM4AS.js +0 -3479
  56. package/dist/chunks/ui-BK5rM4AS.js.map +0 -1
  57. package/dist/components/CardFan.d.ts +0 -13
  58. package/dist/components/JamlAestheticSelector.d.ts +0 -12
  59. package/dist/components/JamlCodeEditor.d.ts +0 -7
  60. package/dist/components/JamlIde.d.ts +0 -44
  61. package/dist/components/JamlIdeToolbar.d.ts +0 -14
  62. package/dist/components/JamlIdeVisual.d.ts +0 -32
  63. package/dist/components/JamlMapPreview.d.ts +0 -11
  64. package/dist/components/JamlSeedInput.d.ts +0 -24
  65. package/dist/components/JamlSeedSpinner.d.ts +0 -9
  66. package/dist/components/JamlSpeedometer.d.ts +0 -16
  67. package/dist/components/Jamlyzer.d.ts +0 -8
  68. package/dist/components/JimmolateEditor.d.ts +0 -47
  69. package/dist/components/MotelyHello.d.ts +0 -5
  70. package/dist/components/MotelyVersionBadge.d.ts +0 -28
  71. package/dist/components/PaginatedFilterBrowser.d.ts +0 -26
  72. package/dist/components/RunConfigModal.d.ts +0 -8
  73. package/dist/components/SeedFinderApp.d.ts +0 -7
  74. package/dist/components/jamlMap/CategoryPicker.d.ts +0 -32
  75. package/dist/components/jamlMap/JamlMapEditor.d.ts +0 -14
  76. package/dist/components/jamlMap/JokerPicker.d.ts +0 -8
  77. package/dist/components/jamlMap/MysterySlot.d.ts +0 -37
  78. package/dist/components/jamlMap/index.d.ts +0 -4
  79. package/dist/components/jamlMap/jokerRarity.d.ts +0 -6
  80. package/dist/components/jamlSeedUtils.d.ts +0 -1
  81. package/dist/hooks/searchPoolWorker.d.ts +0 -61
  82. package/dist/hooks/searchWorker.d.ts +0 -1
  83. package/dist/hooks/useAnalyzer.d.ts +0 -15
  84. package/dist/hooks/useIntersectionObserver.d.ts +0 -14
  85. package/dist/hooks/useJamlLibrary.d.ts +0 -13
  86. package/dist/hooks/useSearch.d.ts +0 -32
  87. package/dist/hooks/useSearchPool.d.ts +0 -43
  88. package/dist/hooks/useShopStream.d.ts +0 -22
  89. package/dist/lib/SpriteMapper.d.ts +0 -10
  90. package/dist/lib/cardParser.d.ts +0 -8
  91. package/dist/lib/classes/BuyMetaData.d.ts +0 -11
  92. package/dist/lib/config.d.ts +0 -13
  93. package/dist/lib/const.d.ts +0 -70
  94. package/dist/lib/data/constants.d.ts +0 -11
  95. package/dist/lib/hooks/useDragScroll.d.ts +0 -4
  96. package/dist/lib/hooks/useJamlFilter.d.ts +0 -48
  97. package/dist/lib/hooks/useSeedAnalyzer.d.ts +0 -17
  98. package/dist/lib/jaml/jamlCompletion.d.ts +0 -12
  99. package/dist/lib/jaml/jamlData.d.ts +0 -4
  100. package/dist/lib/jaml/jamlLangCodemirror.d.ts +0 -22
  101. package/dist/lib/jaml/jamlObjectives.d.ts +0 -13
  102. package/dist/lib/jaml/jamlParser.d.ts +0 -14
  103. package/dist/lib/jaml/jamlPresets.d.ts +0 -8
  104. package/dist/lib/jaml/jamlSchema.d.ts +0 -19
  105. package/dist/lib/jaml/jamlSeeds.d.ts +0 -7
  106. package/dist/lib/motely/runtime.d.ts +0 -13
  107. package/dist/lib/parseDailyRitual.d.ts +0 -45
  108. package/dist/lib/tts/getRevealPos.d.ts +0 -5
  109. package/dist/lib/tts/splitTtsDisplay.d.ts +0 -19
  110. package/dist/lib/types.d.ts +0 -122
  111. package/dist/motelyDisplay.d.ts +0 -10
  112. package/dist/r3f/Card3D.d.ts +0 -48
  113. package/dist/r3f/CardTable.d.ts +0 -35
  114. package/dist/r3f.d.ts +0 -2
  115. package/dist/r3f.js +0 -275
  116. package/dist/r3f.js.map +0 -1
  117. package/dist/ui/JimboBadge.d.ts +0 -12
  118. package/dist/ui/JimboBalatroFooter.d.ts +0 -16
  119. package/dist/ui/JimboCookLever.d.ts +0 -30
  120. package/dist/ui/JimboCopyButton.d.ts +0 -27
  121. package/dist/ui/JimboDeckAndStakeSelectorModal.d.ts +0 -30
  122. package/dist/ui/JimboDualChip.d.ts +0 -17
  123. package/dist/ui/JimboIconButton.d.ts +0 -15
  124. package/dist/ui/JimboInlineEdit.d.ts +0 -16
  125. package/dist/ui/JimboInputModal.d.ts +0 -13
  126. package/dist/ui/JimboListItem.d.ts +0 -11
  127. package/dist/ui/JimboPanelSpinner.d.ts +0 -15
  128. package/dist/ui/JimboPicker.d.ts +0 -28
  129. package/dist/ui/JimboSeedCopyChip.d.ts +0 -16
  130. package/dist/ui/JimboSelect.d.ts +0 -30
  131. package/dist/ui/JimboSlider.d.ts +0 -11
  132. package/dist/ui/JimboSpinner.d.ts +0 -18
  133. package/dist/ui/JimboStepper.d.ts +0 -22
  134. package/dist/ui/JimboTextInput.d.ts +0 -5
  135. package/dist/ui/JimboToggleList.d.ts +0 -12
  136. package/dist/ui/JimboValueBadge.d.ts +0 -19
  137. package/dist/ui/codeBlock.d.ts +0 -11
  138. package/dist/ui/hooks.d.ts +0 -126
  139. package/dist/ui/ide/JamlEditor.d.ts +0 -7
  140. package/dist/ui/jimboApp.d.ts +0 -9
  141. package/dist/ui/jimboBackground.d.ts +0 -17
  142. package/dist/ui/jimboCopyRow.d.ts +0 -9
  143. package/dist/ui/jimboFilterBar.d.ts +0 -22
  144. package/dist/ui/jimboFlankNav.d.ts +0 -17
  145. package/dist/ui/jimboInfoCard.d.ts +0 -31
  146. package/dist/ui/jimboInset.d.ts +0 -9
  147. package/dist/ui/jimboLayout.d.ts +0 -25
  148. package/dist/ui/jimboLink.d.ts +0 -12
  149. package/dist/ui/jimboSectionHeader.d.ts +0 -11
  150. package/dist/ui/jimboStatGrid.d.ts +0 -13
  151. package/dist/ui/jimboTabs.d.ts +0 -21
  152. package/dist/ui/jimboText.d.ts +0 -25
  153. package/dist/ui/jimboTooltip.d.ts +0 -33
  154. package/dist/ui/jimboWordmark.d.ts +0 -10
  155. package/dist/ui/mascot/JammySpeechBox.d.ts +0 -9
  156. package/dist/ui/mascot/SeedMascot.d.ts +0 -37
  157. package/dist/ui/mascot/index.d.ts +0 -3
  158. package/dist/ui/mascot/menuConfig.d.ts +0 -102
  159. package/dist/ui/panel.d.ts +0 -32
  160. package/dist/ui/radial/RadialBadge.d.ts +0 -16
  161. package/dist/ui/radial/RadialBreadcrumb.d.ts +0 -12
  162. package/dist/ui/radial/RadialButton.d.ts +0 -60
  163. package/dist/ui/radial/RadialMenu.d.ts +0 -38
  164. package/dist/ui/radial/RadialPill.d.ts +0 -17
  165. package/dist/ui/radial/index.d.ts +0 -16
  166. package/dist/ui/radial/radialMenuStore.d.ts +0 -31
  167. package/dist/ui/radial/radialMenuViewport.d.ts +0 -6
  168. package/dist/ui/radial/useRadialMenu.d.ts +0 -35
  169. package/dist/ui/sprites.d.ts +0 -25
  170. package/dist/utils/jamlMapPreview.d.ts +0 -12
  171. package/dist/utils/jamlVisualFilter.d.ts +0 -3
@@ -1,32 +0,0 @@
1
- import { default as React } from 'react';
2
- export interface JimboPanelProps extends React.HTMLAttributes<HTMLDivElement> {
3
- sway?: boolean;
4
- onBack?: () => void;
5
- hideBack?: boolean;
6
- }
7
- export declare const JimboPanel: React.MemoExoticComponent<({ children, className, sway, onBack, hideBack, style, ...props }: JimboPanelProps) => import("react/jsx-runtime").JSX.Element>;
8
- export type JimboInnerPanelProps = React.HTMLAttributes<HTMLDivElement>;
9
- export declare const JimboInnerPanel: React.MemoExoticComponent<({ children, className, style, ...props }: JimboInnerPanelProps) => import("react/jsx-runtime").JSX.Element>;
10
- export type JimboTone = 'orange' | 'red' | 'blue' | 'green' | 'tarot' | 'planet' | 'spectral' | 'grey';
11
- export interface JimboButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'onClick'> {
12
- tone?: JimboTone;
13
- size?: 'xs' | 'sm' | 'md' | 'lg';
14
- fullWidth?: boolean;
15
- disabled?: boolean;
16
- onClick?: () => void;
17
- children?: React.ReactNode;
18
- }
19
- export declare function JimboButton({ tone, size, fullWidth, disabled, onClick, style, className, children, ...buttonProps }: JimboButtonProps): import("react/jsx-runtime").JSX.Element;
20
- export declare function JimboBackButton({ onClick, size }: {
21
- onClick?: () => void;
22
- size?: 'sm' | 'md' | 'lg';
23
- }): import("react/jsx-runtime").JSX.Element;
24
- export interface JimboModalProps {
25
- children: React.ReactNode;
26
- open: boolean;
27
- onClose: () => void;
28
- title?: string;
29
- className?: string;
30
- showBack?: boolean;
31
- }
32
- export declare function JimboModal({ children, open, onClose, title, className, showBack }: JimboModalProps): import("react/jsx-runtime").JSX.Element | null;
@@ -1,16 +0,0 @@
1
- import { RadialButtonColor } from './RadialButton.js';
2
- export type RadialBadgeState = "loading" | "success" | "error" | "info" | "warning";
3
- export interface RadialBadgeProps {
4
- label: string;
5
- state: RadialBadgeState;
6
- color?: RadialButtonColor;
7
- tooltip?: string;
8
- className?: string;
9
- }
10
- /**
11
- * Display-only radial status indicator.
12
- *
13
- * Visually matches RadialButton but rendered as a `<div>` with no click handler.
14
- * Shows a status dot (green/red/grey) + label text.
15
- */
16
- export declare function RadialBadge({ label, state, color, tooltip, className }: RadialBadgeProps): import("react/jsx-runtime").JSX.Element;
@@ -1,12 +0,0 @@
1
- export interface RadialBreadcrumbProps {
2
- label: string;
3
- title?: string;
4
- className?: string;
5
- }
6
- /**
7
- * Breadcrumb nav pill — "currently viewing" indicator.
8
- *
9
- * Sits above the Back button to show the user's position in the menu tree.
10
- * Non-interactive, dark styling, same pill family as orbital buttons.
11
- */
12
- export declare function RadialBreadcrumb({ label, title, className }: RadialBreadcrumbProps): import("react/jsx-runtime").JSX.Element;
@@ -1,60 +0,0 @@
1
- import { default as React } from 'react';
2
- export type RadialButtonColor = "orange" | "purple" | "red" | "green" | "blue" | "seed-zero" | "seed-low" | "seed-top";
3
- interface ButtonTheme {
4
- bg: string;
5
- shadow: string;
6
- text: string;
7
- }
8
- declare const BUTTON_THEMES: Record<RadialButtonColor, ButtonTheme>;
9
- export interface RadialButtonActionProps {
10
- variant?: "action";
11
- label: string;
12
- color?: RadialButtonColor;
13
- tooltip?: string;
14
- onClick?: (e: React.MouseEvent) => void;
15
- className?: string;
16
- style?: React.CSSProperties;
17
- }
18
- export interface RadialButtonToggleProps {
19
- variant: "toggle";
20
- label: string;
21
- active: boolean;
22
- color?: RadialButtonColor;
23
- tooltip?: string;
24
- onClick?: (e: React.MouseEvent) => void;
25
- className?: string;
26
- disabled?: boolean;
27
- style?: React.CSSProperties;
28
- }
29
- export interface RadialButtonCountProps {
30
- variant: "count";
31
- label: string;
32
- count: number;
33
- icon?: string;
34
- color?: RadialButtonColor;
35
- tooltip?: string;
36
- onClick?: (e: React.MouseEvent) => void;
37
- className?: string;
38
- style?: React.CSSProperties;
39
- }
40
- export interface RadialButtonBackProps {
41
- variant: "back" | "start";
42
- label: string;
43
- color?: RadialButtonColor;
44
- tooltip?: string;
45
- onClick?: (e: React.MouseEvent) => void;
46
- className?: string;
47
- style?: React.CSSProperties;
48
- }
49
- export type RadialButtonProps = RadialButtonActionProps | RadialButtonToggleProps | RadialButtonCountProps | RadialButtonBackProps;
50
- /**
51
- * Polymorphic radial navigation button.
52
- *
53
- * Replaces four separate components (Button, CountIndicator, Toggle, Back/Start)
54
- * with a single component using a `variant` prop.
55
- *
56
- * All variants share the Balatro-styled pill: 3D bottom-edge shadow, press-down on active.
57
- */
58
- export declare function RadialButton(props: RadialButtonProps): import("react/jsx-runtime").JSX.Element;
59
- export { BUTTON_THEMES };
60
- export type { ButtonTheme };
@@ -1,38 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { MenuItem } from '../mascot/menuConfig.js';
3
- export interface RadialMenuProps {
4
- /** Menu items to display. The item flagged _south is always pinned at the bottom. */
5
- items: MenuItem[];
6
- /** When true, pills animate out to center. */
7
- showClosing: boolean;
8
- /** Jammy hit target / image size (px) — used so pills clear the seed graphic. */
9
- mascotSizePx: number;
10
- /** Horizontal radius for the orbit (px). */
11
- orbitRadiusX: number;
12
- /** Vertical radius (typically same or slightly larger than horizontal). */
13
- orbitRadiusY: number;
14
- /** Vertical translation for keyboard dodge (px). */
15
- mascotTranslateY: number;
16
- /** Current menu name — used for stable React keys. */
17
- currentMenu: string;
18
- /** Callback when a menu item is clicked. */
19
- onItemClick: (item: MenuItem) => void;
20
- /** Callback for the Back button. */
21
- onBack: () => void;
22
- /** Optional breadcrumb rendered above the Back button position. */
23
- breadcrumb?: ReactNode;
24
- /** Show dedicated page controls near the south back/start button. */
25
- showPageControls?: boolean;
26
- /** Go to previous orbital menu page. */
27
- onPagePrev?: () => void;
28
- /** Go to next orbital menu page. */
29
- onPageNext?: () => void;
30
- }
31
- /**
32
- * Orbital radial menu layout engine.
33
- *
34
- * South (`_south`) stays pinned under the mascot. Everyone else sits on an ellipse
35
- * at equal angle steps, with a single radial push if a pill would overlap the
36
- * center — no iterative “solver” (that was causing mushy, uneven layouts).
37
- */
38
- export declare function RadialMenu({ items, showClosing, mascotSizePx, orbitRadiusX, orbitRadiusY, mascotTranslateY, currentMenu, onItemClick, onBack, breadcrumb, showPageControls, onPagePrev, onPageNext, }: RadialMenuProps): import("react/jsx-runtime").JSX.Element | null;
@@ -1,17 +0,0 @@
1
- import { default as React } from 'react';
2
- export interface RadialPillProps {
3
- /** Horizontal offset from center (px). */
4
- x: number;
5
- /** Vertical offset from center (px). */
6
- y: number;
7
- /** When true, pill collapses to center (exit animation). */
8
- hiding: boolean;
9
- children: React.ReactNode;
10
- }
11
- /**
12
- * Absolutely-positioned wrapper for a radial menu item.
13
- *
14
- * Uses CSS custom properties + a shared `@starting-style` rule
15
- * instead of injecting per-instance `<style>` tags.
16
- */
17
- export declare function RadialPill({ x, y, hiding, children }: RadialPillProps): import("react/jsx-runtime").JSX.Element;
@@ -1,16 +0,0 @@
1
- export { RadialMenu } from './RadialMenu.js';
2
- export type { RadialMenuProps } from './RadialMenu.js';
3
- export { RadialPill } from './RadialPill.js';
4
- export type { RadialPillProps } from './RadialPill.js';
5
- export { RadialButton } from './RadialButton.js';
6
- export type { RadialButtonProps, RadialButtonColor, RadialButtonActionProps, RadialButtonToggleProps, RadialButtonCountProps, RadialButtonBackProps, } from './RadialButton.js';
7
- export { RadialBadge } from './RadialBadge.js';
8
- export type { RadialBadgeProps, RadialBadgeState } from './RadialBadge.js';
9
- export { RadialBreadcrumb } from './RadialBreadcrumb.js';
10
- export type { RadialBreadcrumbProps } from './RadialBreadcrumb.js';
11
- export { useRadialMenu } from './useRadialMenu.js';
12
- export type { UseRadialMenuProps, RadialMenuState } from './useRadialMenu.js';
13
- export { RadialButton as JimboRadialNavigationButton } from './RadialButton.js';
14
- export { RadialBadge as JimboRadialNavigationBadge } from './RadialBadge.js';
15
- export { RadialBreadcrumb as BreadcrumNavPill } from './RadialBreadcrumb.js';
16
- export { RadialPill as JimboOrbitalPill } from './RadialPill.js';
@@ -1,31 +0,0 @@
1
- /** Clears pending close/navigate animation timeout (e.g. unmount). */
2
- export declare function clearRadialMenuTimers(): void;
3
- /** Full reset when `SeedMascot` unmounts — Zustand survives the component; hook `useState` did not. */
4
- export declare function resetRadialMenuState(): void;
5
- export interface RadialMenuNav {
6
- stack: string[];
7
- page: number;
8
- }
9
- interface RadialMenuSlice {
10
- nav: RadialMenuNav;
11
- breadcrumbStack: string[];
12
- isClosing: boolean;
13
- announcementPrimedForDismiss: boolean;
14
- prevMaxScore: number;
15
- prevResultCount: number;
16
- }
17
- export interface RadialMenuStore extends RadialMenuSlice {
18
- open: (isWelcome: boolean) => void;
19
- close: () => void;
20
- back: () => void;
21
- navigateTo: (submenuLabel: string) => void;
22
- nextPage: (totalPages: number) => void;
23
- prevPage: (totalPages: number) => void;
24
- setAnnouncementPrimedForDismiss: (v: boolean) => void;
25
- resetAnnouncementPrimed: () => void;
26
- updateSeedResults: (seedResults: Array<{
27
- score: number;
28
- }>) => void;
29
- }
30
- export declare const useRadialMenuStore: import('zustand').UseBoundStore<import('zustand').StoreApi<RadialMenuStore>>;
31
- export {};
@@ -1,6 +0,0 @@
1
- export interface RadialViewportSnapshot {
2
- baseRadius: number;
3
- keyboardHeight: number;
4
- }
5
- /** Keyboard dodge + narrow-orbit radius — `useSyncExternalStore` (stable snapshot identity). */
6
- export declare function useRadialViewportGeometry(): RadialViewportSnapshot;
@@ -1,35 +0,0 @@
1
- export interface UseRadialMenuProps {
2
- isWelcome: boolean;
3
- announcementActive: boolean;
4
- isTalking: boolean;
5
- seedResults: {
6
- seed: string;
7
- score: number;
8
- }[];
9
- onDismissAnnouncement: () => void;
10
- }
11
- export interface RadialMenuState {
12
- menuStack: string[];
13
- breadcrumbStack: string[];
14
- currentMenu: string;
15
- isClosing: boolean;
16
- showMenu: boolean;
17
- showClosing: boolean;
18
- showBack: boolean;
19
- menuPage: number;
20
- baseRadius: number;
21
- keyboardHeight: number;
22
- mascotTranslateY: number;
23
- open: () => void;
24
- close: () => void;
25
- back: () => void;
26
- navigateTo: (submenuLabel: string) => void;
27
- nextPage: (totalPages: number) => void;
28
- prevPage: (totalPages: number) => void;
29
- handleTap: () => void;
30
- }
31
- /**
32
- * Radial menu: **Zustand** (`useRadialMenuStore`) for stack / pagination / animations;
33
- * **useSyncExternalStore** (`useRadialViewportGeometry`) for keyboard + narrow-width radius.
34
- */
35
- export declare function useRadialMenu({ isWelcome, announcementActive, isTalking, seedResults, onDismissAnnouncement, }: UseRadialMenuProps): RadialMenuState;
@@ -1,25 +0,0 @@
1
- import { default as React } from 'react';
2
- import { SpriteSheetType } from '../sprites/spriteMapper.js';
3
- export interface JimboSpriteProps {
4
- name: string;
5
- sheet?: SpriteSheetType;
6
- width?: number;
7
- height?: number;
8
- style?: React.CSSProperties;
9
- className?: string;
10
- }
11
- export declare function JimboSprite({ name, sheet, width, height, style, className }: JimboSpriteProps): import("react/jsx-runtime").JSX.Element | null;
12
- export interface StakeSpriteProps {
13
- stake: string;
14
- width?: number;
15
- height?: number;
16
- style?: React.CSSProperties;
17
- }
18
- export declare function StakeSprite({ stake, width, height, style }: StakeSpriteProps): import("react/jsx-runtime").JSX.Element;
19
- export interface DeckSpriteProps {
20
- deck: string;
21
- width?: number;
22
- height?: number;
23
- style?: React.CSSProperties;
24
- }
25
- export declare function DeckSprite({ deck, width, height, style }: DeckSpriteProps): import("react/jsx-runtime").JSX.Element;
@@ -1,12 +0,0 @@
1
- export type JamlPreviewSection = "must" | "should" | "mustNot";
2
- export type JamlPreviewVisualType = "joker" | "consumable" | "voucher" | "tag" | "boss";
3
- export interface JamlPreviewItem {
4
- id: string;
5
- section: JamlPreviewSection;
6
- clauseKey: string;
7
- visualType: JamlPreviewVisualType;
8
- value: string;
9
- source: string;
10
- }
11
- export type JamlPreviewGroups = Record<JamlPreviewSection, JamlPreviewItem[]>;
12
- export declare function extractVisualJamlItems(jaml: string): JamlPreviewGroups;
@@ -1,3 +0,0 @@
1
- import { JamlVisualFilter } from '../components/JamlIdeVisual.js';
2
- export declare function jamlTextToVisualFilter(text: string): JamlVisualFilter;
3
- export declare function visualFilterToJamlText(filter: JamlVisualFilter): string;