@almadar/std 14.4.0 → 14.5.1

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 (27) hide show
  1. package/behaviors/registry/app/organisms/std-ecommerce.orb +2583 -3921
  2. package/behaviors/registry/core/atoms/std-browse.orb +180 -45
  3. package/behaviors/registry/core/molecules/std-app-layout.orb +21 -16
  4. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +87 -133
  5. package/behaviors/registry/service/atoms/std-service-email.orb +101 -147
  6. package/behaviors/registry/service/atoms/std-service-github.orb +92 -143
  7. package/behaviors/registry/service/atoms/std-service-llm.orb +118 -157
  8. package/behaviors/registry/service/atoms/std-service-oauth.orb +128 -171
  9. package/behaviors/registry/service/atoms/std-service-redis.orb +92 -134
  10. package/behaviors/registry/service/atoms/std-service-storage.orb +120 -166
  11. package/behaviors/registry/service/atoms/std-service-stripe.orb +235 -193
  12. package/behaviors/registry/service/atoms/std-service-twilio.orb +127 -169
  13. package/behaviors/registry/service/atoms/std-service-youtube.orb +108 -151
  14. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +2583 -3921
  15. package/dist/behaviors/registry/core/atoms/std-browse.orb +180 -45
  16. package/dist/behaviors/registry/core/molecules/std-app-layout.orb +21 -16
  17. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +87 -133
  18. package/dist/behaviors/registry/service/atoms/std-service-email.orb +101 -147
  19. package/dist/behaviors/registry/service/atoms/std-service-github.orb +92 -143
  20. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +118 -157
  21. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +128 -171
  22. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +92 -134
  23. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +120 -166
  24. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +235 -193
  25. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +127 -169
  26. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +108 -151
  27. package/package.json +1 -1
