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