@almadar/std 8.3.0 → 8.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +62 -62
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +101 -101
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +100 -100
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +103 -103
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +386 -386
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +94 -94
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +66 -66
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +114 -114
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +61 -61
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +109 -109
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +196 -196
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +347 -347
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +61 -60
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +187 -187
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +180 -180
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +108 -108
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +107 -107
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +184 -184
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1130 -1130
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +2998 -2998
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2135 -2135
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1033 -1033
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +784 -784
  24. package/behaviors/registry/app/organisms/std-api-gateway.orb +798 -798
  25. package/behaviors/registry/app/organisms/std-booking-system.orb +1139 -1139
  26. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +776 -776
  27. package/behaviors/registry/app/organisms/std-cms.orb +469 -469
  28. package/behaviors/registry/app/organisms/std-coding-academy.orb +338 -338
  29. package/behaviors/registry/app/organisms/std-crm.orb +832 -832
  30. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1350 -1350
  31. package/behaviors/registry/app/organisms/std-ecommerce.orb +975 -975
  32. package/behaviors/registry/app/organisms/std-finance-tracker.orb +573 -573
  33. package/behaviors/registry/app/organisms/std-healthcare.orb +1370 -1370
  34. package/behaviors/registry/app/organisms/std-helpdesk.orb +617 -617
  35. package/behaviors/registry/app/organisms/std-hr-portal.orb +1177 -1177
  36. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +871 -871
  37. package/behaviors/registry/app/organisms/std-lms.orb +839 -839
  38. package/behaviors/registry/app/organisms/std-project-manager.orb +667 -667
  39. package/behaviors/registry/app/organisms/std-realtime-chat.orb +667 -667
  40. package/behaviors/registry/app/organisms/std-social-feed.orb +230 -230
  41. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +682 -682
  42. package/behaviors/registry/core/atoms/std-browse.orb +53 -53
  43. package/behaviors/registry/core/atoms/std-cache-aside.orb +89 -89
  44. package/behaviors/registry/core/atoms/std-calendar.orb +57 -57
  45. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +196 -196
  46. package/behaviors/registry/core/atoms/std-confirmation.orb +19 -19
  47. package/behaviors/registry/core/atoms/std-display.orb +383 -383
  48. package/behaviors/registry/core/atoms/std-drawer.orb +56 -56
  49. package/behaviors/registry/core/atoms/std-filter.orb +42 -42
  50. package/behaviors/registry/core/atoms/std-gallery.orb +54 -54
  51. package/behaviors/registry/core/atoms/std-modal.orb +12 -12
  52. package/behaviors/registry/core/atoms/std-pagination.orb +42 -42
  53. package/behaviors/registry/core/atoms/std-push.orb +42 -42
  54. package/behaviors/registry/core/atoms/std-rate-limiter.orb +179 -179
  55. package/behaviors/registry/core/atoms/std-related.orb +34 -34
  56. package/behaviors/registry/core/atoms/std-search.orb +68 -68
  57. package/behaviors/registry/core/atoms/std-selection.orb +90 -90
  58. package/behaviors/registry/core/atoms/std-tabs.orb +52 -52
  59. package/behaviors/registry/core/molecules/std-cart.orb +45 -45
  60. package/behaviors/registry/core/molecules/std-filtered-list.orb +7 -7
  61. package/behaviors/registry/core/molecules/std-form-advanced.orb +127 -127
  62. package/behaviors/registry/core/molecules/std-list.orb +46 -46
  63. package/behaviors/registry/core/molecules/std-wizard-form.orb +147 -147
  64. package/behaviors/registry/game/atoms/std-collision.orb +121 -121
  65. package/behaviors/registry/game/atoms/std-combat.orb +68 -68
  66. package/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  67. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +48 -48
  68. package/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
  69. package/behaviors/registry/game/atoms/std-movement.orb +306 -306
  70. package/behaviors/registry/game/atoms/std-overworld.orb +68 -68
  71. package/behaviors/registry/game/atoms/std-physics2d.orb +76 -76
  72. package/behaviors/registry/game/atoms/std-quest.orb +124 -124
  73. package/behaviors/registry/game/atoms/std-timer.orb +274 -274
  74. package/behaviors/registry/game/organisms/std-arcade-game.orb +145 -145
  75. package/behaviors/registry/game/organisms/std-logic-training.orb +67 -67
  76. package/behaviors/registry/game/organisms/std-platformer-app.orb +218 -218
  77. package/behaviors/registry/game/organisms/std-puzzle-app.orb +90 -90
  78. package/behaviors/registry/game/organisms/std-rpg-game.orb +372 -372
  79. package/behaviors/registry/game/organisms/std-stem-lab.orb +345 -345
  80. package/behaviors/registry/game/organisms/std-strategy-game.orb +540 -540
  81. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +14 -14
  82. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +86 -86
  83. package/behaviors/registry/service/atoms/std-service-email.orb +72 -72
  84. package/behaviors/registry/service/atoms/std-service-github.orb +98 -98
  85. package/behaviors/registry/service/atoms/std-service-llm.orb +118 -118
  86. package/behaviors/registry/service/atoms/std-service-oauth.orb +118 -118
  87. package/behaviors/registry/service/atoms/std-service-redis.orb +103 -103
  88. package/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  89. package/behaviors/registry/service/atoms/std-service-stripe.orb +95 -95
  90. package/behaviors/registry/service/atoms/std-service-twilio.orb +107 -107
  91. package/behaviors/registry/service/atoms/std-service-youtube.orb +104 -104
  92. package/behaviors/registry/service/organisms/std-service-marketplace.orb +966 -966
  93. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +905 -905
  94. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +62 -62
  95. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +101 -101
  96. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +100 -100
  97. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +103 -103
  98. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +386 -386
  99. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +94 -94
  100. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +66 -66
  101. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +114 -114
  102. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +61 -61
  103. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +109 -109
  104. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +196 -196
  105. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +347 -347
  106. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +61 -60
  107. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +187 -187
  108. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +180 -180
  109. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +108 -108
  110. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +107 -107
  111. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +184 -184
  112. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1130 -1130
  113. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +2998 -2998
  114. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2135 -2135
  115. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1033 -1033
  116. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +784 -784
  117. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +798 -798
  118. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1139 -1139
  119. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +776 -776
  120. package/dist/behaviors/registry/app/organisms/std-cms.orb +469 -469
  121. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +338 -338
  122. package/dist/behaviors/registry/app/organisms/std-crm.orb +832 -832
  123. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1350 -1350
  124. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +975 -975
  125. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +573 -573
  126. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1370 -1370
  127. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +617 -617
  128. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1177 -1177
  129. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +871 -871
  130. package/dist/behaviors/registry/app/organisms/std-lms.orb +839 -839
  131. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +667 -667
  132. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +667 -667
  133. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +230 -230
  134. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +682 -682
  135. package/dist/behaviors/registry/core/atoms/std-browse.orb +53 -53
  136. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +89 -89
  137. package/dist/behaviors/registry/core/atoms/std-calendar.orb +57 -57
  138. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +196 -196
  139. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +19 -19
  140. package/dist/behaviors/registry/core/atoms/std-display.orb +383 -383
  141. package/dist/behaviors/registry/core/atoms/std-drawer.orb +56 -56
  142. package/dist/behaviors/registry/core/atoms/std-filter.orb +42 -42
  143. package/dist/behaviors/registry/core/atoms/std-gallery.orb +54 -54
  144. package/dist/behaviors/registry/core/atoms/std-modal.orb +12 -12
  145. package/dist/behaviors/registry/core/atoms/std-pagination.orb +42 -42
  146. package/dist/behaviors/registry/core/atoms/std-push.orb +42 -42
  147. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +179 -179
  148. package/dist/behaviors/registry/core/atoms/std-related.orb +34 -34
  149. package/dist/behaviors/registry/core/atoms/std-search.orb +68 -68
  150. package/dist/behaviors/registry/core/atoms/std-selection.orb +90 -90
  151. package/dist/behaviors/registry/core/atoms/std-tabs.orb +52 -52
  152. package/dist/behaviors/registry/core/molecules/std-cart.orb +45 -45
  153. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +7 -7
  154. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +127 -127
  155. package/dist/behaviors/registry/core/molecules/std-list.orb +46 -46
  156. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +147 -147
  157. package/dist/behaviors/registry/game/atoms/std-collision.orb +121 -121
  158. package/dist/behaviors/registry/game/atoms/std-combat.orb +68 -68
  159. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  160. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +48 -48
  161. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
  162. package/dist/behaviors/registry/game/atoms/std-movement.orb +306 -306
  163. package/dist/behaviors/registry/game/atoms/std-overworld.orb +68 -68
  164. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +76 -76
  165. package/dist/behaviors/registry/game/atoms/std-quest.orb +124 -124
  166. package/dist/behaviors/registry/game/atoms/std-timer.orb +274 -274
  167. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +145 -145
  168. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +67 -67
  169. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +218 -218
  170. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +90 -90
  171. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +372 -372
  172. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +345 -345
  173. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +540 -540
  174. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +14 -14
  175. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +86 -86
  176. package/dist/behaviors/registry/service/atoms/std-service-email.orb +72 -72
  177. package/dist/behaviors/registry/service/atoms/std-service-github.orb +98 -98
  178. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +118 -118
  179. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +118 -118
  180. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +103 -103
  181. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  182. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +95 -95
  183. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +107 -107
  184. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +104 -104
  185. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +966 -966
  186. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +905 -905
  187. package/package.json +1 -1
