@almadar/std 3.2.2 → 3.2.3

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 (199) hide show
  1. package/behaviors/exports/atoms/std-browse.orb +38 -45
  2. package/behaviors/exports/atoms/std-calendar.orb +770 -0
  3. package/behaviors/exports/atoms/std-display.orb +1175 -510
  4. package/behaviors/exports/atoms/std-drawer.orb +235 -133
  5. package/behaviors/exports/atoms/std-flip-card.orb +596 -0
  6. package/behaviors/exports/atoms/std-gallery.orb +382 -0
  7. package/behaviors/exports/atoms/std-loading.orb +131 -103
  8. package/behaviors/exports/atoms/std-modal.orb +5 -24
  9. package/behaviors/exports/atoms/std-notification.orb +71 -0
  10. package/behaviors/exports/atoms/std-pagination.orb +32 -40
  11. package/behaviors/exports/atoms/std-rating.orb +328 -0
  12. package/behaviors/exports/atoms/std-score.orb +41 -0
  13. package/behaviors/exports/atoms/std-search.orb +44 -30
  14. package/behaviors/exports/atoms/std-selection.orb +26 -34
  15. package/behaviors/exports/atoms/std-sort.orb +82 -60
  16. package/behaviors/exports/atoms/std-text-effects.orb +658 -0
  17. package/behaviors/exports/atoms/std-theme.orb +573 -0
  18. package/behaviors/exports/atoms/std-upload.orb +535 -0
  19. package/behaviors/exports/atoms/std-wizard.orb +664 -224
  20. package/behaviors/exports/molecules/std-builder-game.orb +43 -3
  21. package/behaviors/exports/molecules/std-cart.orb +319 -101
  22. package/behaviors/exports/molecules/std-classifier-game.orb +43 -3
  23. package/behaviors/exports/molecules/std-debugger-game.orb +43 -3
  24. package/behaviors/exports/molecules/std-detail.orb +46 -49
  25. package/behaviors/exports/molecules/std-event-handler-game.orb +43 -3
  26. package/behaviors/exports/molecules/std-form-advanced.orb +654 -0
  27. package/behaviors/exports/molecules/std-geospatial.orb +48 -48
  28. package/behaviors/exports/molecules/std-inventory.orb +70 -50
  29. package/behaviors/exports/molecules/std-list.orb +174 -197
  30. package/behaviors/exports/molecules/std-messaging.orb +35 -50
  31. package/behaviors/exports/molecules/std-negotiator-game.orb +43 -3
  32. package/behaviors/exports/molecules/std-platformer-game.orb +18 -2
  33. package/behaviors/exports/molecules/std-puzzle-game.orb +32 -6
  34. package/behaviors/exports/molecules/std-quiz.orb +1045 -0
  35. package/behaviors/exports/molecules/std-sequencer-game.orb +43 -3
  36. package/behaviors/exports/molecules/std-simulator-game.orb +43 -3
  37. package/behaviors/exports/molecules/std-turn-based-battle.orb +26 -0
  38. package/behaviors/exports/organisms/std-api-gateway.orb +2326 -1320
  39. package/behaviors/exports/organisms/std-arcade-game.orb +377 -265
  40. package/behaviors/exports/organisms/std-booking-system.orb +3144 -1855
  41. package/behaviors/exports/organisms/std-cicd-pipeline.orb +2107 -1122
  42. package/behaviors/exports/organisms/std-cms.orb +929 -822
  43. package/behaviors/exports/organisms/std-coding-academy.orb +1347 -458
  44. package/behaviors/exports/organisms/std-crm.orb +2302 -1282
  45. package/behaviors/exports/organisms/std-devops-dashboard.orb +3902 -2005
  46. package/behaviors/exports/organisms/std-ecommerce.orb +2432 -1630
  47. package/behaviors/exports/organisms/std-finance-tracker.orb +1674 -846
  48. package/behaviors/exports/organisms/std-healthcare.orb +3545 -1992
  49. package/behaviors/exports/organisms/std-helpdesk.orb +1853 -940
  50. package/behaviors/exports/organisms/std-hr-portal.orb +3249 -1939
  51. package/behaviors/exports/organisms/std-iot-dashboard.orb +2422 -1418
  52. package/behaviors/exports/organisms/std-lms.orb +2495 -1435
  53. package/behaviors/exports/organisms/std-logic-training.orb +220 -66
  54. package/behaviors/exports/organisms/std-platformer-app.orb +345 -214
  55. package/behaviors/exports/organisms/std-project-manager.orb +2217 -1190
  56. package/behaviors/exports/organisms/std-puzzle-app.orb +228 -103
  57. package/behaviors/exports/organisms/std-realtime-chat.orb +1887 -1051
  58. package/behaviors/exports/organisms/std-rpg-game.orb +1170 -948
  59. package/behaviors/exports/organisms/std-social-feed.orb +184 -172
  60. package/behaviors/exports/organisms/std-stem-lab.orb +1308 -482
  61. package/behaviors/exports/organisms/std-strategy-game.orb +1520 -696
  62. package/behaviors/exports/organisms/std-trading-dashboard.orb +1884 -904
  63. package/behaviors/exports/validation-report.json +0 -747
  64. package/dist/behaviors/exports/atoms/std-browse.orb +38 -45
  65. package/dist/behaviors/exports/atoms/std-calendar.orb +770 -0
  66. package/dist/behaviors/exports/atoms/std-display.orb +1175 -510
  67. package/dist/behaviors/exports/atoms/std-drawer.orb +235 -133
  68. package/dist/behaviors/exports/atoms/std-flip-card.orb +596 -0
  69. package/dist/behaviors/exports/atoms/std-gallery.orb +382 -0
  70. package/dist/behaviors/exports/atoms/std-loading.orb +131 -103
  71. package/dist/behaviors/exports/atoms/std-modal.orb +5 -24
  72. package/dist/behaviors/exports/atoms/std-notification.orb +71 -0
  73. package/dist/behaviors/exports/atoms/std-pagination.orb +32 -40
  74. package/dist/behaviors/exports/atoms/std-rating.orb +328 -0
  75. package/dist/behaviors/exports/atoms/std-score.orb +41 -0
  76. package/dist/behaviors/exports/atoms/std-search.orb +44 -30
  77. package/dist/behaviors/exports/atoms/std-selection.orb +26 -34
  78. package/dist/behaviors/exports/atoms/std-sort.orb +82 -60
  79. package/dist/behaviors/exports/atoms/std-text-effects.orb +658 -0
  80. package/dist/behaviors/exports/atoms/std-theme.orb +573 -0
  81. package/dist/behaviors/exports/atoms/std-upload.orb +535 -0
  82. package/dist/behaviors/exports/atoms/std-wizard.orb +664 -224
  83. package/dist/behaviors/exports/molecules/std-builder-game.orb +43 -3
  84. package/dist/behaviors/exports/molecules/std-cart.orb +319 -101
  85. package/dist/behaviors/exports/molecules/std-classifier-game.orb +43 -3
  86. package/dist/behaviors/exports/molecules/std-debugger-game.orb +43 -3
  87. package/dist/behaviors/exports/molecules/std-detail.orb +46 -49
  88. package/dist/behaviors/exports/molecules/std-event-handler-game.orb +43 -3
  89. package/dist/behaviors/exports/molecules/std-form-advanced.orb +654 -0
  90. package/dist/behaviors/exports/molecules/std-geospatial.orb +48 -48
  91. package/dist/behaviors/exports/molecules/std-inventory.orb +70 -50
  92. package/dist/behaviors/exports/molecules/std-list.orb +174 -197
  93. package/dist/behaviors/exports/molecules/std-messaging.orb +35 -50
  94. package/dist/behaviors/exports/molecules/std-negotiator-game.orb +43 -3
  95. package/dist/behaviors/exports/molecules/std-platformer-game.orb +18 -2
  96. package/dist/behaviors/exports/molecules/std-puzzle-game.orb +32 -6
  97. package/dist/behaviors/exports/molecules/std-quiz.orb +1045 -0
  98. package/dist/behaviors/exports/molecules/std-sequencer-game.orb +43 -3
  99. package/dist/behaviors/exports/molecules/std-simulator-game.orb +43 -3
  100. package/dist/behaviors/exports/molecules/std-turn-based-battle.orb +26 -0
  101. package/dist/behaviors/exports/organisms/std-api-gateway.orb +2326 -1320
  102. package/dist/behaviors/exports/organisms/std-arcade-game.orb +377 -265
  103. package/dist/behaviors/exports/organisms/std-booking-system.orb +3144 -1855
  104. package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +2107 -1122
  105. package/dist/behaviors/exports/organisms/std-cms.orb +929 -822
  106. package/dist/behaviors/exports/organisms/std-coding-academy.orb +1347 -458
  107. package/dist/behaviors/exports/organisms/std-crm.orb +2302 -1282
  108. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +3902 -2005
  109. package/dist/behaviors/exports/organisms/std-ecommerce.orb +2432 -1630
  110. package/dist/behaviors/exports/organisms/std-finance-tracker.orb +1674 -846
  111. package/dist/behaviors/exports/organisms/std-healthcare.orb +3545 -1992
  112. package/dist/behaviors/exports/organisms/std-helpdesk.orb +1853 -940
  113. package/dist/behaviors/exports/organisms/std-hr-portal.orb +3249 -1939
  114. package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +2422 -1418
  115. package/dist/behaviors/exports/organisms/std-lms.orb +2495 -1435
  116. package/dist/behaviors/exports/organisms/std-logic-training.orb +220 -66
  117. package/dist/behaviors/exports/organisms/std-platformer-app.orb +345 -214
  118. package/dist/behaviors/exports/organisms/std-project-manager.orb +2217 -1190
  119. package/dist/behaviors/exports/organisms/std-puzzle-app.orb +228 -103
  120. package/dist/behaviors/exports/organisms/std-realtime-chat.orb +1887 -1051
  121. package/dist/behaviors/exports/organisms/std-rpg-game.orb +1170 -948
  122. package/dist/behaviors/exports/organisms/std-social-feed.orb +184 -172
  123. package/dist/behaviors/exports/organisms/std-stem-lab.orb +1308 -482
  124. package/dist/behaviors/exports/organisms/std-strategy-game.orb +1520 -696
  125. package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +1884 -904
  126. package/dist/behaviors/exports/validation-report.json +0 -747
  127. package/dist/behaviors/functions/index.d.ts +270 -1
  128. package/dist/behaviors/functions/index.js +3163 -807
  129. package/dist/behaviors/functions/index.js.map +1 -1
  130. package/dist/behaviors/index.d.ts +1 -1
  131. package/dist/behaviors/index.js +3164 -808
  132. package/dist/behaviors/index.js.map +1 -1
  133. package/dist/exports/atoms/std-browse.orb +38 -45
  134. package/dist/exports/atoms/std-calendar.orb +770 -0
  135. package/dist/exports/atoms/std-display.orb +1175 -510
  136. package/dist/exports/atoms/std-drawer.orb +235 -133
  137. package/dist/exports/atoms/std-flip-card.orb +596 -0
  138. package/dist/exports/atoms/std-gallery.orb +382 -0
  139. package/dist/exports/atoms/std-loading.orb +131 -103
  140. package/dist/exports/atoms/std-modal.orb +5 -24
  141. package/dist/exports/atoms/std-notification.orb +71 -0
  142. package/dist/exports/atoms/std-pagination.orb +32 -40
  143. package/dist/exports/atoms/std-rating.orb +328 -0
  144. package/dist/exports/atoms/std-score.orb +41 -0
  145. package/dist/exports/atoms/std-search.orb +44 -30
  146. package/dist/exports/atoms/std-selection.orb +26 -34
  147. package/dist/exports/atoms/std-sort.orb +82 -60
  148. package/dist/exports/atoms/std-text-effects.orb +658 -0
  149. package/dist/exports/atoms/std-theme.orb +573 -0
  150. package/dist/exports/atoms/std-upload.orb +535 -0
  151. package/dist/exports/atoms/std-wizard.orb +664 -224
  152. package/dist/exports/molecules/std-builder-game.orb +43 -3
  153. package/dist/exports/molecules/std-cart.orb +319 -101
  154. package/dist/exports/molecules/std-classifier-game.orb +43 -3
  155. package/dist/exports/molecules/std-debugger-game.orb +43 -3
  156. package/dist/exports/molecules/std-detail.orb +46 -49
  157. package/dist/exports/molecules/std-event-handler-game.orb +43 -3
  158. package/dist/exports/molecules/std-form-advanced.orb +654 -0
  159. package/dist/exports/molecules/std-geospatial.orb +48 -48
  160. package/dist/exports/molecules/std-inventory.orb +70 -50
  161. package/dist/exports/molecules/std-list.orb +174 -197
  162. package/dist/exports/molecules/std-messaging.orb +35 -50
  163. package/dist/exports/molecules/std-negotiator-game.orb +43 -3
  164. package/dist/exports/molecules/std-platformer-game.orb +18 -2
  165. package/dist/exports/molecules/std-puzzle-game.orb +32 -6
  166. package/dist/exports/molecules/std-quiz.orb +1045 -0
  167. package/dist/exports/molecules/std-sequencer-game.orb +43 -3
  168. package/dist/exports/molecules/std-simulator-game.orb +43 -3
  169. package/dist/exports/molecules/std-turn-based-battle.orb +26 -0
  170. package/dist/exports/organisms/std-api-gateway.orb +2326 -1320
  171. package/dist/exports/organisms/std-arcade-game.orb +377 -265
  172. package/dist/exports/organisms/std-booking-system.orb +3144 -1855
  173. package/dist/exports/organisms/std-cicd-pipeline.orb +2107 -1122
  174. package/dist/exports/organisms/std-cms.orb +929 -822
  175. package/dist/exports/organisms/std-coding-academy.orb +1347 -458
  176. package/dist/exports/organisms/std-crm.orb +2302 -1282
  177. package/dist/exports/organisms/std-devops-dashboard.orb +3902 -2005
  178. package/dist/exports/organisms/std-ecommerce.orb +2432 -1630
  179. package/dist/exports/organisms/std-finance-tracker.orb +1674 -846
  180. package/dist/exports/organisms/std-healthcare.orb +3545 -1992
  181. package/dist/exports/organisms/std-helpdesk.orb +1853 -940
  182. package/dist/exports/organisms/std-hr-portal.orb +3249 -1939
  183. package/dist/exports/organisms/std-iot-dashboard.orb +2422 -1418
  184. package/dist/exports/organisms/std-lms.orb +2495 -1435
  185. package/dist/exports/organisms/std-logic-training.orb +220 -66
  186. package/dist/exports/organisms/std-platformer-app.orb +345 -214
  187. package/dist/exports/organisms/std-project-manager.orb +2217 -1190
  188. package/dist/exports/organisms/std-puzzle-app.orb +228 -103
  189. package/dist/exports/organisms/std-realtime-chat.orb +1887 -1051
  190. package/dist/exports/organisms/std-rpg-game.orb +1170 -948
  191. package/dist/exports/organisms/std-social-feed.orb +184 -172
  192. package/dist/exports/organisms/std-stem-lab.orb +1308 -482
  193. package/dist/exports/organisms/std-strategy-game.orb +1520 -696
  194. package/dist/exports/organisms/std-trading-dashboard.orb +1884 -904
  195. package/dist/exports/validation-report.json +0 -747
  196. package/dist/index.d.ts +1 -1
  197. package/dist/index.js +3166 -810
  198. package/dist/index.js.map +1 -1
  199. package/package.json +1 -1
