@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.
@@ -300,23 +300,21 @@
300
300
  "render-ui",
301
301
  "main",
302
302
  {
303
- "type": "stack",
304
- "direction": "vertical",
305
303
  "gap": "lg",
306
304
  "children": [
307
305
  {
306
+ "type": "stack",
308
307
  "direction": "horizontal",
309
308
  "align": "center",
310
- "type": "stack",
311
309
  "children": [
312
310
  {
313
- "name": "wrench",
314
- "type": "icon"
311
+ "type": "icon",
312
+ "name": "wrench"
315
313
  },
316
314
  {
317
- "content": "Validation-Fix Loop",
318
315
  "type": "typography",
319
- "variant": "h2"
316
+ "variant": "h2",
317
+ "content": "Validation-Fix Loop"
320
318
  }
321
319
  ],
322
320
  "gap": "sm"
@@ -328,29 +326,31 @@
328
326
  "type": "card",
329
327
  "children": [
330
328
  {
331
- "direction": "vertical",
332
329
  "type": "stack",
333
- "gap": "md",
334
330
  "children": [
335
331
  {
336
332
  "type": "typography",
337
- "content": "Enter the target to validate and auto-fix",
338
- "variant": "body"
333
+ "variant": "body",
334
+ "content": "Enter the target to validate and auto-fix"
339
335
  },
340
336
  {
341
- "entity": "@entity",
342
- "mode": "edit",
343
- "submitEvent": "FIX",
344
337
  "fields": [
345
338
  "target"
346
339
  ],
340
+ "mode": "edit",
341
+ "submitEvent": "FIX",
342
+ "entity": "@entity",
347
343
  "type": "form-section"
348
344
  }
349
- ]
345
+ ],
346
+ "gap": "md",
347
+ "direction": "vertical"
350
348
  }
351
349
  ]
352
350
  }
353
- ]
351
+ ],
352
+ "direction": "vertical",
353
+ "type": "stack"
354
354
  }
355
355
  ]
356
356
  ]
@@ -391,10 +391,6 @@
391
391
  "render-ui",
392
392
  "main",
393
393
  {
394
- "type": "stack",
395
- "direction": "vertical",
396
- "gap": "lg",
397
- "align": "center",
398
394
  "children": [
399
395
  {
400
396
  "type": "icon",
@@ -411,8 +407,8 @@
411
407
  {
412
408
  "type": "stack",
413
409
  "gap": "md",
414
- "direction": "horizontal",
415
410
  "justify": "center",
411
+ "direction": "horizontal",
416
412
  "children": [
417
413
  {
418
414
  "label": "@entity.target",
@@ -424,7 +420,11 @@
424
420
  }
425
421
  ]
426
422
  }
427
- ]
423
+ ],
424
+ "align": "center",
425
+ "type": "stack",
426
+ "gap": "lg",
427
+ "direction": "vertical"
428
428
  }
429
429
  ]
430
430
  ]
@@ -447,67 +447,70 @@
447
447
  "render-ui",
448
448
  "main",
