@almadar/std 13.0.1 → 13.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -317,10 +317,12 @@
317
317
  "render-ui",
318
318
  "main",
319
319
  {
320
+ "direction": "vertical",
320
321
  "children": [
321
322
  {
322
323
  "type": "stack",
323
- "align": "center",
324
+ "direction": "horizontal",
325
+ "gap": "sm",
324
326
  "children": [
325
327
  {
326
328
  "name": "graduation-cap",
@@ -328,39 +330,38 @@
328
330
  },
329
331
  {
330
332
  "variant": "h2",
331
- "type": "typography",
332
- "content": "Outcome Learner"
333
+ "content": "Outcome Learner",
334
+ "type": "typography"
333
335
  }
334
336
  ],
335
- "direction": "horizontal",
336
- "gap": "sm"
337
+ "align": "center"
337
338
  },
338
339
  {
339
340
  "type": "divider"
340
341
  },
341
342
  {
342
343
  "type": "simple-grid",
343
- "cols": 3.0,
344
344
  "children": [
345
345
  {
346
346
  "type": "stat-display",
347
- "icon": "check-circle",
348
347
  "label": "Successes",
349
- "value": "@entity.totalSuccesses"
348
+ "value": "@entity.totalSuccesses",
349
+ "icon": "check-circle"
350
350
  },
351
351
  {
352
- "value": "@entity.totalFailures",
352
+ "type": "stat-display",
353
353
  "label": "Failures",
354
- "icon": "x-circle",
355
- "type": "stat-display"
354
+ "value": "@entity.totalFailures",
355
+ "icon": "x-circle"
356
356
  },
357
357
  {
358
- "icon": "cpu",
359
358
  "type": "stat-display",
360
359
  "value": "@entity.provider",
361
- "label": "Current Provider"
360
+ "label": "Current Provider",
361
+ "icon": "cpu"
362
362
  }
363
- ]
363
+ ],
364
+ "cols": 3.0
364
365
  },
365
366
  {
366
367
  "type": "divider"
@@ -368,6 +369,7 @@
368
369
  {
369
370
  "children": [
370
371
  {
372
+ "type": "stack",
371
373
  "children": [
372
374
  {
373
375
  "variant": "body",
@@ -376,11 +378,10 @@
376
378
  },
377
379
  {
378
380
  "content": "This module records TASK_SUCCEEDED and TASK_FAILED events automatically.",
379
- "variant": "caption",
380
- "type": "typography"
381
+ "type": "typography",
382
+ "variant": "caption"
381
383
  }
382
384
  ],
383
- "type": "stack",
384
385
  "gap": "md",
385
386
  "direction": "vertical"
386
387
  }
@@ -388,21 +389,21 @@
388
389
  "type": "card"
389
390
  },
390
391
  {
392
+ "type": "card",
391
393
  "children": [
392
394
  {
393
- "gap": "sm",
394
- "type": "stack",
395
395
  "direction": "vertical",
396
+ "type": "stack",
396
397
  "children": [
397
398
  {
398
399
  "type": "typography",
399
- "variant": "caption",
400
- "content": "Last Outcome"
400
+ "content": "Last Outcome",
401
+ "variant": "caption"
401
402
  },
402
403
  {
403
404
  "type": "typography",
404
- "content": "@entity.outcome",
405
- "variant": "body"
405
+ "variant": "body",
406
+ "content": "@entity.outcome"
406
407
  },
407
408
  {
408
409
  "type": "typography",
@@ -410,19 +411,18 @@
410
411
  "variant": "caption"
411
412
  },
412
413
  {
413
- "type": "typography",
414
414
  "content": "@entity.impact",
415
+ "type": "typography",
415
416
  "variant": "body"
416
417
  }
417
- ]
418
+ ],
419
+ "gap": "sm"
418
420
  }
419
- ],
420
- "type": "card"
421
+ ]
421
422
  }
422
423
  ],
423
- "direction": "vertical",
424
- "gap": "lg",
425
- "type": "stack"
424
+ "type": "stack",
425
+ "gap": "lg"
426
426
  }
427
427
  ]
428
428
  ]