@@ -74,63 +74,17 @@
74
74
  "emits": [
75
75
  {
76
76
  "event": "ServiceEmailLoaded",
77
- "description": "Fired when ServiceEmail finishes loading",
78
- "scope": "internal",
77
+ "scope": "external",
79
78
  "payloadSchema": [
80
79
  {
81
80
  "name": "id",
82
81
  "type": "string"
83
- },
84
- {
85
- "name": "name",
86
- "type": "string"
87
- },
88
- {
89
- "name": "description",
90
- "type": "string"
91
- },
92
- {
93
- "name": "status",
94
- "type": "string"
95
- },
96
- {
97
- "name": "createdAt",
98
- "type": "string"
99
- },
100
- {
101
- "name": "to",
102
- "type": "string"
103
- },
104
- {
105
- "name": "subject",
106
- "type": "string"
107
- },
108
- {
109
- "name": "body",
110
- "type": "string"
111
- },
112
- {
113
- "name": "from",
114
- "type": "string"
115
- },
116
- {
117
- "name": "sendStatus",
118
- "type": "string"
119
- },
120
- {
121
- "name": "messageId",
122
- "type": "string"
123
- },
124
- {
125
- "name": "error",
126
- "type": "string"
127
82
  }
128
83
  ]
129
84
  },
130
85
  {
131
86
  "event": "ServiceEmailLoadFailed",
132
- "description": "Fired when ServiceEmail fails to load",
133
- "scope": "internal",
87
+ "scope": "external",
134
88
  "payloadSchema": [
135
89
  {
136
90
  "name": "message",
@@ -140,7 +94,7 @@
140
94
  },
141
95
  {
142
96
  "event": "ServiceEmailEmailCompleted",
143
- "scope": "internal",
97
+ "scope": "external",
144
98
  "payloadSchema": [
145
99
  {
146
100
  "name": "result",
@@ -150,7 +104,7 @@
150
104
  },
151
105
  {
152
106
  "event": "ServiceEmailEmailFailed",
153
- "scope": "internal",
107
+ "scope": "external",
154
108
  "payloadSchema": [
155
109
  {
156
110
  "name": "error",
@@ -341,27 +295,23 @@
341
295
  "render-ui",
342
296
  "main",
343
297
  {
344
- "gap": "lg",
345
- "align": "stretch",
346
- "type": "stack",
347
- "direction": "vertical",
348
298
  "children": [
349
299
  {
300
+ "direction": "horizontal",
301
+ "align": "center",
350
302
  "children": [
351
303
  {
352
- "type": "icon",
353
- "name": "mail"
304
+ "name": "mail",
305
+ "type": "icon"
354
306
  },
355
307
  {
356
- "type": "typography",
357
308
  "variant": "h2",
358
- "content": "ServiceEmail Email"
309
+ "content": "ServiceEmail Email",
310
+ "type": "typography"
359
311
  }
360
312
  ],
361
- "direction": "horizontal",
362
313
  "gap": "md",
363
- "type": "stack",
364
- "align": "center"
314
+ "type": "stack"
365
315
  },
366
316
  {
367
317
  "type": "divider"
@@ -371,21 +321,25 @@
371
321
  "placeholder": "recipient@example.com"
372
322
  },
373
323
  {
374
- "placeholder": "Email subject",
375
- "type": "input"
324
+ "type": "input",
325
+ "placeholder": "Email subject"
376
326
  },
377
327
  {
378
328
  "type": "textarea",
379
329
  "placeholder": "Write your message..."
380
330
  },
381
331
  {
382
- "action": "SEND",
383
- "label": "Send",
384
- "variant": "primary",
332
+ "type": "button",
385
333
  "icon": "send",
386
- "type": "button"
334
+ "variant": "primary",
335
+ "label": "Send",
336
+ "action": "SEND"
387
337
  }
388
- ]
338
+ ],
339
+ "gap": "lg",
340
+ "direction": "vertical",
341
+ "type": "stack",
342
+ "align": "stretch"
389
343
  }
390
344
  ]
391
345
  ]
@@ -399,9 +353,9 @@
399
353
  "render-ui",
400
354
  "main",
401
355
  {
402
- "message": "Delivering serviceemail email...",
403
356
  "type": "loading-state",
404
- "title": "Sending email..."
357
+ "title": "Sending email...",
358
+ "message": "Delivering serviceemail email..."
405
359
  }
406
360
  ],
407
361
  [
@@ -410,8 +364,8 @@
410
364
  "send",
411
365
  {
412
366
  "body": "@entity.body",
413
- "subject": "@entity.subject",
414
- "to": "@entity.to"
367
+ "to": "@entity.to",
368
+ "subject": "@entity.subject"
415
369
  },
416
370
  {
417
371
  "emit": {
@@ -436,7 +390,6 @@
436
390
  "render-ui",
437
391
  "main",
438
392
  {
439
- "type": "stack",
440
393
  "direction": "vertical",
441
394
  "align": "center",
442
395
  "children": [
@@ -445,18 +398,19 @@
445
398
  "name": "check-circle"
446
399
  },
447
400
  {
448
- "variant": "success",
449
401
  "message": "Email sent successfully",
450
- "type": "alert"
402
+ "type": "alert",
403
+ "variant": "success"
451
404
  },
452
405
  {
453
- "label": "Send Another",
454
- "icon": "rotate-ccw",
455
- "action": "RESET",
406
+ "type": "button",
456
407
  "variant": "ghost",
457
- "type": "button"
408
+ "action": "RESET",
409
+ "icon": "rotate-ccw",
410
+ "label": "Send Another"
458
411
  }
459
412
  ],
413
+ "type": "stack",
460
414
  "gap": "lg"
461
415
  }
462
416
  ]
@@ -476,40 +430,40 @@
476
430
  "render-ui",
477
431
  "main",
478
432
  {
433
+ "gap": "lg",
434
+ "align": "center",
435
+ "type": "stack",
436
+ "direction": "vertical",
479
437
  "children": [
480
438
  {
481
439
  "type": "error-state",
482
440
  "title": "Send Failed",
483
- "message": "Could not deliver the email.",
484
- "onRetry": "RETRY"
441
+ "onRetry": "RETRY",
442
+ "message": "Could not deliver the email."
485
443
  },
486
444
  {
487
- "gap": "sm",
488
445
  "children": [
489
446
  {
490
- "variant": "primary",
491
- "action": "RETRY",
492
447
  "label": "Retry",
448
+ "action": "RETRY",
493
449
  "type": "button",
450
+ "variant": "primary",
494
451
  "icon": "refresh-cw"
495
452
  },
496
453
  {
454
+ "variant": "ghost",
455
+ "icon": "rotate-ccw",
497
456
  "label": "Reset",
498
- "type": "button",
499
457
  "action": "RESET",
500
- "variant": "ghost",
501
- "icon": "rotate-ccw"
458
+ "type": "button"
502
459
  }
503
460
  ],
504
- "justify": "center",
461
+ "gap": "sm",
462
+ "direction": "horizontal",
505
463
  "type": "stack",
506
- "direction": "horizontal"
464
+ "justify": "center"
507
465
  }
508
- ],
509
- "gap": "lg",
510
- "align": "center",
511
- "type": "stack",
512
- "direction": "vertical"
466
+ ]
513
467
  }
514
468
  ]
515
469
  ]
@@ -528,51 +482,51 @@
528
482
  "render-ui",
529
483
  "main",
530
484
  {
531
- "align": "stretch",
532
485
  "type": "stack",
533
- "direction": "vertical",
534
- "gap": "lg",
486
+ "align": "stretch",
535
487
  "children": [
536
488
  {
537
- "direction": "horizontal",
538
- "gap": "md",
539
- "type": "stack",
540
- "align": "center",
541
489
  "children": [
542
490
  {
543
- "type": "icon",
544
- "name": "mail"
491
+ "name": "mail",
492
+ "type": "icon"
545
493
  },
546
494
  {
547
- "variant": "h2",
548
495
  "content": "ServiceEmail Email",
549
- "type": "typography"
496
+ "type": "typography",
497
+ "variant": "h2"
550
498
  }
551
- ]
499
+ ],
500
+ "type": "stack",
501
+ "align": "center",
502
+ "gap": "md",
503
+ "direction": "horizontal"
552
504
  },
553
505
  {
554
506
  "type": "divider"
555
507
  },
556
508
  {
557
- "placeholder": "recipient@example.com",
558
- "type": "input"
509
+ "type": "input",
510
+ "placeholder": "recipient@example.com"
559
511
  },
560
512
  {
561
- "placeholder": "Email subject",
562
- "type": "input"
513
+ "type": "input",
514
+ "placeholder": "Email subject"
563
515
  },
564
516
  {
565
- "placeholder": "Write your message...",
566
- "type": "textarea"
517
+ "type": "textarea",
518
+ "placeholder": "Write your message..."
567
519
  },
568
520
  {
569
- "icon": "send",
570
- "label": "Send",
571
521
  "type": "button",
522
+ "label": "Send",
523
+ "variant": "primary",
572
524
  "action": "SEND",
573
- "variant": "primary"
525
+ "icon": "send"
574
526
  }
575
- ]
527
+ ],
528
+ "direction": "vertical",
529
+ "gap": "lg"
576
530
  }