449
449
  {
450
+ "type": "stack",
451
+ "direction": "vertical",
452
+ "gap": "lg",
450
453
  "children": [
451
454
  {
452
- "direction": "horizontal",
453
- "type": "stack",
454
- "align": "center",
455
455
  "children": [
456
456
  {
457
- "type": "stack",
458
- "gap": "sm",
459
457
  "children": [
460
458
  {
461
459
  "name": "check-circle",
462
460
  "type": "icon"
463
461
  },
464
462
  {
465
- "type": "typography",
466
463
  "variant": "h2",
464
+ "type": "typography",
467
465
  "content": "Validation Passed"
468
466
  }
469
467
  ],
468
+ "type": "stack",
469
+ "direction": "horizontal",
470
470
  "align": "center",
471
- "direction": "horizontal"
471
+ "gap": "sm"
472
472
  },
473
473
  {
474
- "icon": "rotate-ccw",
475
- "label": "New Target",
474
+ "variant": "ghost",
476
475
  "type": "button",
477
- "action": "RESET",
478
- "variant": "ghost"
476
+ "label": "New Target",
477
+ "icon": "rotate-ccw",
478
+ "action": "RESET"
479
479
  }
480
480
  ],
481
- "justify": "between",
482
- "gap": "sm"
481
+ "type": "stack",
482
+ "gap": "sm",
483
+ "direction": "horizontal",
484
+ "align": "center",
485
+ "justify": "between"
483
486
  },
484
487
  {
485
488
  "type": "divider"
486
489
  },
487
490
  {
488
491
  "type": "simple-grid",
489
- "cols": 2.0,
490
492
  "children": [
491
493
  {
492
494
  "value": "@entity.fixAttempts",
493
- "icon": "wrench",
494
495
  "label": "Fix Attempts",
495
- "type": "stat-display"
496
+ "type": "stat-display",
497
+ "icon": "wrench"
496
498
  },
497
499
  {
498
- "icon": "check",
500
+ "label": "Status",
499
501
  "type": "stat-display",
500
502
  "value": "Passed",
501
- "label": "Status"
503
+ "icon": "check"
502
504
  }
503
- ]
505
+ ],
506
+ "cols": 2.0
504
507
  },
505
508
  {
509
+ "type": "card",
506
510
  "children": [
507
511
  {
508
- "gap": "sm",
509
512
  "type": "stack",
510
- "direction": "vertical",
513
+ "gap": "sm",
511
514
  "children": [
512
515
  {
513
516
  "type": "typography",
@@ -519,15 +522,12 @@
519
522
  "content": "@entity.target",
520
523
  "variant": "body"
521
524
  }
522
- ]
525
+ ],
526
+ "direction": "vertical"
523
527
  }
524
- ],
525
- "type": "card"
528
+ ]
526
529
  }
527
- ],
528
- "type": "stack",
529
- "direction": "vertical",
530
- "gap": "lg"
530
+ ]
531
531
  }
532
532
  ]
533
533
  ]
@@ -576,24 +576,26 @@
576
576
  "render-ui",
577
577
  "main",
578
578
  {
579
+ "gap": "lg",
580
+ "type": "stack",
581
+ "direction": "vertical",
579
582
  "children": [
580
583
  {
581
- "type": "stack",
582
584
  "children": [
583
585
  {
586
+ "align": "center",
587
+ "type": "stack",
584
588
  "children": [
585
589
  {
586
- "name": "cpu",
587
- "type": "icon"
590
+ "type": "icon",
591
+ "name": "cpu"
588
592
  },
589
593
  {
594
+ "variant": "h2",
590
595
  "type": "typography",
591
- "content": "Generating fix...",
592
- "variant": "h2"
596
+ "content": "Generating fix..."
593
597
  }
594
598
  ],
595
- "align": "center",
596
- "type": "stack",
597
599
  "direction": "horizontal",
598
600
  "gap": "sm"
599
601
  },
@@ -602,6 +604,7 @@
602
604
  "label": "@entity.fixAttempts"
603
605
  }
604
606
  ],
607
+ "type": "stack",
605
608
  "gap": "sm",
606
609
  "align": "center",
607
610
  "direction": "horizontal",
@@ -611,34 +614,31 @@
611
614
  "type": "divider"
612
615
  },
613
616
  {
614
- "type": "card",
615
617
  "children": [
616
618
  {
617
- "type": "stack",
618
- "gap": "sm",
619
619
  "children": [
620
620
  {
621
+ "type": "typography",
621
622
  "content": "Validation Errors",
622
- "variant": "caption",
623
- "type": "typography"
623
+ "variant": "caption"
624
624
  },
625
625
  {
626
+ "message": "@entity.validationErrors",
626
627
  "variant": "error",
627
- "type": "alert",
628
- "message": "@entity.validationErrors"
628
+ "type": "alert"
629
629
  }
630
630
  ],
631
- "direction": "vertical"
631
+ "type": "stack",
632
+ "direction": "vertical",
633
+ "gap": "sm"
632
634
  }
633
- ]
635
+ ],
636
+ "type": "card"
634
637
  },
635
638
  {
636
639
  "type": "spinner"
637
640
  }