@@ -497,10 +497,10 @@
497
497
  "label": "@entity.outcome"
498
498
  }
499
499
  ],
500
- "direction": "vertical",
501
- "gap": "lg",
502
500
  "type": "stack",
503
- "align": "center"
501
+ "direction": "vertical",
502
+ "align": "center",
503
+ "gap": "lg"
504
504
  }
505
505
  ]
506
506
  ]
@@ -561,28 +561,28 @@
561
561
  "render-ui",
562
562
  "main",
563
563
  {
564
+ "type": "stack",
565
+ "direction": "vertical",
566
+ "align": "center",
564
567
  "children": [
565
568
  {
566
- "type": "icon",
567
- "name": "save"
569
+ "name": "save",
570
+ "type": "icon"
568
571
  },
569
572
  {
573
+ "type": "typography",
570
574
  "content": "Recording outcome...",
571
- "variant": "h3",
572
- "type": "typography"
575
+ "variant": "h3"
573
576
  },
574
577
  {
575
578
  "type": "spinner"
576
579
  },
577
580
  {
578
- "label": "@entity.outcome",
579
- "type": "badge"
581
+ "type": "badge",
582
+ "label": "@entity.outcome"
580
583
  }
581
584
  ],
582
- "type": "stack",
583
- "gap": "lg",
584
- "direction": "vertical",
585
- "align": "center"
585
+ "gap": "lg"
586
586
  }
587
587
  ]
588
588
  ]
@@ -603,11 +603,14 @@
603
603
  "render-ui",
604
604
  "main",
605
605
  {
606
- "direction": "vertical",
607
606
  "gap": "lg",
608
607
  "type": "stack",
609
608
  "children": [
610
609
  {
610
+ "gap": "sm",
611
+ "type": "stack",
612
+ "direction": "horizontal",
613
+ "align": "center",
611
614
  "children": [
612
615
  {
613
616
  "type": "icon",
@@ -618,37 +621,33 @@
618
621
  "variant": "h2",
619
622
  "content": "Outcome Learner"
620
623
  }
621
- ],
622
- "align": "center",
623
- "type": "stack",
624
- "direction": "horizontal",
625
- "gap": "sm"
624
+ ]
626
625
  },
627
626
  {
628
627
  "type": "divider"
629
628
  },
630
629
  {
631
- "type": "simple-grid",
632
630
  "children": [
633
631
  {
632
+ "label": "Successes",
634
633
  "type": "stat-display",
635
634
  "icon": "check-circle",
636
- "label": "Successes",
637
635
  "value": "@entity.totalSuccesses"
638
636
  },
639
637
  {
640
- "label": "Failures",
641
- "value": "@entity.totalFailures",
642
638
  "type": "stat-display",
643
- "icon": "x-circle"
639
+ "icon": "x-circle",
640
+ "value": "@entity.totalFailures",
641
+ "label": "Failures"
644
642
  },
645
643
  {
646
- "type": "stat-display",
647
644
  "icon": "cpu",
648
645
  "label": "Current Provider",
646
+ "type": "stat-display",
649
647
  "value": "@entity.provider"
650
648
  }
651
649
  ],
650
+ "type": "simple-grid",
652
651
  "cols": 3.0
653
652
  },
654
653
  {
@@ -657,58 +656,59 @@
657
656
  {
658
657
  "children": [
659
658
  {
659
+ "type": "stack",
660
+ "direction": "vertical",
660
661
  "gap": "md",
661
662
  "children": [
662
663
  {
663
- "variant": "body",
664
664
  "type": "typography",
665
- "content": "Listening for task outcomes..."
665
+ "content": "Listening for task outcomes...",
666
+ "variant": "body"
666
667
  },
667
668
  {
668
- "variant": "caption",
669
669
  "content": "This module records TASK_SUCCEEDED and TASK_FAILED events automatically.",
670
- "type": "typography"
670
+ "type": "typography",
671
+ "variant": "caption"
671
672
  }
672
- ],
673
- "type": "stack",
674
- "direction": "vertical"
673
+ ]
675
674
  }
676
675
  ],
677
676
  "type": "card"
678
677
  },
679
678
  {
679
+ "type": "card",
680
680
  "children": [
681
681
  {
682
682
  "type": "stack",
683
- "direction": "vertical",
684
683
  "children": [
685
684
  {
685
+ "content": "Last Outcome",
686
686
  "type": "typography",
687
- "variant": "caption",
688
- "content": "Last Outcome"
687
+ "variant": "caption"
689
688
  },
690
689
  {
691
- "variant": "body",
692
690
  "type": "typography",
693
- "content": "@entity.outcome"
691
+ "content": "@entity.outcome",
692
+ "variant": "body"
694
693
  },
695
694
  {
696
- "variant": "caption",
697
695
  "type": "typography",
698
- "content": "Impact Analysis"
696
+ "content": "Impact Analysis",
697
+ "variant": "caption"
699
698
  },
700
699
  {
701
- "type": "typography",
700
+ "variant": "body",
702
701
  "content": "@entity.impact",
703
- "variant": "body"
702
+ "type": "typography"
704
703
  }
705
704
  ],
706
- "gap": "sm"
705
+ "gap": "sm",
706
+ "direction": "vertical"
707
707
  }
708
- ],
709
- "type": "card"
708
+ ]
710
709
  }
