@almadar/std 3.2.1 → 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 (295) hide show
  1. package/behaviors/exports/atoms/std-async.orb +41 -24
  2. package/behaviors/exports/atoms/std-browse.orb +44 -44
  3. package/behaviors/exports/atoms/std-cache-aside.orb +256 -42
  4. package/behaviors/exports/atoms/std-calendar.orb +770 -0
  5. package/behaviors/exports/atoms/std-circuit-breaker.orb +577 -97
  6. package/behaviors/exports/atoms/std-collision.orb +278 -206
  7. package/behaviors/exports/atoms/std-combat-log.orb +6 -1
  8. package/behaviors/exports/atoms/std-combat.orb +6 -1
  9. package/behaviors/exports/atoms/std-confirmation.orb +212 -7
  10. package/behaviors/exports/atoms/std-dialogue-box.orb +6 -1
  11. package/behaviors/exports/atoms/std-display.orb +1186 -376
  12. package/behaviors/exports/atoms/std-drawer.orb +307 -101
  13. package/behaviors/exports/atoms/std-filter.orb +211 -18
  14. package/behaviors/exports/atoms/std-flip-card.orb +596 -0
  15. package/behaviors/exports/atoms/std-gallery.orb +382 -0
  16. package/behaviors/exports/atoms/std-game-audio.orb +6 -1
  17. package/behaviors/exports/atoms/std-game-canvas2d.orb +6 -1
  18. package/behaviors/exports/atoms/std-game-canvas3d.orb +6 -1
  19. package/behaviors/exports/atoms/std-game-hud.orb +6 -1
  20. package/behaviors/exports/atoms/std-game-menu.orb +6 -1
  21. package/behaviors/exports/atoms/std-game-over-screen.orb +6 -1
  22. package/behaviors/exports/atoms/std-gameflow.orb +100 -5
  23. package/behaviors/exports/atoms/std-input.orb +142 -137
  24. package/behaviors/exports/atoms/std-inventory-panel.orb +6 -1
  25. package/behaviors/exports/atoms/std-isometric-canvas.orb +6 -1
  26. package/behaviors/exports/atoms/std-loading.orb +149 -170
  27. package/behaviors/exports/atoms/std-modal.orb +159 -94
  28. package/behaviors/exports/atoms/std-movement.orb +401 -31
  29. package/behaviors/exports/atoms/std-notification.orb +117 -95
  30. package/behaviors/exports/atoms/std-overworld.orb +44 -16
  31. package/behaviors/exports/atoms/std-pagination.orb +44 -115
  32. package/behaviors/exports/atoms/std-physics2d.orb +6 -1
  33. package/behaviors/exports/atoms/std-platformer-canvas.orb +6 -1
  34. package/behaviors/exports/atoms/std-quest.orb +309 -34
  35. package/behaviors/exports/atoms/std-rate-limiter.orb +410 -157
  36. package/behaviors/exports/atoms/std-rating.orb +328 -0
  37. package/behaviors/exports/atoms/std-score-board.orb +6 -1
  38. package/behaviors/exports/atoms/std-score.orb +252 -11
  39. package/behaviors/exports/atoms/std-search.orb +62 -47
  40. package/behaviors/exports/atoms/std-selection.orb +180 -149
  41. package/behaviors/exports/atoms/std-simulation-canvas.orb +6 -1
  42. package/behaviors/exports/atoms/std-sort.orb +192 -60
  43. package/behaviors/exports/atoms/std-sprite.orb +6 -1
  44. package/behaviors/exports/atoms/std-tabs.orb +25 -15
  45. package/behaviors/exports/atoms/std-text-effects.orb +658 -0
  46. package/behaviors/exports/atoms/std-theme.orb +573 -0
  47. package/behaviors/exports/atoms/std-timer.orb +483 -91
  48. package/behaviors/exports/atoms/std-undo.orb +211 -81
  49. package/behaviors/exports/atoms/std-upload.orb +535 -0
  50. package/behaviors/exports/atoms/std-wizard.orb +677 -240
  51. package/behaviors/exports/molecules/std-builder-game.orb +49 -4
  52. package/behaviors/exports/molecules/std-cart.orb +325 -102
  53. package/behaviors/exports/molecules/std-classifier-game.orb +49 -4
  54. package/behaviors/exports/molecules/std-debugger-game.orb +49 -4
  55. package/behaviors/exports/molecules/std-detail.orb +52 -48
  56. package/behaviors/exports/molecules/std-event-handler-game.orb +49 -4
  57. package/behaviors/exports/molecules/std-form-advanced.orb +654 -0
  58. package/behaviors/exports/molecules/std-geospatial.orb +70 -51
  59. package/behaviors/exports/molecules/std-inventory.orb +92 -53
  60. package/behaviors/exports/molecules/std-list.orb +416 -52
  61. package/behaviors/exports/molecules/std-messaging.orb +41 -49
  62. package/behaviors/exports/molecules/std-negotiator-game.orb +49 -4
  63. package/behaviors/exports/molecules/std-platformer-game.orb +58 -3
  64. package/behaviors/exports/molecules/std-puzzle-game.orb +58 -7
  65. package/behaviors/exports/molecules/std-quiz.orb +1045 -0
  66. package/behaviors/exports/molecules/std-sequencer-game.orb +49 -4
  67. package/behaviors/exports/molecules/std-simulator-game.orb +49 -4
  68. package/behaviors/exports/molecules/std-turn-based-battle.orb +66 -1
  69. package/behaviors/exports/organisms/std-api-gateway.orb +2615 -867
  70. package/behaviors/exports/organisms/std-arcade-game.orb +399 -197
  71. package/behaviors/exports/organisms/std-booking-system.orb +3154 -1305
  72. package/behaviors/exports/organisms/std-cicd-pipeline.orb +2298 -779
  73. package/behaviors/exports/organisms/std-cms.orb +1150 -277
  74. package/behaviors/exports/organisms/std-coding-academy.orb +1222 -533
  75. package/behaviors/exports/organisms/std-crm.orb +2357 -821
  76. package/behaviors/exports/organisms/std-devops-dashboard.orb +4230 -1281
  77. package/behaviors/exports/organisms/std-ecommerce.orb +2660 -1098
  78. package/behaviors/exports/organisms/std-finance-tracker.orb +1749 -737
  79. package/behaviors/exports/organisms/std-healthcare.orb +3593 -1478
  80. package/behaviors/exports/organisms/std-helpdesk.orb +1870 -738
  81. package/behaviors/exports/organisms/std-hr-portal.orb +3290 -1385
  82. package/behaviors/exports/organisms/std-iot-dashboard.orb +2704 -788
  83. package/behaviors/exports/organisms/std-lms.orb +2548 -1192
  84. package/behaviors/exports/organisms/std-logic-training.orb +220 -66
  85. package/behaviors/exports/organisms/std-platformer-app.orb +373 -194
  86. package/behaviors/exports/organisms/std-project-manager.orb +2347 -806
  87. package/behaviors/exports/organisms/std-puzzle-app.orb +240 -95
  88. package/behaviors/exports/organisms/std-realtime-chat.orb +2020 -660
  89. package/behaviors/exports/organisms/std-rpg-game.orb +1303 -740
  90. package/behaviors/exports/organisms/std-social-feed.orb +184 -168
  91. package/behaviors/exports/organisms/std-stem-lab.orb +1223 -512
  92. package/behaviors/exports/organisms/std-strategy-game.orb +1412 -731
  93. package/behaviors/exports/organisms/std-trading-dashboard.orb +1869 -695
  94. package/behaviors/exports/validation-report.json +3 -750
  95. package/behaviors/exports/verify-results.json +13 -0
  96. package/dist/behaviors/exports/atoms/std-async.orb +41 -24
  97. package/dist/behaviors/exports/atoms/std-browse.orb +44 -44
  98. package/dist/behaviors/exports/atoms/std-cache-aside.orb +256 -42
  99. package/dist/behaviors/exports/atoms/std-calendar.orb +770 -0
  100. package/dist/behaviors/exports/atoms/std-circuit-breaker.orb +577 -97
  101. package/dist/behaviors/exports/atoms/std-collision.orb +278 -206
  102. package/dist/behaviors/exports/atoms/std-combat-log.orb +6 -1
  103. package/dist/behaviors/exports/atoms/std-combat.orb +6 -1
  104. package/dist/behaviors/exports/atoms/std-confirmation.orb +212 -7
  105. package/dist/behaviors/exports/atoms/std-dialogue-box.orb +6 -1
  106. package/dist/behaviors/exports/atoms/std-display.orb +1186 -376
  107. package/dist/behaviors/exports/atoms/std-drawer.orb +307 -101
  108. package/dist/behaviors/exports/atoms/std-filter.orb +211 -18
  109. package/dist/behaviors/exports/atoms/std-flip-card.orb +596 -0
  110. package/dist/behaviors/exports/atoms/std-gallery.orb +382 -0
  111. package/dist/behaviors/exports/atoms/std-game-audio.orb +6 -1
  112. package/dist/behaviors/exports/atoms/std-game-canvas2d.orb +6 -1
  113. package/dist/behaviors/exports/atoms/std-game-canvas3d.orb +6 -1
  114. package/dist/behaviors/exports/atoms/std-game-hud.orb +6 -1
  115. package/dist/behaviors/exports/atoms/std-game-menu.orb +6 -1
  116. package/dist/behaviors/exports/atoms/std-game-over-screen.orb +6 -1
  117. package/dist/behaviors/exports/atoms/std-gameflow.orb +100 -5
  118. package/dist/behaviors/exports/atoms/std-input.orb +142 -137
  119. package/dist/behaviors/exports/atoms/std-inventory-panel.orb +6 -1
  120. package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +6 -1
  121. package/dist/behaviors/exports/atoms/std-loading.orb +149 -170
  122. package/dist/behaviors/exports/atoms/std-modal.orb +159 -94
  123. package/dist/behaviors/exports/atoms/std-movement.orb +401 -31
  124. package/dist/behaviors/exports/atoms/std-notification.orb +117 -95
  125. package/dist/behaviors/exports/atoms/std-overworld.orb +44 -16
  126. package/dist/behaviors/exports/atoms/std-pagination.orb +44 -115
  127. package/dist/behaviors/exports/atoms/std-physics2d.orb +6 -1
  128. package/dist/behaviors/exports/atoms/std-platformer-canvas.orb +6 -1
  129. package/dist/behaviors/exports/atoms/std-quest.orb +309 -34
  130. package/dist/behaviors/exports/atoms/std-rate-limiter.orb +410 -157
  131. package/dist/behaviors/exports/atoms/std-rating.orb +328 -0
  132. package/dist/behaviors/exports/atoms/std-score-board.orb +6 -1
  133. package/dist/behaviors/exports/atoms/std-score.orb +252 -11
  134. package/dist/behaviors/exports/atoms/std-search.orb +62 -47
  135. package/dist/behaviors/exports/atoms/std-selection.orb +180 -149
  136. package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +6 -1
  137. package/dist/behaviors/exports/atoms/std-sort.orb +192 -60
  138. package/dist/behaviors/exports/atoms/std-sprite.orb +6 -1
  139. package/dist/behaviors/exports/atoms/std-tabs.orb +25 -15
  140. package/dist/behaviors/exports/atoms/std-text-effects.orb +658 -0
  141. package/dist/behaviors/exports/atoms/std-theme.orb +573 -0
  142. package/dist/behaviors/exports/atoms/std-timer.orb +483 -91
  143. package/dist/behaviors/exports/atoms/std-undo.orb +211 -81
  144. package/dist/behaviors/exports/atoms/std-upload.orb +535 -0
  145. package/dist/behaviors/exports/atoms/std-wizard.orb +677 -240
  146. package/dist/behaviors/exports/molecules/std-builder-game.orb +49 -4
  147. package/dist/behaviors/exports/molecules/std-cart.orb +325 -102
  148. package/dist/behaviors/exports/molecules/std-classifier-game.orb +49 -4
  149. package/dist/behaviors/exports/molecules/std-debugger-game.orb +49 -4
  150. package/dist/behaviors/exports/molecules/std-detail.orb +52 -48
  151. package/dist/behaviors/exports/molecules/std-event-handler-game.orb +49 -4
  152. package/dist/behaviors/exports/molecules/std-form-advanced.orb +654 -0
  153. package/dist/behaviors/exports/molecules/std-geospatial.orb +70 -51
  154. package/dist/behaviors/exports/molecules/std-inventory.orb +92 -53
  155. package/dist/behaviors/exports/molecules/std-list.orb +416 -52
  156. package/dist/behaviors/exports/molecules/std-messaging.orb +41 -49
  157. package/dist/behaviors/exports/molecules/std-negotiator-game.orb +49 -4
  158. package/dist/behaviors/exports/molecules/std-platformer-game.orb +58 -3
  159. package/dist/behaviors/exports/molecules/std-puzzle-game.orb +58 -7
  160. package/dist/behaviors/exports/molecules/std-quiz.orb +1045 -0
  161. package/dist/behaviors/exports/molecules/std-sequencer-game.orb +49 -4
  162. package/dist/behaviors/exports/molecules/std-simulator-game.orb +49 -4
  163. package/dist/behaviors/exports/molecules/std-turn-based-battle.orb +66 -1
  164. package/dist/behaviors/exports/organisms/std-api-gateway.orb +2615 -867
  165. package/dist/behaviors/exports/organisms/std-arcade-game.orb +399 -197
  166. package/dist/behaviors/exports/organisms/std-booking-system.orb +3154 -1305
  167. package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +2298 -779
  168. package/dist/behaviors/exports/organisms/std-cms.orb +1150 -277
  169. package/dist/behaviors/exports/organisms/std-coding-academy.orb +1222 -533
  170. package/dist/behaviors/exports/organisms/std-crm.orb +2357 -821
  171. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +4230 -1281
  172. package/dist/behaviors/exports/organisms/std-ecommerce.orb +2660 -1098
  173. package/dist/behaviors/exports/organisms/std-finance-tracker.orb +1749 -737
  174. package/dist/behaviors/exports/organisms/std-healthcare.orb +3593 -1478
  175. package/dist/behaviors/exports/organisms/std-helpdesk.orb +1870 -738
  176. package/dist/behaviors/exports/organisms/std-hr-portal.orb +3290 -1385
  177. package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +2704 -788
  178. package/dist/behaviors/exports/organisms/std-lms.orb +2548 -1192
  179. package/dist/behaviors/exports/organisms/std-logic-training.orb +220 -66
  180. package/dist/behaviors/exports/organisms/std-platformer-app.orb +373 -194
  181. package/dist/behaviors/exports/organisms/std-project-manager.orb +2347 -806
  182. package/dist/behaviors/exports/organisms/std-puzzle-app.orb +240 -95
  183. package/dist/behaviors/exports/organisms/std-realtime-chat.orb +2020 -660
  184. package/dist/behaviors/exports/organisms/std-rpg-game.orb +1303 -740
  185. package/dist/behaviors/exports/organisms/std-social-feed.orb +184 -168
  186. package/dist/behaviors/exports/organisms/std-stem-lab.orb +1223 -512
  187. package/dist/behaviors/exports/organisms/std-strategy-game.orb +1412 -731
  188. package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +1869 -695
  189. package/dist/behaviors/exports/validation-report.json +3 -750
  190. package/dist/behaviors/exports/verify-results.json +13 -0
  191. package/dist/behaviors/functions/index.d.ts +270 -1
  192. package/dist/behaviors/functions/index.js +3811 -1333
  193. package/dist/behaviors/functions/index.js.map +1 -1
  194. package/dist/behaviors/index.d.ts +1 -1
  195. package/dist/behaviors/index.js +3811 -1333
  196. package/dist/behaviors/index.js.map +1 -1
  197. package/dist/exports/atoms/std-async.orb +41 -24
  198. package/dist/exports/atoms/std-browse.orb +44 -44
  199. package/dist/exports/atoms/std-cache-aside.orb +256 -42
  200. package/dist/exports/atoms/std-calendar.orb +770 -0
  201. package/dist/exports/atoms/std-circuit-breaker.orb +577 -97
  202. package/dist/exports/atoms/std-collision.orb +278 -206
  203. package/dist/exports/atoms/std-combat-log.orb +6 -1
  204. package/dist/exports/atoms/std-combat.orb +6 -1
  205. package/dist/exports/atoms/std-confirmation.orb +212 -7
  206. package/dist/exports/atoms/std-dialogue-box.orb +6 -1
  207. package/dist/exports/atoms/std-display.orb +1186 -376
  208. package/dist/exports/atoms/std-drawer.orb +307 -101
  209. package/dist/exports/atoms/std-filter.orb +211 -18
  210. package/dist/exports/atoms/std-flip-card.orb +596 -0
  211. package/dist/exports/atoms/std-gallery.orb +382 -0
  212. package/dist/exports/atoms/std-game-audio.orb +6 -1
  213. package/dist/exports/atoms/std-game-canvas2d.orb +6 -1
  214. package/dist/exports/atoms/std-game-canvas3d.orb +6 -1
  215. package/dist/exports/atoms/std-game-hud.orb +6 -1
  216. package/dist/exports/atoms/std-game-menu.orb +6 -1
  217. package/dist/exports/atoms/std-game-over-screen.orb +6 -1
  218. package/dist/exports/atoms/std-gameflow.orb +100 -5
  219. package/dist/exports/atoms/std-input.orb +142 -137
  220. package/dist/exports/atoms/std-inventory-panel.orb +6 -1
  221. package/dist/exports/atoms/std-isometric-canvas.orb +6 -1
  222. package/dist/exports/atoms/std-loading.orb +149 -170
  223. package/dist/exports/atoms/std-modal.orb +159 -94
  224. package/dist/exports/atoms/std-movement.orb +401 -31
  225. package/dist/exports/atoms/std-notification.orb +117 -95
  226. package/dist/exports/atoms/std-overworld.orb +44 -16
  227. package/dist/exports/atoms/std-pagination.orb +44 -115
  228. package/dist/exports/atoms/std-physics2d.orb +6 -1
  229. package/dist/exports/atoms/std-platformer-canvas.orb +6 -1
  230. package/dist/exports/atoms/std-quest.orb +309 -34
  231. package/dist/exports/atoms/std-rate-limiter.orb +410 -157
  232. package/dist/exports/atoms/std-rating.orb +328 -0
  233. package/dist/exports/atoms/std-score-board.orb +6 -1
  234. package/dist/exports/atoms/std-score.orb +252 -11
  235. package/dist/exports/atoms/std-search.orb +62 -47
  236. package/dist/exports/atoms/std-selection.orb +180 -149
  237. package/dist/exports/atoms/std-simulation-canvas.orb +6 -1
  238. package/dist/exports/atoms/std-sort.orb +192 -60
  239. package/dist/exports/atoms/std-sprite.orb +6 -1
  240. package/dist/exports/atoms/std-tabs.orb +25 -15
  241. package/dist/exports/atoms/std-text-effects.orb +658 -0
  242. package/dist/exports/atoms/std-theme.orb +573 -0
  243. package/dist/exports/atoms/std-timer.orb +483 -91
  244. package/dist/exports/atoms/std-undo.orb +211 -81
  245. package/dist/exports/atoms/std-upload.orb +535 -0
  246. package/dist/exports/atoms/std-wizard.orb +677 -240
  247. package/dist/exports/molecules/std-builder-game.orb +49 -4
  248. package/dist/exports/molecules/std-cart.orb +325 -102
  249. package/dist/exports/molecules/std-classifier-game.orb +49 -4
  250. package/dist/exports/molecules/std-debugger-game.orb +49 -4
  251. package/dist/exports/molecules/std-detail.orb +52 -48
  252. package/dist/exports/molecules/std-event-handler-game.orb +49 -4
  253. package/dist/exports/molecules/std-form-advanced.orb +654 -0
  254. package/dist/exports/molecules/std-geospatial.orb +70 -51
  255. package/dist/exports/molecules/std-inventory.orb +92 -53
  256. package/dist/exports/molecules/std-list.orb +416 -52
  257. package/dist/exports/molecules/std-messaging.orb +41 -49
  258. package/dist/exports/molecules/std-negotiator-game.orb +49 -4
  259. package/dist/exports/molecules/std-platformer-game.orb +58 -3
  260. package/dist/exports/molecules/std-puzzle-game.orb +58 -7
  261. package/dist/exports/molecules/std-quiz.orb +1045 -0
  262. package/dist/exports/molecules/std-sequencer-game.orb +49 -4
  263. package/dist/exports/molecules/std-simulator-game.orb +49 -4
  264. package/dist/exports/molecules/std-turn-based-battle.orb +66 -1
  265. package/dist/exports/organisms/std-api-gateway.orb +2615 -867
  266. package/dist/exports/organisms/std-arcade-game.orb +399 -197
  267. package/dist/exports/organisms/std-booking-system.orb +3154 -1305
  268. package/dist/exports/organisms/std-cicd-pipeline.orb +2298 -779
  269. package/dist/exports/organisms/std-cms.orb +1150 -277
  270. package/dist/exports/organisms/std-coding-academy.orb +1222 -533
  271. package/dist/exports/organisms/std-crm.orb +2357 -821
  272. package/dist/exports/organisms/std-devops-dashboard.orb +4230 -1281
  273. package/dist/exports/organisms/std-ecommerce.orb +2660 -1098
  274. package/dist/exports/organisms/std-finance-tracker.orb +1749 -737
  275. package/dist/exports/organisms/std-healthcare.orb +3593 -1478
  276. package/dist/exports/organisms/std-helpdesk.orb +1870 -738
  277. package/dist/exports/organisms/std-hr-portal.orb +3290 -1385
  278. package/dist/exports/organisms/std-iot-dashboard.orb +2704 -788
  279. package/dist/exports/organisms/std-lms.orb +2548 -1192
  280. package/dist/exports/organisms/std-logic-training.orb +220 -66
  281. package/dist/exports/organisms/std-platformer-app.orb +373 -194
  282. package/dist/exports/organisms/std-project-manager.orb +2347 -806
  283. package/dist/exports/organisms/std-puzzle-app.orb +240 -95
  284. package/dist/exports/organisms/std-realtime-chat.orb +2020 -660
  285. package/dist/exports/organisms/std-rpg-game.orb +1303 -740
  286. package/dist/exports/organisms/std-social-feed.orb +184 -168
  287. package/dist/exports/organisms/std-stem-lab.orb +1223 -512
  288. package/dist/exports/organisms/std-strategy-game.orb +1412 -731
  289. package/dist/exports/organisms/std-trading-dashboard.orb +1869 -695
  290. package/dist/exports/validation-report.json +3 -750
  291. package/dist/exports/verify-results.json +13 -0
  292. package/dist/index.d.ts +1 -1
  293. package/dist/index.js +3808 -1330
  294. package/dist/index.js.map +1 -1
  295. package/package.json +1 -1
