@apify/ui-library 1.100.0 → 1.100.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apify/ui-library",
3
- "version": "1.100.0",
3
+ "version": "1.100.2",
4
4
  "description": "React UI library used by apify.com",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -26,7 +26,7 @@
26
26
  "It's not nice, but helps us to get around the problem of multiple react instances."
27
27
  ],
28
28
  "dependencies": {
29
- "@apify/ui-icons": "^1.19.0",
29
+ "@apify/ui-icons": "^1.20.0",
30
30
  "@floating-ui/react": "^0.26.2",
31
31
  "@react-hook/resize-observer": "^2.0.2",
32
32
  "clsx": "^2.0.0",
@@ -64,5 +64,5 @@
64
64
  "src",
65
65
  "style"
66
66
  ],
67
- "gitHead": "8773d9462fbe733c88199f30130ed557f676f07d"
67
+ "gitHead": "b3e6eee6f7abcd8ef155cd0662caba7301b187b1"
68
68
  }
@@ -113,7 +113,7 @@ async function buildTheme(theme) {
113
113
  // Select only tokens for theme colors (Decorative and Palette)
114
114
  StyleDictionary.registerFilter({
115
115
  name: 'only-theme',
116
- filter: (token) => ['Decorative', 'Palette'].includes(token.path[0]),
116
+ filter: (token) => ['Decorative', 'Palette', 'Brand'].includes(token.path[0]),
117
117
  });
118
118
 
119
119
  const styleDictionary = await (new StyleDictionary()).extend({
@@ -435,167 +435,115 @@
435
435
  }
436
436
  }
437
437
  },