638
- ],
639
- "type": "stack",
640
- "gap": "lg",
641
- "direction": "vertical"
641
+ ]
642
642
  }
643
643
  ]
644
644
  ]
@@ -666,16 +666,15 @@
666
666
  "render-ui",
667
667
  "main",
668
668
  {
669
- "direction": "vertical",
670
- "align": "center",
669
+ "type": "stack",
671
670
  "children": [
672
671
  {
673
672
  "name": "x-circle",
674
673
  "type": "icon"
675
674
  },
676
675
  {
677
- "content": "Fix Loop Failed",
678
676
  "type": "typography",
677
+ "content": "Fix Loop Failed",
679
678
  "variant": "h2"
680
679
  },
681
680
  {
@@ -684,55 +683,56 @@
684
683
  "type": "alert"
685
684
  },
686
685
  {
687
- "type": "simple-grid",
688
686
  "children": [
689
687
  {
690
- "type": "stat-display",
691
688
  "label": "Attempts Used",
692
- "value": "@entity.fixAttempts",
693
- "icon": "wrench"
689
+ "type": "stat-display",
690
+ "icon": "wrench",
691
+ "value": "@entity.fixAttempts"
694
692
  },
695
693
  {
696
694
  "label": "Remaining Errors",
695
+ "icon": "alert-triangle",
697
696
  "value": "@entity.errorCount",
698
- "type": "stat-display",
699
- "icon": "alert-triangle"
697
+ "type": "stat-display"
700
698
  }
701
699
  ],
702
- "cols": 2.0
700
+ "cols": 2.0,
701
+ "type": "simple-grid"
703
702
  },
704
703
  {
705
704
  "children": [
706
705
  {
706
+ "type": "stack",
707
+ "direction": "vertical",
708
+ "gap": "sm",
707
709
  "children": [
708
710
  {
709
- "variant": "caption",
710
711
  "type": "typography",
711
- "content": "Last Validation Errors"
712
+ "content": "Last Validation Errors",
713
+ "variant": "caption"
712
714
  },
713
715
  {
714
716
  "type": "typography",
715
717
  "variant": "body",
716
718
  "content": "@entity.validationErrors"
717
719
  }
718
- ],
719
- "direction": "vertical",
720
- "type": "stack",
721
- "gap": "sm"
720
+ ]
722
721
  }
723
722
  ],
724
723
  "type": "card"
725
724
  },
726
725
  {
727
- "variant": "primary",
728
- "label": "Retry",
726
+ "icon": "rotate-ccw",
729
727
  "action": "RESET",
730
728
  "type": "button",
731
- "icon": "rotate-ccw"
729
+ "variant": "primary",
730
+ "label": "Retry"
732
731
  }
733
732
  ],
734
- "type": "stack",
735
- "gap": "lg"
733
+ "align": "center",
734
+ "gap": "lg",
735
+ "direction": "vertical"
736
736
  }
737
737
  ]
738
738
  ]
@@ -764,18 +764,17 @@
764
764
  "render-ui",
765
765
  "main",
766
766
  {
767
+ "align": "center",
767
768
  "gap": "lg",
768
769
  "direction": "vertical",
769
- "align": "center",
770
- "type": "stack",
771
770
  "children": [
772
771
  {
773
772
  "type": "icon",
774
773
  "name": "tool"
775
774
  },
776
775
  {
777
- "type": "typography",
778
776
  "content": "Applying fix...",
777
+ "type": "typography",
779
778
  "variant": "h3"
780
779
  },
781
780
  {
@@ -784,26 +783,27 @@
784
783
  {
785
784
  "children": [
786
785
  {
787
- "direction": "vertical",
788
786
  "type": "stack",
789
- "gap": "sm",
790
787
  "children": [
791
788
  {
792
- "content": "Proposed Fix",
789
+ "variant": "caption",
793
790
  "type": "typography",
794
- "variant": "caption"
791
+ "content": "Proposed Fix"
795
792
  },
796
793
  {
797
- "variant": "body",
798
794
  "content": "@entity.currentFix",
799
- "type": "typography"
795
+ "type": "typography",
796
+ "variant": "body"
800
797
  }
801
- ]
798
+ ],
799
+ "gap": "sm",
800
+ "direction": "vertical"
802
801
  }
803
802
  ],
804
803
  "type": "card"
805
804
  }
806
- ]
805
+ ],
806
+ "type": "stack"
807
807
  }