@@ -160,22 +160,22 @@
160
160
  "render-ui",
161
161
  "main",
162
162
  {
163
- "align": "center",
163
+ "type": "stack",
164
+ "direction": "vertical",
164
165
  "className": "py-12",
166
+ "gap": "md",
167
+ "align": "center",
165
168
  "children": [
166
169
  {
167
170
  "type": "spinner"
168
171
  },
169
172
  {
170
- "variant": "caption",
171
- "type": "typography",
173
+ "content": "Loading map…",
172
174
  "color": "muted",
173
- "content": "Loading map…"
175
+ "variant": "caption",
176
+ "type": "typography"
174
177
  }
175
- ],
176
- "type": "stack",
177
- "direction": "vertical",
178
- "gap": "md"
178
+ ]
179
179
  }
180
180
  ]
181
181
  ]
@@ -189,11 +189,11 @@
189
189
  "render-ui",
190
190
  "main",
191
191
  {
192
+ "type": "stack",
192
193
  "children": [
193
194
  {
194
195
  "children": [
195
196
  {
196
- "direction": "horizontal",
197
197
  "gap": "md",
198
198
  "children": [
199
199
  {
@@ -202,67 +202,76 @@
202
202
  },
203
203
  {
204
204
  "variant": "h2",
205
- "content": "World Map",
206
- "type": "typography"
205
+ "type": "typography",
206
+ "content": "World Map"
207
207
  }
208
208
  ],
209
- "type": "stack"
209
+ "type": "stack",
210
+ "direction": "horizontal"
210
211
  },
211
212
  {
212
- "type": "status-dot",
213
213
  "pulse": false,
214
+ "type": "status-dot",
214
215
  "status": "online",
215
216
  "label": "Exploring"
216
217
  }
217
218
  ],
218
- "gap": "md",
219
- "direction": "horizontal",
220
219
  "type": "stack",
221
- "justify": "between"
220
+ "direction": "horizontal",
221
+ "justify": "between",
222
+ "gap": "md"
222
223
  },
223
224
  {
224
225
  "type": "divider"
225
226
  },
226
227
  {
227
- "markers": [],
228
- "zoom": 10.0,
228
+ "height": "200px",
229
229
  "type": "map-view",
230
- "height": "200px"
230
+ "markers": [],
231
+ "zoom": 10.0
231
232
  },
232
233
  {
234
+ "type": "data-grid",
235
+ "itemActions": [
236
+ {
237
+ "label": "Travel",
238
+ "event": "TRAVEL"
239
+ }
240
+ ],
241
+ "fields": [],
233
242
  "renderItem": [
234
243
  "fn",
235
244
  "item",
236
245
  {
237
246
  "children": [
238
247
  {
248
+ "align": "center",
249
+ "justify": "between",
250
+ "type": "stack",
251
+ "direction": "horizontal",
239
252
  "children": [
240
253
  {
241
- "type": "stack",
254
+ "align": "center",
242
255
  "direction": "horizontal",
256
+ "type": "stack",
257
+ "gap": "sm",
243
258
  "children": [
244
259
  {
245
- "name": "map-pin",
246
- "type": "icon"
260
+ "type": "icon",
261
+ "name": "map-pin"
247
262
  },
248
263
  {
249
264
  "type": "typography",
250
265
  "variant": "h4",
251
266
  "content": "@item.name"
252
267
  }
253
- ],
254
- "gap": "sm",
255
- "align": "center"
268
+ ]
256
269
  },
257
270
  {
258
271
  "type": "badge",
259
272
  "label": "@item.description"
260
273
  }
261
- ],
262
- "direction": "horizontal",
263
- "align": "center",
264
- "type": "stack",
265
- "justify": "between"
274
+ ]
266
275
  },
267
276
  {
268
277
  "content": "@item.status",
@@ -270,24 +279,15 @@
270
279
  "type": "typography"
271
280
  }
272
281
  ],
273
- "gap": "sm",
274
282
  "type": "stack",
275
- "direction": "vertical"
283
+ "direction": "vertical",
284
+ "gap": "sm"
276
285
  }
277
286
  ],
278
- "fields": [],
279
- "entity": "@payload.data",
280
- "itemActions": [
281
- {
282
- "event": "TRAVEL",
283
- "label": "Travel"
284
- }
285
- ],
286
- "type": "data-grid"
287
+ "entity": "@payload.data"
287
288
  }
