react-ui-basics 0.0.158 → 0.0.161

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 (82) hide show
  1. package/Animated.js +11 -10
  2. package/AutocompleteSelect.js +62 -63
  3. package/Button.js +21 -22
  4. package/Checkbox.js +7 -8
  5. package/CircleProgress.js +5 -6
  6. package/CommonFields.js +23 -15
  7. package/DNDContainer.js +47 -48
  8. package/DNDDraggable.js +8 -9
  9. package/DNDDroppable.js +8 -9
  10. package/Dialog.js +16 -17
  11. package/DropFileInput.js +4 -5
  12. package/DroppableHorizontalList.js +26 -27
  13. package/DroppableList.js +26 -27
  14. package/Dropzone.js +17 -18
  15. package/FilteredList.js +40 -41
  16. package/FloatingActionButton.js +4 -5
  17. package/FormUploadProgress.js +8 -9
  18. package/ImageGallery.js +121 -122
  19. package/MaterialIcon.js +5 -6
  20. package/Modal.js +17 -18
  21. package/ModalMenu.js +10 -11
  22. package/ReactConstants.d.ts +2 -0
  23. package/ReactConstants.js +2 -1
  24. package/ReactCreateElement.js +2 -0
  25. package/ReadyListener.js +9 -10
  26. package/Scrollable.js +50 -51
  27. package/ScrollableTable.js +4 -5
  28. package/Size.js +5 -6
  29. package/Snackbar.js +7 -8
  30. package/SpinningProgress.js +5 -6
  31. package/Switch.js +14 -15
  32. package/Table.js +26 -27
  33. package/TextField.js +17 -18
  34. package/Tools.d.ts +1 -0
  35. package/Tools.js +14 -12
  36. package/_virtual/_commonjsHelpers.js +2 -0
  37. package/_virtual/_react.js +2 -0
  38. package/_virtual/react-jsx-runtime.development.js +2 -0
  39. package/bundle.css +446 -446
  40. package/index.js +3 -3
  41. package/package.json +1 -1
  42. package/router/HistoryTools.js +2 -0
  43. package/router/Link.js +5 -6
  44. package/router/NavLink.js +5 -6
  45. package/router/Route.js +15 -16
  46. package/router/index.js +2 -3
  47. package/store/ProxyTools.js +2 -3
  48. package/store/Store.js +2 -3
  49. package/Animated.js.map +0 -1
  50. package/AutocompleteSelect.js.map +0 -1
  51. package/Button.js.map +0 -1
  52. package/Checkbox.js.map +0 -1
  53. package/CircleProgress.js.map +0 -1
  54. package/CommonFields.js.map +0 -1
  55. package/DNDContainer.js.map +0 -1
  56. package/DNDDraggable.js.map +0 -1
  57. package/DNDDroppable.js.map +0 -1
  58. package/Dialog.js.map +0 -1
  59. package/DropFileInput.js.map +0 -1
  60. package/DroppableHorizontalList.js.map +0 -1
  61. package/DroppableList.js.map +0 -1
  62. package/Dropzone.js.map +0 -1
  63. package/FilteredList.js.map +0 -1
  64. package/FloatingActionButton.js.map +0 -1
  65. package/FormUploadProgress.js.map +0 -1
  66. package/ImageGallery.js.map +0 -1
  67. package/MaterialIcon.js.map +0 -1
  68. package/Modal.js.map +0 -1
  69. package/ModalMenu.js.map +0 -1
  70. package/ReactConstants.js.map +0 -1
  71. package/ReactCreateElement.js.map +0 -1
  72. package/ReadyListener.js.map +0 -1
  73. package/Scrollable.js.map +0 -1
  74. package/ScrollableTable.js.map +0 -1
  75. package/Size.js.map +0 -1
  76. package/Snackbar.js.map +0 -1
  77. package/SpinningProgress.js.map +0 -1
  78. package/Switch.js.map +0 -1
  79. package/Table.js.map +0 -1
  80. package/TextField.js.map +0 -1
  81. package/Tools.js.map +0 -1
  82. package/index.js.map +0 -1
package/bundle.css CHANGED
@@ -458,28 +458,6 @@
458
458
  position: absolute;
459
459
  }
460
460
 
