jaml-ui 0.10.1 → 0.11.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 (150) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +135 -135
  3. package/assets/8BitDeck.png +0 -0
  4. package/assets/Balatro Seed Curator (DesignsV2)/.design-canvas.state.json +1 -0
  5. package/assets/Balatro Seed Curator (DesignsV2)/Assets/BlindChips.png +0 -0
  6. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Boosters/Boosters.json +303 -0
  7. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Boosters/boosters.png +0 -0
  8. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Boosters.png +0 -0
  9. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Bosses/BlindChips.png +0 -0
  10. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Bosses/blinds_metadata.json +51 -0
  11. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Decks/8BitDeck.png +0 -0
  12. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Decks/Enhancers.png +0 -0
  13. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Decks/balatro-stake-chips.png +0 -0
  14. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Decks/enhancers_metadata.json +52 -0
  15. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Decks/playing_cards_metadata.json +74 -0
  16. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Decks/stakes.json +19 -0
  17. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Editions.png +0 -0
  18. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Enhancers.png +0 -0
  19. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Jokers/Editions.png +0 -0
  20. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Jokers/Jokers.png +0 -0
  21. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Jokers/jokers.json +1087 -0
  22. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Jokers/stickers.png +0 -0
  23. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Jokers/stickers_metadata.json +25 -0
  24. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Jokers.png +0 -0
  25. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Tags/tags.json +191 -0
  26. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Tags/tags.png +0 -0
  27. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Tarots/Tarots.png +0 -0
  28. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Tarots/planets.json +15 -0
  29. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Tarots/spectrals.json +21 -0
  30. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Tarots/tarots.json +163 -0
  31. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Tarots.png +0 -0
  32. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Vouchers/Vouchers.png +0 -0
  33. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Vouchers/vouchers.json +130 -0
  34. package/assets/Balatro Seed Curator (DesignsV2)/Assets/Vouchers.png +0 -0
  35. package/assets/Balatro Seed Curator (DesignsV2)/Assets/blinds.json +51 -0
  36. package/assets/Balatro Seed Curator (DesignsV2)/Assets/boosters.json +303 -0
  37. package/assets/Balatro Seed Curator (DesignsV2)/Assets/fonts/m6x11plusplus.otf +0 -0
  38. package/assets/Balatro Seed Curator (DesignsV2)/Assets/jokers.json +1087 -0
  39. package/assets/Balatro Seed Curator (DesignsV2)/Assets/planets.json +15 -0
  40. package/assets/Balatro Seed Curator (DesignsV2)/Assets/spectrals.json +21 -0
  41. package/assets/Balatro Seed Curator (DesignsV2)/Assets/stakes.png +0 -0
  42. package/assets/Balatro Seed Curator (DesignsV2)/Assets/stickers.png +0 -0
  43. package/assets/Balatro Seed Curator (DesignsV2)/Assets/tags.json +191 -0
  44. package/assets/Balatro Seed Curator (DesignsV2)/Assets/tags.png +0 -0
  45. package/assets/Balatro Seed Curator (DesignsV2)/Assets/tarots.json +163 -0
  46. package/assets/Balatro Seed Curator (DesignsV2)/Assets/vouchers.json +130 -0
  47. package/assets/Balatro Seed Curator (DesignsV2)/Seed Detail v2.html +40 -0
  48. package/assets/Balatro Seed Curator (DesignsV2)/Seed Detail.html +34 -0
  49. package/assets/Balatro Seed Curator (DesignsV2)/public/fonts/m6x11plusplus.otf +0 -0
  50. package/assets/Balatro Seed Curator (DesignsV2)/src/AntePage.jsx +228 -0
  51. package/assets/Balatro Seed Curator (DesignsV2)/src/SeedDetail.jsx +222 -0
  52. package/assets/Balatro Seed Curator (DesignsV2)/src/app.jsx +35 -0
  53. package/assets/Balatro Seed Curator (DesignsV2)/src/mockData.js +185 -0
  54. package/assets/Balatro Seed Curator (DesignsV2)/src/sprites.jsx +259 -0
  55. package/assets/Balatro Seed Curator (DesignsV2)/src/tokens.js +49 -0
  56. package/assets/Balatro Seed Curator (DesignsV2)/src/v2/AntePageV2.jsx +290 -0
  57. package/assets/Balatro Seed Curator (DesignsV2)/src/v2/BalButton.jsx +107 -0
  58. package/assets/Balatro Seed Curator (DesignsV2)/src/v2/JamlBuilderV2.jsx +594 -0
  59. package/assets/Balatro Seed Curator (DesignsV2)/src/v2/JamlIde.jsx +302 -0
  60. package/assets/Balatro Seed Curator (DesignsV2)/src/v2/SearchResultsV2.jsx +286 -0
  61. package/assets/Balatro Seed Curator (DesignsV2)/src/v2/SeedDetailV2.jsx +336 -0
  62. package/assets/Balatro Seed Curator (DesignsV2)/src/v2/SeedOGCard.jsx +251 -0
  63. package/assets/Balatro Seed Curator (DesignsV2)/src/v2/Showcase.jsx +131 -0
  64. package/assets/Balatro Seed Curator (DesignsV2)/src/v2/app.jsx +55 -0
  65. package/assets/Balatro Seed Curator (DesignsV2)/src/v2/data.js +296 -0
  66. package/assets/Balatro Seed Curator (DesignsV2)/starters/design-canvas.jsx +622 -0
  67. package/assets/Balatro Seed Curator (DesignsV2)/uploads/8BitDeck.png +0 -0
  68. package/assets/Balatro Seed Curator (DesignsV2)/uploads/BlindChips.png +0 -0
  69. package/assets/Balatro Seed Curator (DesignsV2)/uploads/Boosters.png +0 -0
  70. package/assets/Balatro Seed Curator (DesignsV2)/uploads/Editions.png +0 -0
  71. package/assets/Balatro Seed Curator (DesignsV2)/uploads/Enhancers.png +0 -0
  72. package/assets/Balatro Seed Curator (DesignsV2)/uploads/Jokers.png +0 -0
  73. package/assets/Balatro Seed Curator (DesignsV2)/uploads/Tarots.png +0 -0
  74. package/assets/Balatro Seed Curator (DesignsV2)/uploads/pasted-1776749540653-0.png +0 -0
  75. package/assets/Balatro Seed Curator (DesignsV2)/uploads/pasted-1776749644934-0.png +0 -0
  76. package/assets/Balatro Seed Curator (DesignsV2)/uploads/pasted-1776749661871-0.png +0 -0
  77. package/assets/Balatro Seed Curator (DesignsV2)/uploads/pasted-1776749674748-0.png +0 -0
  78. package/assets/Balatro Seed Curator (DesignsV2)/uploads/pasted-1776749703076-0.png +0 -0
  79. package/assets/Balatro Seed Curator (DesignsV2)/uploads/pasted-1776749882759-0.png +0 -0
  80. package/assets/Balatro Seed Curator (DesignsV2)/uploads/pasted-1776750354200-0.png +0 -0
  81. package/assets/Balatro Seed Curator (DesignsV2)/uploads/pasted-1776750733265-0.png +0 -0
  82. package/assets/Balatro Seed Curator (DesignsV2)/uploads/pasted-1776751928925-0.png +0 -0
  83. package/assets/Balatro Seed Curator (DesignsV2)/uploads/pasted-1776800975060-0.png +0 -0
  84. package/assets/Balatro Seed Curator (DesignsV2)/uploads/stickers.png +0 -0
  85. package/assets/Balatro Seed Curator (DesignsV2)/uploads/tags.png +0 -0
  86. package/assets/BlindChips.png +0 -0
  87. package/assets/Boosters.png +0 -0
  88. package/assets/Editions.png +0 -0
  89. package/assets/Enhancers.png +0 -0
  90. package/assets/Jokers.png +0 -0
  91. package/assets/Tarots.png +0 -0
  92. package/assets/Vouchers.png +0 -0
  93. package/assets/fonts/m6x11plusplus.otf +0 -0
  94. package/assets/stickers.png +0 -0
  95. package/assets/tags.png +0 -0
  96. package/dist/assets.js +10 -12
  97. package/dist/components/GameCard.js +7 -5
  98. package/dist/components/JamlCodeEditor.js +96 -16
  99. package/dist/components/JamlIde.js +4 -2
  100. package/dist/components/JamlIdeToolbar.js +9 -49
  101. package/dist/components/JamlIdeVisual.d.ts +5 -3
  102. package/dist/components/JamlIdeVisual.js +194 -36
  103. package/dist/components/JamlMapPreview.d.ts +1 -5
  104. package/dist/components/JamlMapPreview.js +67 -107
  105. package/dist/components/PlayingCard.js +15 -50
  106. package/dist/data/balatro-jokers.json +1241 -0
  107. package/dist/decode/motelyItemDecoder.js +1 -1
  108. package/dist/hooks/searchWorkerCode.js +59 -59
  109. package/dist/hooks/useAnalyzer.d.ts +1 -0
  110. package/dist/hooks/useAnalyzer.js +5 -1
  111. package/dist/hooks/useSearch.d.ts +1 -0
  112. package/dist/hooks/useSearch.js +4 -1
  113. package/dist/motelyDisplay.js +2 -0
  114. package/dist/r3f/BalatroJokerMesh3D.d.ts +8 -0
  115. package/dist/r3f/BalatroJokerMesh3D.js +98 -0
  116. package/dist/r3f/BalatroJokerPreview3D.d.ts +14 -0
  117. package/dist/r3f/BalatroJokerPreview3D.js +30 -0
  118. package/dist/r3f/BalatroPlayingCard3D.d.ts +22 -0
  119. package/dist/r3f/BalatroPlayingCard3D.js +62 -0
  120. package/dist/r3f/cardConstants.d.ts +16 -0
  121. package/dist/r3f/cardConstants.js +14 -0
  122. package/dist/r3f/compositedAtlas.d.ts +5 -0
  123. package/dist/r3f/compositedAtlas.js +56 -0
  124. package/dist/r3f/gridUV.d.ts +22 -0
  125. package/dist/r3f/gridUV.js +30 -0
  126. package/dist/r3f/index.d.ts +12 -0
  127. package/dist/r3f/index.js +13 -0
  128. package/dist/r3f/jokerRegistry.d.ts +28 -0
  129. package/dist/r3f/jokerRegistry.js +40 -0
  130. package/dist/r3f/jokerTilt.d.ts +8 -0
  131. package/dist/r3f/jokerTilt.js +41 -0
  132. package/dist/r3f/magneticTilt.d.ts +18 -0
  133. package/dist/r3f/magneticTilt.js +34 -0
  134. package/dist/r3f/playingCardTypes.d.ts +24 -0
  135. package/dist/r3f/playingCardTypes.js +32 -0
  136. package/dist/r3f/playingCardVisuals.d.ts +7 -0
  137. package/dist/r3f/playingCardVisuals.js +45 -0
  138. package/dist/r3f/usePlayingCardTexture.d.ts +7 -0
  139. package/dist/r3f/usePlayingCardTexture.js +92 -0
  140. package/dist/sprites/spriteMapper.d.ts +1 -1
  141. package/dist/sprites/spriteMapper.js +14 -33
  142. package/dist/ui/footer.js +5 -5
  143. package/dist/ui/jimboBackground.js +55 -55
  144. package/dist/ui/jimboTabs.js +5 -5
  145. package/dist/utils/gameCardUtils.d.ts +4 -12
  146. package/dist/utils/gameCardUtils.js +9 -43
  147. package/fonts.css +5 -5
  148. package/package.json +4 -4
  149. package/dist/version.d.ts +0 -1
  150. package/dist/version.js +0 -2