288
289
  ],
289
290
  "direction": "vertical",
290
- "type": "stack",
291
291
  "gap": "lg"
292
292
  }
293
293
  ]
@@ -302,36 +302,36 @@
302
302
  "render-ui",
303
303
  "main",
304
304
  {
305
- "gap": "md",
305
+ "align": "center",
306
306
  "type": "stack",
307
+ "direction": "vertical",
308
+ "gap": "md",
307
309
  "children": [
308
310
  {
309
- "color": "destructive",
310
311
  "type": "icon",
312
+ "color": "destructive",
311
313
  "name": "alert-triangle"
312
314
  },
313
315
  {
316
+ "type": "typography",
314
317
  "variant": "h3",
315
- "content": "Failed to load map",
316
- "type": "typography"
318
+ "content": "Failed to load map"
317
319
  },
318
320
  {
319
- "color": "muted",
321
+ "type": "typography",
320
322
  "content": "@payload.error",
321
- "variant": "body",
322
- "type": "typography"
323
+ "color": "muted",
324
+ "variant": "body"
323
325
  },
324
326
  {
325
- "type": "button",
326
327
  "variant": "primary",
328
+ "type": "button",
327
329
  "label": "Retry",
328
- "icon": "rotate-ccw",
329
- "action": "INIT"
330
+ "action": "INIT",
331
+ "icon": "rotate-ccw"
330
332
  }
331
333
  ],
332
- "className": "py-12",
333
- "align": "center",
334
- "direction": "vertical"
334
+ "className": "py-12"
335
335
  }