438
- "Decorative": {
439
- "Rose": {
440
- "Light": {
441
- "$type": "color",
442
- "$value": "#e88bb3"
443
- },
444
- "Base": {
445
- "$type": "color",
446
- "$value": "#b8487b"
447
- },
448
- "Dark": {
449
- "$type": "color",
450
- "$value": "#6f234f"
451
- },
452
- "Text": {
453
- "$type": "color",
454
- "$value": "#ed8bb5"
455
- }
456
- },
457
- "Buttercup": {
458
- "Light": {
438
+ "Brand": {
439
+ "Magenta": {
440
+ "Deep": {
459
441
  "$type": "color",
460
- "$value": "#f9deaa"
442
+ "$value": "#694d6b"
461
443
  },
462
- "Base": {
444
+ "Main": {
463
445
  "$type": "color",
464
- "$value": "#e5b557"
446
+ "$value": "#9d829f"
465
447
  },
466
- "Dark": {
448
+ "Tint": {
467
449
  "$type": "color",
468
- "$value": "#b87939"
450
+ "$value": "#fef3ff"
469
451
  },
470
- "Text": {
452
+ "Accent": {
471
453
  "$type": "color",
472
- "$value": "#ebbf6c"
454
+ "$value": "#ff64b8"
473
455
  }
474
456
  },
475
- "Paprika": {
476
- "Light": {
457
+ "Mondo": {
458
+ "Deep": {
477
459
  "$type": "color",
478
- "$value": "#e26c7d"
460
+ "$value": "#ff4800"
479
461
  },
480
- "Base": {
462
+ "Main": {
481
463
  "$type": "color",
482
- "$value": "#9e384b"
464
+ "$value": "#b94013"
483
465
  },
484
- "Dark": {
466
+ "Medium": {
485
467
  "$type": "color",
486
- "$value": "#511d27"
468
+ "$value": "#d4673f"
487
469
  },
488
- "Text": {
470
+ "Muted": {
489
471
  "$type": "color",
490
- "$value": "#f67c8d"
491
- }
492
- },
493
- "Teal": {
494
- "Light": {
495
- "$type": "color",
496
- "$value": "#aef0f5"
472
+ "$value": "#db8663"
497
473
  },
498
- "Base": {
474
+ "Subtle": {
499
475
  "$type": "color",
500
- "$value": "#58bcc4"
476
+ "$value": "#f3b390"
501
477
  },
502
- "Dark": {
478
+ "Tint": {
503
479
  "$type": "color",
504
- "$value": "#408288"
480
+ "$value": "#fcdece"
505
481
  },
506
- "Text": {
482
+ "Accent": {
507
483
  "$type": "color",
508
- "$value": "#62c1c8"
484
+ "$value": "#4e4236"
509
485
  }
510
486
  },
511
- "Indigo": {
512
- "Light": {
487
+ "Lime": {
488
+ "Deep": {
513
489
  "$type": "color",
514
- "$value": "#a8b7ed"
490
+ "$value": "#756506"
515
491
  },
516
- "Base": {
492
+ "Main": {
517
493
  "$type": "color",
518
- "$value": "#6d85ca"
519
- },
520
- "Dark": {
521
- "$type": "color",
522
- "$value": "#425484"
523
- },
524
- "Text": {
525
- "$type": "color",
526
- "$value": "#a2b2eb"
527
- }
528
- },
529
- "Slate": {
530
- "Light": {
531
- "$type": "color",
532
- "$value": "#c2c5dc"
494
+ "$value": "#968108"
533
495
  },
534
- "Base": {
496
+ "Medium": {
535
497
  "$type": "color",
536
- "$value": "#8690bf"
498
+ "$value": "#c69f3d"
537
499
  },
538
- "Dark": {
500
+ "Tint": {
539
501
  "$type": "color",
540
- "$value": "#535c81"
502
+ "$value": "#e8e3b5"
541
503
  },
542
- "Text": {
504
+ "Accent": {
543
505
  "$type": "color",
544
- "$value": "#afb2c9"
506
+ "$value": "#ffff5a"
545
507
  }
546
508
  },
547
- "Coral": {
548
- "Light": {
509
+ "Meteorite": {
510
+ "Deep": {
549
511
  "$type": "color",
550
- "$value": "#f3ccb0"
512
+ "$value": "#321868"
551
513
  },
552
- "Base": {
553
- "$type": "color",
554
- "$value": "#f08848"
555
- },
556
- "Dark": {
514
+ "Main": {
557
515
  "$type": "color",
558
- "$value": "#9a4e2d"
516
+ "$value": "#6759e6"
559
517
  },
560
- "Text": {
561
- "$type": "color",
562
- "$value": "#f9b27b"
563
- }
564
- },
565
- "Lavender": {
566
- "Light": {
518
+ "Medium": {
567
519
  "$type": "color",
568
- "$value": "#b482ed"
520
+ "$value": "#bcb8ee"
569
521
  },
570
- "Base": {
522
+ "Accent": {
571
523
  "$type": "color",
572
- "$value": "#8148c9"
524
+ "$value": "#38fb9d"
573
525
  },
574
- "Dark": {
526
+ "Muted": {
575
527
  "$type": "color",
576
- "$value": "#48296f"
528
+ "$value": "#a4ffd3"
577
529
  },
578
- "Text": {
530
+ "Tint": {
579
531
  "$type": "color",
580
- "$value": "#be8af9"
532
+ "$value": "#dffff0"
581
533
  }
582
534
  },
583
- "Bamboo": {
584
- "Light": {
585
- "$type": "color",
586
- "$value": "#7acaa9"
587
- },
588
- "Base": {
535
+ "Logo": {
536
+ "Orange": {
589
537
  "$type": "color",
590
- "$value": "#439274"
538
+ "$value": "#f86606"
591
539
  },
592
- "Dark": {
540
+ "Green": {
593
541
  "$type": "color",
594
- "$value": "#305b4a"
542
+ "$value": "#20a34e"
595
543
  },
596
- "Text": {
544
+ "Blue": {
597
545
  "$type": "color",
598
- "$value": "#65bc99"
546
+ "$value": "#246dff"
599
547
  }
600
548
  }
601
549
  },
@@ -882,5 +830,169 @@
882
830
  "$value": "#151d34"
883
831
  }
884
832
  }
833
+ },
834
+ "Decorative": {
835
+ "Rose": {
836
+ "Light": {
837
+ "$type": "color",
838
+ "$value": "#e88bb3"
839
+ },
840
+ "Base": {
841
+ "$type": "color",
842
+ "$value": "#b8487b"
843
+ },
844
+ "Dark": {
845
+ "$type": "color",
846
+ "$value": "#6f234f"
847
+ },
848
+ "Text": {
849
+ "$type": "color",
850
+ "$value": "#ed8bb5"
851
+ }
852
+ },
853
+ "Buttercup": {
854
+ "Light": {
855
+ "$type": "color",
856
+ "$value": "#f9deaa"
857
+ },
858
+ "Base": {
859
+ "$type": "color",
860
+ "$value": "#e5b557"
861
+ },
862
+ "Dark": {
863
+ "$type": "color",
864
+ "$value": "#b87939"
865
+ },
866
+ "Text": {
867
+ "$type": "color",
868
+ "$value": "#ebbf6c"
869
+ }
870
+ },
871
+ "Paprika": {
872
+ "Light": {
873
+ "$type": "color",
874
+ "$value": "#e26c7d"
875
+ },
876
+ "Base": {
877
+ "$type": "color",
878
+ "$value": "#9e384b"
879
+ },
880
+ "Dark": {
881
+ "$type": "color",
882
+ "$value": "#511d27"
883
+ },
884
+ "Text": {
885
+ "$type": "color",
886
+ "$value": "#f67c8d"
887
+ }
888
+ },
889
+ "Teal": {
890
+ "Light": {
891
+ "$type": "color",
892
+ "$value": "#aef0f5"
893
+ },
894
+ "Base": {
895
+ "$type": "color",
896
+ "$value": "#58bcc4"
897
+ },
898
+ "Dark": {
899
+ "$type": "color",
900
+ "$value": "#408288"
901
+ },
902
+ "Text": {
903
+ "$type": "color",
904
+ "$value": "#62c1c8"
905
+ }
906
+ },
907
+ "Indigo": {
908
+ "Light": {
909
+ "$type": "color",
910
+ "$value": "#a8b7ed"
911
+ },
912
+ "Base": {
913
+ "$type": "color",
914
+ "$value": "#6d85ca"
915
+ },
916
+ "Dark": {
917
+ "$type": "color",
918
+ "$value": "#425484"
919
+ },
920
+ "Text": {
921
+ "$type": "color",
922
+ "$value": "#a2b2eb"
923
+ }
924
+ },
925
+ "Slate": {
926
+ "Light": {
927
+ "$type": "color",
928
+ "$value": "#c2c5dc"
929
+ },
930
+ "Base": {
931
+ "$type": "color",
932
+ "$value": "#8690bf"
933
+ },
934
+ "Dark": {
935
+ "$type": "color",
936
+ "$value": "#535c81"
937
+ },
938
+ "Text": {
939
+ "$type": "color",
940
+ "$value": "#afb2c9"
941
+ }
942
+ },
943
+ "Coral": {
944
+ "Light": {
945
+ "$type": "color",
946
+ "$value": "#f3ccb0"
947
+ },
948
+ "Base": {
949
+ "$type": "color",
950
+ "$value": "#f08848"
951
+ },
952
+ "Dark": {
953
+ "$type": "color",
954
+ "$value": "#9a4e2d"
955
+ },
956
+ "Text": {
957
+ "$type": "color",
958
+ "$value": "#f9b27b"
959
+ }
960
+ },
961
+ "Lavender": {
962
+ "Light": {
963
+ "$type": "color",
964
+ "$value": "#b482ed"
965
+ },
966
+ "Base": {
967
+ "$type": "color",
968
+ "$value": "#8148c9"
969
+ },
970
+ "Dark": {
971
+ "$type": "color",
972
+ "$value": "#48296f"
973
+ },
974
+ "Text": {
975
+ "$type": "color",
976
+ "$value": "#be8af9"
977
+ }
978
+ },
979
+ "Bamboo": {
980
+ "Light": {
981
+ "$type": "color",
982
+ "$value": "#7acaa9"
983
+ },
984
+ "Base": {
985
+ "$type": "color",
986
+ "$value": "#439274"
987
+ },
988
+ "Dark": {
989
+ "$type": "color",
990
+ "$value": "#305b4a"
991
+ },
992
+ "Text": {
993
+ "$type": "color",
994
+ "$value": "#65bc99"
995
+ }
996
+ }
885
997
  }
886
998
  }