577
531
  ]
578
532
  ]
@@ -586,13 +540,10 @@
586
540
  "render-ui",
587
541
  "main",
588
542
  {
589
- "gap": "lg",
590
- "type": "stack",
591
- "direction": "vertical",
592
543
  "align": "stretch",
593
544
  "children": [
594
545
  {
595
- "direction": "horizontal",
546
+ "gap": "md",
596
547
  "children": [
597
548
  {
598
549
  "type": "icon",
@@ -600,24 +551,24 @@
600
551
  },
601
552
  {
602
553
  "type": "typography",
603
- "variant": "h2",
604
- "content": "ServiceEmail Email"
554
+ "content": "ServiceEmail Email",
555
+ "variant": "h2"
605
556
  }
606
557
  ],
607
- "align": "center",
558
+ "direction": "horizontal",
608
559
  "type": "stack",
609
- "gap": "md"
560
+ "align": "center"
610
561
  },
611
562
  {
612
563
  "type": "divider"
613
564
  },
614
565
  {
615
- "placeholder": "recipient@example.com",
616
- "type": "input"
566
+ "type": "input",
567
+ "placeholder": "recipient@example.com"
617
568
  },
618
569
  {
619
- "placeholder": "Email subject",
620
- "type": "input"
570
+ "type": "input",
571
+ "placeholder": "Email subject"
621
572
  },
622
573
  {
623
574
  "type": "textarea",
@@ -625,12 +576,15 @@
625
576
  },
626
577
  {
627
578
  "type": "button",
628
- "variant": "primary",
579
+ "label": "Send",
629
580
  "action": "SEND",
630
- "icon": "send",
631
- "label": "Send"
581
+ "variant": "primary",
582
+ "icon": "send"
632
583
  }
633
- ]
584
+ ],
585
+ "type": "stack",
586
+ "direction": "vertical",
587
+ "gap": "lg"
634
588
  }
635
589
  ]
636
590
  ]
@@ -649,12 +603,17 @@
649
603
  "render-ui",
650
604
  "main",
651
605
  {
606
+ "type": "stack",
607
+ "align": "stretch",
608
+ "direction": "vertical",
609
+ "gap": "lg",
652
610
  "children": [
653
611
  {
612
+ "direction": "horizontal",
654
613
  "children": [
655
614
  {
656
- "type": "icon",
657
- "name": "mail"
615
+ "name": "mail",
616
+ "type": "icon"
658
617
  },
659
618
  {
660
619
  "type": "typography",
@@ -662,9 +621,8 @@
662
621
  "variant": "h2"
663
622
  }
664
623
  ],
665
- "type": "stack",
666
- "direction": "horizontal",
667
624
  "gap": "md",
625
+ "type": "stack",
668
626
  "align": "center"
669
627
  },
670
628
  {
@@ -675,25 +633,21 @@
675
633
  "placeholder": "recipient@example.com"
676
634
  },
677
635
  {
678
- "placeholder": "Email subject",
679
- "type": "input"
636
+ "type": "input",
637
+ "placeholder": "Email subject"
680
638
  },
681
639
  {
682
- "placeholder": "Write your message...",
683
- "type": "textarea"
640
+ "type": "textarea",
641
+ "placeholder": "Write your message..."
684
642
  },
685
643
  {
686
644
  "icon": "send",
687
645
  "type": "button",
688
- "action": "SEND",
646
+ "label": "Send",
689
647
  "variant": "primary",
690
- "label": "Send"
648
+ "action": "SEND"
691
649
  }
692
- ],
693
- "gap": "lg",
694
- "direction": "vertical",
695
- "align": "stretch",
696
- "type": "stack"
650
+ ]
697
651
  }
698
652
  ]
699
653
  ]