336
336
  ]
337
337
  ]
@@ -345,36 +345,36 @@
345
345
  "render-ui",
346
346
  "main",
347
347
  {
348
- "gap": "lg",
349
- "direction": "vertical",
350
- "align": "center",
351
348
  "type": "stack",
349
+ "align": "center",
350
+ "direction": "vertical",
352
351
  "children": [
353
352
  {
353
+ "type": "stack",
354
+ "gap": "md",
354
355
  "children": [
355
356
  {
356
- "type": "icon",
357
- "name": "loader"
357
+ "name": "loader",
358
+ "type": "icon"
358
359
  },
359
360
  {
360
- "type": "typography",
361
+ "content": "Traveling...",
361
362
  "variant": "h2",
362
- "content": "Traveling..."
363
+ "type": "typography"
363
364
  }
364
365
  ],
365
- "gap": "md",
366
- "direction": "horizontal",
367
- "type": "stack"
366
+ "direction": "horizontal"
368
367
  },
369
368
  {
370
369
  "type": "divider"
371
370
  },
372
371
  {
373
372
  "type": "typography",
374
- "variant": "body",
375
- "content": "Traveling to the destination region."
373
+ "content": "Traveling to the destination region.",
374
+ "variant": "body"
376
375
  }
377
- ]
376
+ ],
377
+ "gap": "lg"
378
378
  }
379
379
  ]
380
380
  ]
