jaml-ui 0.24.16 → 0.24.19

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 (54) hide show
  1. package/dist/components/DeckSprite.js +2 -0
  2. package/dist/components/GameCard.js +1 -0
  3. package/dist/components/JamlAestheticSelector.js +3 -2
  4. package/dist/components/JamlCurator.js +3 -2
  5. package/dist/components/JamlIde.d.ts +4 -3
  6. package/dist/components/JamlIde.js +3 -31
  7. package/dist/components/JamlIdeToolbar.d.ts +1 -1
  8. package/dist/components/JamlIdeToolbar.js +5 -5
  9. package/dist/components/JamlMapPreview.js +3 -37
  10. package/dist/components/Jimbolate.d.ts +7 -0
  11. package/dist/components/Jimbolate.js +17 -0
  12. package/dist/components/PaginatedFilterBrowser.d.ts +23 -0
  13. package/dist/components/PaginatedFilterBrowser.js +54 -0
  14. package/dist/components/RunConfigModal.js +11 -150
  15. package/dist/components/jamlMap/CategoryPicker.d.ts +1 -2
  16. package/dist/components/jamlMap/CategoryPicker.js +2 -1
  17. package/dist/components/jamlMap/JamlMapEditor.js +8 -10
  18. package/dist/components/jamlMap/JokerPicker.d.ts +1 -2
  19. package/dist/components/jamlMap/JokerPicker.js +3 -7
  20. package/dist/components/jamlMap/MysterySlot.js +0 -15
  21. package/dist/hooks/searchWorker.d.ts +1 -29
  22. package/dist/hooks/searchWorker.js +8 -6
  23. package/dist/hooks/useIntersectionObserver.js +5 -3
  24. package/dist/hooks/useSearch.js +5 -1
  25. package/dist/hooks/useShopStream.js +5 -2
  26. package/dist/index.d.ts +2 -1
  27. package/dist/index.js +2 -1
  28. package/dist/lib/cardParser.d.ts +1 -1
  29. package/dist/lib/cardParser.js +19 -17
  30. package/dist/lib/classes/BuyMetaData.d.ts +2 -2
  31. package/dist/lib/const.d.ts +22 -13
  32. package/dist/lib/data/constants.js +10 -9
  33. package/dist/lib/hooks/useJamlFilter.js +5 -5
  34. package/dist/lib/hooks/useSeedAnalyzer.js +7 -1
  35. package/dist/lib/jaml/jamlSchema.d.ts +18 -3
  36. package/dist/lib/jaml/jamlSchema.js +2 -2
  37. package/dist/lib/parseDailyRitual.d.ts +1 -1
  38. package/dist/lib/parseDailyRitual.js +2 -1
  39. package/dist/r3f/Card3D.js +2 -0
  40. package/dist/r3f/JimboBillboard.d.ts +1 -1
  41. package/dist/r3f/JimboBillboard.js +5 -2
  42. package/dist/ui/JimboInputModal.js +8 -2
  43. package/dist/ui/PanelSplitter.js +4 -2
  44. package/dist/ui/hooks.js +14 -5
  45. package/dist/ui/ide/JamlEditor.js +53 -63
  46. package/dist/ui/jimbo.css +70 -16
  47. package/dist/ui/jimboTooltip.js +12 -6
  48. package/dist/ui/panel.d.ts +1 -2
  49. package/dist/ui/panel.js +2 -2
  50. package/dist/ui/radial/RadialButton.js +1 -1
  51. package/dist/ui/showcase.js +1 -1
  52. package/dist/utils/jamlMapPreview.js +2 -1
  53. package/dist/utils/jamlVisualFilter.js +3 -2
  54. package/package.json +21 -16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jaml-ui",
3
- "version": "0.24.16",
3
+ "version": "0.24.19",
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",
@@ -37,8 +37,7 @@
37
37
  "default": "./dist/r3f.js"
38
38
  },
39
39
  "./jimbo.css": "./dist/ui/jimbo.css",
40
- "./fonts.css": "./fonts.css",
41
- "./jaml.schema.json": "./jaml.schema.json"
40
+ "./fonts.css": "./fonts.css"
42
41
  },