808
808
  ]
809
809
  ]
@@ -831,9 +831,6 @@
831
831
  "render-ui",
832
832
  "main",
833
833
  {
834
- "direction": "vertical",
835
- "gap": "lg",
836
- "type": "stack",
837
834
  "children": [
838
835
  {
839
836
  "name": "x-circle",
@@ -845,58 +842,61 @@
845
842
  "variant": "h2"
846
843
  },
847
844
  {
848
- "type": "alert",
849
845
  "variant": "error",
846
+ "type": "alert",
850
847
  "message": "@entity.error"
851
848
  },
852
849
  {
850
+ "type": "simple-grid",
851
+ "cols": 2.0,
853
852
  "children": [
854
853
  {
855
- "type": "stat-display",
856
854
  "label": "Attempts Used",
857
- "value": "@entity.fixAttempts",
858
- "icon": "wrench"
855
+ "type": "stat-display",
856
+ "icon": "wrench",
857
+ "value": "@entity.fixAttempts"
859
858
  },
860
859
  {
861
860
  "label": "Remaining Errors",
861
+ "icon": "alert-triangle",
862
862
  "value": "@entity.errorCount",
863
- "type": "stat-display",
864
- "icon": "alert-triangle"
863
+ "type": "stat-display"
865
864
  }
866
- ],
867
- "type": "simple-grid",
868
- "cols": 2.0
865
+ ]
869
866
  },
870
867
  {
871
868
  "type": "card",
872
869
  "children": [
873
870
  {
874
- "gap": "sm",
875
871
  "children": [
876
872
  {
877
- "variant": "caption",
873
+ "type": "typography",
878
874
  "content": "Last Validation Errors",
879
- "type": "typography"
875
+ "variant": "caption"
880
876
  },
881
877
  {
882
- "content": "@entity.validationErrors",
883
878
  "type": "typography",
879
+ "content": "@entity.validationErrors",
884
880
  "variant": "body"
885
881
  }
886
882
  ],
883
+ "type": "stack",
887
884
  "direction": "vertical",
888
- "type": "stack"
885
+ "gap": "sm"
889
886
  }
890
887
  ]
891
888
  },
892
889
  {
893
890
  "icon": "rotate-ccw",
894
- "action": "RESET",
895
891
  "type": "button",
896
- "variant": "primary",
897
- "label": "Retry"
892
+ "action": "RESET",
893
+ "label": "Retry",
894
+ "variant": "primary"
898
895
  }
899
896
  ],
897
+ "direction": "vertical",
898
+ "type": "stack",
899
+ "gap": "lg",
900
900
  "align": "center"
901
901
  }
902
902
  ]
@@ -924,39 +924,39 @@
924
924
  "main",
925
925
  {
926
926
  "type": "stack",
927
+ "direction": "vertical",
928
+ "gap": "lg",
929
+ "align": "center",
927
930
  "children": [
928
931
  {
929
932
  "type": "icon",
930
933
  "name": "shield-check"
931
934
  },
932
935
  {
933
- "type": "typography",
934
936
  "content": "Validating...",
935
- "variant": "h3"
937
+ "variant": "h3",
938
+ "type": "typography"
936
939
  },
937
940
  {
938
941
  "type": "spinner"
939
942
  },
940
943
  {
941
- "gap": "md",
942
944
  "children": [
943
945
  {
944
- "label": "@entity.target",
945
- "type": "badge"
946
+ "type": "badge",
947
+ "label": "@entity.target"
946
948
  },
947
949
  {
948
- "label": "@entity.maxAttempts",
949
- "type": "badge"
950
+ "type": "badge",
951
+ "label": "@entity.maxAttempts"
950
952
  }
951
953
  ],
954
+ "gap": "md",
952
955
  "type": "stack",
953
956
  "direction": "horizontal",
954
957
  "justify": "center"
955
958
  }
956
- ],
957
- "direction": "vertical",
958
- "gap": "lg",
959
- "align": "center"
959
+ ]
960
960
  }