@@ -0,0 +1,52 @@
1
+ {
2
+ "spriteSheet": "Enhancers.png",
3
+ "spriteWidth": 142,
4
+ "spriteHeight": 190,
5
+ "columns": 7,
6
+ "rows": 5,
7
+ "sprites": {
8
+ "decks": {
9
+ "Red": { "x": 0, "y": 0 },
10
+ "Nebula": { "x": 3, "y": 0 },
11
+ "Blue": { "x": 0, "y": 2 },
12
+ "Yellow": { "x": 1, "y": 2 },
13
+ "Green": { "x": 2, "y": 2 },
14
+ "Black": { "x": 3, "y": 2 },
15
+ "Plasma": { "x": 4, "y": 2 },
16
+ "Ghost": { "x": 6, "y": 2 },
17
+ "Magic": { "x": 0, "y": 3 },
18
+ "Checkered": { "x": 1, "y": 3 },
19
+ "Erratic": { "x": 2, "y": 3 },
20
+ "Abandoned": { "x": 3, "y": 3 },
21
+ "Painted": { "x": 4, "y": 3 },
22
+ "Challenge": { "x": 0, "y": 4 },
23
+ "Anaglyph": { "x": 2, "y": 4 },
24
+ "Zodiac": { "x": 3, "y": 4 }
25
+ },
26
+ "enhancements": {
27
+ "Bonus": { "x": 1, "y": 1 },
28
+ "Mult": { "x": 2, "y": 1 },
29
+ "Wild": { "x": 3, "y": 1 },
30
+ "Lucky": { "x": 4, "y": 1 },
31
+ "Glass": { "x": 5, "y": 1 },
32
+ "Steel": { "x": 6, "y": 1 },
33
+ "Stone": { "x": 5, "y": 0 },
34
+ "Gold": { "x": 6, "y": 0 }
35
+ },
36
+ "seals": {
37
+ "Gold": { "x": 2, "y": 0 },
38
+ "Purple": { "x": 4, "y": 4 },
39
+ "Red": { "x": 5, "y": 4 },
40
+ "Blue": { "x": 6, "y": 4 }
41
+ },
42
+ "special": {
43
+ "StandardCard_Base": { "x": 1, "y": 0, "description": "Standard card base template" },
44
+ "TheSoulGem": { "x": 0, "y": 1, "description": "Animated gem overlay for The Soul spectral card" },
45
+ "LockedDeck": { "x": 4, "y": 0 },
46
+ "MysteryJokerFace": { "x": 5, "y": 3, "description": "Mystery face for wildcard jokers" },
47
+ "MysteryConsumable": { "x": 6, "y": 3, "description": "Question mark for wildcard consumables" },
48
+ "UnusedDeck1": { "x": 5, "y": 2 },
49
+ "UnusedDeck2": { "x": 1, "y": 4 }
50
+ }
51
+ }
52
+ }
@@ -0,0 +1,74 @@
1
+ {
2
+ "spriteSheet": "8BitDeck.png",
3
+ "spriteWidth": 142,
4
+ "spriteHeight": 190,
5
+ "columns": 13,
6
+ "rows": 4,
7
+ "description": "Playing card face patterns to overlay on enhancement cards",
8
+ "layout": {
9
+ "suits": ["Hearts", "Clubs", "Diamonds", "Spades"],
10
+ "ranks": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "Jack", "Queen", "King", "Ace"]
11
+ },
12
+ "sprites": {
13
+ "Hearts": {
14
+ "2": { "x": 0, "y": 0 },
15
+ "3": { "x": 1, "y": 0 },
16
+ "4": { "x": 2, "y": 0 },
17
+ "5": { "x": 3, "y": 0 },
18
+ "6": { "x": 4, "y": 0 },
19
+ "7": { "x": 5, "y": 0 },
20
+ "8": { "x": 6, "y": 0 },
21
+ "9": { "x": 7, "y": 0 },
22
+ "10": { "x": 8, "y": 0 },
23
+ "Jack": { "x": 9, "y": 0 },
24
+ "Queen": { "x": 10, "y": 0 },
25
+ "King": { "x": 11, "y": 0 },
26
+ "Ace": { "x": 12, "y": 0 }
27
+ },
28
+ "Clubs": {
29
+ "2": { "x": 0, "y": 1 },
30
+ "3": { "x": 1, "y": 1 },
31
+ "4": { "x": 2, "y": 1 },
32
+ "5": { "x": 3, "y": 1 },
33
+ "6": { "x": 4, "y": 1 },
34
+ "7": { "x": 5, "y": 1 },
35
+ "8": { "x": 6, "y": 1 },
36
+ "9": { "x": 7, "y": 1 },
37
+ "10": { "x": 8, "y": 1 },
38
+ "Jack": { "x": 9, "y": 1 },
39
+ "Queen": { "x": 10, "y": 1 },
40
+ "King": { "x": 11, "y": 1 },
41
+ "Ace": { "x": 12, "y": 1 }
42
+ },
43
+ "Diamonds": {
44
+ "2": { "x": 0, "y": 2 },
45
+ "3": { "x": 1, "y": 2 },
46
+ "4": { "x": 2, "y": 2 },
47
+ "5": { "x": 3, "y": 2 },
48
+ "6": { "x": 4, "y": 2 },
49
+ "7": { "x": 5, "y": 2 },
50
+ "8": { "x": 6, "y": 2 },
51
+ "9": { "x": 7, "y": 2 },
52
+ "10": { "x": 8, "y": 2 },
53
+ "Jack": { "x": 9, "y": 2 },
54
+ "Queen": { "x": 10, "y": 2 },
55
+ "King": { "x": 11, "y": 2 },
56
+ "Ace": { "x": 12, "y": 2 }
57
+ },
58
+ "Spades": {
59
+ "2": { "x": 0, "y": 3 },
60
+ "3": { "x": 1, "y": 3 },
61
+ "4": { "x": 2, "y": 3 },
62
+ "5": { "x": 3, "y": 3 },
63
+ "6": { "x": 4, "y": 3 },
64
+ "7": { "x": 5, "y": 3 },
65
+ "8": { "x": 6, "y": 3 },
66
+ "9": { "x": 7, "y": 3 },
67
+ "10": { "x": 8, "y": 3 },
68
+ "Jack": { "x": 9, "y": 3 },
69
+ "Queen": { "x": 10, "y": 3 },
70
+ "King": { "x": 11, "y": 3 },
71
+ "Ace": { "x": 12, "y": 3 }
72
+ }
73
+ }
74
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "spriteSheet": "balatro-stake-chips.png",
3
+ "spriteWidth": 48,
4
+ "spriteHeight": 48,
5
+ "columns": 5,
6
+ "rows": 2,
7
+ "sprites": {
8
+ "stakes": {
9
+ "White Stake": { "x": 0, "y": 0 },
10
+ "Red Stake": { "x": 1, "y": 0 },
11
+ "Green Stake": { "x": 2, "y": 0 },
12
+ "Black Stake": { "x": 3, "y": 0 },
13
+ "Blue Stake": { "x": 4, "y": 0 },
14
+ "Purple Stake": { "x": 0, "y": 1 },
15
+ "Orange Stake": { "x": 1, "y": 1 },
16
+ "Gold Stake": { "x": 2, "y": 1 }
17
+ }
18
+ }
19
+ }