@almadar/std 13.0.2 → 13.0.4

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