@@ -133,25 +133,25 @@
133
133
  {
134
134
  "direction": "vertical",
135
135
  "gap": "lg",
136
+ "type": "stack",
136
137
  "align": "center",
137
138
  "children": [
138
139
  {
139
- "height": 400.0,
140
- "preset": "spring",
141
- "speed": 1.0,
140
+ "width": 800.0,
142
141
  "type": "simulation-canvas",
142
+ "height": 400.0,
143
143
  "running": false,
144
- "width": 800.0
144
+ "speed": 1.0,
145
+ "preset": "spring"
145
146
  },
146
147
  {
147
- "type": "button",
148
- "variant": "primary",
148
+ "label": "Start",
149
149
  "icon": "play",
150
150
  "action": "START",
151
- "label": "Start"
151
+ "variant": "primary",
152
+ "type": "button"
152
153
  }
153
- ],
154
- "type": "stack"
154
+ ]
155
155
  }
156
156
  ]
157
157
  ]
@@ -170,42 +170,42 @@
170
170
  "render-ui",
171
171
  "main",
172
172
  {
173
- "direction": "vertical",
174
- "align": "center",
175
- "type": "stack",
173
+ "gap": "lg",
176
174
  "children": [
177
175
  {
176
+ "speed": 1.0,
178
177
  "running": true,
178
+ "type": "simulation-canvas",
179
179
  "preset": "spring",
180
180
  "width": 800.0,
181
- "speed": 1.0,
182
- "type": "simulation-canvas",
183
181
  "height": 400.0
184
182
  },
185
183
  {
186
- "gap": "sm",
187
- "justify": "center",
188
184
  "type": "stack",
185
+ "gap": "sm",
189
186
  "direction": "horizontal",
187
+ "justify": "center",
190
188
  "children": [
191
189
  {
192
- "action": "APPLY_FORCE",
193
- "type": "button",
194
- "variant": "secondary",
195
190
  "icon": "move",
196
- "label": "Apply Force"
191
+ "label": "Apply Force",
192
+ "type": "button",
193
+ "action": "APPLY_FORCE",
194
+ "variant": "secondary"
197
195
  },
198
196
  {
199
- "type": "button",
200
- "icon": "square",
201
197
  "variant": "ghost",
198
+ "icon": "square",
202
199
  "label": "Stop",
203
- "action": "STOP"
200
+ "action": "STOP",
201
+ "type": "button"
204
202
  }
205
203
  ]
206
204
  }
207
205
  ],
208
- "gap": "lg"
206
+ "align": "center",
207
+ "direction": "vertical",
208
+ "type": "stack"
209
209
  }
210
210
  ]
211
211
  ]
@@ -219,40 +219,40 @@
219
219
  "render-ui",
220
220
  "main",
221
221
  {
222
- "gap": "lg",
223
222
  "direction": "vertical",
224
223
  "type": "stack",
224
+ "gap": "lg",
225
225
  "align": "center",
226
226
  "children": [
227
227
  {
228
228
  "preset": "spring",
229
- "width": 800.0,
230
229
  "height": 400.0,
230
+ "width": 800.0,
231
231
  "running": true,
232
- "type": "simulation-canvas",
233
- "speed": 1.0
232
+ "speed": 1.0,
233
+ "type": "simulation-canvas"
234
234
  },
235
235
  {
236
- "gap": "sm",
237
236
  "type": "stack",
238
- "direction": "horizontal",
239
237
  "justify": "center",
240
238
  "children": [
241
239
  {
242
- "action": "APPLY_FORCE",
243
240
  "icon": "move",
241
+ "action": "APPLY_FORCE",
244
242
  "type": "button",
245
- "variant": "secondary",
246
- "label": "Apply Force"
243
+ "label": "Apply Force",
244
+ "variant": "secondary"
247
245
  },
248
246
  {
249
247
  "type": "button",
250
248
  "label": "Stop",
251
- "action": "STOP",
252
249
  "icon": "square",
250
+ "action": "STOP",
253
251
  "variant": "ghost"
254
252
  }
255
- ]
253
+ ],
254
+ "gap": "sm",
255
+ "direction": "horizontal"
256
256
  }
257
257
  ]
258
258
  }
@@ -278,42 +278,42 @@
278
278
  "render-ui",
279
279
  "main",
