@almadar/std 8.4.2 → 9.0.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 +97 -97
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +129 -129
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +127 -127
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +133 -133
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +419 -419
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +100 -100
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +112 -112
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +138 -138
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +78 -78
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +171 -171
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +358 -358
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +79 -79
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -204
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +190 -190
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +152 -152
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +115 -115
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1240 -1226
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3031 -3051
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2132 -2140
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1049 -1035
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +876 -876
  24. package/behaviors/registry/app/organisms/std-api-gateway.orb +840 -840
  25. package/behaviors/registry/app/organisms/std-booking-system.orb +1248 -1248
  26. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +816 -816
  27. package/behaviors/registry/app/organisms/std-cms.orb +587 -587
  28. package/behaviors/registry/app/organisms/std-coding-academy.orb +416 -416
  29. package/behaviors/registry/app/organisms/std-crm.orb +966 -966
  30. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1375 -1375
  31. package/behaviors/registry/app/organisms/std-ecommerce.orb +1109 -1109
  32. package/behaviors/registry/app/organisms/std-finance-tracker.orb +716 -716
  33. package/behaviors/registry/app/organisms/std-healthcare.orb +1473 -1473
  34. package/behaviors/registry/app/organisms/std-helpdesk.orb +693 -693
  35. package/behaviors/registry/app/organisms/std-hr-portal.orb +1252 -1252
  36. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +895 -895
  37. package/behaviors/registry/app/organisms/std-lms.orb +876 -876
  38. package/behaviors/registry/app/organisms/std-project-manager.orb +790 -790
  39. package/behaviors/registry/app/organisms/std-realtime-chat.orb +740 -740
  40. package/behaviors/registry/app/organisms/std-social-feed.orb +266 -266
  41. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +699 -699
  42. package/behaviors/registry/core/atoms/std-browse.orb +67 -67
  43. package/behaviors/registry/core/atoms/std-cache-aside.orb +97 -97
  44. package/behaviors/registry/core/atoms/std-calendar.orb +62 -62
  45. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +188 -188
  46. package/behaviors/registry/core/atoms/std-confirmation.orb +34 -34
  47. package/behaviors/registry/core/atoms/std-display.orb +370 -370
  48. package/behaviors/registry/core/atoms/std-drawer.orb +61 -61
  49. package/behaviors/registry/core/atoms/std-filter.orb +63 -63
  50. package/behaviors/registry/core/atoms/std-gallery.orb +55 -55
  51. package/behaviors/registry/core/atoms/std-modal.orb +19 -19
  52. package/behaviors/registry/core/atoms/std-pagination.orb +53 -53
  53. package/behaviors/registry/core/atoms/std-push.orb +50 -60
  54. package/behaviors/registry/core/atoms/std-rate-limiter.orb +185 -185
  55. package/behaviors/registry/core/atoms/std-related.orb +39 -39
  56. package/behaviors/registry/core/atoms/std-search.orb +73 -73
  57. package/behaviors/registry/core/atoms/std-selection.orb +110 -110
  58. package/behaviors/registry/core/atoms/std-tabs.orb +47 -47
  59. package/behaviors/registry/core/molecules/std-cart.orb +60 -60
  60. package/behaviors/registry/core/molecules/std-filtered-list.orb +11 -11
  61. package/behaviors/registry/core/molecules/std-form-advanced.orb +140 -140
  62. package/behaviors/registry/core/molecules/std-list.orb +68 -68
  63. package/behaviors/registry/core/molecules/std-wizard-form.orb +152 -152
  64. package/behaviors/registry/game/atoms/std-collision.orb +140 -140
  65. package/behaviors/registry/game/atoms/std-combat.orb +76 -76
  66. package/behaviors/registry/game/atoms/std-dialogue-box.orb +27 -27
  67. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +47 -47
  68. package/behaviors/registry/game/atoms/std-gameflow.orb +49 -49
  69. package/behaviors/registry/game/atoms/std-movement.orb +276 -276
  70. package/behaviors/registry/game/atoms/std-overworld.orb +64 -64
  71. package/behaviors/registry/game/atoms/std-physics2d.orb +88 -88
  72. package/behaviors/registry/game/atoms/std-quest.orb +129 -129
  73. package/behaviors/registry/game/atoms/std-timer.orb +285 -285
  74. package/behaviors/registry/game/organisms/std-arcade-game.orb +172 -172
  75. package/behaviors/registry/game/organisms/std-logic-training.orb +89 -89
  76. package/behaviors/registry/game/organisms/std-platformer-app.orb +281 -281
  77. package/behaviors/registry/game/organisms/std-puzzle-app.orb +110 -110
  78. package/behaviors/registry/game/organisms/std-rpg-game.orb +446 -446
  79. package/behaviors/registry/game/organisms/std-stem-lab.orb +349 -349
  80. package/behaviors/registry/game/organisms/std-strategy-game.orb +550 -550
  81. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +35 -35
  82. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -93
  83. package/behaviors/registry/service/atoms/std-service-email.orb +92 -92
  84. package/behaviors/registry/service/atoms/std-service-github.orb +111 -111
  85. package/behaviors/registry/service/atoms/std-service-llm.orb +132 -132
  86. package/behaviors/registry/service/atoms/std-service-oauth.orb +133 -133
  87. package/behaviors/registry/service/atoms/std-service-redis.orb +114 -114
  88. package/behaviors/registry/service/atoms/std-service-storage.orb +140 -140
  89. package/behaviors/registry/service/atoms/std-service-stripe.orb +115 -115
  90. package/behaviors/registry/service/atoms/std-service-twilio.orb +131 -131
  91. package/behaviors/registry/service/atoms/std-service-youtube.orb +128 -128
  92. package/behaviors/registry/service/organisms/std-service-marketplace.orb +1072 -1072
  93. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +979 -979
  94. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +97 -97
  95. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +129 -129
  96. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +127 -127
  97. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +133 -133
  98. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +419 -419
  99. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +100 -100
  100. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +112 -112
  101. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +138 -138
  102. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +78 -78
  103. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +171 -171
  104. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
  105. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +358 -358
  106. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +79 -79
  107. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -204
  108. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +190 -190
  109. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +152 -152
  110. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +115 -115
  111. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
  112. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1240 -1226
  113. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3031 -3051
  114. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2132 -2140
  115. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1049 -1035
  116. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +876 -876
  117. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +840 -840
  118. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1248 -1248
  119. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +816 -816
  120. package/dist/behaviors/registry/app/organisms/std-cms.orb +587 -587
  121. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +416 -416
  122. package/dist/behaviors/registry/app/organisms/std-crm.orb +966 -966
  123. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1375 -1375
  124. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +1109 -1109
  125. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +716 -716
  126. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1473 -1473
  127. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +693 -693
  128. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1252 -1252
  129. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +895 -895
  130. package/dist/behaviors/registry/app/organisms/std-lms.orb +876 -876
  131. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +790 -790
  132. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +740 -740
  133. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +266 -266
  134. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +699 -699
  135. package/dist/behaviors/registry/core/atoms/std-browse.orb +67 -67
  136. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +97 -97
  137. package/dist/behaviors/registry/core/atoms/std-calendar.orb +62 -62
  138. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +188 -188
  139. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +34 -34
  140. package/dist/behaviors/registry/core/atoms/std-display.orb +370 -370
  141. package/dist/behaviors/registry/core/atoms/std-drawer.orb +61 -61
  142. package/dist/behaviors/registry/core/atoms/std-filter.orb +63 -63
  143. package/dist/behaviors/registry/core/atoms/std-gallery.orb +55 -55
  144. package/dist/behaviors/registry/core/atoms/std-modal.orb +19 -19
  145. package/dist/behaviors/registry/core/atoms/std-pagination.orb +53 -53
  146. package/dist/behaviors/registry/core/atoms/std-push.orb +50 -60
  147. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +185 -185
  148. package/dist/behaviors/registry/core/atoms/std-related.orb +39 -39
  149. package/dist/behaviors/registry/core/atoms/std-search.orb +73 -73
  150. package/dist/behaviors/registry/core/atoms/std-selection.orb +110 -110
  151. package/dist/behaviors/registry/core/atoms/std-tabs.orb +47 -47
  152. package/dist/behaviors/registry/core/molecules/std-cart.orb +60 -60
  153. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +11 -11
  154. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +140 -140
  155. package/dist/behaviors/registry/core/molecules/std-list.orb +68 -68
  156. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +152 -152
  157. package/dist/behaviors/registry/game/atoms/std-collision.orb +140 -140
  158. package/dist/behaviors/registry/game/atoms/std-combat.orb +76 -76
  159. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +27 -27
  160. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +47 -47
  161. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +49 -49
  162. package/dist/behaviors/registry/game/atoms/std-movement.orb +276 -276
  163. package/dist/behaviors/registry/game/atoms/std-overworld.orb +64 -64
  164. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +88 -88
  165. package/dist/behaviors/registry/game/atoms/std-quest.orb +129 -129
  166. package/dist/behaviors/registry/game/atoms/std-timer.orb +285 -285
  167. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +172 -172
  168. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +89 -89
  169. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +281 -281
  170. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +110 -110
  171. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +446 -446
  172. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +349 -349
  173. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +550 -550
  174. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +35 -35
  175. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -93
  176. package/dist/behaviors/registry/service/atoms/std-service-email.orb +92 -92
  177. package/dist/behaviors/registry/service/atoms/std-service-github.orb +111 -111
  178. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +132 -132
  179. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +133 -133
  180. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +114 -114
  181. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +140 -140
  182. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +115 -115
  183. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +131 -131
  184. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +128 -128
  185. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +1072 -1072
  186. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +979 -979
  187. package/package.json +1 -1
