@almadar/std 3.1.0 → 3.1.2

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 (256) hide show
  1. package/behaviors/exports/atoms/std-async.orb +2 -1
  2. package/behaviors/exports/atoms/std-browse.orb +2 -1
  3. package/behaviors/exports/atoms/std-cache-aside.orb +2 -1
  4. package/behaviors/exports/atoms/std-circuit-breaker.orb +2 -1
  5. package/behaviors/exports/atoms/std-collision.orb +2 -1
  6. package/behaviors/exports/atoms/std-combat-log.orb +2 -1
  7. package/behaviors/exports/atoms/std-combat.orb +2 -1
  8. package/behaviors/exports/atoms/std-confirmation.orb +2 -1
  9. package/behaviors/exports/atoms/std-dialogue-box.orb +2 -1
  10. package/behaviors/exports/atoms/std-display.orb +2 -1
  11. package/behaviors/exports/atoms/std-drawer.orb +2 -1
  12. package/behaviors/exports/atoms/std-filter.orb +2 -1
  13. package/behaviors/exports/atoms/std-game-audio.orb +2 -1
  14. package/behaviors/exports/atoms/std-game-hud.orb +2 -1
  15. package/behaviors/exports/atoms/std-game-menu.orb +2 -1
  16. package/behaviors/exports/atoms/std-game-over-screen.orb +2 -1
  17. package/behaviors/exports/atoms/std-gameflow.orb +2 -1
  18. package/behaviors/exports/atoms/std-input.orb +2 -1
  19. package/behaviors/exports/atoms/std-inventory-panel.orb +2 -1
  20. package/behaviors/exports/atoms/std-isometric-canvas.orb +2 -1
  21. package/behaviors/exports/atoms/std-loading.orb +2 -1
  22. package/behaviors/exports/atoms/std-modal.orb +2 -1
  23. package/behaviors/exports/atoms/std-movement.orb +2 -1
  24. package/behaviors/exports/atoms/std-notification.orb +2 -1
  25. package/behaviors/exports/atoms/std-overworld.orb +2 -1
  26. package/behaviors/exports/atoms/std-pagination.orb +2 -1
  27. package/behaviors/exports/atoms/std-physics2d.orb +2 -1
  28. package/behaviors/exports/atoms/std-platformer-canvas.orb +2 -1
  29. package/behaviors/exports/atoms/std-quest.orb +2 -1
  30. package/behaviors/exports/atoms/std-rate-limiter.orb +2 -1
  31. package/behaviors/exports/atoms/std-score-board.orb +2 -1
  32. package/behaviors/exports/atoms/std-score.orb +2 -1
  33. package/behaviors/exports/atoms/std-search.orb +2 -1
  34. package/behaviors/exports/atoms/std-selection.orb +2 -1
  35. package/behaviors/exports/atoms/std-simulation-canvas.orb +2 -1
  36. package/behaviors/exports/atoms/std-sort.orb +2 -1
  37. package/behaviors/exports/atoms/std-sprite.orb +2 -1
  38. package/behaviors/exports/atoms/std-tabs.orb +2 -1
  39. package/behaviors/exports/atoms/std-timer.orb +2 -1
  40. package/behaviors/exports/atoms/std-undo.orb +2 -1
  41. package/behaviors/exports/atoms/std-wizard.orb +2 -1
  42. package/behaviors/exports/molecules/std-builder-game.orb +2 -1
  43. package/behaviors/exports/molecules/std-cart.orb +2 -1
  44. package/behaviors/exports/molecules/std-classifier-game.orb +2 -1
  45. package/behaviors/exports/molecules/std-debugger-game.orb +2 -1
  46. package/behaviors/exports/molecules/std-detail.orb +2 -1
  47. package/behaviors/exports/molecules/std-event-handler-game.orb +2 -1
  48. package/behaviors/exports/molecules/std-geospatial.orb +2 -1
  49. package/behaviors/exports/molecules/std-inventory.orb +2 -1
  50. package/behaviors/exports/molecules/std-list.orb +2 -1
  51. package/behaviors/exports/molecules/std-messaging.orb +2 -1
  52. package/behaviors/exports/molecules/std-negotiator-game.orb +2 -1
  53. package/behaviors/exports/molecules/std-platformer-game.orb +2 -1
  54. package/behaviors/exports/molecules/std-puzzle-game.orb +2 -1
  55. package/behaviors/exports/molecules/std-sequencer-game.orb +2 -1
  56. package/behaviors/exports/molecules/std-simulator-game.orb +2 -1
  57. package/behaviors/exports/molecules/std-turn-based-battle.orb +2 -1
  58. package/behaviors/exports/organisms/std-api-gateway.orb +2 -1
  59. package/behaviors/exports/organisms/std-arcade-game.orb +2 -1
  60. package/behaviors/exports/organisms/std-booking-system.orb +2 -1
  61. package/behaviors/exports/organisms/std-cicd-pipeline.orb +2 -1
  62. package/behaviors/exports/organisms/std-cms.orb +2 -1
  63. package/behaviors/exports/organisms/std-coding-academy.orb +2 -1
  64. package/behaviors/exports/organisms/std-crm.orb +2 -1
  65. package/behaviors/exports/organisms/std-devops-dashboard.orb +2 -1
  66. package/behaviors/exports/organisms/std-ecommerce.orb +2 -1
  67. package/behaviors/exports/organisms/std-finance-tracker.orb +2 -1
  68. package/behaviors/exports/organisms/std-healthcare.orb +2 -1
  69. package/behaviors/exports/organisms/std-helpdesk.orb +2 -1
  70. package/behaviors/exports/organisms/std-hr-portal.orb +2 -1
  71. package/behaviors/exports/organisms/std-iot-dashboard.orb +2 -1
  72. package/behaviors/exports/organisms/std-lms.orb +2 -1
  73. package/behaviors/exports/organisms/std-logic-training.orb +2 -1
  74. package/behaviors/exports/organisms/std-platformer-app.orb +2 -1
  75. package/behaviors/exports/organisms/std-project-manager.orb +2 -1
  76. package/behaviors/exports/organisms/std-puzzle-app.orb +2 -1
  77. package/behaviors/exports/organisms/std-realtime-chat.orb +2 -1
  78. package/behaviors/exports/organisms/std-rpg-game.orb +2 -1
  79. package/behaviors/exports/organisms/std-social-feed.orb +2 -1
  80. package/behaviors/exports/organisms/std-stem-lab.orb +2 -1
  81. package/behaviors/exports/organisms/std-strategy-game.orb +2 -1
  82. package/behaviors/exports/organisms/std-trading-dashboard.orb +2 -1
  83. package/dist/behaviors/exports/atoms/std-async.orb +421 -0
  84. package/dist/behaviors/exports/atoms/std-browse.orb +174 -0
  85. package/dist/behaviors/exports/atoms/std-cache-aside.orb +882 -0
  86. package/dist/behaviors/exports/atoms/std-circuit-breaker.orb +502 -0
  87. package/dist/behaviors/exports/atoms/std-collision.orb +617 -0
  88. package/dist/behaviors/exports/atoms/std-combat-log.orb +146 -0
  89. package/dist/behaviors/exports/atoms/std-combat.orb +411 -0
  90. package/dist/behaviors/exports/atoms/std-confirmation.orb +283 -0
  91. package/dist/behaviors/exports/atoms/std-dialogue-box.orb +239 -0
  92. package/dist/behaviors/exports/atoms/std-display.orb +843 -0
  93. package/dist/behaviors/exports/atoms/std-drawer.orb +317 -0
  94. package/dist/behaviors/exports/atoms/std-filter.orb +443 -0
  95. package/dist/behaviors/exports/atoms/std-game-audio.orb +114 -0
  96. package/dist/behaviors/exports/atoms/std-game-hud.orb +152 -0
  97. package/dist/behaviors/exports/atoms/std-game-menu.orb +212 -0
  98. package/dist/behaviors/exports/atoms/std-game-over-screen.orb +196 -0
  99. package/dist/behaviors/exports/atoms/std-gameflow.orb +319 -0
  100. package/dist/behaviors/exports/atoms/std-input.orb +630 -0
  101. package/dist/behaviors/exports/atoms/std-inventory-panel.orb +256 -0
  102. package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +632 -0
  103. package/dist/behaviors/exports/atoms/std-loading.orb +512 -0
  104. package/dist/behaviors/exports/atoms/std-modal.orb +271 -0
  105. package/dist/behaviors/exports/atoms/std-movement.orb +1038 -0
  106. package/dist/behaviors/exports/atoms/std-notification.orb +419 -0
  107. package/dist/behaviors/exports/atoms/std-overworld.orb +484 -0
  108. package/dist/behaviors/exports/atoms/std-pagination.orb +332 -0
  109. package/dist/behaviors/exports/atoms/std-physics2d.orb +420 -0
  110. package/dist/behaviors/exports/atoms/std-platformer-canvas.orb +258 -0
  111. package/dist/behaviors/exports/atoms/std-quest.orb +981 -0
  112. package/dist/behaviors/exports/atoms/std-rate-limiter.orb +639 -0
  113. package/dist/behaviors/exports/atoms/std-score-board.orb +239 -0
  114. package/dist/behaviors/exports/atoms/std-score.orb +467 -0
  115. package/dist/behaviors/exports/atoms/std-search.orb +374 -0
  116. package/dist/behaviors/exports/atoms/std-selection.orb +760 -0
  117. package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +184 -0
  118. package/dist/behaviors/exports/atoms/std-sort.orb +579 -0
  119. package/dist/behaviors/exports/atoms/std-sprite.orb +157 -0
  120. package/dist/behaviors/exports/atoms/std-tabs.orb +275 -0
  121. package/dist/behaviors/exports/atoms/std-timer.orb +1031 -0
  122. package/dist/behaviors/exports/atoms/std-undo.orb +695 -0
  123. package/dist/behaviors/exports/atoms/std-wizard.orb +667 -0
  124. package/dist/behaviors/exports/molecules/std-builder-game.orb +184 -0
  125. package/dist/behaviors/exports/molecules/std-cart.orb +592 -0
  126. package/dist/behaviors/exports/molecules/std-classifier-game.orb +184 -0
  127. package/dist/behaviors/exports/molecules/std-debugger-game.orb +184 -0
  128. package/dist/behaviors/exports/molecules/std-detail.orb +590 -0
  129. package/dist/behaviors/exports/molecules/std-event-handler-game.orb +184 -0
  130. package/dist/behaviors/exports/molecules/std-geospatial.orb +650 -0
  131. package/dist/behaviors/exports/molecules/std-inventory.orb +854 -0
  132. package/dist/behaviors/exports/molecules/std-list.orb +955 -0
  133. package/dist/behaviors/exports/molecules/std-messaging.orb +586 -0
  134. package/dist/behaviors/exports/molecules/std-negotiator-game.orb +184 -0
  135. package/dist/behaviors/exports/molecules/std-platformer-game.orb +497 -0
  136. package/dist/behaviors/exports/molecules/std-puzzle-game.orb +528 -0
  137. package/dist/behaviors/exports/molecules/std-sequencer-game.orb +184 -0
  138. package/dist/behaviors/exports/molecules/std-simulator-game.orb +184 -0
  139. package/dist/behaviors/exports/molecules/std-turn-based-battle.orb +444 -0
  140. package/dist/behaviors/exports/organisms/std-api-gateway.orb +2297 -0
  141. package/dist/behaviors/exports/organisms/std-arcade-game.orb +834 -0
  142. package/dist/behaviors/exports/organisms/std-booking-system.orb +3978 -0
  143. package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +2215 -0
  144. package/dist/behaviors/exports/organisms/std-cms.orb +2645 -0
  145. package/dist/behaviors/exports/organisms/std-coding-academy.orb +1395 -0
  146. package/dist/behaviors/exports/organisms/std-crm.orb +3542 -0
  147. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +3135 -0
  148. package/dist/behaviors/exports/organisms/std-ecommerce.orb +3744 -0
  149. package/dist/behaviors/exports/organisms/std-finance-tracker.orb +2386 -0
  150. package/dist/behaviors/exports/organisms/std-healthcare.orb +4680 -0
  151. package/dist/behaviors/exports/organisms/std-helpdesk.orb +2565 -0
  152. package/dist/behaviors/exports/organisms/std-hr-portal.orb +4030 -0
  153. package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +2298 -0
  154. package/dist/behaviors/exports/organisms/std-lms.orb +2855 -0
  155. package/dist/behaviors/exports/organisms/std-logic-training.orb +599 -0
  156. package/dist/behaviors/exports/organisms/std-platformer-app.orb +1570 -0
  157. package/dist/behaviors/exports/organisms/std-project-manager.orb +3022 -0
  158. package/dist/behaviors/exports/organisms/std-puzzle-app.orb +744 -0
  159. package/dist/behaviors/exports/organisms/std-realtime-chat.orb +2381 -0
  160. package/dist/behaviors/exports/organisms/std-rpg-game.orb +2805 -0
  161. package/dist/behaviors/exports/organisms/std-social-feed.orb +1222 -0
  162. package/dist/behaviors/exports/organisms/std-stem-lab.orb +1211 -0
  163. package/dist/behaviors/exports/organisms/std-strategy-game.orb +1762 -0
  164. package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +2218 -0
  165. package/dist/behaviors/exports-reader.d.ts +2 -0
  166. package/dist/behaviors/exports-reader.js +5 -3
  167. package/dist/behaviors/exports-reader.js.map +1 -1
  168. package/dist/behaviors/index.js +5 -3
  169. package/dist/behaviors/index.js.map +1 -1
  170. package/dist/exports/atoms/std-async.orb +421 -0
  171. package/dist/exports/atoms/std-browse.orb +174 -0
  172. package/dist/exports/atoms/std-cache-aside.orb +882 -0
  173. package/dist/exports/atoms/std-circuit-breaker.orb +502 -0
  174. package/dist/exports/atoms/std-collision.orb +617 -0
  175. package/dist/exports/atoms/std-combat-log.orb +146 -0
  176. package/dist/exports/atoms/std-combat.orb +411 -0
  177. package/dist/exports/atoms/std-confirmation.orb +283 -0
  178. package/dist/exports/atoms/std-dialogue-box.orb +239 -0
  179. package/dist/exports/atoms/std-display.orb +843 -0
  180. package/dist/exports/atoms/std-drawer.orb +317 -0
  181. package/dist/exports/atoms/std-filter.orb +443 -0
  182. package/dist/exports/atoms/std-game-audio.orb +114 -0
  183. package/dist/exports/atoms/std-game-hud.orb +152 -0
  184. package/dist/exports/atoms/std-game-menu.orb +212 -0
  185. package/dist/exports/atoms/std-game-over-screen.orb +196 -0
  186. package/dist/exports/atoms/std-gameflow.orb +319 -0
  187. package/dist/exports/atoms/std-input.orb +630 -0
  188. package/dist/exports/atoms/std-inventory-panel.orb +256 -0
  189. package/dist/exports/atoms/std-isometric-canvas.orb +632 -0
  190. package/dist/exports/atoms/std-loading.orb +512 -0
  191. package/dist/exports/atoms/std-modal.orb +271 -0
  192. package/dist/exports/atoms/std-movement.orb +1038 -0
  193. package/dist/exports/atoms/std-notification.orb +419 -0
  194. package/dist/exports/atoms/std-overworld.orb +484 -0
  195. package/dist/exports/atoms/std-pagination.orb +332 -0
  196. package/dist/exports/atoms/std-physics2d.orb +420 -0
  197. package/dist/exports/atoms/std-platformer-canvas.orb +258 -0
  198. package/dist/exports/atoms/std-quest.orb +981 -0
  199. package/dist/exports/atoms/std-rate-limiter.orb +639 -0
  200. package/dist/exports/atoms/std-score-board.orb +239 -0
  201. package/dist/exports/atoms/std-score.orb +467 -0
  202. package/dist/exports/atoms/std-search.orb +374 -0
  203. package/dist/exports/atoms/std-selection.orb +760 -0
  204. package/dist/exports/atoms/std-simulation-canvas.orb +184 -0
  205. package/dist/exports/atoms/std-sort.orb +579 -0
  206. package/dist/exports/atoms/std-sprite.orb +157 -0
  207. package/dist/exports/atoms/std-tabs.orb +275 -0
  208. package/dist/exports/atoms/std-timer.orb +1031 -0
  209. package/dist/exports/atoms/std-undo.orb +695 -0
  210. package/dist/exports/atoms/std-wizard.orb +667 -0
  211. package/dist/exports/molecules/std-builder-game.orb +184 -0
  212. package/dist/exports/molecules/std-cart.orb +592 -0
  213. package/dist/exports/molecules/std-classifier-game.orb +184 -0
  214. package/dist/exports/molecules/std-debugger-game.orb +184 -0
  215. package/dist/exports/molecules/std-detail.orb +590 -0
  216. package/dist/exports/molecules/std-event-handler-game.orb +184 -0
  217. package/dist/exports/molecules/std-geospatial.orb +650 -0
  218. package/dist/exports/molecules/std-inventory.orb +854 -0
  219. package/dist/exports/molecules/std-list.orb +955 -0
  220. package/dist/exports/molecules/std-messaging.orb +586 -0
  221. package/dist/exports/molecules/std-negotiator-game.orb +184 -0
  222. package/dist/exports/molecules/std-platformer-game.orb +497 -0
  223. package/dist/exports/molecules/std-puzzle-game.orb +528 -0
  224. package/dist/exports/molecules/std-sequencer-game.orb +184 -0
  225. package/dist/exports/molecules/std-simulator-game.orb +184 -0
  226. package/dist/exports/molecules/std-turn-based-battle.orb +444 -0
  227. package/dist/exports/organisms/std-api-gateway.orb +2297 -0
  228. package/dist/exports/organisms/std-arcade-game.orb +834 -0
  229. package/dist/exports/organisms/std-booking-system.orb +3978 -0
  230. package/dist/exports/organisms/std-cicd-pipeline.orb +2215 -0
  231. package/dist/exports/organisms/std-cms.orb +2645 -0
  232. package/dist/exports/organisms/std-coding-academy.orb +1395 -0
  233. package/dist/exports/organisms/std-crm.orb +3542 -0
  234. package/dist/exports/organisms/std-devops-dashboard.orb +3135 -0
  235. package/dist/exports/organisms/std-ecommerce.orb +3744 -0
  236. package/dist/exports/organisms/std-finance-tracker.orb +2386 -0
  237. package/dist/exports/organisms/std-healthcare.orb +4680 -0
  238. package/dist/exports/organisms/std-helpdesk.orb +2565 -0
  239. package/dist/exports/organisms/std-hr-portal.orb +4030 -0
  240. package/dist/exports/organisms/std-iot-dashboard.orb +2298 -0
  241. package/dist/exports/organisms/std-lms.orb +2855 -0
  242. package/dist/exports/organisms/std-logic-training.orb +599 -0
  243. package/dist/exports/organisms/std-platformer-app.orb +1570 -0
  244. package/dist/exports/organisms/std-project-manager.orb +3022 -0
  245. package/dist/exports/organisms/std-puzzle-app.orb +744 -0
  246. package/dist/exports/organisms/std-realtime-chat.orb +2381 -0
  247. package/dist/exports/organisms/std-rpg-game.orb +2805 -0
  248. package/dist/exports/organisms/std-social-feed.orb +1222 -0
  249. package/dist/exports/organisms/std-stem-lab.orb +1211 -0
  250. package/dist/exports/organisms/std-strategy-game.orb +1762 -0
  251. package/dist/exports/organisms/std-trading-dashboard.orb +2218 -0
  252. package/dist/index.js +5 -3
  253. package/dist/index.js.map +1 -1
  254. package/package.json +1 -1
  255. package/behaviors/exports/atoms/std-game-canvas-2d.orb +0 -135
  256. package/behaviors/exports/atoms/std-game-canvas-3d.orb +0 -224
