jaml-ui 4.2.9 → 4.3.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jaml-ui",
3
- "version": "4.2.9",
3
+ "version": "4.3.0",
4
4
  "description": "Zero-dependency json-render engine + Balatro card sprites for MCP Apps.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -41,7 +41,9 @@
41
41
  ],
42
42
  "scripts": {
43
43
  "build": "vite build",
44
- "dev": "vite build --watch",
44
+ "dev": "storybook dev",
45
+ "dev:watch": "vite build --watch",
46
+ "jaml:mcp": "node scripts/jaml-mcp-server.mjs",
45
47
  "typecheck": "tsc --noEmit --pretty false",
46
48
  "typecheck:all": "pnpm typecheck && pnpm -r --if-present run typecheck",
47
49
  "prepack": "npm run build",
@@ -77,6 +79,7 @@
77
79
  "author": "pifreak",
78
80
  "license": "MIT",
79
81
  "dependencies": {
82
+ "jaml-lang": "^3.14.2",
80
83
  "react-icons": "^5.7.0",
81
84
  "yaml": "^2.9.0"
82
85
  },
@@ -91,26 +94,25 @@
91
94
  "@codemirror/language": "^6.12.4",
92
95
  "@codemirror/lint": "^6.9.7",
93
96
  "@codemirror/state": "^6.7.1",
94
- "@codemirror/view": "^6.43.6",
97
+ "@codemirror/view": "^6.43.7",
95
98
  "@eslint/js": "^10.0.1",
96
99
  "@lezer/highlight": "^1.2.3",
97
- "@storybook/addon-docs": "^10.5.3",
98
- "@storybook/react": "^10.5.3",
99
- "@storybook/react-vite": "^10.5.3",
100
+ "@storybook/addon-docs": "^10.5.5",
101
+ "@storybook/react": "^10.5.5",
102
+ "@storybook/react-vite": "^10.5.5",
100
103
  "@types/node": "^25.9.5",
101
104
  "@types/react": "^19.2.17",
102
105
  "@types/react-dom": "^19.2.3",
103
106
  "@vitejs/plugin-react": "^5.2.0",
104
- "eslint": "^10.7.0",
107
+ "eslint": "^10.8.0",
105
108
  "eslint-plugin-react-hooks": "^7.1.1",
106
109
  "eslint-plugin-react-refresh": "^0.5.3",
107
110
  "eslint-plugin-storybook": "10.4.6",
108
- "globals": "^17.7.0",
109
- "jaml-lang": "^3.14.2",
111
+ "globals": "^17.8.0",
110
112
  "motely-wasm": "^24.6.0",
111
113
  "react": "^19.2.8",
112
114
  "react-dom": "^19.2.8",
113
- "storybook": "^10.5.3",
115
+ "storybook": "^10.5.5",
114
116
  "typescript": "^5.9.3",
115
117
  "typescript-eslint": "^8.65.0",
116
118
  "vite": "^6.4.3",
@@ -1,310 +0,0 @@
1
- export declare const MotelyJokerCommon: {
2
- readonly Joker: 0;
3
- readonly GreedyJoker: 1;
4
- readonly LustyJoker: 2;
5
- readonly WrathfulJoker: 3;
6
- readonly GluttonousJoker: 4;
7
- readonly JollyJoker: 5;
8
- readonly ZanyJoker: 6;
9
- readonly MadJoker: 7;
10
- readonly CrazyJoker: 8;
11
- readonly DrollJoker: 9;
12
- readonly SlyJoker: 10;
13
- readonly WilyJoker: 11;
14
- readonly CleverJoker: 12;
15
- readonly DeviousJoker: 13;
16
- readonly CraftyJoker: 14;
17
- readonly HalfJoker: 15;
18
- readonly CreditCard: 16;
19
- readonly Banner: 17;
20
- readonly MysticSummit: 18;
21
- readonly EightBall: 19;
22
- readonly Misprint: 20;
23
- readonly RaisedFist: 21;
24
- readonly ChaostheClown: 22;
25
- readonly ScaryFace: 23;
26
- readonly AbstractJoker: 24;
27
- readonly DelayedGratification: 25;
28
- readonly GrosMichel: 26;
29
- readonly EvenSteven: 27;
30
- readonly OddTodd: 28;
31
- readonly Scholar: 29;
32
- readonly BusinessCard: 30;
33
- readonly Supernova: 31;
34
- readonly RideTheBus: 32;
35
- readonly Egg: 33;
36
- readonly Runner: 34;
37
- readonly IceCream: 35;
38
- readonly Splash: 36;
39
- readonly BlueJoker: 37;
40
- readonly FacelessJoker: 38;
41
- readonly GreenJoker: 39;
42
- readonly Superposition: 40;
43
- readonly ToDoList: 41;
44
- readonly Cavendish: 42;
45
- readonly RedCard: 43;
46
- readonly SquareJoker: 44;
47
- readonly RiffRaff: 45;
48
- readonly Photograph: 46;
49
- readonly ReservedParking: 47;
50
- readonly MailInRebate: 48;
51
- readonly Hallucination: 49;
52
- readonly FortuneTeller: 50;
53
- readonly Juggler: 51;
54
- readonly Drunkard: 52;
55
- readonly GoldenJoker: 53;
56
- readonly Popcorn: 54;
57
- readonly WalkieTalkie: 55;
58
- readonly SmileyFace: 56;
59
- readonly GoldenTicket: 57;
60
- readonly Swashbuckler: 58;
61
- readonly HangingChad: 59;
62
- readonly ShootTheMoon: 60;
63
- };
64
- export declare const MotelyJokerUncommon: {
65
- readonly JokerStencil: 0;
66
- readonly FourFingers: 1;
67
- readonly Mime: 2;
68
- readonly CeremonialDagger: 3;
69
- readonly MarbleJoker: 4;
70
- readonly LoyaltyCard: 5;
71
- readonly Dusk: 6;
72
- readonly Fibonacci: 7;
73
- readonly SteelJoker: 8;
74
- readonly Hack: 9;
75
- readonly Pareidolia: 10;
76
- readonly SpaceJoker: 11;
77
- readonly Burglar: 12;
78
- readonly Blackboard: 13;
79
- readonly SixthSense: 14;
80
- readonly Constellation: 15;
81
- readonly Hiker: 16;
82
- readonly CardSharp: 17;
83
- readonly Madness: 18;
84
- readonly Seance: 19;
85
- readonly Vampire: 20;
86
- readonly Shortcut: 21;
87
- readonly Hologram: 22;
88
- readonly Cloud9: 23;
89
- readonly Rocket: 24;
90
- readonly MidasMask: 25;
91
- readonly Luchador: 26;
92
- readonly GiftCard: 27;
93
- readonly TurtleBean: 28;
94
- readonly Erosion: 29;
95
- readonly ToTheMoon: 30;
96
- readonly StoneJoker: 31;
97
- readonly LuckyCat: 32;
98
- readonly Bull: 33;
99
- readonly DietCola: 34;
100
- readonly TradingCard: 35;
101
- readonly FlashCard: 36;
102
- readonly SpareTrousers: 37;
103
- readonly Ramen: 38;
104
- readonly Seltzer: 39;
105
- readonly Castle: 40;
106
- readonly MrBones: 41;
107
- readonly Acrobat: 42;
108
- readonly SockAndBuskin: 43;
109
- readonly Troubadour: 44;
110
- readonly Certificate: 45;
111
- readonly SmearedJoker: 46;
112
- readonly Throwback: 47;
113
- readonly RoughGem: 48;
114
- readonly Bloodstone: 49;
115
- readonly Arrowhead: 50;
116
- readonly OnyxAgate: 51;
117
- readonly GlassJoker: 52;
118
- readonly Showman: 53;
119
- readonly FlowerPot: 54;
120
- readonly MerryAndy: 55;
121
- readonly OopsAll6s: 56;
122
- readonly TheIdol: 57;
123
- readonly SeeingDouble: 58;
124
- readonly Matador: 59;
125
- readonly Satellite: 60;
126
- readonly Cartomancer: 61;
127
- readonly Astronomer: 62;
128
- readonly Bootstraps: 63;
129
- };
130
- export declare const MotelyJokerRare: {
131
- readonly DNA: 0;
132
- readonly Vagabond: 1;
133
- readonly Baron: 2;
134
- readonly Obelisk: 3;
135
- readonly BaseballCard: 4;
136
- readonly AncientJoker: 5;
137
- readonly Campfire: 6;
138
- readonly Blueprint: 7;
139
- readonly WeeJoker: 8;
140
- readonly HitTheRoad: 9;
141
- readonly TheDuo: 10;
142
- readonly TheTrio: 11;
143
- readonly TheFamily: 12;
144
- readonly TheOrder: 13;
145
- readonly TheTribe: 14;
146
- readonly Stuntman: 15;
147
- readonly InvisibleJoker: 16;
148
- readonly Brainstorm: 17;
149
- readonly DriversLicense: 18;
150
- readonly BurntJoker: 19;
151
- };
152
- export declare const MotelyJokerLegendary: {
153
- readonly Canio: 0;
154
- readonly Triboulet: 1;
155
- readonly Yorick: 2;
156
- readonly Chicot: 3;
157
- readonly Perkeo: 4;
158
- };
159
- export declare const MotelyJoker: {
160
- readonly Canio: 0;
161
- readonly Triboulet: 1;
162
- readonly Yorick: 2;
163
- readonly Chicot: 3;
164
- readonly Perkeo: 4;
165
- readonly DNA: 0;
166
- readonly Vagabond: 1;
167
- readonly Baron: 2;
168
- readonly Obelisk: 3;
169
- readonly BaseballCard: 4;
170
- readonly AncientJoker: 5;
171
- readonly Campfire: 6;
172
- readonly Blueprint: 7;
173
- readonly WeeJoker: 8;
174
- readonly HitTheRoad: 9;
175
- readonly TheDuo: 10;
176
- readonly TheTrio: 11;
177
- readonly TheFamily: 12;
178
- readonly TheOrder: 13;
179
- readonly TheTribe: 14;
180
- readonly Stuntman: 15;
181
- readonly InvisibleJoker: 16;
182
- readonly Brainstorm: 17;
183
- readonly DriversLicense: 18;
184
- readonly BurntJoker: 19;
185
- readonly JokerStencil: 0;
186
- readonly FourFingers: 1;
187
- readonly Mime: 2;
188
- readonly CeremonialDagger: 3;
189
- readonly MarbleJoker: 4;
190
- readonly LoyaltyCard: 5;
191
- readonly Dusk: 6;
192
- readonly Fibonacci: 7;
193
- readonly SteelJoker: 8;
194
- readonly Hack: 9;
195
- readonly Pareidolia: 10;
196
- readonly SpaceJoker: 11;
197
- readonly Burglar: 12;
198
- readonly Blackboard: 13;
199
- readonly SixthSense: 14;
200
- readonly Constellation: 15;
201
- readonly Hiker: 16;
202
- readonly CardSharp: 17;
203
- readonly Madness: 18;
204
- readonly Seance: 19;
205
- readonly Vampire: 20;
206
- readonly Shortcut: 21;
207
- readonly Hologram: 22;
208
- readonly Cloud9: 23;
209
- readonly Rocket: 24;
210
- readonly MidasMask: 25;
211
- readonly Luchador: 26;
212
- readonly GiftCard: 27;
213
- readonly TurtleBean: 28;
214
- readonly Erosion: 29;
215
- readonly ToTheMoon: 30;
216
- readonly StoneJoker: 31;
217
- readonly LuckyCat: 32;
218
- readonly Bull: 33;
219
- readonly DietCola: 34;
220
- readonly TradingCard: 35;
221
- readonly FlashCard: 36;
222
- readonly SpareTrousers: 37;
223
- readonly Ramen: 38;
224
- readonly Seltzer: 39;
225
- readonly Castle: 40;
226
- readonly MrBones: 41;
227
- readonly Acrobat: 42;
228
- readonly SockAndBuskin: 43;
229
- readonly Troubadour: 44;
230
- readonly Certificate: 45;
231
- readonly SmearedJoker: 46;
232
- readonly Throwback: 47;
233
- readonly RoughGem: 48;
234
- readonly Bloodstone: 49;
235
- readonly Arrowhead: 50;
236
- readonly OnyxAgate: 51;
237
- readonly GlassJoker: 52;
238
- readonly Showman: 53;
239
- readonly FlowerPot: 54;
240
- readonly MerryAndy: 55;
241
- readonly OopsAll6s: 56;
242
- readonly TheIdol: 57;
243
- readonly SeeingDouble: 58;
244
- readonly Matador: 59;
245
- readonly Satellite: 60;
246
- readonly Cartomancer: 61;
247
- readonly Astronomer: 62;
248
- readonly Bootstraps: 63;
249
- readonly Joker: 0;
250
- readonly GreedyJoker: 1;
251
- readonly LustyJoker: 2;
252
- readonly WrathfulJoker: 3;
253
- readonly GluttonousJoker: 4;
254
- readonly JollyJoker: 5;
255
- readonly ZanyJoker: 6;
256
- readonly MadJoker: 7;
257
- readonly CrazyJoker: 8;
258
- readonly DrollJoker: 9;
259
- readonly SlyJoker: 10;
260
- readonly WilyJoker: 11;
261
- readonly CleverJoker: 12;
262
- readonly DeviousJoker: 13;
263
- readonly CraftyJoker: 14;
264
- readonly HalfJoker: 15;
265
- readonly CreditCard: 16;
266
- readonly Banner: 17;
267
- readonly MysticSummit: 18;
268
- readonly EightBall: 19;
269
- readonly Misprint: 20;
270
- readonly RaisedFist: 21;
271
- readonly ChaostheClown: 22;
272
- readonly ScaryFace: 23;
273
- readonly AbstractJoker: 24;
274
- readonly DelayedGratification: 25;
275
- readonly GrosMichel: 26;
276
- readonly EvenSteven: 27;
277
- readonly OddTodd: 28;
278
- readonly Scholar: 29;
279
- readonly BusinessCard: 30;
280
- readonly Supernova: 31;
281
- readonly RideTheBus: 32;
282
- readonly Egg: 33;
283
- readonly Runner: 34;
284
- readonly IceCream: 35;
285
- readonly Splash: 36;
286
- readonly BlueJoker: 37;
287
- readonly FacelessJoker: 38;
288
- readonly GreenJoker: 39;
289
- readonly Superposition: 40;
290
- readonly ToDoList: 41;
291
- readonly Cavendish: 42;
292
- readonly RedCard: 43;
293
- readonly SquareJoker: 44;
294
- readonly RiffRaff: 45;
295
- readonly Photograph: 46;
296
- readonly ReservedParking: 47;
297
- readonly MailInRebate: 48;
298
- readonly Hallucination: 49;
299
- readonly FortuneTeller: 50;
300
- readonly Juggler: 51;
301
- readonly Drunkard: 52;
302
- readonly GoldenJoker: 53;
303
- readonly Popcorn: 54;
304
- readonly WalkieTalkie: 55;
305
- readonly SmileyFace: 56;
306
- readonly GoldenTicket: 57;
307
- readonly Swashbuckler: 58;
308
- readonly HangingChad: 59;
309
- readonly ShootTheMoon: 60;
310
- };