43
42
  "sideEffects": [
44
43
  "./fonts.css",
@@ -57,16 +56,6 @@
57
56
  "DESIGN.md",
58
57
  "LICENSE"
59
58
  ],
60
- "scripts": {
61
- "build": "tsc --pretty false && node -e \"const fs=require('fs');fs.mkdirSync('dist/ui',{recursive:true});fs.copyFileSync('src/ui/jimbo.css','dist/ui/jimbo.css');fs.copyFileSync('node_modules/motely-wasm/jaml.schema.json','jaml.schema.json');\"",
62
- "dev": "tsc --watch",
63
- "demo": "vite --config demo/vite.config.ts",
64
- "typecheck": "tsc --noEmit --pretty false",
65
- "prepack": "npm run build",
66
- "storybook": "storybook dev -p 6006",
67
- "build-storybook": "storybook build",
68
- "lint": "eslint ."
69
- },
70
59
  "engines": {
71
60
  "node": ">=18"
72
61
  },
@@ -96,7 +85,7 @@
96
85
  "@react-spring/three": ">=9.0.0",
97
86
  "@react-three/drei": ">=9.0.0",
98
87
  "@react-three/fiber": ">=8.0.0",
99
- "motely-wasm": "^15.1.2",
88
+ "motely-wasm": "^15.1.3",
100
89
  "react": "^18.2.0 || ^19.0.0",
101
90
  "react-dom": "^18.2.0 || ^19.0.0",
102
91
  "react-icons": ">=5.0.0",
@@ -124,6 +113,7 @@
124
113
  },
125
114
  "devDependencies": {
126
115
  "@chromatic-com/storybook": "^5.1.2",
116
+ "@eslint/js": "^10.0.1",
127
117
  "@google/design.md": "^0.1.1",
128
118
  "@react-spring/three": "^10.0.3",
129
119
  "@react-three/drei": ">=9.0.0",
@@ -140,7 +130,11 @@
140
130
  "@vitejs/plugin-react": "^5.0.4",
141
131
  "@vitest/browser-playwright": "^4.1.5",
142
132
  "@vitest/coverage-v8": "^4.1.5",
143
- "motely-wasm": "^15.1.2",
133
+ "eslint": "^10.3.0",
134
+ "eslint-plugin-react-hooks": "^7.1.1",
135
+ "eslint-plugin-react-refresh": "^0.5.2",
136
+ "globals": "^17.6.0",
137
+ "motely-wasm": "^15.1.3",
144
138
  "playwright": "^1.59.1",
145
139
  "react": "^19.2.4",
146
140
  "react-dom": "^19.2.4",
@@ -148,10 +142,12 @@
148
142
  "storybook": "^10.3.6",
149
143
  "three": "^0.184.0",
150
144
  "typescript": "^5.9.3",
145
+ "typescript-eslint": "^8.59.2",
151
146
  "vite": "^8.0.9",
152
147
  "vitest": "^4.1.5"
153
148
  },
154
149
  "dependencies": {
150
+ "@codemirror/autocomplete": "^6.20.1",
155
151
  "@codemirror/commands": "^6.10.3",
156
152
  "@codemirror/lang-yaml": "^6.1.3",
157
153
  "@codemirror/language": "^6.12.3",
@@ -165,5 +161,14 @@
165
161
  "lucide-react": "^1.14.0",
166
162
  "tailwind-merge": "^2.6.1",
167
163
  "zustand": "^5.0.0"
164
+ },
165
+ "scripts": {
166
+ "build": "tsc --pretty false && node -e \"const fs=require('fs');fs.mkdirSync('dist/ui',{recursive:true});fs.copyFileSync('src/ui/jimbo.css','dist/ui/jimbo.css');\"",
167
+ "dev": "tsc --watch",
168
+ "demo": "vite --config demo/vite.config.ts",
169
+ "typecheck": "tsc --noEmit --pretty false",
170
+ "storybook": "storybook dev -p 6006",
171
+ "build-storybook": "storybook build",
172
+ "lint": "eslint ."
168
173
  }
169
- }
174
+ }