jaml-ui 0.32.1 → 1.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.
Files changed (37) hide show
  1. package/dist/assets/searchPoolWorker-DWobBIhl.js +40 -0
  2. package/dist/assets/searchPoolWorker-DWobBIhl.js.map +1 -0
  3. package/dist/chunks/motelyItemFormats-CNrFzcCI.js +1836 -0
  4. package/dist/chunks/motelyItemFormats-CNrFzcCI.js.map +1 -0
  5. package/dist/chunks/{searchPoolWorker-Dqhc9lfv.js → searchPoolWorker-tBaSbLZu.js} +2 -2
  6. package/dist/chunks/searchPoolWorker-tBaSbLZu.js.map +1 -0
  7. package/dist/chunks/{ui-UqEG1EZ9.js → ui-Dn8IIoV3.js} +809 -967
  8. package/dist/chunks/ui-Dn8IIoV3.js.map +1 -0
  9. package/dist/components/JamlAestheticSelector.d.ts +1 -1
  10. package/dist/components/SeedFinderApp.d.ts +7 -0
  11. package/dist/components/jamlMap/JokerPicker.d.ts +1 -1
  12. package/dist/components/jamlMap/MysterySlot.d.ts +1 -1
  13. package/dist/decode/motelyItemDecoder.d.ts +6 -0
  14. package/dist/hooks/searchPoolWorker.d.ts +1 -0
  15. package/dist/hooks/useAnalyzer.d.ts +2 -2
  16. package/dist/hooks/useSearch.d.ts +3 -3
  17. package/dist/hooks/useSearchPool.d.ts +2 -1
  18. package/dist/index.d.ts +2 -1
  19. package/dist/index.js +3677 -3366
  20. package/dist/index.js.map +1 -1
  21. package/dist/lib/hooks/useSeedAnalyzer.d.ts +1 -1
  22. package/dist/lib/types.d.ts +1 -1
  23. package/dist/motely.js +152 -1960
  24. package/dist/motely.js.map +1 -1
  25. package/dist/r3f.js +15 -15
  26. package/dist/ui/jimbo.css +1 -1
  27. package/dist/ui/panel.d.ts +14 -1
  28. package/dist/ui.d.ts +0 -1
  29. package/dist/ui.js +2 -2
  30. package/package.json +4 -4
  31. package/dist/assets/searchPoolWorker-6mF4VfgO.js +0 -40
  32. package/dist/assets/searchPoolWorker-6mF4VfgO.js.map +0 -1
  33. package/dist/chunks/runtime-Bklr4A-D.js +0 -10
  34. package/dist/chunks/runtime-Bklr4A-D.js.map +0 -1
  35. package/dist/chunks/searchPoolWorker-Dqhc9lfv.js.map +0 -1
  36. package/dist/chunks/ui-UqEG1EZ9.js.map +0 -1
  37. package/dist/ui/JimboButton.d.ts +0 -62
@@ -1,62 +0,0 @@
1
- export type JimboTone = 'orange' | 'red' | 'blue' | 'green' | 'tarot' | 'planet' | 'spectral' | 'grey';
2
- declare const SIZE_TO_DIMS: {
3
- readonly xs: {
4
- readonly w: 1.4;
5
- readonly h: 0.42;
6
- readonly depth: 0.12;
7
- readonly fontSize: 0.22;
8
- };
9
- readonly sm: {
10
- readonly w: 1.8;
11
- readonly h: 0.52;
12
- readonly depth: 0.14;
13
- readonly fontSize: 0.26;
14
- };
15
- readonly md: {
16
- readonly w: 2.4;
17
- readonly h: 0.66;
18
- readonly depth: 0.16;
19
- readonly fontSize: 0.3;
20
- };
21
- readonly lg: {
22
- readonly w: 3;
23
- readonly h: 0.82;
24
- readonly depth: 0.18;
25
- readonly fontSize: 0.36;
26
- };
27
- };
28
- export type JimboButtonSize = keyof typeof SIZE_TO_DIMS;
29
- export interface JimboButtonProps {
30
- tone?: JimboTone;
31
- size?: JimboButtonSize;
32
- disabled?: boolean;
33
- fullWidth?: boolean;
34
- onClick?: () => void;
35
- /** Button label. Non-string children are coerced via `String()`. For
36
- * buttons that need icons + multi-line text, use a different primitive
37
- * (e.g. JimboInfoCard with an onClick), not JimboButton. */
38
- children: React.ReactNode;
39
- /** Outer wrapper width in pixels. Default sized to the button. */
40
- canvasWidth?: number;
41
- /** Outer wrapper height in pixels. Default sized to the button. */
42
- canvasHeight?: number;
43
- /** Inline style applied to the outer wrapper div (not the 3D mesh). */
44
- style?: React.CSSProperties;
45
- className?: string;
46
- }
47
- /**
48
- * The Jimbo button. R3F-native: each button is its own Canvas with
49
- * @react-spring/three driving hover lift + click press, magnetic tilt on
50
- * pointer move, and sub-pixel idle sway at rest. There is no DOM fallback —
51
- * R3F is the only implementation.
52
- */
53
- export declare const JimboButton: import('react').NamedExoticComponent<JimboButtonProps>;
54
- /**
55
- * Canonical "back" button. Orange, full-width, label "Back". Used by
56
- * `JimboPanel` and `JimboModal` when `onBack` / `showBack` is set.
57
- */
58
- export declare function JimboBackButton({ onClick, size }: {
59
- onClick?: () => void;
60
- size?: JimboButtonSize;
61
- }): import("react/jsx-runtime").JSX.Element;
62
- export {};