280
280
  {
281
- "type": "stack",
282
- "direction": "vertical",
283
- "align": "center",
284
- "gap": "lg",
285
281
  "children": [
286
282
  {
287
- "type": "simulation-canvas",
288
- "width": 800.0,
289
283
  "height": 400.0,
290
- "preset": "spring",
291
284
  "running": true,
292
- "speed": 1.0
285
+ "speed": 1.0,
286
+ "type": "simulation-canvas",
287
+ "width": 800.0,
288
+ "preset": "spring"
293
289
  },
294
290
  {
295
- "type": "stack",
296
291
  "justify": "center",
297
292
  "children": [
298
293
  {
299
- "action": "APPLY_FORCE",
300
294
  "icon": "move",
301
- "type": "button",
295
+ "variant": "secondary",
302
296
  "label": "Apply Force",
303
- "variant": "secondary"
297
+ "type": "button",
298
+ "action": "APPLY_FORCE"
304
299
  },
305
300
  {
306
- "action": "STOP",
307
301
  "label": "Stop",
302
+ "action": "STOP",
308
303
  "icon": "square",
309
304
  "variant": "ghost",
310
305
  "type": "button"
311
306
  }
312
307
  ],
313
- "direction": "horizontal",
314
- "gap": "sm"
308
+ "gap": "sm",
309
+ "type": "stack",
310
+ "direction": "horizontal"
315
311
  }
316
- ]
312
+ ],
313
+ "type": "stack",
314
+ "align": "center",
315
+ "gap": "lg",
316
+ "direction": "vertical"
317
317
  }
318
318
  ]
319
319
  ]
@@ -332,25 +332,25 @@
332
332
  "render-ui",
333
333
  "main",
334
334
  {
335
+ "direction": "vertical",
336
+ "gap": "lg",
335
337
  "children": [
336
338
  {
337
- "running": false,
338
- "width": 800.0,
339
339
  "height": 400.0,
340
340
  "speed": 1.0,
341
+ "preset": "spring",
341
342
  "type": "simulation-canvas",
342
- "preset": "spring"
343
+ "width": 800.0,
344
+ "running": false
343
345
  },
344
346
  {
345
- "type": "button",
346
- "variant": "primary",
347
- "icon": "play",
348
347
  "label": "Start",
349
- "action": "START"
348
+ "action": "START",
349
+ "icon": "play",
350
+ "variant": "primary",
351
+ "type": "button"
350
352
  }
351
353
  ],
352
- "gap": "lg",
353
- "direction": "vertical",
354
354
  "type": "stack",
355
355
  "align": "center"
356
356
  }
@@ -366,42 +366,42 @@
366
366
  "render-ui",
367
367
  "main",
368
368
  {
369
- "align": "center",
370
- "gap": "lg",
371
- "type": "stack",
372
- "direction": "vertical",
373
369
  "children": [
374
370
  {
375
371
  "height": 400.0,
376
- "speed": 1.0,
377
- "type": "simulation-canvas",
378
372
  "width": 800.0,
379
373
  "preset": "spring",
380
- "running": true
374
+ "running": true,
375
+ "speed": 1.0,
376
+ "type": "simulation-canvas"
381
377
  },
382
378
  {
383
- "justify": "center",
384
- "gap": "sm",
385
379
  "type": "stack",
380
+ "gap": "sm",
386
381
  "children": [
387
382
  {
388
383
  "variant": "secondary",
389
- "type": "button",
384
+ "icon": "move",
390
385
  "label": "Apply Force",
391
386
  "action": "APPLY_FORCE",
392
- "icon": "move"
387
+ "type": "button"
393
388
  },
394
389
  {
395
- "icon": "square",
390
+ "action": "STOP",
396
391
  "variant": "ghost",
397
392
  "type": "button",
398
- "label": "Stop",
399
- "action": "STOP"
393
+ "icon": "square",
394
+ "label": "Stop"
400
395
  }
401
396
  ],
402
- "direction": "horizontal"
397
+ "direction": "horizontal",
398
+ "justify": "center"
403
399
  }
404
- ]
400
+ ],
401
+ "align": "center",
402
+ "type": "stack",
403
+ "gap": "lg",
404
+ "direction": "vertical"
405
405
  }
406
406
  ]
407
407
  ]