961
961
  ]
962
962
  ]
@@ -985,72 +985,72 @@
985
985
  "main",
986
986
  {
987
987
  "type": "stack",
988
- "direction": "vertical",
989
988
  "gap": "lg",
989
+ "align": "center",
990
990
  "children": [
991
991
  {
992
992
  "name": "x-circle",
993
993
  "type": "icon"
994
994
  },
995
995
  {
996
+ "type": "typography",
996
997
  "content": "Fix Loop Failed",
997
- "variant": "h2",
998
- "type": "typography"
998
+ "variant": "h2"
999
999
  },
1000
1000
  {
1001
- "message": "@entity.error",
1001
+ "variant": "error",
1002
1002
  "type": "alert",
1003
- "variant": "error"
1003
+ "message": "@entity.error"
1004
1004
  },
1005
1005
  {
1006
+ "type": "simple-grid",
1007
+ "cols": 2.0,
1006
1008
  "children": [
1007
1009
  {
1008
- "type": "stat-display",
1009
- "label": "Attempts Used",
1010
1010
  "value": "@entity.fixAttempts",
1011
- "icon": "wrench"
1011
+ "label": "Attempts Used",
1012
+ "icon": "wrench",
1013
+ "type": "stat-display"
1012
1014
  },
1013
1015
  {
1014
- "type": "stat-display",
1015
- "label": "Remaining Errors",
1016
+ "value": "@entity.errorCount",
1016
1017
  "icon": "alert-triangle",
1017
- "value": "@entity.errorCount"
1018
+ "type": "stat-display",
1019
+ "label": "Remaining Errors"
1018
1020
  }
1019
- ],
1020
- "cols": 2.0,
1021
- "type": "simple-grid"
1021
+ ]
1022
1022
  },
1023
1023
  {
1024
1024
  "children": [
1025
1025
  {
1026
+ "type": "stack",
1027
+ "gap": "sm",
1028
+ "direction": "vertical",
1026
1029
  "children": [
1027
1030
  {
1028
- "type": "typography",
1031
+ "content": "Last Validation Errors",
1029
1032
  "variant": "caption",
1030
- "content": "Last Validation Errors"
1033
+ "type": "typography"
1031
1034
  },
1032
1035
  {
1036
+ "content": "@entity.validationErrors",
1033
1037
  "type": "typography",
1034
- "variant": "body",
1035
- "content": "@entity.validationErrors"
1038
+ "variant": "body"
1036
1039
  }
1037
- ],
1038
- "direction": "vertical",
1039
- "gap": "sm",
1040
- "type": "stack"
1040
+ ]
1041
1041
  }
1042
1042
  ],
1043
1043
  "type": "card"
1044
1044
  },
1045
1045
  {
1046
- "type": "button",
1047
1046
  "label": "Retry",
1047
+ "type": "button",
1048
1048
  "action": "RESET",
1049
1049
  "variant": "primary",
1050
1050
  "icon": "rotate-ccw"
1051
1051
  }
1052
1052
  ],
1053
- "align": "center"
1053
+ "direction": "vertical"
1054
1054
  }
1055
1055
  ]
1056
1056
  ]
@@ -1100,56 +1100,56 @@
1100
1100
  "main",