@@ -0,0 +1,328 @@
1
+ {
2
+ "name": "ReviewOrbital",
3
+ "orbitals": [
4
+ {
5
+ "name": "ReviewOrbital",
6
+ "entity": {
7
+ "name": "Review",
8
+ "persistence": "runtime",
9
+ "fields": [
10
+ {
11
+ "name": "id",
12
+ "type": "string"
13
+ },
14
+ {
15
+ "name": "name",
16
+ "type": "string"
17
+ },
18
+ {
19
+ "name": "description",
20
+ "type": "string"
21
+ },
22
+ {
23
+ "name": "status",
24
+ "type": "string",
25
+ "default": "active",
26
+ "values": [
27
+ "active",
28
+ "inactive",
29
+ "pending"
30
+ ]
31
+ },
32
+ {
33
+ "name": "createdAt",
34
+ "type": "string"
35
+ },
36
+ {
37
+ "name": "rating",
38
+ "type": "number",
39
+ "default": 0
40
+ },
41
+ {
42
+ "name": "comment",
43
+ "type": "string",
44
+ "default": ""
45
+ }
46
+ ],
47
+ "instances": [
48
+ {
49
+ "id": "rev-1",
50
+ "name": "Great product",
51
+ "description": "Exceeded expectations",
52
+ "status": "active",
53
+ "createdAt": "2026-01-10",
54
+ "rating": 4,
55
+ "comment": "Really solid quality"
56
+ }
57
+ ]
58
+ },
59
+ "traits": [
60
+ {
61
+ "name": "ReviewRating",
62
+ "linkedEntity": "Review",
63
+ "category": "interaction",
64
+ "stateMachine": {
65
+ "states": [
66
+ {
67
+ "name": "idle",
68
+ "isInitial": true
69
+ },
70
+ {
71
+ "name": "rated"
72
+ }
73
+ ],
74
+ "events": [
75
+ {
76
+ "key": "INIT",
77
+ "name": "Initialize"
78
+ },
79
+ {
80
+ "key": "RATE",
81
+ "name": "Rate",
82
+ "payload": [
83
+ {
84
+ "name": "rating",
85
+ "type": "number",
86
+ "required": true
87
+ }
88
+ ]
89
+ },
90
+ {
91
+ "key": "RESET",
92
+ "name": "Reset"
93
+ }
94
+ ],
95
+ "transitions": [
96
+ {
97
+ "from": "idle",
98
+ "to": "idle",
99
+ "event": "INIT",
100
+ "effects": [
101
+ [
102
+ "fetch",
103
+ "Review"
104
+ ],
105
+ [
106
+ "render-ui",
107
+ "main",
108
+ {
109
+ "type": "stack",
110
+ "direction": "vertical",
111
+ "gap": "lg",
112
+ "align": "center",
113
+ "children": [
114
+ {
115
+ "type": "stack",
116
+ "direction": "horizontal",
117
+ "gap": "sm",
118
+ "align": "center",
119
+ "children": [
120
+ {
121
+ "type": "icon",
122
+ "name": "star",
123
+ "size": "lg"
124
+ },
125
+ {
126
+ "type": "typography",
127
+ "content": "Rating",
128
+ "variant": "h2"
129
+ }
130
+ ]
131
+ },
132
+ {
133
+ "type": "divider"
134
+ },
135
+ {
136
+ "type": "typography",
137
+ "variant": "body",
138
+ "color": "muted",
139
+ "content": "How would you rate this?"
140
+ },
141
+ {
142
+ "type": "star-rating",
143
+ "value": [
144
+ "object/get",
145
+ [
146
+ "array/first",
147
+ "@entity"
148
+ ],
149
+ "rating"
150
+ ],
151
+ "max": 5,
152
+ "event": "RATE",
153
+ "size": "lg"
154
+ },
155
+ {
156
+ "type": "button",
157
+ "label": "Submit Rating",
158
+ "event": "RATE",
159
+ "variant": "primary",
160
+ "icon": "star"
161
+ }
162
+ ]
163
+ }
164
+ ]
165
+ ]
166
+ },
167
+ {
168
+ "from": "idle",
169
+ "to": "rated",
170
+ "event": "RATE",
171
+ "effects": [
172
+ [
173
+ "set",
174
+ "@entity.rating",
175
+ "@payload.rating"
176
+ ],
177
+ [
178
+ "render-ui",
179
+ "main",
180
+ {
181
+ "type": "stack",
182
+ "direction": "vertical",
183
+ "gap": "lg",
184
+ "align": "center",
185
+ "children": [
186
+ {
187
+ "type": "stack",
188
+ "direction": "horizontal",
189
+ "gap": "sm",
190
+ "align": "center",
191
+ "children": [
192
+ {
193
+ "type": "icon",
194
+ "name": "check-circle",
195
+ "size": "lg"
196
+ },
197
+ {
198
+ "type": "typography",
199
+ "content": "Thank You!",
200
+ "variant": "h2"
201
+ }
202
+ ]
203
+ },
204
+ {
205
+ "type": "divider"
206
+ },
207
+ {
208
+ "type": "star-rating",
209
+ "value": [
210
+ "object/get",
211
+ [
212
+ "array/first",
213
+ "@entity"
214
+ ],
215
+ "rating"
216
+ ],
217
+ "max": 5,
218
+ "readOnly": true,
219
+ "size": "lg"
220
+ },
221
+ {
222
+ "type": "alert",
223
+ "variant": "success",
224
+ "message": "Your rating has been recorded."
225
+ },
226
+ {
227
+ "type": "button",
228
+ "label": "Rate Again",
229
+ "event": "RESET",
230
+ "variant": "ghost",
231
+ "icon": "rotate-ccw"
232
+ }
233
+ ]
234
+ }
235
+ ]
236
+ ]
237
+ },
238
+ {
239
+ "from": "rated",
240
+ "to": "idle",
241
+ "event": "RESET",
242
+ "effects": [
243
+ [
244
+ "set",
245
+ "@entity.rating",
246
+ 0
247
+ ],
248
+ [
249
+ "render-ui",
250
+ "main",
251
+ {
252
+ "type": "stack",
253
+ "direction": "vertical",
254
+ "gap": "lg",
255
+ "align": "center",
256
+ "children": [
257
+ {
258
+ "type": "stack",
259
+ "direction": "horizontal",
260
+ "gap": "sm",
261
+ "align": "center",
262
+ "children": [
263
+ {
264
+ "type": "icon",
265
+ "name": "star",
266
+ "size": "lg"
267
+ },
268
+ {
269
+ "type": "typography",
270
+ "content": "Rating",
271
+ "variant": "h2"
272
+ }
273
+ ]
274
+ },
275
+ {
276
+ "type": "divider"
277
+ },
278
+ {
279
+ "type": "typography",
280
+ "variant": "body",
281
+ "color": "muted",
282
+ "content": "How would you rate this?"
283
+ },
284
+ {
285
+ "type": "star-rating",
286
+ "value": [
287
+ "object/get",
288
+ [
289
+ "array/first",
290
+ "@entity"
291
+ ],
292
+ "rating"
293
+ ],
294
+ "max": 5,
295
+ "event": "RATE",
296
+ "size": "lg"
297
+ },
298
+ {
299
+ "type": "button",
300
+ "label": "Submit Rating",
301
+ "event": "RATE",
302
+ "variant": "primary",
303
+ "icon": "star"
304
+ }
305
+ ]
306
+ }
307
+ ]
308
+ ]
309
+ }
310
+ ]
311
+ }
312
+ }
313
+ ],
314
+ "pages": [
315
+ {
316
+ "name": "ReviewRatingPage",
317
+ "path": "/reviews/rating",
318
+ "traits": [
319
+ {
320
+ "ref": "ReviewRating"
321
+ }
322
+ ]
323
+ }
324
+ ]
325
+ }
326
+ ],
327
+ "description": "Rating atom with star-rating input and display. Absorbs: star-rating."
328
+ }
@@ -22,7 +22,12 @@
22
22
  {
23
23
  "name": "status",
24
24
  "type": "string",
25
- "default": "active"
25
+ "default": "active",
26
+ "values": [
27
+ "active",
28
+ "inactive",
29
+ "pending"
30
+ ]
26
31
  },