@@ -32,6 +32,32 @@
32
32
  "name": "outcome",
33
33
  "type": "string"
34
34
  }
35
+ ],
36
+ "instances": [
37
+ {
38
+ "id": "unit-1",
39
+ "name": "Knight",
40
+ "description": "Armored warrior",
41
+ "status": "active",
42
+ "turn": 0,
43
+ "score": 0
44
+ },
45
+ {
46
+ "id": "unit-2",
47
+ "name": "Archer",
48
+ "description": "Ranged attacker",
49
+ "status": "active",
50
+ "turn": 0,
51
+ "score": 0
52
+ },
53
+ {
54
+ "id": "unit-3",
55
+ "name": "Mage",
56
+ "description": "Magic caster",
57
+ "status": "active",
58
+ "turn": 0,
59
+ "score": 0
60
+ }
35
61
  ]
36
62
  },
37
63
  "traits": [
@@ -107,14 +133,21 @@
107
133
  "render-ui",
108
134
  "main",
109
135
  {
110
- "type": "game-menu",
111
- "title": "Battle Arena",
112
- "subtitle": "Turn-Based Strategy",
113
- "menuItems": [
136
+ "type": "game-shell",
137
+ "appName": "RPG Game",
138
+ "showTopBar": true,
139
+ "children": [
114
140
  {
115
- "label": "Start Battle",
116
- "event": "START",
117
- "variant": "primary"
141
+ "type": "game-menu",
142
+ "title": "Battle Arena",
143
+ "subtitle": "Turn-Based Strategy",
144
+ "menuItems": [
145
+ {
146
+ "label": "Start Battle",
147
+ "event": "START",
148
+ "variant": "primary"
149
+ }
150
+ ]
118
151
  }
119
152
  ]
120
153
  }
@@ -130,15 +163,22 @@
130
163
  "render-ui",
131
164
  "main",
132
165
  {
133
- "type": "game-hud",
134
- "stats": [
135
- {
136
- "label": "Turn",
137
- "value": "@entity.turn"
138
- },
166
+ "type": "game-shell",
167
+ "appName": "RPG Game",
168
+ "showTopBar": true,
169
+ "children": [
139
170
  {
140
- "label": "Score",
141
- "value": "@entity.score"
171
+ "type": "game-hud",
172
+ "stats": [
173
+ {
174
+ "label": "Turn",
175
+ "value": "@entity.turn"
176
+ },
177
+ {
178
+ "label": "Score",
179
+ "value": "@entity.score"
180
+ }
181
+ ]
142
182
  }
143
183
  ]
144
184
  }
@@ -163,15 +203,22 @@
163
203
  "render-ui",
164
204
  "main",
165
205
  {
166
- "type": "game-hud",
167
- "stats": [
168
- {
169
- "label": "Turn",
170
- "value": "@entity.turn"
171
- },
206
+ "type": "game-shell",
207
+ "appName": "RPG Game",
208
+ "showTopBar": true,
209
+ "children": [
172
210
  {
173
- "label": "Score",
174
- "value": "@entity.score"
211
+ "type": "game-hud",
212
+ "stats": [
213
+ {
214
+ "label": "Turn",
215
+ "value": "@entity.turn"
216
+ },
217
+ {
218
+ "label": "Score",
219
+ "value": "@entity.score"
220
+ }
221
+ ]
175
222
  }
176
223
  ]
177
224
  }
@@ -231,15 +278,22 @@
231
278
  "render-ui",
232
279
  "main",
233
280
  {
234
- "type": "game-hud",
235
- "stats": [
236
- {
237
- "label": "Turn",
238
- "value": "@entity.turn"
239
- },
281
+ "type": "game-shell",
282
+ "appName": "RPG Game",
283
+ "showTopBar": true,
284
+ "children": [
240
285
  {
241
- "label": "Score",
242
- "value": "@entity.score"
286
+ "type": "game-hud",
287
+ "stats": [
288
+ {
289
+ "label": "Turn",
290
+ "value": "@entity.turn"
291
+ },
292
+ {
293
+ "label": "Score",
294
+ "value": "@entity.score"
295
+ }
296
+ ]
243
297
  }
244
298
  ]
245
299
  }
@@ -260,15 +314,22 @@
260
314
  "render-ui",
261
315
  "main",
262
316
  {
263
- "type": "game-hud",
264
- "stats": [
265
- {
266
- "label": "Turn",
267
- "value": "@entity.turn"
268
- },
317
+ "type": "game-shell",
318
+ "appName": "RPG Game",
319
+ "showTopBar": true,
320
+ "children": [
269
321
  {
270
- "label": "Score",
271
- "value": "@entity.score"
322
+ "type": "game-hud",
323
+ "stats": [
324
+ {
325
+ "label": "Turn",
326
+ "value": "@entity.turn"
327
+ },
328
+ {
329
+ "label": "Score",
330
+ "value": "@entity.score"
331
+ }
332
+ ]
272
333
  }
273
334
  ]
274
335
  }
@@ -284,28 +345,35 @@
284
345
  "render-ui",
285
346
  "main",
286
347
  {
287
- "type": "game-over-screen",
288
- "title": "Battle Over",
289
- "stats": [
290
- {
291
- "label": "Turns",
292
- "value": "@entity.turn"
293
- },
294
- {
295
- "label": "Score",
296
- "value": "@entity.score"
297
- }
298
- ],
299
- "menuItems": [
300
- {
301
- "label": "Play Again",
302
- "event": "RESTART",
303
- "variant": "primary"
304
- },
348
+ "type": "game-shell",
349
+ "appName": "RPG Game",
350
+ "showTopBar": true,
351
+ "children": [
305
352
  {
306
- "label": "Main Menu",
307
- "event": "RESTART",
308
- "variant": "secondary"
353
+ "type": "game-over-screen",
354
+ "title": "Battle Over",
355
+ "stats": [
356
+ {
357
+ "label": "Turns",
358
+ "value": "@entity.turn"
359
+ },
360
+ {
361
+ "label": "Score",
362
+ "value": "@entity.score"
363
+ }
364
+ ],
365
+ "menuItems": [
366
+ {
367
+ "label": "Play Again",
368
+ "event": "RESTART",
369
+ "variant": "primary"
370
+ },
371
+ {
372
+ "label": "Main Menu",
373
+ "event": "RESTART",
374
+ "variant": "secondary"
375
+ }
376
+ ]
309
377
  }
310
378
  ]
311
379
  }
@@ -321,14 +389,21 @@
321
389
  "render-ui",
322
390
  "main",
323
391
  {
324
- "type": "game-menu",
325
- "title": "Battle Arena",
326
- "subtitle": "Turn-Based Strategy",
327
- "menuItems": [
392
+ "type": "game-shell",
393
+ "appName": "RPG Game",
394
+ "showTopBar": true,
395
+ "children": [
328
396
  {
329
- "label": "Start Battle",
330
- "event": "START",
331
- "variant": "primary"
397
+ "type": "game-menu",
398
+ "title": "Battle Arena",
399
+ "subtitle": "Turn-Based Strategy",
400
+ "menuItems": [
401
+ {
402
+ "label": "Start Battle",
403
+ "event": "START",
404
+ "variant": "primary"
405
+ }
406
+ ]
332
407
  }
333
408
  ]
334
409
  }
@@ -349,14 +424,21 @@
349
424
  "render-ui",
350
425
  "main",
351
426
  {
352
- "type": "game-menu",
353
- "title": "Battle Arena",
354
- "subtitle": "Turn-Based Strategy",
355
- "menuItems": [
427
+ "type": "game-shell",
428
+ "appName": "RPG Game",
429
+ "showTopBar": true,
430
+ "children": [
356
431
  {
357
- "label": "Start Battle",
358
- "event": "START",
359
- "variant": "primary"
432
+ "type": "game-menu",
433
+ "title": "Battle Arena",
434
+ "subtitle": "Turn-Based Strategy",
435
+ "menuItems": [
436
+ {
437
+ "label": "Start Battle",
438
+ "event": "START",
439
+ "variant": "primary"
440
+ }
441
+ ]
360
442
  }
361
443
  ]
362
444
  }
@@ -439,12 +521,19 @@
439
521
  "render-ui",
440
522
  "main",
441
523
  {
442
- "type": "combat-log",
443
- "events": "@BattleState",
444
- "maxVisible": 10,
445
- "autoScroll": true,
446
- "showTimestamps": true,
447
- "title": "Combat Log"
524
+ "type": "game-shell",
525
+ "appName": "RPG Game",
526
+ "showTopBar": true,
527
+ "children": [
528
+ {
529
+ "type": "combat-log",
530
+ "events": "@BattleState",
531
+ "maxVisible": 10,
532
+ "autoScroll": true,
533
+ "showTimestamps": true,
534
+ "title": "Combat Log"
535
+ }
536
+ ]
448
537
  }
449
538
  ]
450
539
  ]
@@ -458,12 +547,19 @@
458
547
  "render-ui",
459
548
  "main",
460
549
  {
461
- "type": "combat-log",
462
- "events": "@BattleState",
463
- "maxVisible": 10,
464
- "autoScroll": true,
465
- "showTimestamps": true,
466
- "title": "Combat Log"
550
+ "type": "game-shell",
551
+ "appName": "RPG Game",
552
+ "showTopBar": true,
553
+ "children": [
554
+ {
555
+ "type": "combat-log",
556
+ "events": "@BattleState",
557
+ "maxVisible": 10,
558
+ "autoScroll": true,
559
+ "showTimestamps": true,
560
+ "title": "Combat Log"
561
+ }
562
+ ]
467
563
  }
468
564
  ]
469
565
  ]
@@ -576,104 +672,111 @@
576
672
  "render-ui",
577
673
  "main",
578
674
  {
579
- "type": "stack",
580
- "direction": "vertical",
581
- "gap": "lg",
675
+ "type": "game-shell",
676
+ "appName": "RPG Game",
677
+ "showTopBar": true,
582
678
  "children": [
583
679
  {
584
680
  "type": "stack",
585
- "direction": "horizontal",
586
- "gap": "md",
587
- "justify": "space-between",
681
+ "direction": "vertical",
682
+ "gap": "lg",
588
683
  "children": [
589
684
  {
590
685
  "type": "stack",
591
686
  "direction": "horizontal",
592
687
  "gap": "md",
688
+ "justify": "space-between",
593
689
  "children": [
594
690
  {
595
- "type": "icon",
596
- "name": "map",
597
- "size": "lg"
691
+ "type": "stack",
692
+ "direction": "horizontal",
693
+ "gap": "md",
694
+ "children": [
695
+ {
696
+ "type": "icon",
697
+ "name": "map",
698
+ "size": "lg"
699
+ },
700
+ {
701
+ "type": "typography",
702
+ "content": "World Map",
703
+ "variant": "h2"
704
+ }
705
+ ]
598
706
  },
599
707
  {
600
- "type": "typography",
601
- "content": "World Map",
602
- "variant": "h2"
708
+ "type": "status-dot",
709
+ "status": "active",
710
+ "pulse": false,
711
+ "label": "Exploring"
603
712
  }
604
713
  ]
605
714
  },
606
715
  {
607
- "type": "status-dot",
608
- "status": "active",
609
- "pulse": false,
610
- "label": "Exploring"
611
- }
612
- ]
613
- },
614
- {
615
- "type": "divider"
616
- },
617
- {
618
- "type": "map-view",
619
- "markers": [],
620
- "height": "200px",
621
- "zoom": 10
622
- },
623
- {
624
- "type": "data-grid",
625
- "entity": "WorldZone",
626
- "emptyIcon": "compass",
627
- "emptyTitle": "No worldzones discovered",
628
- "emptyDescription": "Explore to discover new worldzones.",
629
- "itemActions": [
630
- {
631
- "label": "Travel",
632
- "event": "TRAVEL"
633
- }
634
- ],
635
- "renderItem": [
636
- "fn",
637
- "item",
716
+ "type": "divider"
717
+ },
638
718
  {
639
- "type": "stack",
640
- "direction": "vertical",
641
- "gap": "sm",
642
- "children": [
719
+ "type": "map-view",
720
+ "markers": [],
721
+ "height": "200px",
722
+ "zoom": 10
723
+ },
724
+ {
725
+ "type": "data-grid",
726
+ "entity": "WorldZone",
727
+ "emptyIcon": "compass",
728
+ "emptyTitle": "No worldzones discovered",
729
+ "emptyDescription": "Explore to discover new worldzones.",
730
+ "itemActions": [
731
+ {
732
+ "label": "Travel",
733
+ "event": "TRAVEL"
734
+ }
735
+ ],
736
+ "renderItem": [
737
+ "fn",
738
+ "item",
643
739
  {
644
740
  "type": "stack",
645
- "direction": "horizontal",
646
- "justify": "space-between",
647
- "align": "center",
741
+ "direction": "vertical",
742
+ "gap": "sm",
648
743
  "children": [
649
744
  {
650
745
  "type": "stack",
651
746
  "direction": "horizontal",
652
- "gap": "sm",
747
+ "justify": "space-between",
653
748
  "align": "center",
654
749
  "children": [
655
750
  {
656
- "type": "icon",
657
- "name": "map-pin",
658
- "size": "sm"
751
+ "type": "stack",
752
+ "direction": "horizontal",
753
+ "gap": "sm",
754
+ "align": "center",
755
+ "children": [
756
+ {
757
+ "type": "icon",
758
+ "name": "map-pin",
759
+ "size": "sm"
760
+ },
761
+ {
762
+ "type": "typography",
763
+ "variant": "h4",
764
+ "content": "@item.name"
765
+ }
766
+ ]
659
767
  },
660
768
  {
661
- "type": "typography",
662
- "variant": "h4",
663
- "content": "@item.name"
769
+ "type": "badge",
770
+ "label": "@item.description"
664
771
  }
665
772
  ]
666
773
  },
667
774
  {
668
- "type": "badge",
669
- "label": "@item.description"
775
+ "type": "typography",
776
+ "variant": "caption",
777
+ "content": "@item.level"
670
778
  }
671
779
  ]
672
- },
673
- {
674
- "type": "typography",
675
- "variant": "caption",
676
- "content": "@item.level"
677
780
  }
678
781
  ]
679
782
  }
@@ -693,35 +796,42 @@
693
796
  "render-ui",
694
797
  "main",
695
798
  {
696
- "type": "stack",
697
- "direction": "vertical",
698
- "gap": "lg",
699
- "align": "center",
799
+ "type": "game-shell",
800
+ "appName": "RPG Game",
801
+ "showTopBar": true,
700
802
  "children": [
701
803
  {
702
804
  "type": "stack",
703
- "direction": "horizontal",
704
- "gap": "md",
805
+ "direction": "vertical",
806
+ "gap": "lg",
807
+ "align": "center",
705
808
  "children": [
706
809
  {
707
- "type": "icon",
708
- "name": "loader",
709
- "size": "lg"
810
+ "type": "stack",
811
+ "direction": "horizontal",
812
+ "gap": "md",
813
+ "children": [
814
+ {
815
+ "type": "icon",
816
+ "name": "loader",
817
+ "size": "lg"
818
+ },
819
+ {
820
+ "type": "typography",
821
+ "content": "Traveling...",
822
+ "variant": "h2"
823
+ }
824
+ ]
825
+ },
826
+ {
827
+ "type": "divider"
710
828
  },
711
829
  {
712
830
  "type": "typography",
713
- "content": "Traveling...",
714
- "variant": "h2"
831
+ "content": "Traveling to the destination worldzones map.",
832
+ "variant": "body"
715
833
  }
716
834
  ]
717
- },
718
- {
719
- "type": "divider"
720
- },
721
- {
722
- "type": "typography",
723
- "content": "Traveling to the destination worldzones map.",
724
- "variant": "body"
725
835
  }
726
836
  ]
727
837
  }
@@ -741,111 +851,118 @@
741
851
  "render-ui",
742
852
  "main",
743
853
  {
744
- "type": "stack",
745
- "direction": "vertical",
746
- "gap": "lg",
854
+ "type": "game-shell",
855
+ "appName": "RPG Game",
856
+ "showTopBar": true,
747
857
  "children": [
748
858
  {
749
859
  "type": "stack",
750
- "direction": "horizontal",
751
- "gap": "md",
752
- "justify": "space-between",
860
+ "direction": "vertical",
861
+ "gap": "lg",
753
862
  "children": [
754
863
  {
755
864
  "type": "stack",
756
865
  "direction": "horizontal",
757
866
  "gap": "md",
867
+ "justify": "space-between",
758
868
  "children": [
759
869
  {
760
- "type": "icon",
761
- "name": "map",
762
- "size": "lg"
870
+ "type": "stack",
871
+ "direction": "horizontal",
872
+ "gap": "md",
873
+ "children": [
874
+ {
875
+ "type": "icon",
876
+ "name": "map",
877
+ "size": "lg"
878
+ },
879
+ {
880
+ "type": "typography",
881
+ "content": "WorldZones Map",
882
+ "variant": "h2"
883
+ }
884
+ ]
763
885
  },
764
886
  {
765
- "type": "typography",
766
- "content": "WorldZones Map",
767
- "variant": "h2"
887
+ "type": "status-dot",
888
+ "status": "success",
889
+ "label": "Entered"
768
890
  }
769
891
  ]
770
892
  },
771
893
  {
772
- "type": "status-dot",
773
- "status": "success",
774
- "label": "Entered"
775
- }
776
- ]
777
- },
778
- {
779
- "type": "divider"
780
- },
781
- {
782
- "type": "data-grid",
783
- "entity": "WorldZone",
784
- "emptyIcon": "inbox",
785
- "emptyTitle": "Nothing here",
786
- "emptyDescription": "This zone is empty.",
787
- "renderItem": [
788
- "fn",
789
- "item",
894
+ "type": "divider"
895
+ },
790
896
  {
791
- "type": "stack",
792
- "direction": "vertical",
793
- "gap": "sm",
794
- "children": [
897
+ "type": "data-grid",
898
+ "entity": "WorldZone",
899
+ "emptyIcon": "inbox",
900
+ "emptyTitle": "Nothing here",
901
+ "emptyDescription": "This zone is empty.",
902
+ "renderItem": [
903
+ "fn",
904
+ "item",
795
905
  {
796
906
  "type": "stack",
797
- "direction": "horizontal",
798
- "justify": "space-between",
799
- "align": "center",
907
+ "direction": "vertical",
908
+ "gap": "sm",
800
909
  "children": [
801
910
  {
802
911
  "type": "stack",
803
912
  "direction": "horizontal",
804
- "gap": "sm",
913
+ "justify": "space-between",
805
914
  "align": "center",
806
915
  "children": [
807
916
  {
808
- "type": "icon",
809
- "name": "map-pin",
810
- "size": "sm"
917
+ "type": "stack",
918
+ "direction": "horizontal",
919
+ "gap": "sm",
920
+ "align": "center",
921
+ "children": [
922
+ {
923
+ "type": "icon",
924
+ "name": "map-pin",
925
+ "size": "sm"
926
+ },
927
+ {
928
+ "type": "typography",
929
+ "variant": "h4",
930
+ "content": "@item.name"
931
+ }
932
+ ]
811
933
  },
812
934
  {
813
- "type": "typography",
814
- "variant": "h4",
815
- "content": "@item.name"
935
+ "type": "badge",
936
+ "label": "@item.description"
816
937
  }
817
938
  ]
818
939
  },
819
940
  {
820
- "type": "badge",
821
- "label": "@item.description"
941
+ "type": "typography",
942
+ "variant": "caption",
943
+ "content": "@item.level"
822
944
  }
823
945
  ]
824
- },
825
- {
826
- "type": "typography",
827
- "variant": "caption",
828
- "content": "@item.level"
829
946
  }
830
947
  ]
831
- }
832
- ]
833
- },
834
- {
835
- "type": "divider"
836
- },
837
- {
838
- "type": "stack",
839
- "direction": "horizontal",
840
- "gap": "sm",
841
- "justify": "end",
842
- "children": [
948
+ },
843
949
  {
844
- "type": "button",
845
- "label": "Back to Map",
846
- "event": "BACK",
847
- "variant": "ghost",
848
- "icon": "arrow-left"
950
+ "type": "divider"
951
+ },
952
+ {
953
+ "type": "stack",
954
+ "direction": "horizontal",
955
+ "gap": "sm",
956
+ "justify": "end",
957
+ "children": [
958
+ {
959
+ "type": "button",
960
+ "label": "Back to Map",
961
+ "event": "BACK",
962
+ "variant": "ghost",
963
+ "icon": "arrow-left"
964
+ }
965
+ ]
849
966
  }
850
967
  ]
851
968
  }
@@ -867,104 +984,111 @@
867
984
  "render-ui",
868
985
  "main",
869
986
  {
870
- "type": "stack",
871
- "direction": "vertical",
872
- "gap": "lg",
987
+ "type": "game-shell",
988
+ "appName": "RPG Game",
989
+ "showTopBar": true,
873
990
  "children": [
874
991
  {
875
992
  "type": "stack",
876
- "direction": "horizontal",
877
- "gap": "md",
878
- "justify": "space-between",
993
+ "direction": "vertical",
994
+ "gap": "lg",
879
995
  "children": [
880
996
  {
881
997
  "type": "stack",
882
998
  "direction": "horizontal",
883
999
  "gap": "md",
1000
+ "justify": "space-between",
884
1001
  "children": [
885
1002
  {
886
- "type": "icon",
887
- "name": "map",
888
- "size": "lg"
1003
+ "type": "stack",
1004
+ "direction": "horizontal",
1005
+ "gap": "md",
1006
+ "children": [
1007
+ {
1008
+ "type": "icon",
1009
+ "name": "map",
1010
+ "size": "lg"
1011
+ },
1012
+ {
1013
+ "type": "typography",
1014
+ "content": "World Map",
1015
+ "variant": "h2"
1016
+ }
1017
+ ]
889
1018
  },
890
1019
  {
891
- "type": "typography",
892
- "content": "World Map",
893
- "variant": "h2"
1020
+ "type": "status-dot",
1021
+ "status": "active",
1022
+ "pulse": false,
1023
+ "label": "Exploring"
894
1024
  }
895
1025
  ]
896
1026
  },
897
1027
  {
898
- "type": "status-dot",
899
- "status": "active",
900
- "pulse": false,
901
- "label": "Exploring"
902
- }
903
- ]
904
- },
905
- {
906
- "type": "divider"
907
- },
908
- {
909
- "type": "map-view",
910
- "markers": [],
911
- "height": "200px",
912
- "zoom": 10
913
- },
914
- {
915
- "type": "data-grid",
916
- "entity": "WorldZone",
917
- "emptyIcon": "compass",
918
- "emptyTitle": "No worldzones discovered",
919
- "emptyDescription": "Explore to discover new worldzones.",
920
- "itemActions": [
921
- {
922
- "label": "Travel",
923
- "event": "TRAVEL"
924
- }
925
- ],
926
- "renderItem": [
927
- "fn",
928
- "item",
1028
+ "type": "divider"
1029
+ },
929
1030
  {
930
- "type": "stack",
931
- "direction": "vertical",
932
- "gap": "sm",
933
- "children": [
1031
+ "type": "map-view",
1032
+ "markers": [],
1033
+ "height": "200px",
1034
+ "zoom": 10
1035
+ },
1036
+ {
1037
+ "type": "data-grid",
1038
+ "entity": "WorldZone",
1039
+ "emptyIcon": "compass",
1040
+ "emptyTitle": "No worldzones discovered",
1041
+ "emptyDescription": "Explore to discover new worldzones.",
1042
+ "itemActions": [
1043
+ {
1044
+ "label": "Travel",
1045
+ "event": "TRAVEL"
1046
+ }
1047
+ ],
1048
+ "renderItem": [
1049
+ "fn",
1050
+ "item",
934
1051
  {
935
1052
  "type": "stack",
936
- "direction": "horizontal",
937
- "justify": "space-between",
938
- "align": "center",
1053
+ "direction": "vertical",
1054
+ "gap": "sm",
939
1055
  "children": [
940
1056
  {
941
1057
  "type": "stack",
942
1058
  "direction": "horizontal",
943
- "gap": "sm",
1059
+ "justify": "space-between",
944
1060
  "align": "center",
945
1061
  "children": [
946
1062
  {
947
- "type": "icon",
948
- "name": "map-pin",
949
- "size": "sm"
1063
+ "type": "stack",
1064
+ "direction": "horizontal",
1065
+ "gap": "sm",
1066
+ "align": "center",
1067
+ "children": [
1068
+ {
1069
+ "type": "icon",
1070
+ "name": "map-pin",
1071
+ "size": "sm"
1072
+ },
1073
+ {
1074
+ "type": "typography",
1075
+ "variant": "h4",
1076
+ "content": "@item.name"
1077
+ }
1078
+ ]
950
1079
  },
951
1080
  {
952
- "type": "typography",
953
- "variant": "h4",
954
- "content": "@item.name"
1081
+ "type": "badge",
1082
+ "label": "@item.description"
955
1083
  }
956
1084
  ]
957
1085
  },
958
1086
  {
959
- "type": "badge",
960
- "label": "@item.description"
1087
+ "type": "typography",
1088
+ "variant": "caption",
1089
+ "content": "@item.level"
961
1090
  }
962
1091
  ]
963
- },
964
- {
965
- "type": "typography",
966
- "variant": "caption",
967
- "content": "@item.level"
968
1092
  }
969
1093
  ]
970
1094
  }
@@ -1053,10 +1177,33 @@
1053
1177
  "type": "string",
1054
1178
  "default": ""
1055
1179
  }
1056
- ]
1057
- },
1058
- "traits": [
1059
- {
1180
+ ],
1181
+ "instances": [
1182
+ {
1183
+ "id": "item-1",
1184
+ "name": "Health Potion",
1185
+ "description": "Restores 50 HP",
1186
+ "status": "active",
1187
+ "pendingId": ""
1188
+ },
1189
+ {
1190
+ "id": "item-2",
1191
+ "name": "Iron Sword",
1192
+ "description": "A sturdy blade",
1193
+ "status": "active",
1194
+ "pendingId": ""
1195
+ },
1196
+ {
1197
+ "id": "item-3",
1198
+ "name": "Wooden Shield",
1199
+ "description": "Basic protection",
1200
+ "status": "active",
1201
+ "pendingId": ""
1202
+ }
1203
+ ]
1204
+ },
1205
+ "traits": [
1206
+ {
1060
1207
  "name": "RpgItemBrowse",
1061
1208
  "linkedEntity": "RpgItem",
1062
1209
  "category": "interaction",
@@ -1165,114 +1312,110 @@
1165
1312
  "render-ui",
1166
1313
  "main",
1167
1314
  {
1168
- "type": "stack",
1169
- "direction": "vertical",
1170
- "gap": "lg",
1315
+ "type": "game-shell",
1316
+ "appName": "RPG Game",
1317
+ "showTopBar": true,
1171
1318
  "children": [
1172
1319
  {
1173
1320
  "type": "stack",
1174
- "direction": "horizontal",
1175
- "gap": "md",
1176
- "justify": "space-between",
1321
+ "direction": "vertical",
1322
+ "gap": "lg",
1323
+ "className": "max-w-5xl mx-auto w-full",
1177
1324
  "children": [
1178
1325
  {
1179
1326
  "type": "stack",
1180
1327
  "direction": "horizontal",
1181
- "gap": "sm",
1328
+ "gap": "md",
1329
+ "justify": "space-between",
1182
1330
  "align": "center",
1183
- "children": [
1184
- {
1185
- "type": "icon",
1186
- "name": "briefcase",
1187
- "size": "lg"
1188
- },
1189
- {
1190
- "type": "typography",
1191
- "content": "Inventory",
1192
- "variant": "h2"
1193
- }
1194
- ]
1195
- },
1196
- {
1197
- "type": "stack",
1198
- "direction": "horizontal",
1199
- "gap": "sm",
1200
- "children": [
1201
- {
1202
- "type": "button",
1203
- "label": "Add RpgItem",
1204
- "event": "ADD_ITEM",
1205
- "variant": "primary",
1206
- "icon": "plus"
1207
- }
1208
- ]
1209
- }
1210
- ]
1211
- },
1212
- {
1213
- "type": "divider"
1214
- },
1215
- {
1216
- "type": "data-grid",
1217
- "entity": "RpgItem",
1218
- "emptyIcon": "inbox",
1219
- "emptyTitle": "No items yet",
1220
- "emptyDescription": "Add your first item to get started.",
1221
- "itemActions": [
1222
- {
1223
- "label": "Use",
1224
- "event": "USE_ITEM"
1225
- },
1226
- {
1227
- "label": "Drop",
1228
- "event": "DROP",
1229
- "variant": "danger"
1230
- }
1231
- ],
1232
- "className": "transition-shadow hover:shadow-md cursor-pointer",
1233
- "renderItem": [
1234
- "fn",
1235
- "item",
1236
- {
1237
- "type": "stack",
1238
- "direction": "vertical",
1239
- "gap": "sm",
1240
1331
  "children": [
1241
1332
  {
1242
1333
  "type": "stack",
1243
1334
  "direction": "horizontal",
1244
- "justify": "space-between",
1335
+ "gap": "sm",
1245
1336
  "align": "center",
1246
1337
  "children": [
1247
1338
  {
1248
- "type": "stack",
1249
- "direction": "horizontal",
1250
- "gap": "sm",
1251
- "align": "center",
1252
- "children": [
1253
- {
1254
- "type": "icon",
1255
- "name": "briefcase",
1256
- "size": "sm"
1257
- },
1258
- {
1259
- "type": "typography",
1260
- "variant": "h4",
1261
- "content": "@item.name"
1262
- }
1263
- ]
1339
+ "type": "icon",
1340
+ "name": "briefcase",
1341
+ "size": "lg"
1264
1342
  },
1265
1343
  {
1266
- "type": "badge",
1267
- "label": "@item.type"
1344
+ "type": "typography",
1345
+ "content": "Inventory",
1346
+ "variant": "h2"
1268
1347
  }
1269
1348
  ]
1270
1349
  },
1271
1350
  {
1272
- "type": "typography",
1273
- "variant": "caption",
1274
- "color": "muted",
1275
- "content": "@item.quantity"
1351
+ "type": "stack",
1352
+ "direction": "horizontal",
1353
+ "gap": "sm",
1354
+ "children": [
1355
+ {
1356
+ "type": "button",
1357
+ "label": "Add RpgItem",
1358
+ "event": "ADD_ITEM",
1359
+ "variant": "primary",
1360
+ "icon": "plus"
1361
+ }
1362
+ ]
1363
+ }
1364
+ ]
1365
+ },
1366
+ {
1367
+ "type": "divider"
1368
+ },
1369
+ {
1370
+ "type": "data-grid",
1371
+ "entity": "RpgItem",
1372
+ "emptyIcon": "inbox",
1373
+ "emptyTitle": "No items yet",
1374
+ "emptyDescription": "Add your first item to get started.",
1375
+ "itemActions": [
1376
+ {
1377
+ "label": "Use",
1378
+ "event": "USE_ITEM",
1379
+ "variant": "ghost",
1380
+ "size": "sm"
1381
+ },
1382
+ {
1383
+ "label": "Drop",
1384
+ "event": "DROP",
1385
+ "variant": "danger",
1386
+ "size": "sm"
1387
+ }
1388
+ ],
1389
+ "columns": [
1390
+ {
1391
+ "name": "name",
1392
+ "label": "Name",
1393
+ "variant": "h4",
1394
+ "icon": "briefcase"
1395
+ },
1396
+ {
1397
+ "name": "type",
1398
+ "label": "Type",
1399
+ "variant": "badge",
1400
+ "colorMap": {
1401
+ "active": "success",
1402
+ "completed": "success",
1403
+ "done": "success",
1404
+ "pending": "warning",
1405
+ "draft": "warning",
1406
+ "scheduled": "warning",
1407
+ "inactive": "neutral",
1408
+ "archived": "neutral",
1409
+ "disabled": "neutral",
1410
+ "error": "destructive",
1411
+ "cancelled": "destructive",
1412
+ "failed": "destructive"
1413
+ }
1414
+ },
1415
+ {
1416
+ "name": "quantity",
1417
+ "label": "Quantity",
1418
+ "variant": "caption"
1276
1419
  }
1277
1420
  ]
1278
1421
  }
@@ -1422,8 +1565,7 @@
1422
1565
  "name",
1423
1566
  "type",
1424
1567
  "quantity",
1425
- "rarity",
1426
- "pendingId"
1568
+ "rarity"
1427
1569
  ]
1428
1570
  }
1429
1571
  ]
@@ -1440,6 +1582,11 @@
1440
1582
  "render-ui",
1441
1583
  "modal",
1442
1584
  null
1585
+ ],
1586
+ [
1587
+ "notify",
1588
+ "Cancelled",
1589
+ "info"
1443
1590
  ]
1444
1591
  ]
1445
1592
  },
@@ -1619,6 +1766,11 @@
1619
1766
  "render-ui",
1620
1767
  "modal",
1621
1768
  null
1769
+ ],
1770
+ [
1771
+ "notify",
1772
+ "Cancelled",
1773
+ "info"
1622
1774
  ]
1623
1775
  ]
1624
1776
  },
@@ -2009,93 +2161,100 @@
2009
2161
  "render-ui",
2010
2162
  "main",
2011
2163
  {
2012
- "type": "stack",
2013
- "direction": "vertical",
2014
- "gap": "lg",
2164
+ "type": "game-shell",
2165
+ "appName": "RPG Game",
2166
+ "showTopBar": true,
2015
2167
  "children": [
2016
2168
  {
2017
2169
  "type": "stack",
2018
- "direction": "horizontal",
2019
- "gap": "md",
2020
- "justify": "space-between",
2170
+ "direction": "vertical",
2171
+ "gap": "lg",
2021
2172
  "children": [
2022
2173
  {
2023
2174
  "type": "stack",
2024
2175
  "direction": "horizontal",
2025
2176
  "gap": "md",
2177
+ "justify": "space-between",
2026
2178
  "children": [
2027
2179
  {
2028
- "type": "icon",
2029
- "name": "flag",
2030
- "size": "lg"
2031
- },
2032
- {
2033
- "type": "typography",
2034
- "content": "Missions Board",
2035
- "variant": "h2"
2180
+ "type": "stack",
2181
+ "direction": "horizontal",
2182
+ "gap": "md",
2183
+ "children": [
2184
+ {
2185
+ "type": "icon",
2186
+ "name": "flag",
2187
+ "size": "lg"
2188
+ },
2189
+ {
2190
+ "type": "typography",
2191
+ "content": "Missions Board",
2192
+ "variant": "h2"
2193
+ }
2194
+ ]
2036
2195
  }
2037
2196
  ]
2038
- }
2039
- ]
2040
- },
2041
- {
2042
- "type": "divider"
2043
- },
2044
- {
2045
- "type": "data-list",
2046
- "entity": "Mission",
2047
- "groupBy": "status",
2048
- "emptyIcon": "inbox",
2049
- "emptyTitle": "No missions available",
2050
- "emptyDescription": "Check back later for new missions.",
2051
- "itemActions": [
2052
- {
2053
- "label": "Accept",
2054
- "event": "ACCEPT"
2055
- }
2056
- ],
2057
- "renderItem": [
2058
- "fn",
2059
- "item",
2197
+ },
2060
2198
  {
2061
- "type": "stack",
2062
- "direction": "vertical",
2063
- "gap": "sm",
2064
- "children": [
2199
+ "type": "divider"
2200
+ },
2201
+ {
2202
+ "type": "data-list",
2203
+ "entity": "Mission",
2204
+ "groupBy": "status",
2205
+ "emptyIcon": "inbox",
2206
+ "emptyTitle": "No missions available",
2207
+ "emptyDescription": "Check back later for new missions.",
2208
+ "itemActions": [
2209
+ {
2210
+ "label": "Accept",
2211
+ "event": "ACCEPT"
2212
+ }
2213
+ ],
2214
+ "renderItem": [
2215
+ "fn",
2216
+ "item",
2065
2217
  {
2066
2218
  "type": "stack",
2067
- "direction": "horizontal",
2068
- "justify": "space-between",
2069
- "align": "center",
2219
+ "direction": "vertical",
2220
+ "gap": "sm",
2070
2221
  "children": [
2071
2222
  {
2072
2223
  "type": "stack",
2073
2224
  "direction": "horizontal",
2074
- "gap": "sm",
2225
+ "justify": "space-between",
2075
2226
  "align": "center",
2076
2227
  "children": [
2077
2228
  {
2078
- "type": "icon",
2079
- "name": "flag",
2080
- "size": "sm"
2229
+ "type": "stack",
2230
+ "direction": "horizontal",
2231
+ "gap": "sm",
2232
+ "align": "center",
2233
+ "children": [
2234
+ {
2235
+ "type": "icon",
2236
+ "name": "flag",
2237
+ "size": "sm"
2238
+ },
2239
+ {
2240
+ "type": "typography",
2241
+ "variant": "h4",
2242
+ "content": "@item.title"
2243
+ }
2244
+ ]
2081
2245
  },
2082
2246
  {
2083
- "type": "typography",
2084
- "variant": "h4",
2085
- "content": "@item.title"
2247
+ "type": "badge",
2248
+ "label": "@item.description"
2086
2249
  }
2087
2250
  ]
2088
2251
  },
2089
2252
  {
2090
- "type": "badge",
2091
- "label": "@item.description"
2253
+ "type": "typography",
2254
+ "variant": "caption",
2255
+ "content": "@item.status"
2092
2256
  }
2093
2257
  ]
2094
- },
2095
- {
2096
- "type": "typography",
2097
- "variant": "caption",
2098
- "content": "@item.status"
2099
2258
  }
2100
2259
  ]
2101
2260
  }
@@ -2119,110 +2278,117 @@
2119
2278
  "render-ui",
2120
2279
  "main",
2121
2280
  {
2122
- "type": "stack",
2123
- "direction": "vertical",
2124
- "gap": "lg",
2281
+ "type": "game-shell",
2282
+ "appName": "RPG Game",
2283
+ "showTopBar": true,
2125
2284
  "children": [
2126
2285
  {
2127
2286
  "type": "stack",
2128
- "direction": "horizontal",
2129
- "gap": "md",
2130
- "justify": "space-between",
2287
+ "direction": "vertical",
2288
+ "gap": "lg",
2131
2289
  "children": [
2132
2290
  {
2133
2291
  "type": "stack",
2134
2292
  "direction": "horizontal",
2135
2293
  "gap": "md",
2294
+ "justify": "space-between",
2136
2295
  "children": [
2137
2296
  {
2138
- "type": "icon",
2139
- "name": "flag",
2140
- "size": "lg"
2297
+ "type": "stack",
2298
+ "direction": "horizontal",
2299
+ "gap": "md",
2300
+ "children": [
2301
+ {
2302
+ "type": "icon",
2303
+ "name": "flag",
2304
+ "size": "lg"
2305
+ },
2306
+ {
2307
+ "type": "typography",
2308
+ "content": "Missions Board",
2309
+ "variant": "h2"
2310
+ }
2311
+ ]
2141
2312
  },
2142
2313
  {
2143
- "type": "typography",
2144
- "content": "Missions Board",
2145
- "variant": "h2"
2314
+ "type": "badge",
2315
+ "label": "Active"
2146
2316
  }
2147
2317
  ]
2148
2318
  },
2149
2319
  {
2150
- "type": "badge",
2151
- "label": "Active"
2152
- }
2153
- ]
2154
- },
2155
- {
2156
- "type": "divider"
2157
- },
2158
- {
2159
- "type": "progress-bar",
2160
- "value": 50,
2161
- "showPercentage": true
2162
- },
2163
- {
2164
- "type": "data-grid",
2165
- "entity": "Mission",
2166
- "emptyIcon": "inbox",
2167
- "emptyTitle": "No active quests",
2168
- "emptyDescription": "Accept a quest to begin.",
2169
- "itemActions": [
2170
- {
2171
- "label": "Progress",
2172
- "event": "PROGRESS"
2320
+ "type": "divider"
2173
2321
  },
2174
2322
  {
2175
- "label": "Complete",
2176
- "event": "COMPLETE"
2323
+ "type": "progress-bar",
2324
+ "value": 50,
2325
+ "showPercentage": true
2177
2326
  },
2178
2327
  {
2179
- "label": "Fail",
2180
- "event": "FAIL",
2181
- "variant": "danger"
2182
- }
2183
- ],
2184
- "renderItem": [
2185
- "fn",
2186
- "item",
2187
- {
2188
- "type": "stack",
2189
- "direction": "vertical",
2190
- "gap": "sm",
2191
- "children": [
2328
+ "type": "data-grid",
2329
+ "entity": "Mission",
2330
+ "emptyIcon": "inbox",
2331
+ "emptyTitle": "No active quests",
2332
+ "emptyDescription": "Accept a quest to begin.",
2333
+ "itemActions": [
2334
+ {
2335
+ "label": "Progress",
2336
+ "event": "PROGRESS"
2337
+ },
2338
+ {
2339
+ "label": "Complete",
2340
+ "event": "COMPLETE"
2341
+ },
2342
+ {
2343
+ "label": "Fail",
2344
+ "event": "FAIL",
2345
+ "variant": "danger"
2346
+ }
2347
+ ],
2348
+ "renderItem": [
2349
+ "fn",
2350
+ "item",
2192
2351
  {
2193
2352
  "type": "stack",
2194
- "direction": "horizontal",
2195
- "justify": "space-between",
2196
- "align": "center",
2353
+ "direction": "vertical",
2354
+ "gap": "sm",
2197
2355
  "children": [
2198
2356
  {
2199
2357
  "type": "stack",
2200
2358
  "direction": "horizontal",
2201
- "gap": "sm",
2359
+ "justify": "space-between",
2202
2360
  "align": "center",
2203
2361
  "children": [
2204
2362
  {
2205
- "type": "icon",
2206
- "name": "flag",
2207
- "size": "sm"
2363
+ "type": "stack",
2364
+ "direction": "horizontal",
2365
+ "gap": "sm",
2366
+ "align": "center",
2367
+ "children": [
2368
+ {
2369
+ "type": "icon",
2370
+ "name": "flag",
2371
+ "size": "sm"
2372
+ },
2373
+ {
2374
+ "type": "typography",
2375
+ "variant": "h4",
2376
+ "content": "@item.title"
2377
+ }
2378
+ ]
2208
2379
  },
2209
2380
  {
2210
- "type": "typography",
2211
- "variant": "h4",
2212
- "content": "@item.title"
2381
+ "type": "badge",
2382
+ "label": "@item.description"
2213
2383
  }
2214
2384
  ]
2215
2385
  },
2216
2386
  {
2217
- "type": "badge",
2218
- "label": "@item.description"
2387
+ "type": "typography",
2388
+ "variant": "caption",
2389
+ "content": "@item.status"
2219
2390
  }
2220
2391
  ]
2221
- },
2222
- {
2223
- "type": "typography",
2224
- "variant": "caption",
2225
- "content": "@item.status"
2226
2392
  }
2227
2393
  ]
2228
2394
  }
@@ -2246,110 +2412,117 @@
2246
2412
  "render-ui",
2247
2413
  "main",
2248
2414
  {
2249
- "type": "stack",
2250
- "direction": "vertical",
2251
- "gap": "lg",
2415
+ "type": "game-shell",
2416
+ "appName": "RPG Game",
2417
+ "showTopBar": true,
2252
2418
  "children": [
2253
2419
  {
2254
2420
  "type": "stack",
2255
- "direction": "horizontal",
2256
- "gap": "md",
2257
- "justify": "space-between",
2421
+ "direction": "vertical",
2422
+ "gap": "lg",
2258
2423
  "children": [
2259
2424
  {
2260
2425
  "type": "stack",
2261
2426
  "direction": "horizontal",
2262
2427
  "gap": "md",
2428
+ "justify": "space-between",
2263
2429
  "children": [
2264
2430
  {
2265
- "type": "icon",
2266
- "name": "flag",
2267
- "size": "lg"
2431
+ "type": "stack",
2432
+ "direction": "horizontal",
2433
+ "gap": "md",
2434
+ "children": [
2435
+ {
2436
+ "type": "icon",
2437
+ "name": "flag",
2438
+ "size": "lg"
2439
+ },
2440
+ {
2441
+ "type": "typography",
2442
+ "content": "Missions Board",
2443
+ "variant": "h2"
2444
+ }
2445
+ ]
2268
2446
  },
2269
2447
  {
2270
- "type": "typography",
2271
- "content": "Missions Board",
2272
- "variant": "h2"
2448
+ "type": "badge",
2449
+ "label": "Active"
2273
2450
  }
2274
2451
  ]
2275
2452
  },
2276
2453
  {
2277
- "type": "badge",
2278
- "label": "Active"
2279
- }
2280
- ]
2281
- },
2282
- {
2283
- "type": "divider"
2284
- },
2285
- {
2286
- "type": "progress-bar",
2287
- "value": 50,
2288
- "showPercentage": true
2289
- },
2290
- {
2291
- "type": "data-grid",
2292
- "entity": "Mission",
2293
- "emptyIcon": "inbox",
2294
- "emptyTitle": "No active quests",
2295
- "emptyDescription": "Accept a quest to begin.",
2296
- "itemActions": [
2297
- {
2298
- "label": "Progress",
2299
- "event": "PROGRESS"
2454
+ "type": "divider"
2300
2455
  },
2301
2456
  {
2302
- "label": "Complete",
2303
- "event": "COMPLETE"
2457
+ "type": "progress-bar",
2458
+ "value": 50,
2459
+ "showPercentage": true
2304
2460
  },
2305
2461
  {
2306
- "label": "Fail",
2307
- "event": "FAIL",
2308
- "variant": "danger"
2309
- }
2310
- ],
2311
- "renderItem": [
2312
- "fn",
2313
- "item",
2314
- {
2315
- "type": "stack",
2316
- "direction": "vertical",
2317
- "gap": "sm",
2318
- "children": [
2462
+ "type": "data-grid",
2463
+ "entity": "Mission",
2464
+ "emptyIcon": "inbox",
2465
+ "emptyTitle": "No active quests",
2466
+ "emptyDescription": "Accept a quest to begin.",
2467
+ "itemActions": [
2468
+ {
2469
+ "label": "Progress",
2470
+ "event": "PROGRESS"
2471
+ },
2472
+ {
2473
+ "label": "Complete",
2474
+ "event": "COMPLETE"
2475
+ },
2476
+ {
2477
+ "label": "Fail",
2478
+ "event": "FAIL",
2479
+ "variant": "danger"
2480
+ }
2481
+ ],
2482
+ "renderItem": [
2483
+ "fn",
2484
+ "item",
2319
2485
  {
2320
2486
  "type": "stack",
2321
- "direction": "horizontal",
2322
- "justify": "space-between",
2323
- "align": "center",
2487
+ "direction": "vertical",
2488
+ "gap": "sm",
2324
2489
  "children": [
2325
2490
  {
2326
2491
  "type": "stack",
2327
2492
  "direction": "horizontal",
2328
- "gap": "sm",
2493
+ "justify": "space-between",
2329
2494
  "align": "center",
2330
2495
  "children": [
2331
2496
  {
2332
- "type": "icon",
2333
- "name": "flag",
2334
- "size": "sm"
2497
+ "type": "stack",
2498
+ "direction": "horizontal",
2499
+ "gap": "sm",
2500
+ "align": "center",
2501
+ "children": [
2502
+ {
2503
+ "type": "icon",
2504
+ "name": "flag",
2505
+ "size": "sm"
2506
+ },
2507
+ {
2508
+ "type": "typography",
2509
+ "variant": "h4",
2510
+ "content": "@item.title"
2511
+ }
2512
+ ]
2335
2513
  },
2336
2514
  {
2337
- "type": "typography",
2338
- "variant": "h4",
2339
- "content": "@item.title"
2515
+ "type": "badge",
2516
+ "label": "@item.description"
2340
2517
  }
2341
2518
  ]
2342
2519
  },
2343
2520
  {
2344
- "type": "badge",
2345
- "label": "@item.description"
2521
+ "type": "typography",
2522
+ "variant": "caption",
2523
+ "content": "@item.status"
2346
2524
  }
2347
2525
  ]
2348
- },
2349
- {
2350
- "type": "typography",
2351
- "variant": "caption",
2352
- "content": "@item.status"
2353
2526
  }
2354
2527
  ]
2355
2528
  }
@@ -2435,110 +2608,117 @@
2435
2608
  "render-ui",
2436
2609
  "main",
2437
2610
  {
2438
- "type": "stack",
2439
- "direction": "vertical",
2440
- "gap": "lg",
2611
+ "type": "game-shell",
2612
+ "appName": "RPG Game",
2613
+ "showTopBar": true,
2441
2614
  "children": [
2442
2615
  {
2443
2616
  "type": "stack",
2444
- "direction": "horizontal",
2445
- "gap": "md",
2446
- "justify": "space-between",
2617
+ "direction": "vertical",
2618
+ "gap": "lg",
2447
2619
  "children": [
2448
2620
  {
2449
2621
  "type": "stack",
2450
2622
  "direction": "horizontal",
2451
2623
  "gap": "md",
2624
+ "justify": "space-between",
2452
2625
  "children": [
2453
2626
  {
2454
- "type": "icon",
2455
- "name": "flag",
2456
- "size": "lg"
2627
+ "type": "stack",
2628
+ "direction": "horizontal",
2629
+ "gap": "md",
2630
+ "children": [
2631
+ {
2632
+ "type": "icon",
2633
+ "name": "flag",
2634
+ "size": "lg"
2635
+ },
2636
+ {
2637
+ "type": "typography",
2638
+ "content": "Missions Board",
2639
+ "variant": "h2"
2640
+ }
2641
+ ]
2457
2642
  },
2458
2643
  {
2459
- "type": "typography",
2460
- "content": "Missions Board",
2461
- "variant": "h2"
2644
+ "type": "badge",
2645
+ "label": "Active"
2462
2646
  }
2463
2647
  ]
2464
2648
  },
2465
2649
  {
2466
- "type": "badge",
2467
- "label": "Active"
2468
- }
2469
- ]
2470
- },
2471
- {
2472
- "type": "divider"
2473
- },
2474
- {
2475
- "type": "progress-bar",
2476
- "value": 50,
2477
- "showPercentage": true
2478
- },
2479
- {
2480
- "type": "data-grid",
2481
- "entity": "Mission",
2482
- "emptyIcon": "inbox",
2483
- "emptyTitle": "No active quests",
2484
- "emptyDescription": "Accept a quest to begin.",
2485
- "itemActions": [
2486
- {
2487
- "label": "Progress",
2488
- "event": "PROGRESS"
2650
+ "type": "divider"
2489
2651
  },
2490
2652
  {
2491
- "label": "Complete",
2492
- "event": "COMPLETE"
2653
+ "type": "progress-bar",
2654
+ "value": 50,
2655
+ "showPercentage": true
2493
2656
  },
2494
2657
  {
2495
- "label": "Fail",
2496
- "event": "FAIL",
2497
- "variant": "danger"
2498
- }
2499
- ],
2500
- "renderItem": [
2501
- "fn",
2502
- "item",
2503
- {
2504
- "type": "stack",
2505
- "direction": "vertical",
2506
- "gap": "sm",
2507
- "children": [
2658
+ "type": "data-grid",
2659
+ "entity": "Mission",
2660
+ "emptyIcon": "inbox",
2661
+ "emptyTitle": "No active quests",
2662
+ "emptyDescription": "Accept a quest to begin.",
2663
+ "itemActions": [
2664
+ {
2665
+ "label": "Progress",
2666
+ "event": "PROGRESS"
2667
+ },
2668
+ {
2669
+ "label": "Complete",
2670
+ "event": "COMPLETE"
2671
+ },
2672
+ {
2673
+ "label": "Fail",
2674
+ "event": "FAIL",
2675
+ "variant": "danger"
2676
+ }
2677
+ ],
2678
+ "renderItem": [
2679
+ "fn",
2680
+ "item",
2508
2681
  {
2509
2682
  "type": "stack",
2510
- "direction": "horizontal",
2511
- "justify": "space-between",
2512
- "align": "center",
2683
+ "direction": "vertical",
2684
+ "gap": "sm",
2513
2685
  "children": [
2514
2686
  {
2515
2687
  "type": "stack",
2516
2688
  "direction": "horizontal",
2517
- "gap": "sm",
2689
+ "justify": "space-between",
2518
2690
  "align": "center",
2519
2691
  "children": [
2520
2692
  {
2521
- "type": "icon",
2522
- "name": "flag",
2523
- "size": "sm"
2693
+ "type": "stack",
2694
+ "direction": "horizontal",
2695
+ "gap": "sm",
2696
+ "align": "center",
2697
+ "children": [
2698
+ {
2699
+ "type": "icon",
2700
+ "name": "flag",
2701
+ "size": "sm"
2702
+ },
2703
+ {
2704
+ "type": "typography",
2705
+ "variant": "h4",
2706
+ "content": "@item.title"
2707
+ }
2708
+ ]
2524
2709
  },
2525
2710
  {
2526
- "type": "typography",
2527
- "variant": "h4",
2528
- "content": "@item.title"
2711
+ "type": "badge",
2712
+ "label": "@item.description"
2529
2713
  }
2530
2714
  ]
2531
2715
  },
2532
2716
  {
2533
- "type": "badge",
2534
- "label": "@item.description"
2717
+ "type": "typography",
2718
+ "variant": "caption",
2719
+ "content": "@item.status"
2535
2720
  }
2536
2721
  ]
2537
- },
2538
- {
2539
- "type": "typography",
2540
- "variant": "caption",
2541
- "content": "@item.status"
2542
2722
  }
2543
2723
  ]
2544
2724
  }
@@ -2571,110 +2751,117 @@
2571
2751
  "render-ui",
2572
2752
  "main",
2573
2753
  {
2574
- "type": "stack",
2575
- "direction": "vertical",
2576
- "gap": "lg",
2754
+ "type": "game-shell",
2755
+ "appName": "RPG Game",
2756
+ "showTopBar": true,
2577
2757
  "children": [
2578
2758
  {
2579
2759
  "type": "stack",
2580
- "direction": "horizontal",
2581
- "gap": "md",
2582
- "justify": "space-between",
2760
+ "direction": "vertical",
2761
+ "gap": "lg",
2583
2762
  "children": [
2584
2763
  {
2585
2764
  "type": "stack",
2586
2765
  "direction": "horizontal",
2587
2766
  "gap": "md",
2767
+ "justify": "space-between",
2588
2768
  "children": [
2589
2769
  {
2590
- "type": "icon",
2591
- "name": "flag",
2592
- "size": "lg"
2770
+ "type": "stack",
2771
+ "direction": "horizontal",
2772
+ "gap": "md",
2773
+ "children": [
2774
+ {
2775
+ "type": "icon",
2776
+ "name": "flag",
2777
+ "size": "lg"
2778
+ },
2779
+ {
2780
+ "type": "typography",
2781
+ "content": "Missions Board",
2782
+ "variant": "h2"
2783
+ }
2784
+ ]
2593
2785
  },
2594
2786
  {
2595
- "type": "typography",
2596
- "content": "Missions Board",
2597
- "variant": "h2"
2787
+ "type": "badge",
2788
+ "label": "Active"
2598
2789
  }
2599
2790
  ]
2600
2791
  },
2601
2792
  {
2602
- "type": "badge",
2603
- "label": "Active"
2604
- }
2605
- ]
2606
- },
2607
- {
2608
- "type": "divider"
2609
- },
2610
- {
2611
- "type": "progress-bar",
2612
- "value": 50,
2613
- "showPercentage": true
2614
- },
2615
- {
2616
- "type": "data-grid",
2617
- "entity": "Mission",
2618
- "emptyIcon": "inbox",
2619
- "emptyTitle": "No active quests",
2620
- "emptyDescription": "Accept a quest to begin.",
2621
- "itemActions": [
2622
- {
2623
- "label": "Progress",
2624
- "event": "PROGRESS"
2793
+ "type": "divider"
2625
2794
  },
2626
2795
  {
2627
- "label": "Complete",
2628
- "event": "COMPLETE"
2796
+ "type": "progress-bar",
2797
+ "value": 50,
2798
+ "showPercentage": true
2629
2799
  },
2630
2800
  {
2631
- "label": "Fail",
2632
- "event": "FAIL",
2633
- "variant": "danger"
2634
- }
2635
- ],
2636
- "renderItem": [
2637
- "fn",
2638
- "item",
2639
- {
2640
- "type": "stack",
2641
- "direction": "vertical",
2642
- "gap": "sm",
2643
- "children": [
2801
+ "type": "data-grid",
2802
+ "entity": "Mission",
2803
+ "emptyIcon": "inbox",
2804
+ "emptyTitle": "No active quests",
2805
+ "emptyDescription": "Accept a quest to begin.",
2806
+ "itemActions": [
2807
+ {
2808
+ "label": "Progress",
2809
+ "event": "PROGRESS"
2810
+ },
2811
+ {
2812
+ "label": "Complete",
2813
+ "event": "COMPLETE"
2814
+ },
2815
+ {
2816
+ "label": "Fail",
2817
+ "event": "FAIL",
2818
+ "variant": "danger"
2819
+ }
2820
+ ],
2821
+ "renderItem": [
2822
+ "fn",
2823
+ "item",
2644
2824
  {
2645
2825
  "type": "stack",
2646
- "direction": "horizontal",
2647
- "justify": "space-between",
2648
- "align": "center",
2826
+ "direction": "vertical",
2827
+ "gap": "sm",
2649
2828
  "children": [
2650
2829
  {
2651
2830
  "type": "stack",
2652
2831
  "direction": "horizontal",
2653
- "gap": "sm",
2832
+ "justify": "space-between",
2654
2833
  "align": "center",
2655
2834
  "children": [
2656
2835
  {
2657
- "type": "icon",
2658
- "name": "flag",
2659
- "size": "sm"
2836
+ "type": "stack",
2837
+ "direction": "horizontal",
2838
+ "gap": "sm",
2839
+ "align": "center",
2840
+ "children": [
2841
+ {
2842
+ "type": "icon",
2843
+ "name": "flag",
2844
+ "size": "sm"
2845
+ },
2846
+ {
2847
+ "type": "typography",
2848
+ "variant": "h4",
2849
+ "content": "@item.title"
2850
+ }
2851
+ ]
2660
2852
  },
2661
2853
  {
2662
- "type": "typography",
2663
- "variant": "h4",
2664
- "content": "@item.title"
2854
+ "type": "badge",
2855
+ "label": "@item.description"
2665
2856
  }
2666
2857
  ]
2667
2858
  },
2668
2859
  {
2669
- "type": "badge",
2670
- "label": "@item.description"
2860
+ "type": "typography",
2861
+ "variant": "caption",
2862
+ "content": "@item.status"
2671
2863
  }
2672
2864
  ]
2673
- },
2674
- {
2675
- "type": "typography",
2676
- "variant": "caption",
2677
- "content": "@item.status"
2678
2865
  }
2679
2866
  ]
2680
2867
  }
@@ -2703,110 +2890,117 @@
2703
2890
  "render-ui",
2704
2891
  "main",
2705
2892
  {
2706
- "type": "stack",
2707
- "direction": "vertical",
2708
- "gap": "lg",
2893
+ "type": "game-shell",
2894
+ "appName": "RPG Game",
2895
+ "showTopBar": true,
2709
2896
  "children": [
2710
2897
  {
2711
2898
  "type": "stack",
2712
- "direction": "horizontal",
2713
- "gap": "md",
2714
- "justify": "space-between",
2899
+ "direction": "vertical",
2900
+ "gap": "lg",
2715
2901
  "children": [
2716
2902
  {
2717
2903
  "type": "stack",
2718
2904
  "direction": "horizontal",
2719
2905
  "gap": "md",
2906
+ "justify": "space-between",
2720
2907
  "children": [
2721
2908
  {
2722
- "type": "icon",
2723
- "name": "flag",
2724
- "size": "lg"
2909
+ "type": "stack",
2910
+ "direction": "horizontal",
2911
+ "gap": "md",
2912
+ "children": [
2913
+ {
2914
+ "type": "icon",
2915
+ "name": "flag",
2916
+ "size": "lg"
2917
+ },
2918
+ {
2919
+ "type": "typography",
2920
+ "content": "Missions Board",
2921
+ "variant": "h2"
2922
+ }
2923
+ ]
2725
2924
  },
2726
2925
  {
2727
- "type": "typography",
2728
- "content": "Missions Board",
2729
- "variant": "h2"
2926
+ "type": "badge",
2927
+ "label": "Active"
2730
2928
  }
2731
2929
  ]
2732
2930
  },
2733
2931
  {
2734
- "type": "badge",
2735
- "label": "Active"
2736
- }
2737
- ]
2738
- },
2739
- {
2740
- "type": "divider"
2741
- },
2742
- {
2743
- "type": "progress-bar",
2744
- "value": 50,
2745
- "showPercentage": true
2746
- },
2747
- {
2748
- "type": "data-grid",
2749
- "entity": "Mission",
2750
- "emptyIcon": "inbox",
2751
- "emptyTitle": "No active quests",
2752
- "emptyDescription": "Accept a quest to begin.",
2753
- "itemActions": [
2754
- {
2755
- "label": "Progress",
2756
- "event": "PROGRESS"
2932
+ "type": "divider"
2757
2933
  },
2758
2934
  {
2759
- "label": "Complete",
2760
- "event": "COMPLETE"
2935
+ "type": "progress-bar",
2936
+ "value": 50,
2937
+ "showPercentage": true
2761
2938
  },
2762
2939
  {
2763
- "label": "Fail",
2764
- "event": "FAIL",
2765
- "variant": "danger"
2766
- }
2767
- ],
2768
- "renderItem": [
2769
- "fn",
2770
- "item",
2771
- {
2772
- "type": "stack",
2773
- "direction": "vertical",
2774
- "gap": "sm",
2775
- "children": [
2940
+ "type": "data-grid",
2941
+ "entity": "Mission",
2942
+ "emptyIcon": "inbox",
2943
+ "emptyTitle": "No active quests",
2944
+ "emptyDescription": "Accept a quest to begin.",
2945
+ "itemActions": [
2946
+ {
2947
+ "label": "Progress",
2948
+ "event": "PROGRESS"
2949
+ },
2950
+ {
2951
+ "label": "Complete",
2952
+ "event": "COMPLETE"
2953
+ },
2954
+ {
2955
+ "label": "Fail",
2956
+ "event": "FAIL",
2957
+ "variant": "danger"
2958
+ }
2959
+ ],
2960
+ "renderItem": [
2961
+ "fn",
2962
+ "item",
2776
2963
  {
2777
2964
  "type": "stack",
2778
- "direction": "horizontal",
2779
- "justify": "space-between",
2780
- "align": "center",
2965
+ "direction": "vertical",
2966
+ "gap": "sm",
2781
2967
  "children": [
2782
2968
  {
2783
2969
  "type": "stack",
2784
2970
  "direction": "horizontal",
2785
- "gap": "sm",
2971
+ "justify": "space-between",
2786
2972
  "align": "center",
2787
2973
  "children": [
2788
2974
  {
2789
- "type": "icon",
2790
- "name": "flag",
2791
- "size": "sm"
2975
+ "type": "stack",
2976
+ "direction": "horizontal",
2977
+ "gap": "sm",
2978
+ "align": "center",
2979
+ "children": [
2980
+ {
2981
+ "type": "icon",
2982
+ "name": "flag",
2983
+ "size": "sm"
2984
+ },
2985
+ {
2986
+ "type": "typography",
2987
+ "variant": "h4",
2988
+ "content": "@item.title"
2989
+ }
2990
+ ]
2792
2991
  },
2793
2992
  {
2794
- "type": "typography",
2795
- "variant": "h4",
2796
- "content": "@item.title"
2993
+ "type": "badge",
2994
+ "label": "@item.description"
2797
2995
  }
2798
2996
  ]
2799
2997
  },
2800
2998
  {
2801
- "type": "badge",
2802
- "label": "@item.description"
2999
+ "type": "typography",
3000
+ "variant": "caption",
3001
+ "content": "@item.status"
2803
3002
  }
2804
3003
  ]
2805
- },
2806
- {
2807
- "type": "typography",
2808
- "variant": "caption",
2809
- "content": "@item.status"
2810
3004
  }
2811
3005
  ]
2812
3006
  }
@@ -2826,32 +3020,39 @@
2826
3020
  "render-ui",
2827
3021
  "main",
2828
3022
  {
2829
- "type": "stack",
2830
- "direction": "vertical",
2831
- "gap": "lg",
2832
- "align": "center",
3023
+ "type": "game-shell",
3024
+ "appName": "RPG Game",
3025
+ "showTopBar": true,
2833
3026
  "children": [
2834
3027
  {
2835
- "type": "icon",
2836
- "name": "check-circle",
2837
- "size": "lg"
2838
- },
2839
- {
2840
- "type": "typography",
2841
- "content": "Quest Complete",
2842
- "variant": "h2"
2843
- },
2844
- {
2845
- "type": "alert",
2846
- "variant": "success",
2847
- "message": "Congratulations! The quest has been completed."
2848
- },
2849
- {
2850
- "type": "button",
2851
- "label": "View Quests",
2852
- "event": "RESET",
2853
- "variant": "primary",
2854
- "icon": "arrow-left"
3028
+ "type": "stack",
3029
+ "direction": "vertical",
3030
+ "gap": "lg",
3031
+ "align": "center",
3032
+ "children": [
3033
+ {
3034
+ "type": "icon",
3035
+ "name": "check-circle",
3036
+ "size": "lg"
3037
+ },
3038
+ {
3039
+ "type": "typography",
3040
+ "content": "Quest Complete",
3041
+ "variant": "h2"
3042
+ },
3043
+ {
3044
+ "type": "alert",
3045
+ "variant": "success",
3046
+ "message": "Congratulations! The quest has been completed."
3047
+ },
3048
+ {
3049
+ "type": "button",
3050
+ "label": "View Quests",
3051
+ "event": "RESET",
3052
+ "variant": "primary",
3053
+ "icon": "arrow-left"
3054
+ }
3055
+ ]
2855
3056
  }
2856
3057
  ]
2857
3058
  }
@@ -2867,32 +3068,39 @@
2867
3068
  "render-ui",
2868
3069
  "main",
2869
3070
  {
2870
- "type": "stack",
2871
- "direction": "vertical",
2872
- "gap": "lg",
2873
- "align": "center",
3071
+ "type": "game-shell",
3072
+ "appName": "RPG Game",
3073
+ "showTopBar": true,
2874
3074
  "children": [
2875
3075
  {
2876
- "type": "icon",
2877
- "name": "x-circle",
2878
- "size": "lg"
2879
- },
2880
- {
2881
- "type": "typography",
2882
- "content": "Quest Failed",
2883
- "variant": "h2"
2884
- },
2885
- {
2886
- "type": "alert",
2887
- "variant": "danger",
2888
- "message": "The quest was not completed. You can try again."
2889
- },
2890
- {
2891
- "type": "button",
2892
- "label": "View Quests",
2893
- "event": "RESET",
2894
- "variant": "primary",
2895
- "icon": "arrow-left"
3076
+ "type": "stack",
3077
+ "direction": "vertical",
3078
+ "gap": "lg",
3079
+ "align": "center",
3080
+ "children": [
3081
+ {
3082
+ "type": "icon",
3083
+ "name": "x-circle",
3084
+ "size": "lg"
3085
+ },
3086
+ {
3087
+ "type": "typography",
3088
+ "content": "Quest Failed",
3089
+ "variant": "h2"
3090
+ },
3091
+ {
3092
+ "type": "alert",
3093
+ "variant": "danger",
3094
+ "message": "The quest was not completed. You can try again."
3095
+ },
3096
+ {
3097
+ "type": "button",
3098
+ "label": "View Quests",
3099
+ "event": "RESET",
3100
+ "variant": "primary",
3101
+ "icon": "arrow-left"
3102
+ }
3103
+ ]
2896
3104
  }
2897
3105
  ]
2898
3106
  }
@@ -2912,93 +3120,100 @@
2912
3120
  "render-ui",
2913
3121
  "main",
2914
3122
  {
2915
- "type": "stack",
2916
- "direction": "vertical",
2917
- "gap": "lg",
3123
+ "type": "game-shell",
3124
+ "appName": "RPG Game",
3125
+ "showTopBar": true,
2918
3126
  "children": [
2919
3127
  {
2920
3128
  "type": "stack",
2921
- "direction": "horizontal",
2922
- "gap": "md",
2923
- "justify": "space-between",
3129
+ "direction": "vertical",
3130
+ "gap": "lg",
2924
3131
  "children": [
2925
3132
  {
2926
3133
  "type": "stack",
2927
3134
  "direction": "horizontal",
2928
3135
  "gap": "md",
3136
+ "justify": "space-between",
2929
3137
  "children": [
2930
3138
  {
2931
- "type": "icon",
2932
- "name": "flag",
2933
- "size": "lg"
2934
- },
2935
- {
2936
- "type": "typography",
2937
- "content": "Missions Board",
2938
- "variant": "h2"
3139
+ "type": "stack",
3140
+ "direction": "horizontal",
3141
+ "gap": "md",
3142
+ "children": [
3143
+ {
3144
+ "type": "icon",
3145
+ "name": "flag",
3146
+ "size": "lg"
3147
+ },
3148
+ {
3149
+ "type": "typography",
3150
+ "content": "Missions Board",
3151
+ "variant": "h2"
3152
+ }
3153
+ ]
2939
3154
  }
2940
3155
  ]
2941
- }
2942
- ]
2943
- },
2944
- {
2945
- "type": "divider"
2946
- },
2947
- {
2948
- "type": "data-list",
2949
- "entity": "Mission",
2950
- "groupBy": "status",
2951
- "emptyIcon": "inbox",
2952
- "emptyTitle": "No missions available",
2953
- "emptyDescription": "Check back later for new missions.",
2954
- "itemActions": [
2955
- {
2956
- "label": "Accept",
2957
- "event": "ACCEPT"
2958
- }
2959
- ],
2960
- "renderItem": [
2961
- "fn",
2962
- "item",
3156
+ },
2963
3157
  {
2964
- "type": "stack",
2965
- "direction": "vertical",
2966
- "gap": "sm",
2967
- "children": [
3158
+ "type": "divider"
3159
+ },
3160
+ {
3161
+ "type": "data-list",
3162
+ "entity": "Mission",
3163
+ "groupBy": "status",
3164
+ "emptyIcon": "inbox",
3165
+ "emptyTitle": "No missions available",
3166
+ "emptyDescription": "Check back later for new missions.",
3167
+ "itemActions": [
3168
+ {
3169
+ "label": "Accept",
3170
+ "event": "ACCEPT"
3171
+ }
3172
+ ],
3173
+ "renderItem": [
3174
+ "fn",
3175
+ "item",
2968
3176
  {
2969
3177
  "type": "stack",
2970
- "direction": "horizontal",
2971
- "justify": "space-between",
2972
- "align": "center",
3178
+ "direction": "vertical",
3179
+ "gap": "sm",
2973
3180
  "children": [
2974
3181
  {
2975
3182
  "type": "stack",
2976
3183
  "direction": "horizontal",
2977
- "gap": "sm",
3184
+ "justify": "space-between",
2978
3185
  "align": "center",
2979
3186
  "children": [
2980
3187
  {
2981
- "type": "icon",
2982
- "name": "flag",
2983
- "size": "sm"
3188
+ "type": "stack",
3189
+ "direction": "horizontal",
3190
+ "gap": "sm",
3191
+ "align": "center",
3192
+ "children": [
3193
+ {
3194
+ "type": "icon",
3195
+ "name": "flag",
3196
+ "size": "sm"
3197
+ },
3198
+ {
3199
+ "type": "typography",
3200
+ "variant": "h4",
3201
+ "content": "@item.title"
3202
+ }
3203
+ ]
2984
3204
  },
2985
3205
  {
2986
- "type": "typography",
2987
- "variant": "h4",
2988
- "content": "@item.title"
3206
+ "type": "badge",
3207
+ "label": "@item.description"
2989
3208
  }
2990
3209
  ]
2991
3210
  },
2992
3211
  {
2993
- "type": "badge",
2994
- "label": "@item.description"
3212
+ "type": "typography",
3213
+ "variant": "caption",
3214
+ "content": "@item.status"
2995
3215
  }
2996
3216
  ]
2997
- },
2998
- {
2999
- "type": "typography",
3000
- "variant": "caption",
3001
- "content": "@item.status"
3002
3217
  }
3003
3218
  ]
3004
3219
  }
@@ -3022,93 +3237,100 @@
3022
3237
  "render-ui",
3023
3238
  "main",
3024
3239
  {
3025
- "type": "stack",
3026
- "direction": "vertical",
3027
- "gap": "lg",
3240
+ "type": "game-shell",
3241
+ "appName": "RPG Game",
3242
+ "showTopBar": true,
3028
3243
  "children": [
3029
3244
  {
3030
3245
  "type": "stack",
3031
- "direction": "horizontal",
3032
- "gap": "md",
3033
- "justify": "space-between",
3246
+ "direction": "vertical",
3247
+ "gap": "lg",
3034
3248
  "children": [
3035
3249
  {
3036
3250
  "type": "stack",
3037
3251
  "direction": "horizontal",
3038
3252
  "gap": "md",
3253
+ "justify": "space-between",
3039
3254
  "children": [
3040
3255
  {
3041
- "type": "icon",
3042
- "name": "flag",
3043
- "size": "lg"
3044
- },
3045
- {
3046
- "type": "typography",
3047
- "content": "Missions Board",
3048
- "variant": "h2"
3256
+ "type": "stack",
3257
+ "direction": "horizontal",
3258
+ "gap": "md",
3259
+ "children": [
3260
+ {
3261
+ "type": "icon",
3262
+ "name": "flag",
3263
+ "size": "lg"
3264
+ },
3265
+ {
3266
+ "type": "typography",
3267
+ "content": "Missions Board",
3268
+ "variant": "h2"
3269
+ }
3270
+ ]
3049
3271
  }
3050
3272
  ]
3051
- }
3052
- ]
3053
- },
3054
- {
3055
- "type": "divider"
3056
- },
3057
- {
3058
- "type": "data-list",
3059
- "entity": "Mission",
3060
- "groupBy": "status",
3061
- "emptyIcon": "inbox",
3062
- "emptyTitle": "No missions available",
3063
- "emptyDescription": "Check back later for new missions.",
3064
- "itemActions": [
3065
- {
3066
- "label": "Accept",
3067
- "event": "ACCEPT"
3068
- }
3069
- ],
3070
- "renderItem": [
3071
- "fn",
3072
- "item",
3273
+ },
3073
3274
  {
3074
- "type": "stack",
3075
- "direction": "vertical",
3076
- "gap": "sm",
3077
- "children": [
3275
+ "type": "divider"
3276
+ },
3277
+ {
3278
+ "type": "data-list",
3279
+ "entity": "Mission",
3280
+ "groupBy": "status",
3281
+ "emptyIcon": "inbox",
3282
+ "emptyTitle": "No missions available",
3283
+ "emptyDescription": "Check back later for new missions.",
3284
+ "itemActions": [
3285
+ {
3286
+ "label": "Accept",
3287
+ "event": "ACCEPT"
3288
+ }
3289
+ ],
3290
+ "renderItem": [
3291
+ "fn",
3292
+ "item",
3078
3293
  {
3079
3294
  "type": "stack",
3080
- "direction": "horizontal",
3081
- "justify": "space-between",
3082
- "align": "center",
3295
+ "direction": "vertical",
3296
+ "gap": "sm",
3083
3297
  "children": [
3084
3298
  {
3085
3299
  "type": "stack",
3086
3300
  "direction": "horizontal",
3087
- "gap": "sm",
3301
+ "justify": "space-between",
3088
3302
  "align": "center",
3089
3303
  "children": [
3090
3304
  {
3091
- "type": "icon",
3092
- "name": "flag",
3093
- "size": "sm"
3305
+ "type": "stack",
3306
+ "direction": "horizontal",
3307
+ "gap": "sm",
3308
+ "align": "center",
3309
+ "children": [
3310
+ {
3311
+ "type": "icon",
3312
+ "name": "flag",
3313
+ "size": "sm"
3314
+ },
3315
+ {
3316
+ "type": "typography",
3317
+ "variant": "h4",
3318
+ "content": "@item.title"
3319
+ }
3320
+ ]
3094
3321
  },
3095
3322
  {
3096
- "type": "typography",
3097
- "variant": "h4",
3098
- "content": "@item.title"
3323
+ "type": "badge",
3324
+ "label": "@item.description"
3099
3325
  }
3100
3326
  ]
3101
3327
  },
3102
3328
  {
3103
- "type": "badge",
3104
- "label": "@item.description"
3329
+ "type": "typography",
3330
+ "variant": "caption",
3331
+ "content": "@item.status"
3105
3332
  }
3106
3333
  ]
3107
- },
3108
- {
3109
- "type": "typography",
3110
- "variant": "caption",
3111
- "content": "@item.status"
3112
3334
  }
3113
3335
  ]
3114
3336
  }