711
- ]
710
+ ],
711
+ "direction": "vertical"
712
712
  }
713
713
  ]
714
714
  ]
@@ -786,38 +786,38 @@
786
786
  "render-ui",
787
787
  "main",
788
788
  {
789
- "type": "stack",
790
- "gap": "lg",
791
789
  "direction": "vertical",
792
790
  "align": "center",
791
+ "gap": "lg",
792
+ "type": "stack",
793
793
  "children": [
794
794
  {
795
- "type": "icon",
796
- "name": "cpu"
795
+ "name": "cpu",
796
+ "type": "icon"
797
797
  },
798
798
  {
799
+ "content": "Analyzing impact...",
799
800
  "type": "typography",
800
- "variant": "h3",
801
- "content": "Analyzing impact..."
801
+ "variant": "h3"
802
802
  },
803
803
  {
804
804
  "type": "spinner"
805
805
  },
806
806
  {
807
- "gap": "md",
808
- "direction": "horizontal",
809
807
  "children": [
810
808
  {
811
- "type": "badge",
812
- "label": "@entity.category"
809
+ "label": "@entity.category",
810
+ "type": "badge"
813
811
  },
814
812
  {
815
- "type": "badge",
816
- "label": "@entity.isSuccess"
813
+ "label": "@entity.isSuccess",
814
+ "type": "badge"
817
815
  }
818
816
  ],
819
- "justify": "center",
820
- "type": "stack"
817
+ "direction": "horizontal",
818
+ "gap": "md",
819
+ "type": "stack",
820
+ "justify": "center"
821
821
  }
822
822
  ]
823
823
  }
@@ -843,24 +843,25 @@
843
843
  "render-ui",
844
844
  "main",
