jaml-ui 0.8.0 → 0.10.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 (63) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +135 -135
  3. package/dist/assets.js +1 -1
  4. package/dist/components/CardFan.d.ts +22 -0
  5. package/dist/components/CardFan.js +80 -0
  6. package/dist/components/DeckSprite.d.ts +26 -0
  7. package/dist/components/DeckSprite.js +73 -0
  8. package/dist/components/JamlCodeEditor.d.ts +7 -0
  9. package/dist/components/JamlCodeEditor.js +58 -0
  10. package/dist/components/JamlIde.js +2 -14
  11. package/dist/components/JamlIdeVisual.js +4 -4
  12. package/dist/components/MotelyVersionBadge.d.ts +30 -0
  13. package/dist/components/MotelyVersionBadge.js +31 -0
  14. package/dist/hooks/searchWorkerCode.js +59 -59
  15. package/dist/index.d.ts +11 -0
  16. package/dist/index.js +11 -0
  17. package/dist/ui/footer.js +5 -5
  18. package/dist/ui/jimboBackground.d.ts +14 -0
  19. package/dist/ui/jimboBackground.js +155 -0
  20. package/dist/ui/jimboFilterBar.d.ts +25 -0
  21. package/dist/ui/jimboFilterBar.js +77 -0
  22. package/dist/ui/jimboFlankNav.d.ts +18 -0
  23. package/dist/ui/jimboFlankNav.js +43 -0
  24. package/dist/ui/jimboTabs.d.ts +25 -0
  25. package/dist/ui/jimboTabs.js +59 -0
  26. package/dist/ui/jimboText.d.ts +26 -0
  27. package/dist/ui/jimboText.js +45 -0
  28. package/dist/ui/jimboTooltip.d.ts +35 -0
  29. package/dist/ui/jimboTooltip.js +109 -0
  30. package/dist/ui/panel.js +4 -6
  31. package/dist/ui/tokens.d.ts +2 -1
  32. package/dist/ui/tokens.js +2 -0
  33. package/dist/ui.d.ts +6 -0
  34. package/dist/ui.js +6 -0
  35. package/fonts.css +5 -0
  36. package/package.json +14 -3
  37. package/dist/data/balatro-jokers.json +0 -1241
  38. package/dist/r3f/BalatroJokerMesh3D.d.ts +0 -8
  39. package/dist/r3f/BalatroJokerMesh3D.js +0 -98
  40. package/dist/r3f/BalatroJokerPreview3D.d.ts +0 -14
  41. package/dist/r3f/BalatroJokerPreview3D.js +0 -30
  42. package/dist/r3f/BalatroPlayingCard3D.d.ts +0 -22
  43. package/dist/r3f/BalatroPlayingCard3D.js +0 -62
  44. package/dist/r3f/cardConstants.d.ts +0 -16
  45. package/dist/r3f/cardConstants.js +0 -14
  46. package/dist/r3f/compositedAtlas.d.ts +0 -5
  47. package/dist/r3f/compositedAtlas.js +0 -56
  48. package/dist/r3f/gridUV.d.ts +0 -22
  49. package/dist/r3f/gridUV.js +0 -30
  50. package/dist/r3f/index.d.ts +0 -12
  51. package/dist/r3f/index.js +0 -13
  52. package/dist/r3f/jokerRegistry.d.ts +0 -28
  53. package/dist/r3f/jokerRegistry.js +0 -40
  54. package/dist/r3f/jokerTilt.d.ts +0 -8
  55. package/dist/r3f/jokerTilt.js +0 -41
  56. package/dist/r3f/magneticTilt.d.ts +0 -18
  57. package/dist/r3f/magneticTilt.js +0 -34
  58. package/dist/r3f/playingCardTypes.d.ts +0 -24
  59. package/dist/r3f/playingCardTypes.js +0 -32
  60. package/dist/r3f/playingCardVisuals.d.ts +0 -7
  61. package/dist/r3f/playingCardVisuals.js +0 -45
  62. package/dist/r3f/usePlayingCardTexture.d.ts +0 -7
  63. package/dist/r3f/usePlayingCardTexture.js +0 -92
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jaml-ui",
3
- "version": "0.8.0",
3
+ "version": "0.10.0",
4
4
  "description": "Balatro rendering components, sprite metadata, and optional Motely helpers for React apps.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -26,17 +26,22 @@
26
26
  "types": "./dist/r3f.d.ts",
27
27
  "import": "./dist/r3f.js"
28
28
  },
29
+ "./fonts.css": "./fonts.css",
29
30
  "./package.json": "./package.json"
30
31
  },
31
- "sideEffects": false,
32
+ "sideEffects": [
33
+ "./fonts.css"
34
+ ],
32
35
  "files": [
33
36
  "dist",
37
+ "fonts.css",
34
38
  "README.md",
35
39
  "LICENSE"
36
40
  ],
37
41
  "scripts": {
38
42
  "build": "tsc --pretty false",
39
43
  "dev": "tsc --watch",
44
+ "demo": "vite --config demo/vite.config.ts",
40
45
  "typecheck": "tsc --noEmit --pretty false",
41
46
  "prepack": "npm run build"
42
47
  },
@@ -66,8 +71,10 @@
66
71
  "author": "pifreak",
67
72
  "license": "MIT",
68
73
  "peerDependencies": {
74
+ "@monaco-editor/react": ">=4.0.0",
69
75
  "@react-spring/three": ">=9.0.0",
70
76
  "@react-three/fiber": ">=8.0.0",
77
+ "monaco-editor": ">=0.50.0",
71
78
  "motely-wasm": "^10.2.0 || ^11.0.0 || ^12.0.0",
72
79
  "react": "^18.2.0 || ^19.0.0",
73
80
  "react-dom": "^18.2.0 || ^19.0.0",
@@ -92,16 +99,20 @@
92
99
  }
93
100
  },
94
101
  "devDependencies": {
102
+ "@monaco-editor/react": "^4.7.0",
95
103
  "@react-spring/three": "^10.0.3",
96
104
  "@react-three/fiber": "^9.6.0",
97
105
  "@types/react": "^19.2.14",
98
106
  "@types/react-dom": "^19.2.3",
99
107
  "@types/three": "^0.184.0",
108
+ "@vitejs/plugin-react": "^5.0.4",
109
+ "monaco-editor": "^0.55.1",
100
110
  "motely-wasm": "^12.0.0",
101
111
  "react": "^19.2.4",
102
112
  "react-dom": "^19.2.4",
103
113
  "react-icons": "^5.6.0",
104
114
  "three": "^0.184.0",
105
- "typescript": "^5.9.3"
115
+ "typescript": "^5.9.3",
116
+ "vite": "^8.0.9"
106
117
  }
107
118
  }