27
32
  {
28
33
  "name": "createdAt",
@@ -22,7 +22,12 @@
22
22
  {
23
23
  "name": "status",
24
24
  "type": "string",
25
- "default": "active"
25
+ "default": "active",
26
+ "values": [
27
+ "active",
28
+ "inactive",
29
+ "pending"
30
+ ]
26
31
  },
27
32
  {
28
33
  "name": "createdAt",
@@ -48,6 +53,19 @@
48
53
  "type": "number",
49
54
  "default": 1
50
55
  }
56
+ ],
57
+ "instances": [
58
+ {
59
+ "id": "score-1",
60
+ "name": "Player 1",
61
+ "description": "Current session",
62
+ "status": "active",
63
+ "createdAt": "2026-03-19",
64
+ "total": 1250,
65
+ "combo": 3,
66
+ "points": 150,
67
+ "multiplier": 2
68
+ }
51
69
  ]
52
70
  },
53
71
  "traits": [
@@ -111,6 +129,10 @@
111
129
  "to": "idle",
112
130
  "event": "INIT",
113
131
  "effects": [
132
+ [
133
+ "fetch",
134
+ "ScoreEntry"
135
+ ],
114
136
  [
115
137
  "render-ui",
116
138
  "main",
@@ -122,12 +144,55 @@
122
144
  "children": [
123
145
  {
124
146
  "type": "score-board",
125
- "score": "@entity.total",
147
+ "score": [
148
+ "object/get",
149
+ [
150
+ "array/first",
151
+ "@entity"
152
+ ],
153
+ "total"
154
+ ],
126
155
  "highScore": 0,
127
- "combo": "@entity.combo",
156
+ "combo": [
157
+ "object/get",
158
+ [
159
+ "array/first",
160
+ "@entity"
161
+ ],
162
+ "combo"
163
+ ],
128
164
  "multiplier": 1,
129
165
  "level": 1
130
166
  },
167
+ {
168
+ "type": "animated-counter",
169
+ "value": [
170
+ "object/get",
171
+ [
172
+ "array/first",
173
+ "@entity"
174
+ ],
175
+ "total"
176
+ ],
177
+ "prefix": "Score: ",
178
+ "duration": 300
179
+ },
180
+ {
181
+ "type": "trend-indicator",
182
+ "value": [
183
+ "object/get",
184
+ [
185
+ "array/first",
186
+ "@entity"
187
+ ],
188
+ "points"
189
+ ],
190
+ "showValue": true
191
+ },
192
+ {
193
+ "type": "spacer",
194
+ "size": "md"
195
+ },
131
196
  {
132
197
  "type": "stack",
133
198
  "direction": "horizontal",
@@ -190,12 +255,55 @@
190
255
  "children": [
191
256
  {
192
257
  "type": "score-board",
193
- "score": "@entity.total",
258
+ "score": [
259
+ "object/get",
260
+ [
261
+ "array/first",
262
+ "@entity"
263
+ ],
264
+ "total"
265
+ ],
194
266
  "highScore": 0,
195
- "combo": "@entity.combo",
267
+ "combo": [
268
+ "object/get",
269
+ [
270
+ "array/first",
271
+ "@entity"
272
+ ],
273
+ "combo"
274
+ ],
196
275
  "multiplier": 1,
197
276
  "level": 1
198
277
  },
278
+ {
279
+ "type": "animated-counter",
280
+ "value": [
281
+ "object/get",
282
+ [
283
+ "array/first",
284
+ "@entity"
285
+ ],
286
+ "total"
287
+ ],
288
+ "prefix": "Score: ",
289
+ "duration": 300
290
+ },
291
+ {
292
+ "type": "trend-indicator",
293
+ "value": [
294
+ "object/get",
295
+ [
296
+ "array/first",
297
+ "@entity"
298
+ ],
299
+ "points"
300
+ ],
301
+ "showValue": true
302
+ },
303
+ {
304
+ "type": "spacer",
305
+ "size": "md"
306
+ },
199
307
  {
200
308
  "type": "stack",
201
309
  "direction": "horizontal",
@@ -258,12 +366,55 @@
258
366
  "children": [
259
367
  {
260
368
  "type": "score-board",
261
- "score": "@entity.total",
369
+ "score": [
370
+ "object/get",
371
+ [
372
+ "array/first",
373
+ "@entity"
374
+ ],
375
+ "total"
376
+ ],
262
377
  "highScore": 0,
263
- "combo": "@entity.combo",
378
+ "combo": [
379
+ "object/get",
380
+ [
381
+ "array/first",
382
+ "@entity"
383
+ ],
384
+ "combo"
385
+ ],
264
386
  "multiplier": 1,
265
387
  "level": 1
266
388
  },
389
+ {
390
+ "type": "animated-counter",
391
+ "value": [
392
+ "object/get",
393
+ [
394
+ "array/first",
395
+ "@entity"
396
+ ],
397
+ "total"
398
+ ],
399
+ "prefix": "Score: ",
400
+ "duration": 300
401
+ },
402
+ {
403
+ "type": "trend-indicator",
404
+ "value": [
405
+ "object/get",
406
+ [
407
+ "array/first",
408
+ "@entity"
409
+ ],
410
+ "points"
411
+ ],
412
+ "showValue": true
413
+ },
414
+ {
415
+ "type": "spacer",
416
+ "size": "md"
417
+ },
267
418
  {
268
419
  "type": "stack",
269
420
  "direction": "horizontal",
@@ -324,14 +475,61 @@
324
475
  "gap": "lg",
325
476
  "align": "center",
326
477
  "children": [
478
+ {
479
+ "type": "confetti-effect",
480
+ "trigger": true
481
+ },
327
482
  {
328
483
  "type": "score-board",
329
- "score": "@entity.total",
484
+ "score": [
485
+ "object/get",
486
+ [
487
+ "array/first",
488
+ "@entity"
489
+ ],
490
+ "total"
491
+ ],
330
492
  "highScore": 0,
331
- "combo": "@entity.combo",
493
+ "combo": [
494
+ "object/get",
495
+ [
496
+ "array/first",
497
+ "@entity"
498
+ ],
499
+ "combo"
500
+ ],
332
501
  "multiplier": 1,
333
502
  "level": 1
334
503
  },
504
+ {
505
+ "type": "animated-counter",
506
+ "value": [
507
+ "object/get",
508
+ [
509
+ "array/first",
510
+ "@entity"
511
+ ],
512
+ "total"
513
+ ],
514
+ "prefix": "Score: ",
515
+ "duration": 300
516
+ },
517
+ {
518
+ "type": "trend-indicator",
519
+ "value": [
520
+ "object/get",
521
+ [
522
+ "array/first",
523
+ "@entity"
524
+ ],
525
+ "points"
526
+ ],
527
+ "showValue": true
528
+ },
529
+ {
530
+ "type": "spacer",
531
+ "size": "md"
532
+ },
335
533
  {
336
534
  "type": "stack",
337
535
  "direction": "horizontal",
@@ -399,12 +597,55 @@
399
597
  "children": [
400
598
  {
401
599
  "type": "score-board",
402
- "score": "@entity.total",
600
+ "score": [
601
+ "object/get",
602
+ [
603
+ "array/first",
604
+ "@entity"
605
+ ],
606
+ "total"
607
+ ],
403
608
  "highScore": 0,
404
- "combo": "@entity.combo",
609
+ "combo": [
610
+ "object/get",
611
+ [
612
+ "array/first",
613
+ "@entity"
614
+ ],
615
+ "combo"
616
+ ],
405
617
  "multiplier": 1,
406
618
  "level": 1
407
619
  },
620
+ {
621
+ "type": "animated-counter",
622
+ "value": [
623
+ "object/get",
624
+ [
625
+ "array/first",
626
+ "@entity"
627
+ ],
628
+ "total"
629
+ ],
630
+ "prefix": "Score: ",
631
+ "duration": 300
632
+ },
633
+ {
634
+ "type": "trend-indicator",
635
+ "value": [
636
+ "object/get",
637
+ [
638
+ "array/first",
639
+ "@entity"
640
+ ],
641
+ "points"
642
+ ],
643
+ "showValue": true
644
+ },
645
+ {
646
+ "type": "spacer",
647
+ "size": "md"
648
+ },
408
649
  {
409
650
  "type": "stack",
410
651
  "direction": "horizontal",