845
845
  {
846
- "direction": "vertical",
847
846
  "gap": "lg",
847
+ "type": "stack",
848
+ "direction": "vertical",
848
849
  "children": [
849
850
  {
850
851
  "direction": "horizontal",
852
+ "gap": "sm",
851
853
  "children": [
852
854
  {
853
- "type": "icon",
854
- "name": "graduation-cap"
855
+ "name": "graduation-cap",
856
+ "type": "icon"
855
857
  },
856
858
  {
857
859
  "variant": "h2",
858
- "type": "typography",
859
- "content": "Outcome Learner"
860
+ "content": "Outcome Learner",
861
+ "type": "typography"
860
862
  }
861
863
  ],
862
864
  "type": "stack",
863
- "gap": "sm",
864
865
  "align": "center"
865
866
  },
866
867
  {
@@ -868,27 +869,27 @@
868
869
  },
869
870
  {
870
871
  "cols": 3.0,
871
- "type": "simple-grid",
872
872
  "children": [
873
873
  {
874
874
  "type": "stat-display",
875
- "icon": "check-circle",
876
875
  "label": "Successes",
876
+ "icon": "check-circle",
877
877
  "value": "@entity.totalSuccesses"
878
878
  },
879
879
  {
880
880
  "icon": "x-circle",
881
+ "value": "@entity.totalFailures",
881
882
  "label": "Failures",
882
- "type": "stat-display",
883
- "value": "@entity.totalFailures"
883
+ "type": "stat-display"
884
884
  },
885
885
  {
886
886
  "type": "stat-display",
887
- "label": "Current Provider",
888
887
  "icon": "cpu",
889
- "value": "@entity.provider"
888
+ "value": "@entity.provider",
889
+ "label": "Current Provider"
890
890
  }
891
- ]
891
+ ],
892
+ "type": "simple-grid"
892
893
  },
893
894
  {
894
895
  "type": "divider"
@@ -897,13 +898,10 @@
897
898
  "type": "card",
898
899
  "children": [
899
900
  {
900
- "gap": "md",
901
- "direction": "vertical",
902
- "type": "stack",
903
901
  "children": [
904
902
  {
905
- "type": "typography",
906
903
  "variant": "body",
904
+ "type": "typography",
907
905
  "content": "Listening for task outcomes..."
908
906
  },
909
907
  {
@@ -911,44 +909,46 @@
911
909
  "type": "typography",
912
910
  "variant": "caption"
913
911
  }
914
- ]
912
+ ],
913
+ "gap": "md",
914
+ "type": "stack",
915
+ "direction": "vertical"
915
916
  }
916
917
  ]
917
918
  },
918
919
  {
919
- "type": "card",
920
920
  "children": [
921
921
  {
922
- "type": "stack",
923
- "direction": "vertical",
924
922
  "gap": "sm",
925
923
  "children": [
926
924
  {
927
- "type": "typography",
925
+ "variant": "caption",
928
926
  "content": "Last Outcome",
929
- "variant": "caption"
927
+ "type": "typography"
930
928
  },
931
929
  {
932
930
  "type": "typography",
933
- "content": "@entity.outcome",
934
- "variant": "body"
931
+ "variant": "body",
932
+ "content": "@entity.outcome"
935
933
  },
936
934
  {
937
- "content": "Impact Analysis",
935
+ "variant": "caption",
938
936
  "type": "typography",
939
- "variant": "caption"
937
+ "content": "Impact Analysis"
940
938
  },
941
939
  {
942
- "content": "@entity.impact",
943
940
  "type": "typography",
941
+ "content": "@entity.impact",
944
942
  "variant": "body"
945
943
  }
946
- ]
944
+ ],
945
+ "direction": "vertical",
946
+ "type": "stack"
947
947
  }
948
- ]
948
+ ],
949
+ "type": "card"
949
950
  }
950
- ],
951
- "type": "stack"
951
+ ]
952
952
  }
953
953
  ]
954
954
  ]
@@ -979,9 +979,11 @@
979
979
  "render-ui",
980
980
  "main",
981
981
  {
982
- "direction": "vertical",
983
982
  "children": [
984
983
  {
984
+ "gap": "sm",
985
+ "direction": "horizontal",
986
+ "type": "stack",
985
987
  "align": "center",
986
988
  "children": [
987
989
  {
@@ -989,102 +991,100 @@
989
991
  "type": "icon"
990
992
  },
991
993
  {
992
- "variant": "h2",
993
994
  "type": "typography",
994
- "content": "Outcome Learner"
995
+ "content": "Outcome Learner",
996
+ "variant": "h2"
995
997
  }
996
- ],
997
- "type": "stack",
998
- "gap": "sm",
999
- "direction": "horizontal"
998
+ ]
1000
999
  },
1001
1000
  {
1002
1001
  "type": "divider"
1003
1002
  },
1004
1003
  {
1004
+ "type": "simple-grid",
1005
+ "cols": 3.0,
1005
1006
  "children": [
1006
1007
  {
1007
- "label": "Successes",
1008
- "value": "@entity.totalSuccesses",
1008
+ "icon": "check-circle",
1009
1009
  "type": "stat-display",
1010
- "icon": "check-circle"
1010
+ "label": "Successes",
1011
+ "value": "@entity.totalSuccesses"
1011
1012
  },
1012
1013
  {
1013
1014
  "value": "@entity.totalFailures",
1014
- "icon": "x-circle",
1015
1015
  "type": "stat-display",
1016
- "label": "Failures"
1016
+ "label": "Failures",
1017
+ "icon": "x-circle"
1017
1018
  },
1018
1019
  {
1019
- "type": "stat-display",
1020
+ "label": "Current Provider",
1020
1021
  "value": "@entity.provider",
1021
1022
  "icon": "cpu",
1022
- "label": "Current Provider"
1023
+ "type": "stat-display"
1023
1024
  }
1024
- ],
1025
- "cols": 3.0,
1026
- "type": "simple-grid"
1025
+ ]
1027
1026
  },