1101
1101
  {
1102
1102
  "direction": "vertical",
1103
+ "gap": "lg",
1103
1104
  "children": [
1104
1105
  {
1105
- "align": "center",
1106
- "type": "stack",
1107
- "direction": "horizontal",
1108
- "gap": "sm",
1109
1106
  "children": [
1110
1107
  {
1111
- "type": "icon",
1112
- "name": "wrench"
1108
+ "name": "wrench",
1109
+ "type": "icon"
1113
1110
  },
1114
1111
  {
1115
- "variant": "h2",
1116
1112
  "type": "typography",
1117
- "content": "Validation-Fix Loop"
1113
+ "content": "Validation-Fix Loop",
1114
+ "variant": "h2"
1118
1115
  }
1119
- ]
1116
+ ],
1117
+ "direction": "horizontal",
1118
+ "gap": "sm",
1119
+ "align": "center",
1120
+ "type": "stack"
1120
1121
  },
1121
1122
  {
1122
1123
  "type": "divider"
1123
1124
  },
1124
1125
  {
1126
+ "type": "card",
1125
1127
  "children": [
1126
1128
  {
1129
+ "type": "stack",
1127
1130
  "direction": "vertical",
1131
+ "gap": "md",
1128
1132
  "children": [
1129
1133
  {
1130
- "content": "Enter the target to validate and auto-fix",
1131
1134
  "type": "typography",
1135
+ "content": "Enter the target to validate and auto-fix",
1132
1136
  "variant": "body"
1133
1137
  },
1134
1138
  {
1139
+ "type": "form-section",
1135
1140
  "entity": "@entity",
1136
- "submitEvent": "FIX",
1137
- "mode": "edit",
1138
1141
  "fields": [
1139
1142
  "target"
1140
1143
  ],
1141
- "type": "form-section"
1144
+ "submitEvent": "FIX",
1145
+ "mode": "edit"
1142
1146
  }
1143
- ],
1144
- "gap": "md",
1145
- "type": "stack"
1147
+ ]
1146
1148
  }
1147
- ],
1148
- "type": "card"
1149
+ ]
1149
1150
  }
1150
1151
  ],
1151
- "type": "stack",
1152
- "gap": "lg"
1152
+ "type": "stack"
1153
1153
  }
1154
1154
  ]
1155
1155
  ]
@@ -1198,57 +1198,57 @@
1198
1198
  "render-ui",
1199
1199
  "main",
1200
1200
  {
1201
- "direction": "vertical",
1202
1201
  "type": "stack",
1202
+ "direction": "vertical",
1203
+ "gap": "lg",
1203
1204
  "children": [
1204
1205
  {
1205
- "gap": "sm",
1206
1206
  "type": "stack",
1207
- "align": "center",
1207
+ "gap": "sm",
1208
1208
  "children": [
1209
1209
  {
1210
- "type": "icon",
1211
- "name": "wrench"
1210
+ "name": "wrench",
1211
+ "type": "icon"
1212
1212
  },
1213
1213
  {
1214
- "content": "Validation-Fix Loop",
1215
1214
  "type": "typography",
1215
+ "content": "Validation-Fix Loop",
1216
1216
  "variant": "h2"
1217
1217
  }
1218
1218
  ],
1219
- "direction": "horizontal"
1219
+ "direction": "horizontal",
1220
+ "align": "center"
1220
1221
  },
1221
1222
  {
1222
1223
  "type": "divider"
1223
1224
  },
1224
1225
  {
1225
- "type": "card",
1226
1226
  "children": [
1227
1227
  {
1228
- "type": "stack",
1229
1228
  "direction": "vertical",
1230
- "gap": "md",
1231
1229
  "children": [
1232
1230
  {
1233
- "content": "Enter the target to validate and auto-fix",
1234
1231
  "type": "typography",
1232
+ "content": "Enter the target to validate and auto-fix",
1235
1233
  "variant": "body"
1236
1234
  },
1237
1235
  {
1238
- "submitEvent": "FIX",
1236
+ "entity": "@entity",
1237
+ "mode": "edit",
1239
1238
  "fields": [
1240
1239
  "target"
1241
1240
  ],
1242
- "entity": "@entity",
1243
1241
  "type": "form-section",
1244
- "mode": "edit"
1242
+ "submitEvent": "FIX"
1245
1243
  }
1246
- ]
1244
+ ],
1245
+ "gap": "md",
1246
+ "type": "stack"
1247
1247
  }
1248
- ]
1248
+ ],
1249
+ "type": "card"
1249
1250
  }
1250
- ],
1251
- "gap": "lg"
1251
+ ]
1252
1252
  }
1253
1253
  ]
1254
1254
  ]
@@ -1315,4 +1315,4 @@
1315
1315
  ]
1316
1316
  }
1317
1317
  ]
1318
- }
1318
+ }