react-ui-basics 0.0.155 → 0.0.158

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 (53) hide show
  1. package/Animated.js +2 -1
  2. package/AutocompleteSelect.js +15 -14
  3. package/Button.js +15 -15
  4. package/Button.js.map +1 -1
  5. package/Checkbox.js +3 -2
  6. package/CircleProgress.js +2 -1
  7. package/CommonFields.js +17 -0
  8. package/CommonFields.js.map +1 -0
  9. package/DNDContainer.js +29 -28
  10. package/DNDDraggable.js +1 -0
  11. package/DNDDroppable.js +1 -0
  12. package/Dialog.js +4 -3
  13. package/DropFileInput.js +1 -0
  14. package/DroppableHorizontalList.js +18 -17
  15. package/DroppableList.js +18 -17
  16. package/Dropzone.js +6 -5
  17. package/FilteredList.js +11 -10
  18. package/FloatingActionButton.js +2 -1
  19. package/FormUploadProgress.js +2 -1
  20. package/ImageGallery.js +93 -92
  21. package/MaterialIcon.js +2 -1
  22. package/Modal.js +7 -6
  23. package/ModalMenu.js +4 -3
  24. package/ReactConstants.d.ts +18 -0
  25. package/ReactConstants.js +25 -36
  26. package/ReactConstants.js.map +1 -1
  27. package/ReadyListener.js +1 -0
  28. package/ResizeObserver.d.ts +1 -0
  29. package/Scrollable.js +38 -37
  30. package/ScrollableTable.d.ts +15 -0
  31. package/ScrollableTable.js +19 -32
  32. package/ScrollableTable.js.map +1 -1
  33. package/Size.js +3 -2
  34. package/Snackbar.js +1 -0
  35. package/SpinningProgress.js +1 -0
  36. package/Switch.js +3 -2
  37. package/Table.d.ts +8 -25
  38. package/Table.js +90 -95
  39. package/Table.js.map +1 -1
  40. package/TextField.js +7 -6
  41. package/Tools.d.ts +1 -1
  42. package/Tools.js +18 -17
  43. package/Tools.js.map +1 -1
  44. package/bundle.css +623 -623
  45. package/index.js +8 -5
  46. package/index.js.map +1 -1
  47. package/package.json +1 -1
  48. package/router/Link.js +3 -2
  49. package/router/NavLink.js +3 -2
  50. package/router/Route.js +10 -9
  51. package/router/index.js +1 -0
  52. package/store/ProxyTools.js +1 -0
  53. package/store/Store.js +1 -0
package/bundle.css CHANGED
@@ -163,28 +163,6 @@
163
163
  border: 0;
164
164
  }
165
165
 
166
- .animated {
167
- transition: opacity 250ms ease;
168
- opacity: 0;
169
- }
170
-
171
- .animated.mounting, .animated.mounted {
172
- opacity: 1;
173
- }
174
-
175
- .CircleProgress {
176
- width: 48px;
177
- height: 48px;
178
- }
179
-
180
- .CircleProgress .line {
181
- stroke-width: 2px;
182
- stroke: black;
183
- stroke-linecap: square;
184
- fill: none;
185
- transition: stroke-dashoffset 0.2s ease;
186
- }
187
-
188
166
  .AutocompleteSelect {
189
167
  display: inline-flex;
190
168
  flex-flow: column;
@@ -480,177 +458,26 @@
480
458
  position: absolute;
481
459
  }
482
460
 