1028
1027
  {
1029
1028
  "type": "divider"
1030
1029
  },
1031
1030
  {
1032
- "type": "card",
1033
1031
  "children": [
1034
1032
  {
1033
+ "type": "stack",
1034
+ "direction": "vertical",
1035
+ "gap": "md",
1035
1036
  "children": [
1036
1037
  {
1037
- "content": "Listening for task outcomes...",
1038
1038
  "type": "typography",
1039
+ "content": "Listening for task outcomes...",
1039
1040
  "variant": "body"
1040
1041
  },
1041
1042
  {
1043
+ "variant": "caption",
1042
1044
  "type": "typography",
1043
- "content": "This module records TASK_SUCCEEDED and TASK_FAILED events automatically.",
1044
- "variant": "caption"
1045
+ "content": "This module records TASK_SUCCEEDED and TASK_FAILED events automatically."
1045
1046
  }
1046
- ],
1047
- "direction": "vertical",
1048
- "type": "stack",
1049
- "gap": "md"
1047
+ ]
1050
1048
  }
1051
- ]
1049
+ ],
1050
+ "type": "card"
1052
1051
  },
1053
1052
  {
1054
1053
  "type": "card",
1055
1054
  "children": [
1056
1055
  {
1057
- "direction": "vertical",
1058
1056
  "gap": "sm",
1057
+ "type": "stack",
1058
+ "direction": "vertical",
1059
1059
  "children": [
1060
1060
  {
1061
1061
  "type": "typography",
1062
- "content": "Last Outcome",
1063
- "variant": "caption"
1062
+ "variant": "caption",
1063
+ "content": "Last Outcome"
1064
1064
  },
1065
1065
  {
1066
- "type": "typography",
1067
1066
  "variant": "body",
1068
- "content": "@entity.outcome"
1067
+ "content": "@entity.outcome",
1068
+ "type": "typography"
1069
1069
  },
1070
1070
  {
1071
- "variant": "caption",
1071
+ "content": "Impact Analysis",
1072
1072
  "type": "typography",
1073
- "content": "Impact Analysis"
1073
+ "variant": "caption"
1074
1074
  },
1075
1075
  {
1076
1076
  "content": "@entity.impact",
1077
1077
  "variant": "body",
1078
1078
  "type": "typography"
1079
1079
  }
1080
- ],
1081
- "type": "stack"
1080
+ ]
1082
1081
  }
1083
1082
  ]
1084
1083
  }
1085
1084
  ],
1086
- "type": "stack",
1087
- "gap": "lg"
1085
+ "direction": "vertical",
1086
+ "gap": "lg",
1087
+ "type": "stack"
1088
1088
  }
1089
1089
  ]
1090
1090
  ]
@@ -1109,10 +1109,8 @@
1109
1109
  "main",