@@ -0,0 +1,843 @@
1
+ {
2
+ "name": "ItemOrbital",
3
+ "orbitals": [
4
+ {
5
+ "name": "ItemOrbital",
6
+ "entity": {
7
+ "name": "Item",
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
+ },
27
+ {
28
+ "name": "createdAt",
29
+ "type": "string"
30
+ }
31
+ ]
32
+ },
33
+ "traits": [
34
+ {
35
+ "name": "ItemDisplay",
36
+ "linkedEntity": "Item",
37
+ "category": "interaction",
38
+ "stateMachine": {
39
+ "states": [
40
+ {
41
+ "name": "loading",
42
+ "isInitial": true
43
+ },
44
+ {
45
+ "name": "displaying"
46
+ },
47
+ {
48
+ "name": "refreshing"
49
+ }
50
+ ],
51
+ "events": [
52
+ {
53
+ "key": "INIT",
54
+ "name": "Initialize"
55
+ },
56
+ {
57
+ "key": "LOADED",
58
+ "name": "Loaded"
59
+ },
60
+ {
61
+ "key": "REFRESH",
62
+ "name": "Refresh"
63
+ },
64
+ {
65
+ "key": "REFRESHED",
66
+ "name": "Refreshed"
67
+ }
68
+ ],
69
+ "transitions": [
70
+ {
71
+ "from": "loading",
72
+ "to": "displaying",
73
+ "event": "INIT",
74
+ "effects": [
75
+ [
76
+ "fetch",
77
+ "Item"
78
+ ],
79
+ [
80
+ "render-ui",
81
+ "main",
82
+ {
83
+ "type": "stack",
84
+ "direction": "vertical",
85
+ "gap": "lg",
86
+ "children": [
87
+ {
88
+ "type": "stack",
89
+ "direction": "horizontal",
90
+ "gap": "md",
91
+ "justify": "space-between",
92
+ "children": [
93
+ {
94
+ "type": "stack",
95
+ "direction": "horizontal",
96
+ "gap": "md",
97
+ "children": [
98
+ {
99
+ "type": "icon",
100
+ "name": "bar-chart-2",
101
+ "size": "lg"
102
+ },
103
+ {
104
+ "type": "typography",
105
+ "content": "Items",
106
+ "variant": "h2"
107
+ }
108
+ ]
109
+ },
110
+ {
111
+ "type": "button",
112
+ "label": "Refresh",
113
+ "event": "REFRESH",
114
+ "variant": "secondary",
115
+ "icon": "refresh-cw"
116
+ }
117
+ ]
118
+ },
119
+ {
120
+ "type": "divider"
121
+ },
122
+ {
123
+ "type": "simple-grid",
124
+ "columns": 3,
125
+ "children": [
126
+ {
127
+ "type": "card",
128
+ "children": [
129
+ {
130
+ "type": "stack",
131
+ "direction": "vertical",
132
+ "gap": "sm",
133
+ "children": [
134
+ {
135
+ "type": "typography",
136
+ "variant": "caption",
137
+ "content": "Name"
138
+ },
139
+ {
140
+ "type": "typography",
141
+ "variant": "h3",
142
+ "content": "@entity.name"
143
+ }
144
+ ]
145
+ }
146
+ ]
147
+ },
148
+ {
149
+ "type": "card",
150
+ "children": [
151
+ {
152
+ "type": "stack",
153
+ "direction": "vertical",
154
+ "gap": "sm",
155
+ "children": [
156
+ {
157
+ "type": "typography",
158
+ "variant": "caption",
159
+ "content": "Description"
160
+ },
161
+ {
162
+ "type": "typography",
163
+ "variant": "h3",
164
+ "content": "@entity.description"
165
+ }
166
+ ]
167
+ }
168
+ ]
169
+ },
170
+ {
171
+ "type": "card",
172
+ "children": [
173
+ {
174
+ "type": "stack",
175
+ "direction": "vertical",
176
+ "gap": "sm",
177
+ "children": [
178
+ {
179
+ "type": "typography",
180
+ "variant": "caption",
181
+ "content": "Status"
182
+ },
183
+ {
184
+ "type": "typography",
185
+ "variant": "h3",
186
+ "content": "@entity.status"
187
+ }
188
+ ]
189
+ }
190
+ ]
191
+ },
192
+ {
193
+ "type": "card",
194
+ "children": [
195
+ {
196
+ "type": "stack",
197
+ "direction": "vertical",
198
+ "gap": "sm",
199
+ "children": [
200
+ {
201
+ "type": "typography",
202
+ "variant": "caption",
203
+ "content": "CreatedAt"
204
+ },
205
+ {
206
+ "type": "typography",
207
+ "variant": "h3",
208
+ "content": "@entity.createdAt"
209
+ }
210
+ ]
211
+ }
212
+ ]
213
+ }
214
+ ]
215
+ }
216
+ ]
217
+ }
218
+ ]
219
+ ]
220
+ },
221
+ {
222
+ "from": "loading",
223
+ "to": "displaying",
224
+ "event": "LOADED",
225
+ "effects": [
226
+ [
227
+ "fetch",
228
+ "Item"
229
+ ],
230
+ [
231
+ "render-ui",
232
+ "main",
233
+ {
234
+ "type": "stack",
235
+ "direction": "vertical",
236
+ "gap": "lg",
237
+ "children": [
238
+ {
239
+ "type": "stack",
240
+ "direction": "horizontal",
241
+ "gap": "md",
242
+ "justify": "space-between",
243
+ "children": [
244
+ {
245
+ "type": "stack",
246
+ "direction": "horizontal",
247
+ "gap": "md",
248
+ "children": [
249
+ {
250
+ "type": "icon",
251
+ "name": "bar-chart-2",
252
+ "size": "lg"
253
+ },
254
+ {
255
+ "type": "typography",
256
+ "content": "Items",
257
+ "variant": "h2"
258
+ }
259
+ ]
260
+ },
261
+ {
262
+ "type": "button",
263
+ "label": "Refresh",
264
+ "event": "REFRESH",
265
+ "variant": "secondary",
266
+ "icon": "refresh-cw"
267
+ }
268
+ ]
269
+ },
270
+ {
271
+ "type": "divider"
272
+ },
273
+ {
274
+ "type": "simple-grid",
275
+ "columns": 3,
276
+ "children": [
277
+ {
278
+ "type": "card",
279
+ "children": [
280
+ {
281
+ "type": "stack",
282
+ "direction": "vertical",
283
+ "gap": "sm",
284
+ "children": [
285
+ {
286
+ "type": "typography",
287
+ "variant": "caption",
288
+ "content": "Name"
289
+ },
290
+ {
291
+ "type": "typography",
292
+ "variant": "h3",
293
+ "content": "@entity.name"
294
+ }
295
+ ]
296
+ }
297
+ ]
298
+ },
299
+ {
300
+ "type": "card",
301
+ "children": [
302
+ {
303
+ "type": "stack",
304
+ "direction": "vertical",
305
+ "gap": "sm",
306
+ "children": [
307
+ {
308
+ "type": "typography",
309
+ "variant": "caption",
310
+ "content": "Description"
311
+ },
312
+ {
313
+ "type": "typography",
314
+ "variant": "h3",
315
+ "content": "@entity.description"
316
+ }
317
+ ]
318
+ }
319
+ ]
320
+ },
321
+ {
322
+ "type": "card",
323
+ "children": [
324
+ {
325
+ "type": "stack",
326
+ "direction": "vertical",
327
+ "gap": "sm",
328
+ "children": [
329
+ {
330
+ "type": "typography",
331
+ "variant": "caption",
332
+ "content": "Status"
333
+ },
334
+ {
335
+ "type": "typography",
336
+ "variant": "h3",
337
+ "content": "@entity.status"
338
+ }
339
+ ]
340
+ }
341
+ ]
342
+ },
343
+ {
344
+ "type": "card",
345
+ "children": [
346
+ {
347
+ "type": "stack",
348
+ "direction": "vertical",
349
+ "gap": "sm",
350
+ "children": [
351
+ {
352
+ "type": "typography",
353
+ "variant": "caption",
354
+ "content": "CreatedAt"
355
+ },
356
+ {
357
+ "type": "typography",
358
+ "variant": "h3",
359
+ "content": "@entity.createdAt"
360
+ }
361
+ ]
362
+ }
363
+ ]
364
+ }
365
+ ]
366
+ }
367
+ ]
368
+ }
369
+ ]
370
+ ]
371
+ },
372
+ {
373
+ "from": "displaying",
374
+ "to": "displaying",
375
+ "event": "INIT",
376
+ "effects": [
377
+ [
378
+ "fetch",
379
+ "Item"
380
+ ],
381
+ [
382
+ "render-ui",
383
+ "main",
384
+ {
385
+ "type": "stack",
386
+ "direction": "vertical",
387
+ "gap": "lg",
388
+ "children": [
389
+ {
390
+ "type": "stack",
391
+ "direction": "horizontal",
392
+ "gap": "md",
393
+ "justify": "space-between",
394
+ "children": [
395
+ {
396
+ "type": "stack",
397
+ "direction": "horizontal",
398
+ "gap": "md",
399
+ "children": [
400
+ {
401
+ "type": "icon",
402
+ "name": "bar-chart-2",
403
+ "size": "lg"
404
+ },
405
+ {
406
+ "type": "typography",
407
+ "content": "Items",
408
+ "variant": "h2"
409
+ }
410
+ ]
411
+ },
412
+ {
413
+ "type": "button",
414
+ "label": "Refresh",
415
+ "event": "REFRESH",
416
+ "variant": "secondary",
417
+ "icon": "refresh-cw"
418
+ }
419
+ ]
420
+ },
421
+ {
422
+ "type": "divider"
423
+ },
424
+ {
425
+ "type": "simple-grid",
426
+ "columns": 3,
427
+ "children": [
428
+ {
429
+ "type": "card",
430
+ "children": [
431
+ {
432
+ "type": "stack",
433
+ "direction": "vertical",
434
+ "gap": "sm",
435
+ "children": [
436
+ {
437
+ "type": "typography",
438
+ "variant": "caption",
439
+ "content": "Name"
440
+ },
441
+ {
442
+ "type": "typography",
443
+ "variant": "h3",
444
+ "content": "@entity.name"
445
+ }
446
+ ]
447
+ }
448
+ ]
449
+ },
450
+ {
451
+ "type": "card",
452
+ "children": [
453
+ {
454
+ "type": "stack",
455
+ "direction": "vertical",
456
+ "gap": "sm",
457
+ "children": [
458
+ {
459
+ "type": "typography",
460
+ "variant": "caption",
461
+ "content": "Description"
462
+ },
463
+ {
464
+ "type": "typography",
465
+ "variant": "h3",
466
+ "content": "@entity.description"
467
+ }
468
+ ]
469
+ }
470
+ ]
471
+ },
472
+ {
473
+ "type": "card",
474
+ "children": [
475
+ {
476
+ "type": "stack",
477
+ "direction": "vertical",
478
+ "gap": "sm",
479
+ "children": [
480
+ {
481
+ "type": "typography",
482
+ "variant": "caption",
483
+ "content": "Status"
484
+ },
485
+ {
486
+ "type": "typography",
487
+ "variant": "h3",
488
+ "content": "@entity.status"
489
+ }
490
+ ]
491
+ }
492
+ ]
493
+ },
494
+ {
495
+ "type": "card",
496
+ "children": [
497
+ {
498
+ "type": "stack",
499
+ "direction": "vertical",
500
+ "gap": "sm",
501
+ "children": [
502
+ {
503
+ "type": "typography",
504
+ "variant": "caption",
505
+ "content": "CreatedAt"
506
+ },
507
+ {
508
+ "type": "typography",
509
+ "variant": "h3",
510
+ "content": "@entity.createdAt"
511
+ }
512
+ ]
513
+ }
514
+ ]
515
+ }
516
+ ]
517
+ }
518
+ ]
519
+ }
520
+ ]
521
+ ]
522
+ },
523
+ {
524
+ "from": "displaying",
525
+ "to": "refreshing",
526
+ "event": "REFRESH",
527
+ "effects": [
528
+ [
529
+ "fetch",
530
+ "Item"
531
+ ],
532
+ [
533
+ "render-ui",
534
+ "main",
535
+ {
536
+ "type": "stack",
537
+ "direction": "vertical",
538
+ "gap": "lg",
539
+ "children": [
540
+ {
541
+ "type": "stack",
542
+ "direction": "horizontal",
543
+ "gap": "md",
544
+ "justify": "space-between",
545
+ "children": [
546
+ {
547
+ "type": "stack",
548
+ "direction": "horizontal",
549
+ "gap": "md",
550
+ "children": [
551
+ {
552
+ "type": "icon",
553
+ "name": "bar-chart-2",
554
+ "size": "lg"
555
+ },
556
+ {
557
+ "type": "typography",
558
+ "content": "Items",
559
+ "variant": "h2"
560
+ }
561
+ ]
562
+ },
563
+ {
564
+ "type": "button",
565
+ "label": "Refresh",
566
+ "event": "REFRESH",
567
+ "variant": "secondary",
568
+ "icon": "refresh-cw"
569
+ }
570
+ ]
571
+ },
572
+ {
573
+ "type": "divider"
574
+ },
575
+ {
576
+ "type": "simple-grid",
577
+ "columns": 3,
578
+ "children": [
579
+ {
580
+ "type": "card",
581
+ "children": [
582
+ {
583
+ "type": "stack",
584
+ "direction": "vertical",
585
+ "gap": "sm",
586
+ "children": [
587
+ {
588
+ "type": "typography",
589
+ "variant": "caption",
590
+ "content": "Name"
591
+ },
592
+ {
593
+ "type": "typography",
594
+ "variant": "h3",
595
+ "content": "@entity.name"
596
+ }
597
+ ]
598
+ }
599
+ ]
600
+ },
601
+ {
602
+ "type": "card",
603
+ "children": [
604
+ {
605
+ "type": "stack",
606
+ "direction": "vertical",
607
+ "gap": "sm",
608
+ "children": [
609
+ {
610
+ "type": "typography",
611
+ "variant": "caption",
612
+ "content": "Description"
613
+ },
614
+ {
615
+ "type": "typography",
616
+ "variant": "h3",
617
+ "content": "@entity.description"
618
+ }
619
+ ]
620
+ }
621
+ ]
622
+ },
623
+ {
624
+ "type": "card",
625
+ "children": [
626
+ {
627
+ "type": "stack",
628
+ "direction": "vertical",
629
+ "gap": "sm",
630
+ "children": [
631
+ {
632
+ "type": "typography",
633
+ "variant": "caption",
634
+ "content": "Status"
635
+ },
636
+ {
637
+ "type": "typography",
638
+ "variant": "h3",
639
+ "content": "@entity.status"
640
+ }
641
+ ]
642
+ }
643
+ ]
644
+ },
645
+ {
646
+ "type": "card",
647
+ "children": [
648
+ {
649
+ "type": "stack",
650
+ "direction": "vertical",
651
+ "gap": "sm",
652
+ "children": [
653
+ {
654
+ "type": "typography",
655
+ "variant": "caption",
656
+ "content": "CreatedAt"
657
+ },
658
+ {
659
+ "type": "typography",
660
+ "variant": "h3",
661
+ "content": "@entity.createdAt"
662
+ }
663
+ ]
664
+ }
665
+ ]
666
+ }
667
+ ]
668
+ }
669
+ ]
670
+ }
671
+ ]
672
+ ]
673
+ },
674
+ {
675
+ "from": "refreshing",
676
+ "to": "displaying",
677
+ "event": "REFRESHED",
678
+ "effects": [
679
+ [
680
+ "fetch",
681
+ "Item"
682
+ ],
683
+ [
684
+ "render-ui",
685
+ "main",
686
+ {
687
+ "type": "stack",
688
+ "direction": "vertical",
689
+ "gap": "lg",
690
+ "children": [
691
+ {
692
+ "type": "stack",
693
+ "direction": "horizontal",
694
+ "gap": "md",
695
+ "justify": "space-between",
696
+ "children": [
697
+ {
698
+ "type": "stack",
699
+ "direction": "horizontal",
700
+ "gap": "md",
701
+ "children": [
702
+ {
703
+ "type": "icon",
704
+ "name": "bar-chart-2",
705
+ "size": "lg"
706
+ },
707
+ {
708
+ "type": "typography",
709
+ "content": "Items",
710
+ "variant": "h2"
711
+ }
712
+ ]
713
+ },
714
+ {
715
+ "type": "button",
716
+ "label": "Refresh",
717
+ "event": "REFRESH",
718
+ "variant": "secondary",
719
+ "icon": "refresh-cw"
720
+ }
721
+ ]
722
+ },
723
+ {
724
+ "type": "divider"
725
+ },
726
+ {
727
+ "type": "simple-grid",
728
+ "columns": 3,
729
+ "children": [
730
+ {
731
+ "type": "card",
732
+ "children": [
733
+ {
734
+ "type": "stack",
735
+ "direction": "vertical",
736
+ "gap": "sm",
737
+ "children": [
738
+ {
739
+ "type": "typography",
740
+ "variant": "caption",
741
+ "content": "Name"
742
+ },
743
+ {
744
+ "type": "typography",
745
+ "variant": "h3",
746
+ "content": "@entity.name"
747
+ }
748
+ ]
749
+ }
750
+ ]
751
+ },
752
+ {
753
+ "type": "card",
754
+ "children": [
755
+ {
756
+ "type": "stack",
757
+ "direction": "vertical",
758
+ "gap": "sm",
759
+ "children": [
760
+ {
761
+ "type": "typography",
762
+ "variant": "caption",
763
+ "content": "Description"
764
+ },
765
+ {
766
+ "type": "typography",
767
+ "variant": "h3",
768
+ "content": "@entity.description"
769
+ }
770
+ ]
771
+ }
772
+ ]
773
+ },
774
+ {
775
+ "type": "card",
776
+ "children": [
777
+ {
778
+ "type": "stack",
779
+ "direction": "vertical",
780
+ "gap": "sm",
781
+ "children": [
782
+ {
783
+ "type": "typography",
784
+ "variant": "caption",
785
+ "content": "Status"
786
+ },
787
+ {
788
+ "type": "typography",
789
+ "variant": "h3",
790
+ "content": "@entity.status"
791
+ }
792
+ ]
793
+ }
794
+ ]
795
+ },
796
+ {
797
+ "type": "card",
798
+ "children": [
799
+ {
800
+ "type": "stack",
801
+ "direction": "vertical",
802
+ "gap": "sm",
803
+ "children": [
804
+ {
805
+ "type": "typography",
806
+ "variant": "caption",
807
+ "content": "CreatedAt"
808
+ },
809
+ {
810
+ "type": "typography",
811
+ "variant": "h3",
812
+ "content": "@entity.createdAt"
813
+ }
814
+ ]
815
+ }
816
+ ]
817
+ }
818
+ ]
819
+ }
820
+ ]
821
+ }
822
+ ]
823
+ ]
824
+ }
825
+ ]
826
+ }
827
+ }
828
+ ],
829
+ "pages": [
830
+ {
831
+ "name": "ItemPage",
832
+ "path": "/items",
833
+ "traits": [
834
+ {
835
+ "ref": "ItemDisplay"
836
+ }
837
+ ]
838
+ }
839
+ ]
840
+ }
841
+ ],
842
+ "description": "Read-only display molecule with loading/refresh. Single trait (display is self-contained, no modal atoms needed). Used for dashboards, stats panels, KPIs."
843
+ }