461
- .animated {
462
- transition: opacity 250ms ease;
463
- opacity: 0;
464
- }
465
-
466
- .animated.mounting, .animated.mounted {
467
- opacity: 1;
468
- }
469
-
470
- .CircleProgress {
471
- width: 48px;
472
- height: 48px;
473
- }
474
-
475
- .CircleProgress .line {
476
- stroke-width: 2px;
477
- stroke: black;
478
- stroke-linecap: square;
479
- fill: none;
480
- transition: stroke-dashoffset 0.2s ease;
481
- }
482
-
483
461
  .Checkbox {
484
462
  position: relative;
485
463
  white-space: pre;
@@ -547,36 +525,26 @@
547
525
  background: rgba(0, 0, 0, 0.26);
548
526
  }
549
527
 
550
- .DNDContainer {
551
- position: relative;
552
- }
553
-
554
- .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
555
- cursor: pointer;
528
+ .CircleProgress {
529
+ width: 48px;
530
+ height: 48px;
556
531
  }
557
532
 
558
- .DNDContainer .Draggable.placeholder {
559
- opacity: 0.2;
533
+ .CircleProgress .line {
534
+ stroke-width: 2px;
535
+ stroke: black;
536
+ stroke-linecap: square;
537
+ fill: none;
538
+ transition: stroke-dashoffset 0.2s ease;
560
539
  }
561
540
 
562
- .DNDContainer .Draggable.copy {
563
- position: absolute;
564
- box-sizing: border-box;
565
- will-change: transform;
541
+ .animated {
542
+ transition: opacity 250ms ease;
566
543
  opacity: 0;
567
544
  }
568
545
 
569
- .DNDContainer .Draggable.dragged {
570
- z-index: 10;
571
- }
572
-
573
- .DNDContainer .overlay {
574
- position: absolute;
575
- top: 0;
576
- left: 0;
577
- right: 0;
578
- bottom: 0;
579
- pointer-events: none;
546
+ .animated.mounting, .animated.mounted {
547
+ opacity: 1;
580
548
  }
581
549
 
582
550
  .DialogModal {
@@ -621,86 +589,112 @@
621
589
  margin-bottom: 0;
622
590
  }
623
591
 
624
- .Switch {
625
- display: inline-flex;
626
- padding-top: 5px;
592
+ .DropFileInput {
593
+ flex-grow: 1;
627
594
  }
628
595
 
629
- .Switch .switch-input {
630
- display: none;
596
+ .DropFileInput .Dropzone {
597
+ border: 1px dashed #808080;
598
+ padding: 12px;
599
+ display: flex;
600
+ flex-flow: row nowrap;
601
+ justify-content: center;
602
+ align-items: center;
603
+ color: gray;
604
+ cursor: pointer;
605
+ border-radius: 3px;
606
+ font-weight: normal;
607
+ line-height: 22px;
608
+ font-size: 14px;
609
+ color: #7E7E7E;
610
+ max-width: 100%;
611
+ word-break: break-all;
612
+ word-break: break-word;
631
613
  }
632
614
 
633
- .Switch .switch-label {
615
+ .DropFileInput .Dropzone .icon.withText {
616
+ margin-right: 10px;
617
+ }
618
+
619
+ .FilteredList {
620
+ max-height: 250px;
634
621
  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;
647
622
  }
648
623
 
649
- .Switch .switch-label:before, .Switch .switch-label:after {
650
- content: "";
651
- box-sizing: border-box;
624
+ .FilteredList.popup {
625
+ padding: 0;
626
+ visibility: hidden;
652
627
  position: absolute;
653
- margin: 0;
654
- outline: 0;
655
- top: 50%;
656
- transform: translate(0, -50%);
657
- transition: all 0.3s ease;
628
+ background: white;
629
+ z-index: 4;
630
+ 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);
631
+ transition: all 0.2s ease-out;
632
+ top: calc(100% + 4px);
633
+ opacity: 0;
634
+ border-radius: 2px;
658
635
  }
659
636
 
660
- .Switch .switch-label:before {
661
- left: 1px;
662
- width: 34px;
663
- height: 14px;
664
- background-color: #9E9E9E;
665
- border-radius: 8px;
637
+ .FilteredList.popup.visible {
638
+ opacity: 1;
639
+ visibility: visible;
666
640
  }
667
641
 
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);
642
+ .FilteredList.inline {
643
+ max-height: 225px;
644
+ margin-top: 5px;
675
645
  }
676
646
 
677
- .Switch .switch-label .toggle--on {
678
- display: none;
647
+ .FilteredList .child {
648
+ display: flex;
649
+ flex-flow: row nowrap;
650
+ align-items: center;
651
+ white-space: nowrap;
652
+ font-size: 14px;
653
+ color: #222222;
654
+ height: 30px;
655
+ padding: 5px 10px;
656
+ padding-right: 15px;
657
+ cursor: pointer;
658
+ overflow: hidden;
659
+ transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
660
+ border-left: 5px solid #4AC263;
661
+ padding-left: 15px;
662
+ margin-left: -5px;
679
663
  }
680
664
 
681
- .Switch .switch-label .toggle--off {
682
- display: inline-block;
665
+ .FilteredList .child.hidden {
666
+ height: 0 !important;
667
+ padding: 0 !important;
683
668
  }
684
669
 
685
- .Switch .switch-label .label {
686
- margin-right: 5px;
670
+ .FilteredList .child.selected {
671
+ background-color: #F0F0F0;
672
+ padding-left: 10px;
673
+ margin-left: 0px;
687
674
  }
688
675
 
689
- .Switch .switch-input:checked + .switch-label:before {
690
- background-color: #A5D6A7;
676
+ .FilteredList .child.active {
677
+ background-color: #eeeeee;
691
678
  }
692
679
 
693
- .Switch .switch-input:checked + .switch-label:after {
694
- background-color: #4CAF50;
695
- transform: translate(80%, -50%);
680
+ .FilteredList .child {
681
+ margin-top: 8px;
696
682
  }
697
683
 
698
- .Switch .switch-input:checked + .switch-label .toggle--on {
699
- display: inline-block;
684
+ .FilteredList .child.hidden {
685
+ margin-top: 0;
700
686
  }
701
687
 
702
- .Switch .switch-input:checked + .switch-label .toggle--off {
703
- display: none;
688
+ .FilteredList .child:not(.hidden) ~ .child {
689
+ margin-top: 0;
690
+ }
691
+
692
+ .FilteredList .child:not(.hidden) ~ .child:last-child {
693
+ margin-bottom: 8px;
694
+ }
695
+
696
+ .FilteredList .child:not(.hidden):last-child {
697
+ margin-bottom: 8px;
704
698
  }
705
699
 
706
700
  .Dropzone {
@@ -763,135 +757,129 @@
763
757
  z-index: 1;
764
758
  }
765
759
 
766
- .ModalMenu {
767
- position: absolute;
768
- top: 10px;
769
- right: 50px;
770
- }
771
-
772
- .ModalMenu .material-icons {
773
- color: #818181;
760
+ .DNDContainer {
761
+ position: relative;
774
762
  }
775
763
 
776
- .ModalMenu .Button.animated {
777
- position: absolute;
778
- transition: opacity 150ms ease-in, right 200ms ease-in;
779
- opacity: 0;
780
- right: 0;
781
- top: 0;
764
+ .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
765
+ cursor: pointer;
782
766
  }
783
767
 
784
- .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
785
- opacity: 1;
768
+ .DNDContainer .Draggable.placeholder {
769
+ opacity: 0.2;
786
770
  }
787
771
 
788
- .ModalMenu .Button.animated.unmounting {
789
- transition: opacity 100ms ease-out, right 200ms ease-out;
772
+ .DNDContainer .Draggable.copy {
773
+ position: absolute;
774
+ box-sizing: border-box;
775
+ will-change: transform;
776
+ opacity: 0;
790
777
  }
791
778
 
792
- .ModalMenu .Button.active {
793
- background: #EBEBEB;
779
+ .DNDContainer .Draggable.dragged {
780
+ z-index: 10;
794
781
  }
795
782
 
796
- .ModalMenu .separator {
797
- height: 24px;
798
- width: 1px;
799
- background-color: #D9D9D9;
800
- margin-left: 4px;
783
+ .DNDContainer .overlay {
784
+ position: absolute;
785
+ top: 0;
786
+ left: 0;
787
+ right: 0;
788
+ bottom: 0;
789
+ pointer-events: none;
801
790
  }
802
791
 
803
- .Button.FloatingActionButton {
792
+ .FormUploadProgress {
804
793
  position: absolute;
805
- right: 16px;
806
- bottom: 16px;
807
- width: 56px;
808
- height: 56px;
809
- padding: 16px;
810
- transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
794
+ left: 0;
795
+ right: 0;
796
+ top: 0;
797
+ bottom: 0;
798
+ background-color: rgba(255, 255, 255, 0.6);
799
+ z-index: 2;
811
800
  }
812
801
 
813
- .Button.FloatingActionButton.raised {
814
- transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
802
+ .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
803
+ transition-delay: 500ms;
815
804
  }
816
805
 
817
- .Button.FloatingActionButton.mini {
818
- width: 40px;
819
- height: 40px;
820
- padding: 8px;
821
- }
822
-
823
- .Button.FloatingActionButton.hidden {
824
- bottom: -100px;
806
+ .FormUploadProgress .wrapper {
807
+ position: sticky;
808
+ top: 40%;
809
+ margin-top: 40%;
810
+ margin-left: 50%;
811
+ transform: translateX(-50%);
812
+ display: flex;
813
+ flex-flow: column;
814
+ justify-content: center;
815
+ align-items: center;
825
816
  }
826
817
 
827
- .Modal {
828
- display: block;
829
- position: fixed;
818
+ .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
819
+ position: absolute;
820
+ width: 107px;
821
+ height: 107px;
830
822
  top: 0;
831
823
  left: 0;
832
- right: 0;
833
- bottom: 100%;
834
- overflow-y: scroll;
835
- transition: bottom 0ms linear;
836
- transition-delay: 0.2s;
837
824
  }
838
825
 
839
- .Modal.show {
840
- transition-delay: 0s;
841
- bottom: 0;
826
+ .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
827
+ stroke: #2196F3;
842
828
  }
843
829
 
844
- .Modal > .overlay {
845
- position: fixed;
846
- top: 0;
847
- bottom: 100%;
848
- left: 0;
849
- right: 0;
850
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
851
- opacity: 0;
852
- background-color: black;
853
- pointer-events: none;
830
+ .FormUploadProgress .wrapper > .progress {
831
+ width: 107px;
832
+ height: 107px;
833
+ min-height: 107px;
834
+ display: flex;
835
+ justify-content: center;
836
+ align-items: center;
837
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
838
+ border-radius: 50%;
839
+ background: white;
840
+ position: relative;
854
841
  }
855
842
 
856
- .Modal > .overlay.show {
857
- opacity: 0.5;
858
- bottom: 0;
843
+ .FormUploadProgress .wrapper > .progress > .value {
844
+ display: inline-block;
845
+ margin-top: 5px;
846
+ font-weight: bold;
847
+ line-height: 16px;
848
+ font-size: 13px;
849
+ text-align: center;
850
+ color: #818181;
859
851
  }
860
852
 
861
- .Modal > .content {
862
- left: 50%;
863
- top: 10vh;
864
- margin-bottom: 10vh;
865
- font-size: 16px;
866
- padding: 0;
867
- opacity: 0;
868
- transition: opacity 0.25s ease, transform 0.25s ease;
869
- transform: scaleY(0) translateY(-200px) translateX(-50%);
870
- transform-origin: top;
871
- position: absolute;
872
- border-radius: 2px;
873
- box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
853
+ .FormUploadProgress .wrapper .cancel {
854
+ min-width: 107px;
855
+ margin-top: 20px;
856
+ background-color: white;
857
+ color: #F96B5C;
858
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
874
859
  }
875
860
 
876
- .Modal > .content.show {
877
- opacity: 1;
878
- transform: scaleY(1) translateY(0px) translateX(-50%);
861
+ .Button.FloatingActionButton {
862
+ position: absolute;
863
+ right: 16px;
864
+ bottom: 16px;
865
+ width: 56px;
866
+ height: 56px;
867
+ padding: 16px;
868
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
879
869
  }
880
870
 
881
- .Modal > .content > .Scrollable {
882
- overflow: visible;
883
- max-height: 80vh;
871
+ .Button.FloatingActionButton.raised {
872
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
884
873
  }
885
874
 
886
- .Modal > .content > .Scrollable > .viewport {
887
- min-width: 10px;
888
- min-height: 10px;
875
+ .Button.FloatingActionButton.mini {
876
+ width: 40px;
877
+ height: 40px;
878
+ padding: 8px;
889
879
  }
890
880
 
891
- .Modal > .content > .Button.close {
892
- top: 10px;
893
- right: 10px;
894
- position: absolute;
881
+ .Button.FloatingActionButton.hidden {
882
+ bottom: -100px;
895
883
  }
896
884
 
897
885
  .ImageGallery {
@@ -1129,199 +1117,206 @@
1129
1117
  font-size: 24px;
1130
1118
  }
1131
1119
 
1132
- .FormUploadProgress {
1120
+ .ModalMenu {
1133
1121
  position: absolute;
1134
- left: 0;
1122
+ top: 10px;
1123
+ right: 50px;
1124
+ }
1125
+
1126
+ .ModalMenu .material-icons {
1127
+ color: #818181;
1128
+ }
1129
+
1130
+ .ModalMenu .Button.animated {
1131
+ position: absolute;
1132
+ transition: opacity 150ms ease-in, right 200ms ease-in;
1133
+ opacity: 0;
1135
1134
  right: 0;
1136
1135
  top: 0;
1137
- bottom: 0;
1138
- background-color: rgba(255, 255, 255, 0.6);
1139
- z-index: 2;
1140
1136
  }
1141
1137
 
1142
- .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
1143
- transition-delay: 500ms;
1138
+ .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1139
+ opacity: 1;
1144
1140
  }
1145
1141
 
1146
- .FormUploadProgress .wrapper {
1147
- position: sticky;
1148
- top: 40%;
1149
- margin-top: 40%;
1150
- margin-left: 50%;
1151
- transform: translateX(-50%);
1152
- display: flex;
1153
- flex-flow: column;
1154
- justify-content: center;
1155
- align-items: center;
1142
+ .ModalMenu .Button.animated.unmounting {
1143
+ transition: opacity 100ms ease-out, right 200ms ease-out;
1156
1144
  }
1157
1145
 
1158
- .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
1159
- position: absolute;
1160
- width: 107px;
1161
- height: 107px;
1162
- top: 0;
1163
- left: 0;
1146
+ .ModalMenu .Button.active {
1147
+ background: #EBEBEB;
1164
1148
  }
1165
1149
 
1166
- .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
1167
- stroke: #2196F3;
1150
+ .ModalMenu .separator {
1151
+ height: 24px;
1152
+ width: 1px;
1153
+ background-color: #D9D9D9;
1154
+ margin-left: 4px;
1168
1155
  }
1169
1156
 
1170
- .FormUploadProgress .wrapper > .progress {
1171
- width: 107px;
1172
- height: 107px;
1173
- min-height: 107px;
1174
- display: flex;
1175
- justify-content: center;
1176
- align-items: center;
1177
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1178
- border-radius: 50%;
1179
- background: white;
1180
- position: relative;
1157
+ .Modal {
1158
+ display: block;
1159
+ position: fixed;
1160
+ top: 0;
1161
+ left: 0;
1162
+ right: 0;
1163
+ bottom: 100%;
1164
+ overflow-y: scroll;
1165
+ transition: bottom 0ms linear;
1166
+ transition-delay: 0.2s;
1181
1167
  }
1182
1168
 
1183
- .FormUploadProgress .wrapper > .progress > .value {
1184
- display: inline-block;
1185
- margin-top: 5px;
1186
- font-weight: bold;
1187
- line-height: 16px;
1188
- font-size: 13px;
1189
- text-align: center;
1190
- color: #818181;
1169
+ .Modal.show {
1170
+ transition-delay: 0s;
1171
+ bottom: 0;
1191
1172
  }
1192
1173
 
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);
1174
+ .Modal > .overlay {
1175
+ position: fixed;
1176
+ top: 0;
1177
+ bottom: 100%;
1178
+ left: 0;
1179
+ right: 0;
1180
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1181
+ opacity: 0;
1182
+ background-color: black;
1183
+ pointer-events: none;
1199
1184
  }
1200
1185
 
1201
- .FilteredList {
1202
- max-height: 250px;
1203
- position: relative;
1186
+ .Modal > .overlay.show {
1187
+ opacity: 0.5;
1188
+ bottom: 0;
1204
1189
  }
1205
1190
 
1206
- .FilteredList.popup {
1191
+ .Modal > .content {
1192
+ left: 50%;
1193
+ top: 10vh;
1194
+ margin-bottom: 10vh;
1195
+ font-size: 16px;
1207
1196
  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
1197
  opacity: 0;
1198
+ transition: opacity 0.25s ease, transform 0.25s ease;
1199
+ transform: scaleY(0) translateY(-200px) translateX(-50%);
1200
+ transform-origin: top;
1201
+ position: absolute;
1216
1202
  border-radius: 2px;
1203
+ box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1217
1204
  }
1218
1205
 
1219
- .FilteredList.popup.visible {
1206
+ .Modal > .content.show {
1220
1207
  opacity: 1;
1221
- visibility: visible;
1208
+ transform: scaleY(1) translateY(0px) translateX(-50%);
1222
1209
  }
1223
1210
 
1224
- .FilteredList.inline {
1225
- max-height: 225px;
1226
- margin-top: 5px;
1211
+ .Modal > .content > .Scrollable {
1212
+ overflow: visible;
1213
+ max-height: 80vh;
1227
1214
  }
1228
1215
 
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;
1216
+ .Modal > .content > .Scrollable > .viewport {
1217
+ min-width: 10px;
1218
+ min-height: 10px;
1245
1219
  }
1246
1220
 
1247
- .FilteredList .child.hidden {
1248
- height: 0 !important;
1249
- padding: 0 !important;
1221
+ .Modal > .content > .Button.close {
1222
+ top: 10px;
1223
+ right: 10px;
1224
+ position: absolute;
1250
1225
  }
1251
1226
 
1252
- .FilteredList .child.selected {
1253
- background-color: #F0F0F0;
1254
- padding-left: 10px;
1255
- margin-left: 0px;
1227
+ .Scrollable {
1228
+ max-height: 250px;
1229
+ max-width: 250px;
1230
+ padding-right: 5px;
1231
+ position: relative;
1232
+ display: flex;
1233
+ flex-flow: column;
1234
+ align-items: stretch;
1235
+ overflow: hidden;
1256
1236
  }
1257
1237
 
1258
- .FilteredList .child.active {
1259
- background-color: #eeeeee;
1238
+ .Scrollable:hover > .scrollbar.auto {
1239
+ transition-delay: 0s;
1240
+ opacity: 1;
1260
1241
  }
1261
1242
 
1262
- .FilteredList .child {
1263
- margin-top: 8px;
1243
+ .Scrollable .viewport {
1244
+ overflow-y: scroll;
1245
+ overflow-x: scroll;
1246
+ max-height: 100%;
1247
+ scroll-behavior: smooth;
1248
+ scrollbar-width: none;
1264
1249
  }
1265
1250
 
1266
- .FilteredList .child.hidden {
1267
- margin-top: 0;
1251
+ .Scrollable .viewport::-webkit-scrollbar {
1252
+ display: none;
1268
1253
  }
1269
1254
 
1270
- .FilteredList .child:not(.hidden) ~ .child {
1271
- margin-top: 0;
1255
+ .Scrollable.without-scroll-horizontal {
1256
+ max-width: unset;
1272
1257
  }
1273
1258
 
1274
- .FilteredList .child:not(.hidden) ~ .child:last-child {
1275
- margin-bottom: 8px;
1259
+ .Scrollable.without-scroll {
1260
+ padding-right: 0;
1261
+ max-height: unset;
1276
1262
  }
1277
1263
 
1278
- .FilteredList .child:not(.hidden):last-child {
1279
- margin-bottom: 8px;
1264
+ .Scrollable.without-scroll > .viewport {
1265
+ padding-right: 0;
1266
+ margin-right: 0;
1280
1267
  }
1281
1268
 
1282
- .DNDContainer .DroppableList .Draggable {
1283
- transform: unset;
1284
- transition: unset;
1285
- opacity: 1;
1269
+ .Scrollable.without-scroll > .scrollbar {
1270
+ visibility: hidden;
1286
1271
  }
1287
1272
 
1288
- .DNDContainer .DroppableList .Draggable.dragged {
1289
- transition: unset !important;
1273
+ .Scrollable .scrollbar {
1274
+ position: absolute;
1275
+ right: 0px;
1276
+ top: 0px;
1277
+ width: 5px;
1278
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1279
+ transition-delay: 0.5s;
1280
+ z-index: 1;
1290
1281
  }
1291
1282
 
1292
- .DNDContainer .DroppableList.hover .Draggable {
1293
- transition: transform 0.2s ease-in;
1283
+ .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1284
+ opacity: 0;
1294
1285
  }
1295
1286
 
1296
- .DNDContainer .DroppableList.resetting .Draggable {
1297
- transition: transform 0.1s ease-in;
1287
+ .Scrollable .scrollbar .thumb {
1288
+ background-color: rgba(0, 0, 0, 0.3);
1289
+ width: 5px;
1290
+ position: absolute;
1291
+ right: 0px;
1292
+ top: 0px;
1293
+ user-select: none;
1294
+ will-change: top;
1295
+ border-radius: 2px;
1298
1296
  }
1299
1297
 
1300
- .DropFileInput {
1301
- flex-grow: 1;
1298
+ .Scrollable .scrollbar .thumb:hover {
1299
+ background-color: rgba(0, 0, 0, 0.5);
1302
1300
  }
1303
1301
 
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;
1302
+ .Scrollable .scrollbar .thumb:active {
1303
+ background-color: rgba(0, 0, 0, 0.7);
1321
1304
  }
1322
1305
 
1323
- .DropFileInput .Dropzone .icon.withText {
1324
- margin-right: 10px;
1306
+ .Scrollable .scrollbar.horizontal {
1307
+ left: 0px;
1308
+ right: 0px;
1309
+ height: 5px;
1310
+ bottom: 0;
1311
+ width: unset;
1312
+ top: unset;
1313
+ }
1314
+
1315
+ .Scrollable .scrollbar.horizontal .thumb {
1316
+ height: 5px;
1317
+ left: 0px;
1318
+ bottom: 0px;
1319
+ will-change: left;
1325
1320
  }
1326
1321
 
1327
1322
  .TextField {
@@ -1467,101 +1462,59 @@
1467
1462
  animation-name: shake;
1468
1463
  }
1469
1464
 
1470
- .Scrollable {
1471
- max-height: 250px;
1472
- max-width: 250px;
1473
- padding-right: 5px;
1465
+ .SpinningProgress {
1466
+ width: 48px;
1467
+ height: 48px;
1474
1468
  position: relative;
1475
- display: flex;
1476
- flex-flow: column;
1477
- align-items: stretch;
1478
- overflow: hidden;
1479
- }
1480
-
1481
- .Scrollable:hover > .scrollbar.auto {
1482
- transition-delay: 0s;
1483
- opacity: 1;
1484
- }
1485
-
1486
- .Scrollable .viewport {
1487
- overflow-y: scroll;
1488
- overflow-x: scroll;
1489
- max-height: 100%;
1490
- scroll-behavior: smooth;
1491
- scrollbar-width: none;
1492
- }
1493
-
1494
- .Scrollable .viewport::-webkit-scrollbar {
1495
- display: none;
1496
- }
1497
-
1498
- .Scrollable.without-scroll-horizontal {
1499
- max-width: unset;
1500
- }
1501
-
1502
- .Scrollable.without-scroll {
1503
- padding-right: 0;
1504
- max-height: unset;
1505
- }
1506
-
1507
- .Scrollable.without-scroll > .viewport {
1508
- padding-right: 0;
1509
- margin-right: 0;
1510
- }
1511
-
1512
- .Scrollable.without-scroll > .scrollbar {
1513
- visibility: hidden;
1514
- }
1515
-
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;
1469
+ margin: 0 auto;
1524
1470
  }
1525
1471
 
1526
- .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1527
- opacity: 0;
1472
+ .SpinningProgress:before {
1473
+ content: "";
1474
+ display: block;
1475
+ padding-top: 100%;
1528
1476
  }
1529
1477
 
1530
- .Scrollable .scrollbar .thumb {
1531
- background-color: rgba(0, 0, 0, 0.3);
1532
- width: 5px;
1478
+ .SpinningProgress .circular {
1479
+ animation: rotate 2s linear infinite;
1480
+ height: 100%;
1481
+ transform-origin: center center;
1482
+ width: 100%;
1533
1483
  position: absolute;
1534
- right: 0px;
1535
- top: 0px;
1536
- user-select: none;
1537
- will-change: top;
1538
- border-radius: 2px;
1539
- }
1540
-
1541
- .Scrollable .scrollbar .thumb:hover {
1542
- background-color: rgba(0, 0, 0, 0.5);
1484
+ top: 0;
1485
+ bottom: 0;
1486
+ left: 0;
1487
+ right: 0;
1488
+ margin: auto;
1543
1489
  }
1544
1490
 
1545
- .Scrollable .scrollbar .thumb:active {
1546
- background-color: rgba(0, 0, 0, 0.7);
1491
+ .SpinningProgress .line {
1492
+ stroke: black;
1493
+ stroke-width: 2px;
1494
+ stroke-dasharray: 1, 96;
1495
+ stroke-dashoffset: 0;
1496
+ animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
1547
1497
  }
1548
1498
 
1549
- .Scrollable .scrollbar.horizontal {
1550
- left: 0px;
1551
- right: 0px;
1552
- height: 5px;
1553
- bottom: 0;
1554
- width: unset;
1555
- top: unset;
1499
+ @keyframes rotate {
1500
+ 100% {
1501
+ transform: rotate(360deg);
1502
+ }
1556
1503
  }
1557
-
1558
- .Scrollable .scrollbar.horizontal .thumb {
1559
- height: 5px;
1560
- left: 0px;
1561
- bottom: 0px;
1562
- will-change: left;
1504
+ @keyframes dash {
1505
+ 0% {
1506
+ stroke-dasharray: 1, 96;
1507
+ stroke-dashoffset: 0;
1508
+ }
1509
+ 50% {
1510
+ stroke-dasharray: 43, 96;
1511
+ stroke-dashoffset: -17px;
1512
+ }
1513
+ 100% {
1514
+ stroke-dasharray: 43, 96;
1515
+ stroke-dashoffset: -53px;
1516
+ }
1563
1517
  }
1564
-
1565
1518
  .Snackbar {
1566
1519
  transform: translateX(-50%);
1567
1520
  overflow: hidden;
@@ -1607,59 +1560,106 @@
1607
1560
  color: #bf3727;
1608
1561
  }
1609
1562
 
1610
- .SpinningProgress {
1611
- width: 48px;
1612
- height: 48px;
1563
+ .Switch {
1564
+ display: inline-flex;
1565
+ padding-top: 5px;
1566
+ }
1567
+
1568
+ .Switch .switch-input {
1569
+ display: none;
1570
+ }
1571
+
1572
+ .Switch .switch-label {
1613
1573
  position: relative;
1614
- margin: 0 auto;
1574
+ display: inline-flex;
1575
+ align-items: center;
1576
+ min-width: 38px;
1577
+ height: 24px;
1578
+ cursor: pointer;
1579
+ font-weight: 500;
1580
+ text-align: left;
1581
+ user-select: none;
1582
+ margin: 0;
1583
+ padding: 0;
1584
+ padding-left: 44px;
1585
+ box-sizing: border-box;
1615
1586
  }
1616
1587
 
1617
- .SpinningProgress:before {
1588
+ .Switch .switch-label:before, .Switch .switch-label:after {
1618
1589
  content: "";
1619
- display: block;
1620
- padding-top: 100%;
1590
+ box-sizing: border-box;
1591
+ position: absolute;
1592
+ margin: 0;
1593
+ outline: 0;
1594
+ top: 50%;
1595
+ transform: translate(0, -50%);
1596
+ transition: all 0.3s ease;
1621
1597
  }
1622
1598
 
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;
1599
+ .Switch .switch-label:before {
1600
+ left: 1px;
1601
+ width: 34px;
1602
+ height: 14px;
1603
+ background-color: #9E9E9E;
1604
+ border-radius: 8px;
1605
+ }
1606
+
1607
+ .Switch .switch-label:after {
1631
1608
  left: 0;
1632
- right: 0;
1633
- margin: auto;
1609
+ width: 20px;
1610
+ height: 20px;
1611
+ background-color: #FAFAFA;
1612
+ border-radius: 50%;
1613
+ 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);
1634
1614
  }
1635
1615
 
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;
1616
+ .Switch .switch-label .toggle--on {
1617
+ display: none;
1642
1618
  }
1643
1619
 
1644
- @keyframes rotate {
1645
- 100% {
1646
- transform: rotate(360deg);
1647
- }
1620
+ .Switch .switch-label .toggle--off {
1621
+ display: inline-block;
1648
1622
  }
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
- }
1623
+
1624
+ .Switch .switch-label .label {
1625
+ margin-right: 5px;
1626
+ }
1627
+
1628
+ .Switch .switch-input:checked + .switch-label:before {
1629
+ background-color: #A5D6A7;
1630
+ }
1631
+
1632
+ .Switch .switch-input:checked + .switch-label:after {
1633
+ background-color: #4CAF50;
1634
+ transform: translate(80%, -50%);
1635
+ }
1636
+
1637
+ .Switch .switch-input:checked + .switch-label .toggle--on {
1638
+ display: inline-block;
1662
1639
  }
1640
+
1641
+ .Switch .switch-input:checked + .switch-label .toggle--off {
1642
+ display: none;
1643
+ }
1644
+
1645
+ .DNDContainer .DroppableList .Draggable {
1646
+ transform: unset;
1647
+ transition: unset;
1648
+ opacity: 1;
1649
+ }
1650
+
1651
+ .DNDContainer .DroppableList .Draggable.dragged {
1652
+ transition: unset !important;
1653
+ }
1654
+
1655
+ .DNDContainer .DroppableList.hover .Draggable {
1656
+ transition: transform 0.2s ease-in;
1657
+ }
1658
+
1659
+ .DNDContainer .DroppableList.resetting .Draggable {
1660
+ transition: transform 0.1s ease-in;
1661
+ }
1662
+
1663
1663
  .ScrollableTable .Scrollable .scrollbar {
1664
1664
  top: 56px;
1665
1665
  }