483
- .FilteredList {
484
- max-height: 250px;
485
- position: relative;
486
- }
487
-
488
- .FilteredList.popup {
489
- padding: 0;
490
- visibility: hidden;
491
- position: absolute;
492
- background: white;
493
- z-index: 4;
494
- box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
495
- transition: all 0.2s ease-out;
496
- top: calc(100% + 4px);
461
+ .animated {
462
+ transition: opacity 250ms ease;
497
463
  opacity: 0;
498
- border-radius: 2px;
499
464
  }
500
465
 
501
- .FilteredList.popup.visible {
466
+ .animated.mounting, .animated.mounted {
502
467
  opacity: 1;
503
- visibility: visible;
504
- }
505
-
506
- .FilteredList.inline {
507
- max-height: 225px;
508
- margin-top: 5px;
509
- }
510
-
511
- .FilteredList .child {
512
- display: flex;
513
- flex-flow: row nowrap;
514
- align-items: center;
515
- white-space: nowrap;
516
- font-size: 14px;
517
- color: #222222;
518
- height: 30px;
519
- padding: 5px 10px;
520
- padding-right: 15px;
521
- cursor: pointer;
522
- overflow: hidden;
523
- transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
524
- border-left: 5px solid #4AC263;
525
- padding-left: 15px;
526
- margin-left: -5px;
527
- }
528
-
529
- .FilteredList .child.hidden {
530
- height: 0 !important;
531
- padding: 0 !important;
532
- }
533
-
534
- .FilteredList .child.selected {
535
- background-color: #F0F0F0;
536
- padding-left: 10px;
537
- margin-left: 0px;
538
- }
539
-
540
- .FilteredList .child.active {
541
- background-color: #eeeeee;
542
- }
543
-
544
- .FilteredList .child {
545
- margin-top: 8px;
546
- }
547
-
548
- .FilteredList .child.hidden {
549
- margin-top: 0;
550
- }
551
-
552
- .FilteredList .child:not(.hidden) ~ .child {
553
- margin-top: 0;
554
- }
555
-
556
- .FilteredList .child:not(.hidden) ~ .child:last-child {
557
- margin-bottom: 8px;
558
- }
559
-
560
- .FilteredList .child:not(.hidden):last-child {
561
- margin-bottom: 8px;
562
- }
563
-
564
- .Dropzone {
565
- position: relative;
566
- }
567
-
568
- .Dropzone > .overlay {
569
- position: absolute;
570
- left: 0;
571
- right: 0;
572
- top: 0;
573
- bottom: 0;
574
- background-color: #38ADC4;
575
- z-index: 1;
576
- opacity: 0;
577
- transition: all 0.2s ease;
578
- transition-delay: 100ms;
579
- visibility: hidden;
580
- display: flex;
581
- justify-content: center;
582
- align-items: center;
583
- }
584
-
585
- .Dropzone > .overlay .drop {
586
- border-radius: 4px;
587
- border: 1px dashed #FFFFFF;
588
- position: absolute;
589
- top: 18px;
590
- left: 18px;
591
- right: 18px;
592
- bottom: 18px;
593
- display: flex;
594
- justify-content: center;
595
- align-items: center;
596
- font-weight: 500;
597
- font-size: 18px;
598
- color: #FFFFFF;
599
- }
600
-
601
- .Dropzone.dragging > .overlay {
602
- opacity: 0.7;
603
- visibility: visible;
604
- transition-delay: 0s;
605
- }
606
-
607
- .Dropzone.dragging > * {
608
- pointer-events: none;
609
- }
610
-
611
- .Dropzone > input.file {
612
- position: absolute;
613
- left: 0;
614
- right: 0;
615
- top: 0;
616
- bottom: 0;
617
- width: 100%;
618
- height: 100%;
619
- opacity: 0;
620
- cursor: pointer;
621
- z-index: 1;
622
468
  }
623
469
 
624
- .DNDContainer {
625
- position: relative;
626
- }
627
-
628
- .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
629
- cursor: pointer;
630
- }
631
-
632
- .DNDContainer .Draggable.placeholder {
633
- opacity: 0.2;
634
- }
635
-
636
- .DNDContainer .Draggable.copy {
637
- position: absolute;
638
- box-sizing: border-box;
639
- will-change: transform;
640
- opacity: 0;
641
- }
642
-
643
- .DNDContainer .Draggable.dragged {
644
- z-index: 10;
470
+ .CircleProgress {
471
+ width: 48px;
472
+ height: 48px;
645
473
  }
646
474
 
647
- .DNDContainer .overlay {
648
- position: absolute;
649
- top: 0;
650
- left: 0;
651
- right: 0;
652
- bottom: 0;
653
- pointer-events: none;
475
+ .CircleProgress .line {
476
+ stroke-width: 2px;
477
+ stroke: black;
478
+ stroke-linecap: square;
479
+ fill: none;
480
+ transition: stroke-dashoffset 0.2s ease;
654
481
  }
655
482
 
656
483
  .Checkbox {
@@ -720,308 +547,220 @@
720
547
  background: rgba(0, 0, 0, 0.26);
721
548
  }
722
549
 
723
- .ImageGallery {
724
- position: fixed;
725
- top: 0;
726
- left: 0;
727
- bottom: 0;
728
- right: 0;
729
- z-index: 1000;
730
- background-color: rgba(0, 0, 0, 0.01);
731
- user-select: none;
550
+ .DNDContainer {
551
+ position: relative;
732
552
  }
733
553
 
734
- .ImageGallery:focus {
735
- outline-width: 0px;
554
+ .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
555
+ cursor: pointer;
736
556
  }
737
557
 
738
- .ImageGallery.animated {
739
- transition: background-color 0.25s ease;
740
- opacity: 1;
558
+ .DNDContainer .Draggable.placeholder {
559
+ opacity: 0.2;
741
560
  }
742
561
 
743
- .ImageGallery.mounting, .ImageGallery.mounted {
744
- background-color: rgba(0, 0, 0, 0.8);
562
+ .DNDContainer .Draggable.copy {
563
+ position: absolute;
564
+ box-sizing: border-box;
565
+ will-change: transform;
566
+ opacity: 0;
745
567
  }
746
568
 
747
- .ImageGallery .image {
748
- position: absolute;
749
- cursor: grab;
569
+ .DNDContainer .Draggable.dragged {
570
+ z-index: 10;
750
571
  }
751
572
 
752
- .ImageGallery .image .counter {
753
- display: none;
573
+ .DNDContainer .overlay {
574
+ position: absolute;
575
+ top: 0;
576
+ left: 0;
577
+ right: 0;
578
+ bottom: 0;
579
+ pointer-events: none;
754
580
  }
755
581
 
756
- .ImageGallery .image img {
757
- border-radius: 4px;
758
- max-width: 100%;
759
- min-width: 100%;
582
+ .DialogModal {
583
+ overflow: hidden;
760
584
  }
761
585
 
762
- .ImageGallery .image.animated {
763
- transition: top 0.25s ease, left 0.25s ease, width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
764
- will-change: top, left, width, height, opacity;
586
+ .DialogModal .content {
587
+ top: 20vh;
765
588
  }
766
589
 
767
- .ImageGallery .image.animated.mounting, .ImageGallery .image.animated.mounted, .ImageGallery .image.animated.unmounting {
768
- opacity: 1;
590
+ .Dialog {
591
+ background-color: white;
592
+ min-width: 460px;
593
+ max-width: 40vw;
594
+ padding: 15px;
769
595
  }
770
596
 
771
- .ImageGallery .image.zoomed {
772
- text-align: center;
773
- overflow: hidden;
774
- }
775
-
776
- .ImageGallery .image.dragging {
777
- transition: none;
778
- cursor: move;
779
- }
780
-
781
- .ImageGallery .image .close {
782
- position: absolute;
783
- top: -18px;
784
- right: -18px;
785
- }
786
-
787
- .ImageGallery .image .spinner {
788
- position: absolute;
789
- top: 0;
790
- bottom: 0;
791
- left: 0;
792
- right: 0;
793
- background: rgba(0, 0, 0, 0.65);
597
+ .Dialog .title {
598
+ margin-bottom: 15px;
599
+ padding: 20px 50px 0px 30px;
600
+ font-size: 1.25rem;
601
+ line-height: 2rem;
602
+ font-weight: 400;
603
+ letter-spacing: 0.0125em;
794
604
  }
795
605
 
796
- .ImageGallery .image .spinner .SpinningProgress {
797
- position: absolute;
798
- top: 50%;
799
- left: 50%;
800
- margin-left: -24px;
801
- margin-top: -24px;
606
+ .Dialog .description {
607
+ color: rgba(0, 0, 0, 0.54);
608
+ font-size: 1rem;
609
+ line-height: 1.5rem;
610
+ font-weight: 400;
611
+ letter-spacing: 0.03125em;
612
+ margin-top: 20px;
613
+ padding: 0 24px 24px;
802
614
  }
803
615
 
804
- .ImageGallery .image .spinner .SpinningProgress .line {
805
- stroke: #2196F3;
616
+ .Dialog > div.row {
617
+ margin-bottom: 15px;
806
618
  }
807
619
 
808
- .ImageGallery .Button.animated {
809
- transition: all 0.25s ease;
810
- opacity: 0;
811
- transform: scale(0);
620
+ .Dialog > div.row:last-child {
621
+ margin-bottom: 0;
812
622
  }
813
623
 
814
- .ImageGallery .Button.animated.mounted, .ImageGallery .Button.animated.mounting {
815
- opacity: 1;
816
- transform: scale(1);
624
+ .Switch {
625
+ display: inline-flex;
626
+ padding-top: 5px;
817
627
  }
818
628
 
819
- .ImageGallery .Button {
820
- color: white;
821
- background: rgba(0, 0, 0, 0.4);
629
+ .Switch .switch-input {
630
+ display: none;
822
631
  }
823
632
 
824
- .ImageGallery .Button:hover {
825
- background: rgba(0, 0, 0, 0.7);
633
+ .Switch .switch-label {
634
+ position: relative;
635
+ display: inline-flex;
636
+ align-items: center;
637
+ min-width: 38px;
638
+ height: 24px;
639
+ cursor: pointer;
640
+ font-weight: 500;
641
+ text-align: left;
642
+ user-select: none;
643
+ margin: 0;
644
+ padding: 0;
645
+ padding-left: 44px;
646
+ box-sizing: border-box;
826
647
  }
827
648
 
828
- .ImageGallery > .arrow {
649
+ .Switch .switch-label:before, .Switch .switch-label:after {
650
+ content: "";
651
+ box-sizing: border-box;
829
652
  position: absolute;
653
+ margin: 0;
654
+ outline: 0;
830
655
  top: 50%;
831
- height: 76px;
832
- width: 76px;
833
- margin-top: -38px;
656
+ transform: translate(0, -50%);
657
+ transition: all 0.3s ease;
834
658
  }
835
659
 
836
- .ImageGallery > .arrow.left {
837
- left: 5%;
660
+ .Switch .switch-label:before {
661
+ left: 1px;
662
+ width: 34px;
663
+ height: 14px;
664
+ background-color: #9E9E9E;
665
+ border-radius: 8px;
838
666
  }
839
667
 
840
- .ImageGallery > .arrow.right {
841
- right: 5%;
668
+ .Switch .switch-label:after {
669
+ left: 0;
670
+ width: 20px;
671
+ height: 20px;
672
+ background-color: #FAFAFA;
673
+ border-radius: 50%;
674
+ box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.14), 0 2px 2px 0 rgba(0, 0, 0, 0.098), 0 1px 5px 0 rgba(0, 0, 0, 0.084);
842
675
  }
843
676
 
844
- .ImageGallery > .arrow .material-icons {
845
- font-size: 40px;
677
+ .Switch .switch-label .toggle--on {
678
+ display: none;
846
679
  }
847
680
 
848
- .ImageGallery .counter {
849
- position: absolute;
850
- top: 10px;
851
- left: 10px;
852
- color: white;
853
- font-size: 13px;
681
+ .Switch .switch-label .toggle--off {
682
+ display: inline-block;
854
683
  }
855
684
 
856
- .ImageGallery .previews {
857
- height: 80px;
858
- position: absolute;
859
- bottom: 15px;
860
- left: 50%;
861
- transform: translateX(-50%);
862
- padding: 0 45px;
685
+ .Switch .switch-label .label {
686
+ margin-right: 5px;
863
687
  }
864
688
 
865
- .ImageGallery .previews .viewport {
866
- overflow: hidden;
867
- position: relative;
868
- height: 100%;
689
+ .Switch .switch-input:checked + .switch-label:before {
690
+ background-color: #A5D6A7;
869
691
  }
870
692
 
871
- .ImageGallery .previews .container {
872
- position: relative;
873
- display: flex;
874
- flex-flow: row nowrap;
875
- height: 100%;
876
- transition: left 0.25s ease;
693
+ .Switch .switch-input:checked + .switch-label:after {
694
+ background-color: #4CAF50;
695
+ transform: translate(80%, -50%);
877
696
  }
878
697
 
879
- .ImageGallery .previews .preview {
880
- position: relative;
881
- height: 100%;
698
+ .Switch .switch-input:checked + .switch-label .toggle--on {
882
699
  display: inline-block;
883
- width: 106.66px;
884
- overflow: hidden;
885
- margin-left: 12px;
886
- border-radius: 2px;
887
- cursor: pointer;
888
- box-sizing: border-box;
889
700
  }
890
701
 
891
- .ImageGallery .previews .preview:first-child {
892
- margin-left: 0;
893
- }
894
-
895
- .ImageGallery .previews .preview > .border {
896
- position: absolute;
897
- bottom: 0;
898
- width: 100%;
899
- height: 3px;
702
+ .Switch .switch-input:checked + .switch-label .toggle--off {
703
+ display: none;
900
704
  }
901
705
 
902
- .ImageGallery .previews .preview > .border .line {
903
- left: 50%;
904
- width: 0;
905
- height: 3px;
906
- min-height: 3px;
907
- background-color: #4AC263;
908
- transition: all 0.2s ease;
909
- position: absolute;
706
+ .Dropzone {
707
+ position: relative;
910
708
  }
911
709
 
912
- .ImageGallery .previews .preview:after {
913
- content: "";
710
+ .Dropzone > .overlay {
914
711
  position: absolute;
915
- top: 0;
712
+ left: 0;
916
713
  right: 0;
714
+ top: 0;
917
715
  bottom: 0;
918
- left: 0;
919
- background: rgba(0, 0, 0, 0.35);
920
- transition: background 0.2s ease;
921
- }
922
-
923
- .ImageGallery .previews .preview:hover:after {
924
- background: rgba(0, 0, 0, 0.1);
925
- }
926
-
927
- .ImageGallery .previews .preview.selected .border .line {
928
- left: 0;
929
- width: 100%;
930
- }
931
-
932
- .ImageGallery .previews .preview.selected:after {
933
- background: rgba(0, 0, 0, 0);
716
+ background-color: #38ADC4;
717
+ z-index: 1;
718
+ opacity: 0;
719
+ transition: all 0.2s ease;
720
+ transition-delay: 100ms;
721
+ visibility: hidden;
722
+ display: flex;
723
+ justify-content: center;
724
+ align-items: center;
934
725
  }
935
726
 
936
- .ImageGallery .previews > .arrow {
727
+ .Dropzone > .overlay .drop {
728
+ border-radius: 4px;
729
+ border: 1px dashed #FFFFFF;
937
730
  position: absolute;
938
- top: 50%;
939
- height: 30px;
940
- width: 30px;
941
- min-width: 30px;
942
- min-height: 30px;
943
- margin-top: -15px;
944
- }
945
-
946
- .ImageGallery .previews > .arrow.left {
947
- left: 0;
948
- }
949
-
950
- .ImageGallery .previews > .arrow.right {
951
- right: 0;
952
- }
953
-
954
- .ImageGallery .previews > .arrow .material-icons {
955
- font-size: 24px;
956
- }
957
-
958
- .DropFileInput {
959
- flex-grow: 1;
960
- }
961
-
962
- .DropFileInput .Dropzone {
963
- border: 1px dashed #808080;
964
- padding: 12px;
731
+ top: 18px;
732
+ left: 18px;
733
+ right: 18px;
734
+ bottom: 18px;
965
735
  display: flex;
966
- flex-flow: row nowrap;
967
736
  justify-content: center;
968
737
  align-items: center;
969
- color: gray;
970
- cursor: pointer;
971
- border-radius: 3px;
972
- font-weight: normal;
973
- line-height: 22px;
974
- font-size: 14px;
975
- color: #7E7E7E;
976
- max-width: 100%;
977
- word-break: break-all;
978
- word-break: break-word;
979
- }
980
-
981
- .DropFileInput .Dropzone .icon.withText {
982
- margin-right: 10px;
983
- }
984
-
985
- .DialogModal {
986
- overflow: hidden;
987
- }
988
-
989
- .DialogModal .content {
990
- top: 20vh;
991
- }
992
-
993
- .Dialog {
994
- background-color: white;
995
- min-width: 460px;
996
- max-width: 40vw;
997
- padding: 15px;
998
- }
999
-
1000
- .Dialog .title {
1001
- margin-bottom: 15px;
1002
- padding: 20px 50px 0px 30px;
1003
- font-size: 1.25rem;
1004
- line-height: 2rem;
1005
- font-weight: 400;
1006
- letter-spacing: 0.0125em;
738
+ font-weight: 500;
739
+ font-size: 18px;
740
+ color: #FFFFFF;
1007
741
  }
1008
742
 
1009
- .Dialog .description {
1010
- color: rgba(0, 0, 0, 0.54);
1011
- font-size: 1rem;
1012
- line-height: 1.5rem;
1013
- font-weight: 400;
1014
- letter-spacing: 0.03125em;
1015
- margin-top: 20px;
1016
- padding: 0 24px 24px;
743
+ .Dropzone.dragging > .overlay {
744
+ opacity: 0.7;
745
+ visibility: visible;
746
+ transition-delay: 0s;
1017
747
  }
1018
748
 
1019
- .Dialog > div.row {
1020
- margin-bottom: 15px;
749
+ .Dropzone.dragging > * {
750
+ pointer-events: none;
1021
751
  }
1022
752
 
1023
- .Dialog > div.row:last-child {
1024
- margin-bottom: 0;
753
+ .Dropzone > input.file {
754
+ position: absolute;
755
+ left: 0;
756
+ right: 0;
757
+ top: 0;
758
+ bottom: 0;
759
+ width: 100%;
760
+ height: 100%;
761
+ opacity: 0;
762
+ cursor: pointer;
763
+ z-index: 1;
1025
764
  }
1026
765
 
1027
766
  .ModalMenu {
@@ -1155,197 +894,239 @@
1155
894
  position: absolute;
1156
895
  }
1157
896
 
1158
- .Snackbar {
1159
- transform: translateX(-50%);
1160
- overflow: hidden;
1161
- background-color: #323232;
1162
- padding: 14px 24px 14px 24px;
1163
- color: #fff;
1164
- min-width: 288px;
1165
- max-width: 568px;
897
+ .ImageGallery {
1166
898
  position: fixed;
1167
- bottom: -50px;
1168
- left: 50%;
1169
- display: flex;
1170
- flex-wrap: nowrap;
1171
- align-items: center;
1172
- opacity: 0;
1173
- transition: bottom 0.25s ease, opacity 0.2s ease;
1174
- border-radius: 4px;
1175
- box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
899
+ top: 0;
900
+ left: 0;
901
+ bottom: 0;
902
+ right: 0;
903
+ z-index: 1000;
904
+ background-color: rgba(0, 0, 0, 0.01);
905
+ user-select: none;
1176
906
  }
1177
907
 
1178
- .Snackbar.shown {
1179
- bottom: 15px;
908
+ .ImageGallery:focus {
909
+ outline-width: 0px;
910
+ }
911
+
912
+ .ImageGallery.animated {
913
+ transition: background-color 0.25s ease;
1180
914
  opacity: 1;
1181
915
  }
1182
916
 
1183
- .Snackbar .message {
1184
- overflow: hidden;
1185
- line-height: 1.2em;
1186
- min-height: 1.2em;
1187
- max-height: 2.4em;
1188
- flex: 1;
917
+ .ImageGallery.mounting, .ImageGallery.mounted {
918
+ background-color: rgba(0, 0, 0, 0.8);
1189
919
  }
1190
920
 
1191
- .Snackbar .action {
1192
- text-transform: uppercase;
1193
- font-weight: bold;
1194
- margin-left: 48px;
1195
- color: #bf3727;
921
+ .ImageGallery .image {
922
+ position: absolute;
923
+ cursor: grab;
1196
924
  }
1197
925
 
1198
- .Snackbar .action a {
1199
- text-decoration: none;
1200
- color: #bf3727;
926
+ .ImageGallery .image .counter {
927
+ display: none;
1201
928
  }
1202
929
 
1203
- .SpinningProgress {
1204
- width: 48px;
1205
- height: 48px;
1206
- position: relative;
1207
- margin: 0 auto;
930
+ .ImageGallery .image img {
931
+ border-radius: 4px;
932
+ max-width: 100%;
933
+ min-width: 100%;
1208
934
  }
1209
935
 
1210
- .SpinningProgress:before {
1211
- content: "";
1212
- display: block;
1213
- padding-top: 100%;
936
+ .ImageGallery .image.animated {
937
+ transition: top 0.25s ease, left 0.25s ease, width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
938
+ will-change: top, left, width, height, opacity;
1214
939
  }
1215
940
 
1216
- .SpinningProgress .circular {
1217
- animation: rotate 2s linear infinite;
1218
- height: 100%;
1219
- transform-origin: center center;
1220
- width: 100%;
941
+ .ImageGallery .image.animated.mounting, .ImageGallery .image.animated.mounted, .ImageGallery .image.animated.unmounting {
942
+ opacity: 1;
943
+ }
944
+
945
+ .ImageGallery .image.zoomed {
946
+ text-align: center;
947
+ overflow: hidden;
948
+ }
949
+
950
+ .ImageGallery .image.dragging {
951
+ transition: none;
952
+ cursor: move;
953
+ }
954
+
955
+ .ImageGallery .image .close {
956
+ position: absolute;
957
+ top: -18px;
958
+ right: -18px;
959
+ }
960
+
961
+ .ImageGallery .image .spinner {
1221
962
  position: absolute;
1222
963
  top: 0;
1223
964
  bottom: 0;
1224
965
  left: 0;
1225
966
  right: 0;
1226
- margin: auto;
967
+ background: rgba(0, 0, 0, 0.65);
1227
968
  }
1228
969
 
1229
- .SpinningProgress .line {
1230
- stroke: black;
1231
- stroke-width: 2px;
1232
- stroke-dasharray: 1, 96;
1233
- stroke-dashoffset: 0;
1234
- animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
970
+ .ImageGallery .image .spinner .SpinningProgress {
971
+ position: absolute;
972
+ top: 50%;
973
+ left: 50%;
974
+ margin-left: -24px;
975
+ margin-top: -24px;
1235
976
  }
1236
977
 
1237
- @keyframes rotate {
1238
- 100% {
1239
- transform: rotate(360deg);
1240
- }
978
+ .ImageGallery .image .spinner .SpinningProgress .line {
979
+ stroke: #2196F3;
1241
980
  }
1242
- @keyframes dash {
1243
- 0% {
1244
- stroke-dasharray: 1, 96;
1245
- stroke-dashoffset: 0;
1246
- }
1247
- 50% {
1248
- stroke-dasharray: 43, 96;
1249
- stroke-dashoffset: -17px;
1250
- }
1251
- 100% {
1252
- stroke-dasharray: 43, 96;
1253
- stroke-dashoffset: -53px;
1254
- }
981
+
982
+ .ImageGallery .Button.animated {
983
+ transition: all 0.25s ease;
984
+ opacity: 0;
985
+ transform: scale(0);
1255
986
  }
1256
- .Scrollable {
1257
- max-height: 250px;
1258
- max-width: 250px;
1259
- padding-right: 5px;
1260
- position: relative;
1261
- display: flex;
1262
- flex-flow: column;
1263
- align-items: stretch;
1264
- overflow: hidden;
987
+
988
+ .ImageGallery .Button.animated.mounted, .ImageGallery .Button.animated.mounting {
989
+ opacity: 1;
990
+ transform: scale(1);
991
+ }
992
+
993
+ .ImageGallery .Button {
994
+ color: white;
995
+ background: rgba(0, 0, 0, 0.4);
996
+ }
997
+
998
+ .ImageGallery .Button:hover {
999
+ background: rgba(0, 0, 0, 0.7);
1000
+ }
1001
+
1002
+ .ImageGallery > .arrow {
1003
+ position: absolute;
1004
+ top: 50%;
1005
+ height: 76px;
1006
+ width: 76px;
1007
+ margin-top: -38px;
1008
+ }
1009
+
1010
+ .ImageGallery > .arrow.left {
1011
+ left: 5%;
1265
1012
  }
1266
1013
 
1267
- .Scrollable:hover > .scrollbar.auto {
1268
- transition-delay: 0s;
1269
- opacity: 1;
1014
+ .ImageGallery > .arrow.right {
1015
+ right: 5%;
1270
1016
  }
1271
1017
 
1272
- .Scrollable .viewport {
1273
- overflow-y: scroll;
1274
- overflow-x: scroll;
1275
- max-height: 100%;
1276
- scroll-behavior: smooth;
1277
- scrollbar-width: none;
1018
+ .ImageGallery > .arrow .material-icons {
1019
+ font-size: 40px;
1278
1020
  }
1279
1021
 
1280
- .Scrollable .viewport::-webkit-scrollbar {
1281
- display: none;
1022
+ .ImageGallery .counter {
1023
+ position: absolute;
1024
+ top: 10px;
1025
+ left: 10px;
1026
+ color: white;
1027
+ font-size: 13px;
1282
1028
  }
1283
1029
 
1284
- .Scrollable.without-scroll-horizontal {
1285
- max-width: unset;
1030
+ .ImageGallery .previews {
1031
+ height: 80px;
1032
+ position: absolute;
1033
+ bottom: 15px;
1034
+ left: 50%;
1035
+ transform: translateX(-50%);
1036
+ padding: 0 45px;
1286
1037
  }
1287
1038
 
1288
- .Scrollable.without-scroll {
1289
- padding-right: 0;
1290
- max-height: unset;
1039
+ .ImageGallery .previews .viewport {
1040
+ overflow: hidden;
1041
+ position: relative;
1042
+ height: 100%;
1291
1043
  }
1292
1044
 
1293
- .Scrollable.without-scroll > .viewport {
1294
- padding-right: 0;
1295
- margin-right: 0;
1045
+ .ImageGallery .previews .container {
1046
+ position: relative;
1047
+ display: flex;
1048
+ flex-flow: row nowrap;
1049
+ height: 100%;
1050
+ transition: left 0.25s ease;
1296
1051
  }
1297
1052
 
1298
- .Scrollable.without-scroll > .scrollbar {
1299
- visibility: hidden;
1053
+ .ImageGallery .previews .preview {
1054
+ position: relative;
1055
+ height: 100%;
1056
+ display: inline-block;
1057
+ width: 106.66px;
1058
+ overflow: hidden;
1059
+ margin-left: 12px;
1060
+ border-radius: 2px;
1061
+ cursor: pointer;
1062
+ box-sizing: border-box;
1300
1063
  }
1301
1064
 
1302
- .Scrollable .scrollbar {
1065
+ .ImageGallery .previews .preview:first-child {
1066
+ margin-left: 0;
1067
+ }
1068
+
1069
+ .ImageGallery .previews .preview > .border {
1303
1070
  position: absolute;
1304
- right: 0px;
1305
- top: 0px;
1306
- width: 5px;
1307
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1308
- transition-delay: 0.5s;
1309
- z-index: 1;
1071
+ bottom: 0;
1072
+ width: 100%;
1073
+ height: 3px;
1310
1074
  }
1311
1075
 
1312
- .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1313
- opacity: 0;
1076
+ .ImageGallery .previews .preview > .border .line {
1077
+ left: 50%;
1078
+ width: 0;
1079
+ height: 3px;
1080
+ min-height: 3px;
1081
+ background-color: #4AC263;
1082
+ transition: all 0.2s ease;
1083
+ position: absolute;
1314
1084
  }
1315
1085
 
1316
- .Scrollable .scrollbar .thumb {
1317
- background-color: rgba(0, 0, 0, 0.3);
1318
- width: 5px;
1086
+ .ImageGallery .previews .preview:after {
1087
+ content: "";
1319
1088
  position: absolute;
1320
- right: 0px;
1321
- top: 0px;
1322
- user-select: none;
1323
- will-change: top;
1324
- border-radius: 2px;
1089
+ top: 0;
1090
+ right: 0;
1091
+ bottom: 0;
1092
+ left: 0;
1093
+ background: rgba(0, 0, 0, 0.35);
1094
+ transition: background 0.2s ease;
1325
1095
  }
1326
1096
 
1327
- .Scrollable .scrollbar .thumb:hover {
1328
- background-color: rgba(0, 0, 0, 0.5);
1097
+ .ImageGallery .previews .preview:hover:after {
1098
+ background: rgba(0, 0, 0, 0.1);
1329
1099
  }
1330
1100
 
1331
- .Scrollable .scrollbar .thumb:active {
1332
- background-color: rgba(0, 0, 0, 0.7);
1101
+ .ImageGallery .previews .preview.selected .border .line {
1102
+ left: 0;
1103
+ width: 100%;
1333
1104
  }
1334
1105
 
1335
- .Scrollable .scrollbar.horizontal {
1336
- left: 0px;
1337
- right: 0px;
1338
- height: 5px;
1339
- bottom: 0;
1340
- width: unset;
1341
- top: unset;
1106
+ .ImageGallery .previews .preview.selected:after {
1107
+ background: rgba(0, 0, 0, 0);
1342
1108
  }
1343
1109
 
1344
- .Scrollable .scrollbar.horizontal .thumb {
1345
- height: 5px;
1346
- left: 0px;
1347
- bottom: 0px;
1348
- will-change: left;
1110
+ .ImageGallery .previews > .arrow {
1111
+ position: absolute;
1112
+ top: 50%;
1113
+ height: 30px;
1114
+ width: 30px;
1115
+ min-width: 30px;
1116
+ min-height: 30px;
1117
+ margin-top: -15px;
1118
+ }
1119
+
1120
+ .ImageGallery .previews > .arrow.left {
1121
+ left: 0;
1122
+ }
1123
+
1124
+ .ImageGallery .previews > .arrow.right {
1125
+ right: 0;
1126
+ }
1127
+
1128
+ .ImageGallery .previews > .arrow .material-icons {
1129
+ font-size: 24px;
1349
1130
  }
1350
1131
 
1351
1132
  .FormUploadProgress {
@@ -1409,12 +1190,138 @@
1409
1190
  color: #818181;
1410
1191
  }
1411
1192
 
1412
- .FormUploadProgress .wrapper .cancel {
1413
- min-width: 107px;
1414
- margin-top: 20px;
1415
- background-color: white;
1416
- color: #F96B5C;
1417
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1193
+ .FormUploadProgress .wrapper .cancel {
1194
+ min-width: 107px;
1195
+ margin-top: 20px;
1196
+ background-color: white;
1197
+ color: #F96B5C;
1198
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1199
+ }
1200
+
1201
+ .FilteredList {
1202
+ max-height: 250px;
1203
+ position: relative;
1204
+ }
1205
+
1206
+ .FilteredList.popup {
1207
+ padding: 0;
1208
+ visibility: hidden;
1209
+ position: absolute;
1210
+ background: white;
1211
+ z-index: 4;
1212
+ box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
1213
+ transition: all 0.2s ease-out;
1214
+ top: calc(100% + 4px);
1215
+ opacity: 0;
1216
+ border-radius: 2px;
1217
+ }
1218
+
1219
+ .FilteredList.popup.visible {
1220
+ opacity: 1;
1221
+ visibility: visible;
1222
+ }
1223
+
1224
+ .FilteredList.inline {
1225
+ max-height: 225px;
1226
+ margin-top: 5px;
1227
+ }
1228
+
1229
+ .FilteredList .child {
1230
+ display: flex;
1231
+ flex-flow: row nowrap;
1232
+ align-items: center;
1233
+ white-space: nowrap;
1234
+ font-size: 14px;
1235
+ color: #222222;
1236
+ height: 30px;
1237
+ padding: 5px 10px;
1238
+ padding-right: 15px;
1239
+ cursor: pointer;
1240
+ overflow: hidden;
1241
+ transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1242
+ border-left: 5px solid #4AC263;
1243
+ padding-left: 15px;
1244
+ margin-left: -5px;
1245
+ }
1246
+
1247
+ .FilteredList .child.hidden {
1248
+ height: 0 !important;
1249
+ padding: 0 !important;
1250
+ }
1251
+
1252
+ .FilteredList .child.selected {
1253
+ background-color: #F0F0F0;
1254
+ padding-left: 10px;
1255
+ margin-left: 0px;
1256
+ }
1257
+
1258
+ .FilteredList .child.active {
1259
+ background-color: #eeeeee;
1260
+ }
1261
+
1262
+ .FilteredList .child {
1263
+ margin-top: 8px;
1264
+ }
1265
+
1266
+ .FilteredList .child.hidden {
1267
+ margin-top: 0;
1268
+ }
1269
+
1270
+ .FilteredList .child:not(.hidden) ~ .child {
1271
+ margin-top: 0;
1272
+ }
1273
+
1274
+ .FilteredList .child:not(.hidden) ~ .child:last-child {
1275
+ margin-bottom: 8px;
1276
+ }
1277
+
1278
+ .FilteredList .child:not(.hidden):last-child {
1279
+ margin-bottom: 8px;
1280
+ }
1281
+
1282
+ .DNDContainer .DroppableList .Draggable {
1283
+ transform: unset;
1284
+ transition: unset;
1285
+ opacity: 1;
1286
+ }
1287
+
1288
+ .DNDContainer .DroppableList .Draggable.dragged {
1289
+ transition: unset !important;
1290
+ }
1291
+
1292
+ .DNDContainer .DroppableList.hover .Draggable {
1293
+ transition: transform 0.2s ease-in;
1294
+ }
1295
+
1296
+ .DNDContainer .DroppableList.resetting .Draggable {
1297
+ transition: transform 0.1s ease-in;
1298
+ }
1299
+
1300
+ .DropFileInput {
1301
+ flex-grow: 1;
1302
+ }
1303
+
1304
+ .DropFileInput .Dropzone {
1305
+ border: 1px dashed #808080;
1306
+ padding: 12px;
1307
+ display: flex;
1308
+ flex-flow: row nowrap;
1309
+ justify-content: center;
1310
+ align-items: center;
1311
+ color: gray;
1312
+ cursor: pointer;
1313
+ border-radius: 3px;
1314
+ font-weight: normal;
1315
+ line-height: 22px;
1316
+ font-size: 14px;
1317
+ color: #7E7E7E;
1318
+ max-width: 100%;
1319
+ word-break: break-all;
1320
+ word-break: break-word;
1321
+ }
1322
+
1323
+ .DropFileInput .Dropzone .icon.withText {
1324
+ margin-right: 10px;
1418
1325
  }
1419
1326
 
1420
1327
  .TextField {
@@ -1560,112 +1467,205 @@
1560
1467
  animation-name: shake;
1561
1468
  }
1562
1469
 
1563
- .ScrollableTable .Scrollable .scrollbar {
1564
- top: 56px;
1470
+ .Scrollable {
1471
+ max-height: 250px;
1472
+ max-width: 250px;
1473
+ padding-right: 5px;
1474
+ position: relative;
1475
+ display: flex;
1476
+ flex-flow: column;
1477
+ align-items: stretch;
1478
+ overflow: hidden;
1565
1479
  }
1566
1480
 
1567
- .ScrollableTable .Table {
1568
- position: static;
1481
+ .Scrollable:hover > .scrollbar.auto {
1482
+ transition-delay: 0s;
1483
+ opacity: 1;
1569
1484
  }
1570
1485
 
1571
- .Switch {
1572
- display: inline-flex;
1573
- padding-top: 5px;
1486
+ .Scrollable .viewport {
1487
+ overflow-y: scroll;
1488
+ overflow-x: scroll;
1489
+ max-height: 100%;
1490
+ scroll-behavior: smooth;
1491
+ scrollbar-width: none;
1574
1492
  }
1575
1493
 
1576
- .Switch .switch-input {
1494
+ .Scrollable .viewport::-webkit-scrollbar {
1577
1495
  display: none;
1578
1496
  }
1579
1497
 
1580
- .Switch .switch-label {
1581
- position: relative;
1582
- display: inline-flex;
1583
- align-items: center;
1584
- min-width: 38px;
1585
- height: 24px;
1586
- cursor: pointer;
1587
- font-weight: 500;
1588
- text-align: left;
1589
- user-select: none;
1590
- margin: 0;
1591
- padding: 0;
1592
- padding-left: 44px;
1593
- box-sizing: border-box;
1498
+ .Scrollable.without-scroll-horizontal {
1499
+ max-width: unset;
1594
1500
  }
1595
1501
 
1596
- .Switch .switch-label:before, .Switch .switch-label:after {
1597
- content: "";
1598
- box-sizing: border-box;
1599
- position: absolute;
1600
- margin: 0;
1601
- outline: 0;
1602
- top: 50%;
1603
- transform: translate(0, -50%);
1604
- transition: all 0.3s ease;
1502
+ .Scrollable.without-scroll {
1503
+ padding-right: 0;
1504
+ max-height: unset;
1605
1505
  }
1606
1506
 
1607
- .Switch .switch-label:before {
1608
- left: 1px;
1609
- width: 34px;
1610
- height: 14px;
1611
- background-color: #9E9E9E;
1612
- border-radius: 8px;
1507
+ .Scrollable.without-scroll > .viewport {
1508
+ padding-right: 0;
1509
+ margin-right: 0;
1613
1510
  }
1614
1511
 
1615
- .Switch .switch-label:after {
1616
- left: 0;
1617
- width: 20px;
1618
- height: 20px;
1619
- background-color: #FAFAFA;
1620
- border-radius: 50%;
1621
- box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.14), 0 2px 2px 0 rgba(0, 0, 0, 0.098), 0 1px 5px 0 rgba(0, 0, 0, 0.084);
1512
+ .Scrollable.without-scroll > .scrollbar {
1513
+ visibility: hidden;
1622
1514
  }
1623
1515
 
1624
- .Switch .switch-label .toggle--on {
1625
- display: none;
1516
+ .Scrollable .scrollbar {
1517
+ position: absolute;
1518
+ right: 0px;
1519
+ top: 0px;
1520
+ width: 5px;
1521
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1522
+ transition-delay: 0.5s;
1523
+ z-index: 1;
1626
1524
  }
1627
1525
 
1628
- .Switch .switch-label .toggle--off {
1629
- display: inline-block;
1526
+ .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1527
+ opacity: 0;
1630
1528
  }
1631
1529
 
1632
- .Switch .switch-label .label {
1633
- margin-right: 5px;
1530
+ .Scrollable .scrollbar .thumb {
1531
+ background-color: rgba(0, 0, 0, 0.3);
1532
+ width: 5px;
1533
+ position: absolute;
1534
+ right: 0px;
1535
+ top: 0px;
1536
+ user-select: none;
1537
+ will-change: top;
1538
+ border-radius: 2px;
1634
1539
  }
1635
1540
 
1636
- .Switch .switch-input:checked + .switch-label:before {
1637
- background-color: #A5D6A7;
1541
+ .Scrollable .scrollbar .thumb:hover {
1542
+ background-color: rgba(0, 0, 0, 0.5);
1638
1543
  }
1639
1544
 
1640
- .Switch .switch-input:checked + .switch-label:after {
1641
- background-color: #4CAF50;
1642
- transform: translate(80%, -50%);
1545
+ .Scrollable .scrollbar .thumb:active {
1546
+ background-color: rgba(0, 0, 0, 0.7);
1643
1547
  }
1644
1548
 
1645
- .Switch .switch-input:checked + .switch-label .toggle--on {
1646
- display: inline-block;
1549
+ .Scrollable .scrollbar.horizontal {
1550
+ left: 0px;
1551
+ right: 0px;
1552
+ height: 5px;
1553
+ bottom: 0;
1554
+ width: unset;
1555
+ top: unset;
1647
1556
  }
1648
1557
 
1649
- .Switch .switch-input:checked + .switch-label .toggle--off {
1650
- display: none;
1558
+ .Scrollable .scrollbar.horizontal .thumb {
1559
+ height: 5px;
1560
+ left: 0px;
1561
+ bottom: 0px;
1562
+ will-change: left;
1651
1563
  }
1652
1564
 
1653
- .DNDContainer .DroppableList .Draggable {
1654
- transform: unset;
1655
- transition: unset;
1565
+ .Snackbar {
1566
+ transform: translateX(-50%);
1567
+ overflow: hidden;
1568
+ background-color: #323232;
1569
+ padding: 14px 24px 14px 24px;
1570
+ color: #fff;
1571
+ min-width: 288px;
1572
+ max-width: 568px;
1573
+ position: fixed;
1574
+ bottom: -50px;
1575
+ left: 50%;
1576
+ display: flex;
1577
+ flex-wrap: nowrap;
1578
+ align-items: center;
1579
+ opacity: 0;
1580
+ transition: bottom 0.25s ease, opacity 0.2s ease;
1581
+ border-radius: 4px;
1582
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1583
+ }
1584
+
1585
+ .Snackbar.shown {
1586
+ bottom: 15px;
1656
1587
  opacity: 1;
1657
1588
  }
1658
1589
 
1659
- .DNDContainer .DroppableList .Draggable.dragged {
1660
- transition: unset !important;
1590
+ .Snackbar .message {
1591
+ overflow: hidden;
1592
+ line-height: 1.2em;
1593
+ min-height: 1.2em;
1594
+ max-height: 2.4em;
1595
+ flex: 1;
1661
1596
  }
1662
1597
 
1663
- .DNDContainer .DroppableList.hover .Draggable {
1664
- transition: transform 0.2s ease-in;
1598
+ .Snackbar .action {
1599
+ text-transform: uppercase;
1600
+ font-weight: bold;
1601
+ margin-left: 48px;
1602
+ color: #bf3727;
1665
1603
  }
1666
1604
 
1667
- .DNDContainer .DroppableList.resetting .Draggable {
1668
- transition: transform 0.1s ease-in;
1605
+ .Snackbar .action a {
1606
+ text-decoration: none;
1607
+ color: #bf3727;
1608
+ }
1609
+
1610
+ .SpinningProgress {
1611
+ width: 48px;
1612
+ height: 48px;
1613
+ position: relative;
1614
+ margin: 0 auto;
1615
+ }
1616
+
1617
+ .SpinningProgress:before {
1618
+ content: "";
1619
+ display: block;
1620
+ padding-top: 100%;
1621
+ }
1622
+
1623
+ .SpinningProgress .circular {
1624
+ animation: rotate 2s linear infinite;
1625
+ height: 100%;
1626
+ transform-origin: center center;
1627
+ width: 100%;
1628
+ position: absolute;
1629
+ top: 0;
1630
+ bottom: 0;
1631
+ left: 0;
1632
+ right: 0;
1633
+ margin: auto;
1634
+ }
1635
+
1636
+ .SpinningProgress .line {
1637
+ stroke: black;
1638
+ stroke-width: 2px;
1639
+ stroke-dasharray: 1, 96;
1640
+ stroke-dashoffset: 0;
1641
+ animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
1642
+ }
1643
+
1644
+ @keyframes rotate {
1645
+ 100% {
1646
+ transform: rotate(360deg);
1647
+ }
1648
+ }
1649
+ @keyframes dash {
1650
+ 0% {
1651
+ stroke-dasharray: 1, 96;
1652
+ stroke-dashoffset: 0;
1653
+ }
1654
+ 50% {
1655
+ stroke-dasharray: 43, 96;
1656
+ stroke-dashoffset: -17px;
1657
+ }
1658
+ 100% {
1659
+ stroke-dasharray: 43, 96;
1660
+ stroke-dashoffset: -53px;
1661
+ }
1662
+ }
1663
+ .ScrollableTable .Scrollable .scrollbar {
1664
+ top: 56px;
1665
+ }
1666
+
1667
+ .ScrollableTable .Table {
1668
+ position: static;
1669
1669
  }
1670
1670
 
1671
1671
  .Table {