1110
1110
  {
1111
1111
  "type": "stack",
1112
- "gap": "lg",
1113
1112
  "children": [
1114
1113
  {
1115
- "type": "stack",
1116
1114
  "direction": "horizontal",
1117
1115
  "gap": "sm",
1118
1116
  "children": [
@@ -1121,11 +1119,12 @@
1121
1119
  "name": "graduation-cap"
1122
1120
  },
1123
1121
  {
1124
- "variant": "h2",
1125
1122
  "type": "typography",
1126
- "content": "Outcome Learner"
1123
+ "content": "Outcome Learner",
1124
+ "variant": "h2"
1127
1125
  }
1128
1126
  ],
1127
+ "type": "stack",
1129
1128
  "align": "center"
1130
1129
  },
1131
1130
  {
@@ -1134,86 +1133,87 @@
1134
1133
  {
1135
1134
  "children": [
1136
1135
  {
1137
- "icon": "check-circle",
1138
1136
  "type": "stat-display",
1139
1137
  "label": "Successes",
1138
+ "icon": "check-circle",
1140
1139
  "value": "@entity.totalSuccesses"
1141
1140
  },
1142
1141
  {
1143
- "type": "stat-display",
1144
- "label": "Failures",
1142
+ "icon": "x-circle",
1145
1143
  "value": "@entity.totalFailures",
1146
- "icon": "x-circle"
1144
+ "type": "stat-display",
1145
+ "label": "Failures"
1147
1146
  },
1148
1147
  {
1149
- "label": "Current Provider",
1150
- "value": "@entity.provider",
1151
1148
  "type": "stat-display",
1152
- "icon": "cpu"
1149
+ "value": "@entity.provider",
1150
+ "icon": "cpu",
1151
+ "label": "Current Provider"
1153
1152
  }
1154
1153
  ],
1155
- "type": "simple-grid",
1156
- "cols": 3.0
1154
+ "cols": 3.0,
1155
+ "type": "simple-grid"
1157
1156
  },
1158
1157
  {
1159
1158
  "type": "divider"
1160
1159
  },
1161
1160
  {
1162
- "type": "card",
1163
1161
  "children": [
1164
1162
  {
1165
- "type": "stack",
1166
1163
  "direction": "vertical",
1164
+ "type": "stack",
1167
1165
  "children": [
1168
1166
  {
1169
- "type": "typography",
1170
1167
  "content": "Listening for task outcomes...",
1171
- "variant": "body"
1168
+ "variant": "body",
1169
+ "type": "typography"
1172
1170
  },
1173
1171
  {
1172
+ "variant": "caption",
1174
1173
  "content": "This module records TASK_SUCCEEDED and TASK_FAILED events automatically.",
1175
- "type": "typography",
1176
- "variant": "caption"
1174
+ "type": "typography"
1177
1175
  }
1178
1176
  ],
1179
1177
  "gap": "md"
1180
1178
  }
1181
- ]
1179
+ ],
1180
+ "type": "card"
1182
1181
  },
1183
1182
  {
1183
+ "type": "card",
1184
1184
  "children": [
1185
1185
  {
1186
+ "direction": "vertical",
1186
1187
  "children": [
1187
1188
  {
1188
- "content": "Last Outcome",
1189
+ "type": "typography",
1189
1190
  "variant": "caption",
1190
- "type": "typography"
1191
+ "content": "Last Outcome"
1191
1192
  },
1192
1193
  {
1193
- "type": "typography",
1194
+ "content": "@entity.outcome",
1194
1195
  "variant": "body",
1195
- "content": "@entity.outcome"
1196
+ "type": "typography"
1196
1197
  },
1197
1198
  {
1198
1199
  "variant": "caption",
1199
- "content": "Impact Analysis",
1200
- "type": "typography"
1200
+ "type": "typography",
1201
+ "content": "Impact Analysis"
1201
1202
  },
1202
1203
  {
1203
- "variant": "body",
1204
1204
  "type": "typography",
1205
- "content": "@entity.impact"
1205
+ "content": "@entity.impact",
1206
+ "variant": "body"
1206
1207
  }
1207
1208
  ],
1208
1209
  "type": "stack",
1209
- "direction": "vertical",
1210
1210
  "gap": "sm"
1211
1211
  }
1212
- ],
1213
- "type": "card"
1212
+ ]
1214
1213
  }
1215
1214
  ],
1216
- "direction": "vertical"
1215
+ "direction": "vertical",
1216
+ "gap": "lg"
1217
1217
  }
1218
1218
  ]
1219
1219
  ]
@@ -1271,4 +1271,4 @@
1271
1271
  ]
1272
1272
  }
1273
1273
  ]
1274
- }
1274
+ }