@@ -78,7 +78,7 @@
78
78
  "event": "ServiceStripeLoaded",
79
79
  "description": "Fired when ServiceStripe finishes loading",
80
80
  "scope": "internal",
81
- "payload": [
81
+ "payloadSchema": [
82
82
  {
83
83
  "name": "id",
84
84
  "type": "string",
@@ -130,7 +130,7 @@
130
130
  "event": "ServiceStripeLoadFailed",
131
131
  "description": "Fired when ServiceStripe fails to load",
132
132
  "scope": "internal",
133
- "payload": [
133
+ "payloadSchema": [
134
134
  {
135
135
  "name": "message",
136
136
  "type": "string"
@@ -140,7 +140,7 @@
140
140
  {
141
141
  "event": "ServiceStripeStripeCompleted",
142
142
  "scope": "internal",
143
- "payload": [
143
+ "payloadSchema": [
144
144
  {
145
145
  "name": "result",
146
146
  "type": "object"
@@ -150,7 +150,7 @@
150
150
  {
151
151
  "event": "ServiceStripeStripeFailed",
152
152
  "scope": "internal",
153
- "payload": [
153
+ "payloadSchema": [
154
154
  {
155
155
  "name": "error",
156
156
  "type": "string"
@@ -193,7 +193,7 @@
193
193
  {
194
194
  "key": "PAYMENT_CREATED",
195
195
  "name": "Payment Created",
196
- "payload": [
196
+ "payloadSchema": [
197
197
  {
198
198
  "name": "id",
199
199
  "type": "string",
@@ -209,7 +209,7 @@
209
209
  {
210
210
  "key": "FAILED",
211
211
  "name": "Failed",
212
- "payload": [
212
+ "payloadSchema": [
213
213
  {
214
214
  "name": "error",
215
215
  "type": "string",
@@ -232,7 +232,7 @@
232
232
  {
233
233
  "key": "ServiceStripeLoaded",
234
234
  "name": "ServiceStripe loaded",
235
- "payload": [
235
+ "payloadSchema": [
236
236
  {
237
237
  "name": "id",
238
238
  "type": "string",
@@ -283,7 +283,7 @@
283
283
  {
284
284
  "key": "ServiceStripeLoadFailed",
285
285
  "name": "ServiceStripe load failed",
286
- "payload": [
286
+ "payloadSchema": [
287
287
  {
288
288
  "name": "message",
289
289
  "type": "string"
@@ -293,7 +293,7 @@
293
293
  {
294
294
  "key": "ServiceStripeStripeCompleted",
295
295
  "name": "ServiceStripe stripe completed",
296
- "payload": [
296
+ "payloadSchema": [
297
297
  {
298
298
  "name": "result",
299
299
  "type": "object"
@@ -303,7 +303,7 @@
303
303
  {
304
304
  "key": "ServiceStripeStripeFailed",
305
305
  "name": "ServiceStripe stripe failed",
306
- "payload": [
306
+ "payloadSchema": [
307
307
  {
308
308
  "name": "error",
309
309
  "type": "string"
@@ -326,8 +326,8 @@
326
326
  "ServiceStripe",
327
327
  {
328
328
  "emit": {
329
- "failure": "ServiceStripeLoadFailed",
330
- "success": "ServiceStripeLoaded"
329
+ "success": "ServiceStripeLoaded",
330
+ "failure": "ServiceStripeLoadFailed"
331
331
  }
332
332
  }
333
333
  ],
@@ -335,12 +335,12 @@
335
335
  "render-ui",
336
336
  "main",
337
337
  {
338
- "direction": "vertical",
339
338
  "type": "stack",
340
- "align": "center",
341
339
  "gap": "lg",
340
+ "direction": "vertical",
342
341
  "children": [
343
342
  {
343
+ "type": "stack",
344
344
  "gap": "md",
345
345
  "children": [
346
346
  {
@@ -348,12 +348,11 @@
348
348
  "type": "icon"
349
349
  },
350
350
  {
351
- "variant": "h2",
352
351
  "type": "typography",
352
+ "variant": "h2",
353
353
  "content": "Payment"
354
354
  }
355
355
  ],
356
- "type": "stack",
357
356
  "align": "center",
358
357
  "direction": "horizontal"
359
358
  },
@@ -361,8 +360,8 @@
361
360
  "type": "divider"
362
361
  },
363
362
  {
364
- "type": "stack",
365
363
  "gap": "md",
364
+ "type": "stack",
366
365
  "direction": "vertical",
367
366
  "children": [
368
367
  {
@@ -371,32 +370,33 @@
371
370
  "type": "input"
372
371
  },
373
372
  {
374
- "type": "select",
375
373
  "options": [
376
374
  {
377
- "label": "USD",
378
- "value": "usd"
375
+ "value": "usd",
376
+ "label": "USD"
379
377
  },
380
378
  {
381
- "label": "EUR",
382
- "value": "eur"
379
+ "value": "eur",
380
+ "label": "EUR"
383
381
  },
384
382
  {
385
383
  "label": "GBP",
386
384
  "value": "gbp"
387
385
  }
388
- ]
386
+ ],
387
+ "type": "select"
389
388
  }
390
389
  ]
391
390
  },
392
391
  {
393
- "icon": "credit-card",
394
392
  "type": "button",
395
393
  "variant": "primary",
394
+ "action": "CREATE_PAYMENT",
396
395
  "label": "Pay",
397
- "action": "CREATE_PAYMENT"
396
+ "icon": "credit-card"
398
397
  }
399
- ]
398
+ ],
399
+ "align": "center"
400
400
  }
401
401
  ]
402
402
  ]
@@ -410,9 +410,9 @@
410
410
  "render-ui",
411
411
  "main",
412
412
  {
413
- "type": "loading-state",
414
413
  "title": "Creating payment...",
415
- "message": "Setting up your payment intent."
414
+ "message": "Setting up your payment intent.",
415
+ "type": "loading-state"
416
416
  }
417
417
  ],
418
418
  [
@@ -420,8 +420,8 @@
420
420
  "stripe",
421
421
  "createPaymentIntent",
422
422
  {
423
- "amount": "@entity.amount",
424
- "currency": "@entity.currency"
423
+ "currency": "@entity.currency",
424
+ "amount": "@entity.amount"
425
425
  },
426
426
  {
427
427
  "emit": {
@@ -451,9 +451,9 @@
451
451
  "render-ui",
452
452
  "main",
453
453
  {
454
+ "message": "Processing your payment.",
454
455
  "title": "Confirming payment...",
455
- "type": "loading-state",
456
- "message": "Processing your payment."
456
+ "type": "loading-state"
457
457
  }
458
458
  ],
459
459
  [
@@ -486,10 +486,10 @@
486
486
  "render-ui",
487
487
  "main",
488
488
  {
489
+ "type": "error-state",
489
490
  "title": "Payment Failed",
490
491
  "message": "@entity.error",
491
- "onRetry": "RETRY",
492
- "type": "error-state"
492
+ "onRetry": "RETRY"
493
493
  }
494
494
  ]
495
495
  ]
@@ -508,34 +508,34 @@
508
508
  "render-ui",
509
509
  "main",
510
510
  {
511
- "gap": "lg",
512
- "direction": "vertical",
513
- "type": "stack",
514
511
  "children": [
515
512
  {
516
- "type": "icon",
517
- "name": "check-circle"
513
+ "name": "check-circle",
514
+ "type": "icon"
518
515
  },
519
516
  {
520
- "message": "Payment successful!",
517
+ "type": "alert",
521
518
  "variant": "success",
522
- "type": "alert"
519
+ "message": "Payment successful!"
523
520
  },
524
521
  {
525
- "content": "@entity.paymentIntentId",
526
- "color": "muted",
522
+ "variant": "body",
527
523
  "type": "typography",
528
- "variant": "body"
524
+ "color": "muted",
525
+ "content": "@entity.paymentIntentId"
529
526
  },
530
527
  {
531
- "type": "button",
528
+ "variant": "ghost",
532
529
  "label": "New Payment",
530
+ "type": "button",
533
531
  "action": "RESET",
534
- "variant": "ghost",
535
532
  "icon": "rotate-ccw"
536
533
  }
537
534
  ],
538
- "align": "center"
535
+ "direction": "vertical",
536
+ "gap": "lg",
537
+ "align": "center",
538
+ "type": "stack"
539
539
  }
540
540
  ]
541
541
  ]
@@ -554,10 +554,10 @@
554
554
  "render-ui",
555
555
  "main",
556
556
  {
557
- "onRetry": "RETRY",
558
- "title": "Payment Failed",
559
557
  "message": "@entity.error",
560
- "type": "error-state"
558
+ "type": "error-state",
559
+ "title": "Payment Failed",
560
+ "onRetry": "RETRY"
561
561
  }
562
562
  ]
563
563
  ]
@@ -571,36 +571,39 @@
571
571
  "render-ui",
572
572
  "main",
573
573
  {
574
+ "type": "stack",
575
+ "direction": "vertical",
576
+ "gap": "lg",
577
+ "align": "center",
574
578
  "children": [
575
579
  {
576
- "type": "stack",
577
- "direction": "horizontal",
578
580
  "align": "center",
579
- "gap": "md",
580
581
  "children": [
581
582
  {
582
- "name": "credit-card",
583
- "type": "icon"
583
+ "type": "icon",
584
+ "name": "credit-card"
584
585
  },
585
586
  {
586
587
  "type": "typography",
587
588
  "content": "Payment",
588
589
  "variant": "h2"
589
590
  }
590
- ]
591
+ ],
592
+ "gap": "md",
593
+ "direction": "horizontal",
594
+ "type": "stack"
591
595
  },
592
596
  {
593
597
  "type": "divider"
594
598
  },
595
599
  {
596
600
  "direction": "vertical",
597
- "gap": "md",
598
601
  "type": "stack",
599
602
  "children": [
600
603
  {
601
- "inputType": "number",
604
+ "type": "input",
602
605
  "placeholder": "0.00",
603
- "type": "input"
606
+ "inputType": "number"
604
607
  },
605
608
  {
606
609
  "type": "select",
@@ -619,20 +622,17 @@
619
622
  }
620
623
  ]
621
624
  }
622
- ]
625
+ ],
626
+ "gap": "md"
623
627
  },
624
628
  {
625
- "label": "Pay",
626
- "type": "button",
627
- "variant": "primary",
629
+ "icon": "credit-card",
628
630
  "action": "CREATE_PAYMENT",
629
- "icon": "credit-card"
631
+ "variant": "primary",
632
+ "type": "button",
633
+ "label": "Pay"
630
634
  }
631
- ],
632
- "direction": "vertical",
633
- "type": "stack",
634
- "gap": "lg",
635
- "align": "center"
635
+ ]
636
636
  }
637
637
  ]
638
638
  ]
@@ -646,68 +646,68 @@
646
646
  "render-ui",
647
647
  "main",
648
648
  {
649
- "type": "stack",
650
- "gap": "lg",
649
+ "direction": "vertical",
650
+ "align": "center",
651
651
  "children": [
652
652
  {
653
- "type": "stack",
654
653
  "children": [
655
654
  {
656
- "type": "icon",
657
- "name": "credit-card"
655
+ "name": "credit-card",
656
+ "type": "icon"
658
657
  },
659
658
  {
660
- "content": "Payment",
661
659
  "variant": "h2",
662
- "type": "typography"
660
+ "type": "typography",
661
+ "content": "Payment"
663
662
  }
664
663
  ],
664
+ "direction": "horizontal",
665
665
  "gap": "md",
666
666
  "align": "center",
667
- "direction": "horizontal"
667
+ "type": "stack"
668
668
  },
669
669
  {
670
670
  "type": "divider"
671
671
  },
672
672
  {
673
+ "gap": "md",
673
674
  "direction": "vertical",
675
+ "type": "stack",
674
676
  "children": [
675
677
  {
676
678
  "placeholder": "0.00",
677
- "type": "input",
678
- "inputType": "number"
679
+ "inputType": "number",
680
+ "type": "input"
679
681
  },
680
682
  {
683
+ "type": "select",
681
684
  "options": [
682
685
  {
683
- "label": "USD",
684
- "value": "usd"
686
+ "value": "usd",
687
+ "label": "USD"
685
688
  },
686
689
  {
687
690
  "value": "eur",
688
691
  "label": "EUR"
689
692
  },
690
693
  {
691
- "label": "GBP",
692
- "value": "gbp"
694
+ "value": "gbp",
695
+ "label": "GBP"
693
696
  }
694
- ],
695
- "type": "select"
697
+ ]
696
698
  }
697
- ],
698
- "type": "stack",
699
- "gap": "md"
699
+ ]
700
700
  },
701
701
  {
702
- "variant": "primary",
703
- "type": "button",
704
702
  "action": "CREATE_PAYMENT",
705
- "icon": "credit-card",
706
- "label": "Pay"
703
+ "label": "Pay",
704
+ "type": "button",
705
+ "variant": "primary",
706
+ "icon": "credit-card"
707
707
  }
708
708
  ],
709
- "align": "center",
710
- "direction": "vertical"
709
+ "type": "stack",
710
+ "gap": "lg"
711
711
  }
712
712
  ]
713
713
  ]
@@ -721,36 +721,36 @@
721
721
  "render-ui",
722
722
  "main",
723
723
  {
724
+ "align": "center",
724
725
  "children": [
725
726
  {
726
- "direction": "horizontal",
727
- "type": "stack",
728
- "gap": "md",
727
+ "align": "center",
729
728
  "children": [
730
729
  {
731
- "name": "credit-card",
732
- "type": "icon"
730
+ "type": "icon",
731
+ "name": "credit-card"
733
732
  },
734
733
  {
735
- "content": "Payment",
734
+ "variant": "h2",
736
735
  "type": "typography",
737
- "variant": "h2"
736
+ "content": "Payment"
738
737
  }
739
738
  ],
740
- "align": "center"
739
+ "gap": "md",
740
+ "direction": "horizontal",
741
+ "type": "stack"
741
742
  },
742
743
  {
743
744
  "type": "divider"
744
745
  },
745
746
  {
746
- "type": "stack",
747
747
  "direction": "vertical",
748
- "gap": "md",
748
+ "type": "stack",
749
749
  "children": [
750
750
  {
751
751
  "inputType": "number",
752
- "type": "input",
753
- "placeholder": "0.00"
752
+ "placeholder": "0.00",
753
+ "type": "input"
754
754
  },
755
755
  {
756
756
  "type": "select",
@@ -760,8 +760,8 @@
760
760
  "label": "USD"
761
761
  },
762
762
  {
763
- "value": "eur",
764
- "label": "EUR"
763
+ "label": "EUR",
764
+ "value": "eur"
765
765
  },
766
766
  {
767
767
  "label": "GBP",
@@ -769,20 +769,20 @@
769
769
  }
770
770
  ]
771
771
  }
772
- ]
772
+ ],
773
+ "gap": "md"
773
774
  },
774
775
  {
776
+ "action": "CREATE_PAYMENT",
775
777
  "variant": "primary",
776
- "type": "button",
778
+ "label": "Pay",
777
779
  "icon": "credit-card",
778
- "action": "CREATE_PAYMENT",
779
- "label": "Pay"
780
+ "type": "button"
780
781
  }
781
782
  ],
782
- "gap": "lg",
783
783
  "type": "stack",
784
784
  "direction": "vertical",
785
- "align": "center"
785
+ "gap": "lg"
786
786
  }
787
787
  ]
788
788
  ]
@@ -805,4 +805,4 @@
805
805
  ]
806
806
  }
807
807
  ]
808
- }
808
+ }