react-ui-basics 0.0.234 → 0.0.235

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/bundle.css CHANGED
@@ -1,3 +1,12 @@
1
+ .animated {
2
+ transition: opacity 250ms ease;
3
+ opacity: 0;
4
+ }
5
+
6
+ .animated.mounting, .animated.mounted {
7
+ opacity: 1;
8
+ }
9
+
1
10
  .AutocompleteSelect {
2
11
  display: inline-flex;
3
12
  flex-flow: column;
@@ -293,15 +302,6 @@
293
302
  position: absolute;
294
303
  }
295
304
 
296
- .animated {
297
- transition: opacity 250ms ease;
298
- opacity: 0;
299
- }
300
-
301
- .animated.mounting, .animated.mounted {
302
- opacity: 1;
303
- }
304
-
305
305
  .ImageGallery {
306
306
  position: fixed;
307
307
  top: 0;
@@ -555,148 +555,6 @@
555
555
  transition: transform 0.1s ease-in;
556
556
  }
557
557
 
558
- .CalendarMonthView {
559
- display: flex;
560
- flex-flow: column nowrap;
561
- height: 100%;
562
- }
563
-
564
- .CalendarMonthView > .row {
565
- display: flex;
566
- flex-flow: row nowrap;
567
- }
568
-
569
- .CalendarMonthView .days {
570
- flex-grow: 1;
571
- position: relative;
572
- }
573
-
574
- .CalendarMonthView .day, .CalendarMonthView .header {
575
- flex-grow: 1;
576
- flex-basis: 1px;
577
- }
578
-
579
- .CalendarMonthView .day {
580
- height: 100%;
581
- }
582
-
583
- .DatePicker {
584
- position: relative;
585
- }
586
-
587
- .DatePicker > .TextField {
588
- width: 200px;
589
- margin-bottom: 0px;
590
- }
591
-
592
- .DatePicker > .TextField input {
593
- text-align: center;
594
- }
595
-
596
- .calendar {
597
- user-select: none;
598
- position: absolute;
599
- top: 33px;
600
- z-index: 10;
601
- box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
602
- border-radius: 4px;
603
- overflow: hidden;
604
- transition: 0.2s all ease;
605
- opacity: 0;
606
- visibility: hidden;
607
- }
608
-
609
- .calendar.focused {
610
- opacity: 1;
611
- visibility: visible;
612
- }
613
-
614
- .calendar .monthSelect {
615
- align-items: center;
616
- margin-bottom: 0;
617
- background: white;
618
- font-size: 12px;
619
- color: rgb(170, 170, 170);
620
- padding-right: 16px;
621
- padding-left: 16px;
622
- height: 40px;
623
- }
624
-
625
- .calendar .monthSelect span {
626
- margin-right: auto;
627
- }
628
-
629
- .calendar .monthSelect .Button {
630
- min-width: 25px;
631
- min-height: 25px;
632
- }
633
-
634
- .calendar .monthSelect .Button .material-icons {
635
- font-size: 16px;
636
- }
637
-
638
- .calendar .monthSelect .Button.disabled {
639
- background: transparent;
640
- }
641
-
642
- .calendar .CalendarMonthView {
643
- background: white;
644
- }
645
-
646
- .calendar .CalendarMonthView .headers, .calendar .CalendarMonthView .days {
647
- margin-bottom: 0;
648
- }
649
-
650
- .calendar .CalendarMonthView .header {
651
- font-size: 12px;
652
- font-weight: bold;
653
- text-align: center;
654
- text-transform: uppercase;
655
- margin: 5px;
656
- }
657
-
658
- .calendar .CalendarMonthView .day {
659
- font-size: 10px;
660
- }
661
-
662
- .calendar .CalendarMonthView .day.notSelectedMonth {
663
- color: #969696;
664
- }
665
-
666
- .calendar .CalendarMonthView .day span {
667
- display: inline-flex;
668
- justify-content: center;
669
- align-items: center;
670
- border-radius: 50%;
671
- width: 25px;
672
- height: 25px;
673
- margin: 5px;
674
- transition: 0.2s all ease;
675
- cursor: pointer;
676
- }
677
-
678
- .calendar .CalendarMonthView .day span:hover {
679
- background-color: #e6e6e6;
680
- }
681
-
682
- .calendar .CalendarMonthView .day span.inactive {
683
- color: lightgray;
684
- cursor: unset;
685
- }
686
-
687
- .calendar .CalendarMonthView .day span.inactive:hover {
688
- background: unset;
689
- }
690
-
691
- .calendar .CalendarMonthView .day span.selected {
692
- color: white;
693
- background-color: #2196F3;
694
- }
695
-
696
- .calendar .CalendarMonthView .day span.selected:hover {
697
- background-color: #51adf6;
698
- }
699
-
700
558
  .Button {
701
559
  position: relative;
702
560
  min-width: 64px;
@@ -863,175 +721,146 @@
863
721
  border: 0;
864
722
  }
865
723
 
866
- .DialogModal {
867
- overflow: hidden;
868
- }
869
-
870
- .DialogModal .content {
871
- top: 20vh;
872
- }
873
-
874
- .Dialog {
875
- background-color: white;
876
- min-width: 460px;
877
- max-width: 40vw;
878
- padding: 15px;
724
+ .CalendarMonthView {
725
+ display: flex;
726
+ flex-flow: column nowrap;
727
+ height: 100%;
879
728
  }
880
729
 
881
- .Dialog .title {
882
- margin-bottom: 15px;
883
- padding: 20px 50px 0px 30px;
884
- font-size: 1.25rem;
885
- line-height: 2rem;
886
- font-weight: 400;
887
- letter-spacing: 0.0125em;
730
+ .CalendarMonthView > .row {
731
+ display: flex;
732
+ flex-flow: row nowrap;
888
733
  }
889
734
 
890
- .Dialog .description {
891
- color: rgba(0, 0, 0, 0.54);
892
- font-size: 1rem;
893
- line-height: 1.5rem;
894
- font-weight: 400;
895
- letter-spacing: 0.03125em;
896
- margin-top: 20px;
897
- padding: 0 24px 24px;
735
+ .CalendarMonthView .days {
736
+ flex-grow: 1;
737
+ position: relative;
898
738
  }
899
739
 
900
- .Dialog > div.row {
901
- margin-bottom: 15px;
740
+ .CalendarMonthView .day, .CalendarMonthView .header {
741
+ flex-grow: 1;
742
+ flex-basis: 1px;
902
743
  }
903
744
 
904
- .Dialog > div.row:last-child {
905
- margin-bottom: 0;
745
+ .CalendarMonthView .day {
746
+ height: 100%;
906
747
  }
907
748
 
908
- .DNDContainer {
749
+ .DatePicker {
909
750
  position: relative;
910
751
  }
911
752
 
912
- .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
913
- cursor: pointer;
753
+ .DatePicker > .TextField {
754
+ width: 200px;
755
+ margin-bottom: 0px;
914
756
  }
915
757
 
916
- .DNDContainer .Draggable.placeholder {
917
- opacity: 0.2;
758
+ .DatePicker > .TextField input {
759
+ text-align: center;
918
760
  }
919
761
 
920
- .DNDContainer .Draggable.copy {
762
+ .calendar {
763
+ user-select: none;
921
764
  position: absolute;
922
- box-sizing: border-box;
923
- will-change: transform;
765
+ top: 33px;
766
+ z-index: 10;
767
+ box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
768
+ border-radius: 4px;
769
+ overflow: hidden;
770
+ transition: 0.2s all ease;
924
771
  opacity: 0;
772
+ visibility: hidden;
925
773
  }
926
774
 
927
- .DNDContainer .Draggable.dragged {
928
- z-index: 10;
775
+ .calendar.focused {
776
+ opacity: 1;
777
+ visibility: visible;
929
778
  }
930
779
 
931
- .DNDContainer .overlay {
932
- position: absolute;
933
- top: 0;
934
- left: 0;
935
- right: 0;
936
- bottom: 0;
937
- pointer-events: none;
780
+ .calendar .monthSelect {
781
+ align-items: center;
782
+ margin-bottom: 0;
783
+ background: white;
784
+ font-size: 12px;
785
+ color: rgb(170, 170, 170);
786
+ padding-right: 16px;
787
+ padding-left: 16px;
788
+ height: 40px;
938
789
  }
939
790
 
940
- .FilteredList {
941
- max-height: 250px;
942
- position: relative;
791
+ .calendar .monthSelect span {
792
+ margin-right: auto;
943
793
  }
944
794
 
945
- .FilteredList.popup {
946
- padding: 0;
947
- visibility: hidden;
948
- position: absolute;
949
- background: white;
950
- z-index: 4;
951
- 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);
952
- transition: top 0.2s ease-out, opacity 0.2s ease-out;
953
- top: calc(100% + 4px);
954
- opacity: 0;
955
- border-radius: 2px;
956
- }
957
-
958
- .FilteredList.popup.visible {
959
- opacity: 1;
960
- visibility: visible;
795
+ .calendar .monthSelect .Button {
796
+ min-width: 25px;
797
+ min-height: 25px;
961
798
  }
962
799
 
963
- .FilteredList.portal {
964
- transition: opacity 0.2s ease-out;
800
+ .calendar .monthSelect .Button .material-icons {
801
+ font-size: 16px;
965
802
  }
966
803
 
967
- .FilteredList.inline {
968
- max-height: 225px;
969
- margin-top: 5px;
804
+ .calendar .monthSelect .Button.disabled {
805
+ background: transparent;
970
806
  }
971
807
 
972
- .FilteredList .child {
973
- display: flex;
974
- flex-flow: row nowrap;
975
- align-items: center;
976
- white-space: nowrap;
977
- font-size: 14px;
978
- color: rgb(34, 34, 34);
979
- height: 30px;
980
- padding: 5px 10px;
981
- padding-right: 15px;
982
- cursor: pointer;
983
- overflow: hidden;
984
- border-left: 5px solid #4AC263;
985
- padding-left: 15px;
986
- margin-left: -5px;
808
+ .calendar .CalendarMonthView {
809
+ background: white;
987
810
  }
988
811
 
989
- .FilteredList .child.hidden {
990
- height: 0 !important;
991
- padding: 0 !important;
812
+ .calendar .CalendarMonthView .headers, .calendar .CalendarMonthView .days {
813
+ margin-bottom: 0;
992
814
  }
993
815
 
994
- .FilteredList .child.selected {
995
- background-color: #F0F0F0;
996
- padding-left: 10px;
997
- margin-left: 0px;
816
+ .calendar .CalendarMonthView .header {
817
+ font-size: 12px;
818
+ font-weight: bold;
819
+ text-align: center;
820
+ text-transform: uppercase;
821
+ margin: 5px;
998
822
  }
999
823
 
1000
- .FilteredList .child.active {
1001
- background-color: rgb(238, 238, 238);
824
+ .calendar .CalendarMonthView .day {
825
+ font-size: 10px;
1002
826
  }
1003
827
 
1004
- .FilteredList .child {
1005
- margin-top: 8px;
828
+ .calendar .CalendarMonthView .day.notSelectedMonth {
829
+ color: #969696;
1006
830
  }
1007
831
 
1008
- .FilteredList .child.hidden {
1009
- margin-top: 0;
832
+ .calendar .CalendarMonthView .day span {
833
+ display: inline-flex;
834
+ justify-content: center;
835
+ align-items: center;
836
+ border-radius: 50%;
837
+ width: 25px;
838
+ height: 25px;
839
+ margin: 5px;
840
+ transition: 0.2s all ease;
841
+ cursor: pointer;
1010
842
  }
1011
843
 
1012
- .FilteredList .child:not(.hidden) ~ .child {
1013
- margin-top: 0;
844
+ .calendar .CalendarMonthView .day span:hover {
845
+ background-color: #e6e6e6;
1014
846
  }
1015
847
 
1016
- .FilteredList .child:not(.hidden) ~ .child:last-child {
1017
- margin-bottom: 8px;
848
+ .calendar .CalendarMonthView .day span.inactive {
849
+ color: lightgray;
850
+ cursor: unset;
1018
851
  }
1019
852
 
1020
- .FilteredList .child:not(.hidden):last-child {
1021
- margin-bottom: 8px;
853
+ .calendar .CalendarMonthView .day span.inactive:hover {
854
+ background: unset;
1022
855
  }
1023
856
 
1024
- .CircleProgress {
1025
- width: 48px;
1026
- height: 48px;
857
+ .calendar .CalendarMonthView .day span.selected {
858
+ color: white;
859
+ background-color: #2196F3;
1027
860
  }
1028
861
 
1029
- .CircleProgress .line {
1030
- stroke-width: 2px;
1031
- stroke: black;
1032
- stroke-linecap: square;
1033
- fill: none;
1034
- transition: stroke-dashoffset 0.2s ease;
862
+ .calendar .CalendarMonthView .day span.selected:hover {
863
+ background-color: #51adf6;
1035
864
  }
1036
865
 
1037
866
  .Checkbox {
@@ -1101,6 +930,61 @@
1101
930
  background: rgba(0, 0, 0, 0.26);
1102
931
  }
1103
932
 
933
+ .CircleProgress {
934
+ width: 48px;
935
+ height: 48px;
936
+ }
937
+
938
+ .CircleProgress .line {
939
+ stroke-width: 2px;
940
+ stroke: black;
941
+ stroke-linecap: square;
942
+ fill: none;
943
+ transition: stroke-dashoffset 0.2s ease;
944
+ }
945
+
946
+ .DialogModal {
947
+ overflow: hidden;
948
+ }
949
+
950
+ .DialogModal .content {
951
+ top: 20vh;
952
+ }
953
+
954
+ .Dialog {
955
+ background-color: white;
956
+ min-width: 460px;
957
+ max-width: 40vw;
958
+ padding: 15px;
959
+ }
960
+
961
+ .Dialog .title {
962
+ margin-bottom: 15px;
963
+ padding: 20px 50px 0px 30px;
964
+ font-size: 1.25rem;
965
+ line-height: 2rem;
966
+ font-weight: 400;
967
+ letter-spacing: 0.0125em;
968
+ }
969
+
970
+ .Dialog .description {
971
+ color: rgba(0, 0, 0, 0.54);
972
+ font-size: 1rem;
973
+ line-height: 1.5rem;
974
+ font-weight: 400;
975
+ letter-spacing: 0.03125em;
976
+ margin-top: 20px;
977
+ padding: 0 24px 24px;
978
+ }
979
+
980
+ .Dialog > div.row {
981
+ margin-bottom: 15px;
982
+ }
983
+
984
+ .Dialog > div.row:last-child {
985
+ margin-bottom: 0;
986
+ }
987
+
1104
988
  .Dropzone {
1105
989
  position: relative;
1106
990
  }
@@ -1185,6 +1069,117 @@
1185
1069
  bottom: -100px;
1186
1070
  }
1187
1071
 
1072
+ .FilteredList {
1073
+ max-height: 250px;
1074
+ position: relative;
1075
+ }
1076
+
1077
+ .FilteredList.popup {
1078
+ padding: 0;
1079
+ visibility: hidden;
1080
+ position: absolute;
1081
+ background: white;
1082
+ z-index: 4;
1083
+ 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);
1084
+ transition: top 0.2s ease-out, opacity 0.2s ease-out;
1085
+ top: calc(100% + 4px);
1086
+ opacity: 0;
1087
+ border-radius: 2px;
1088
+ }
1089
+
1090
+ .FilteredList.popup.visible {
1091
+ opacity: 1;
1092
+ visibility: visible;
1093
+ }
1094
+
1095
+ .FilteredList.portal {
1096
+ transition: opacity 0.2s ease-out;
1097
+ }
1098
+
1099
+ .FilteredList.inline {
1100
+ max-height: 225px;
1101
+ margin-top: 5px;
1102
+ }
1103
+
1104
+ .FilteredList .child {
1105
+ display: flex;
1106
+ flex-flow: row nowrap;
1107
+ align-items: center;
1108
+ white-space: nowrap;
1109
+ font-size: 14px;
1110
+ color: rgb(34, 34, 34);
1111
+ height: 30px;
1112
+ padding: 5px 10px;
1113
+ padding-right: 15px;
1114
+ cursor: pointer;
1115
+ overflow: hidden;
1116
+ border-left: 5px solid #4AC263;
1117
+ padding-left: 15px;
1118
+ margin-left: -5px;
1119
+ }
1120
+
1121
+ .FilteredList .child.hidden {
1122
+ height: 0 !important;
1123
+ padding: 0 !important;
1124
+ }
1125
+
1126
+ .FilteredList .child.selected {
1127
+ background-color: #F0F0F0;
1128
+ padding-left: 10px;
1129
+ margin-left: 0px;
1130
+ }
1131
+
1132
+ .FilteredList .child.active {
1133
+ background-color: rgb(238, 238, 238);
1134
+ }
1135
+
1136
+ .FilteredList .child {
1137
+ margin-top: 8px;
1138
+ }
1139
+
1140
+ .FilteredList .child.hidden {
1141
+ margin-top: 0;
1142
+ }
1143
+
1144
+ .FilteredList .child:not(.hidden) ~ .child {
1145
+ margin-top: 0;
1146
+ }
1147
+
1148
+ .FilteredList .child:not(.hidden) ~ .child:last-child {
1149
+ margin-bottom: 8px;
1150
+ }
1151
+
1152
+ .FilteredList .child:not(.hidden):last-child {
1153
+ margin-bottom: 8px;
1154
+ }
1155
+
1156
+ .DropFileInput {
1157
+ flex-grow: 1;
1158
+ }
1159
+
1160
+ .DropFileInput .Dropzone {
1161
+ border: 1px dashed #808080;
1162
+ padding: 12px;
1163
+ display: flex;
1164
+ flex-flow: row nowrap;
1165
+ justify-content: center;
1166
+ align-items: center;
1167
+ color: gray;
1168
+ cursor: pointer;
1169
+ border-radius: 3px;
1170
+ font-weight: normal;
1171
+ line-height: 22px;
1172
+ font-size: 14px;
1173
+ color: #7E7E7E;
1174
+ max-width: 100%;
1175
+ word-break: break-all;
1176
+ word-break: break-word;
1177
+ }
1178
+
1179
+ .DropFileInput .Dropzone .icon.withText {
1180
+ margin-right: 10px;
1181
+ }
1182
+
1188
1183
  .Modal {
1189
1184
  display: block;
1190
1185
  position: fixed;
@@ -1219,40 +1214,109 @@
1219
1214
  bottom: 0;
1220
1215
  }
1221
1216
 
1222
- .Modal > .content {
1223
- left: 50%;
1224
- top: 10vh;
1225
- margin-bottom: 10vh;
1226
- font-size: 16px;
1227
- padding: 0;
1228
- opacity: 0;
1229
- transition: opacity 0.25s ease, transform 0.25s ease;
1230
- transform: scaleY(0) translateY(-200px) translateX(-50%);
1231
- transform-origin: top;
1217
+ .Modal > .content {
1218
+ left: 50%;
1219
+ top: 10vh;
1220
+ margin-bottom: 10vh;
1221
+ font-size: 16px;
1222
+ padding: 0;
1223
+ opacity: 0;
1224
+ transition: opacity 0.25s ease, transform 0.25s ease;
1225
+ transform: scaleY(0) translateY(-200px) translateX(-50%);
1226
+ transform-origin: top;
1227
+ position: absolute;
1228
+ border-radius: 2px;
1229
+ box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1230
+ }
1231
+
1232
+ .Modal > .content.show {
1233
+ opacity: 1;
1234
+ transform: scaleY(1) translateY(0px) translateX(-50%);
1235
+ }
1236
+
1237
+ .Modal > .content > .Scrollable {
1238
+ overflow: visible;
1239
+ max-height: 80vh;
1240
+ }
1241
+
1242
+ .Modal > .content > .Scrollable > .viewport {
1243
+ min-width: 10px;
1244
+ min-height: 10px;
1245
+ }
1246
+
1247
+ .Modal > .content > .Button.close {
1248
+ top: 10px;
1249
+ right: 10px;
1250
+ position: absolute;
1251
+ }
1252
+
1253
+ .FormUploadProgress {
1254
+ position: absolute;
1255
+ left: 0;
1256
+ right: 0;
1257
+ top: 0;
1258
+ bottom: 0;
1259
+ background-color: rgba(255, 255, 255, 0.6);
1260
+ z-index: 2;
1261
+ }
1262
+
1263
+ .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
1264
+ transition-delay: 500ms;
1265
+ }
1266
+
1267
+ .FormUploadProgress .wrapper {
1268
+ position: sticky;
1269
+ top: 40%;
1270
+ margin-top: 40%;
1271
+ margin-left: 50%;
1272
+ transform: translateX(-50%);
1273
+ display: flex;
1274
+ flex-flow: column;
1275
+ justify-content: center;
1276
+ align-items: center;
1277
+ }
1278
+
1279
+ .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
1232
1280
  position: absolute;
1233
- border-radius: 2px;
1234
- box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1281
+ width: 107px;
1282
+ height: 107px;
1283
+ top: 0;
1284
+ left: 0;
1235
1285
  }
1236
1286
 
1237
- .Modal > .content.show {
1238
- opacity: 1;
1239
- transform: scaleY(1) translateY(0px) translateX(-50%);
1287
+ .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
1288
+ stroke: #2196F3;
1240
1289
  }
1241
1290
 
1242
- .Modal > .content > .Scrollable {
1243
- overflow: visible;
1244
- max-height: 80vh;
1291
+ .FormUploadProgress .wrapper > .progress {
1292
+ width: 107px;
1293
+ height: 107px;
1294
+ min-height: 107px;
1295
+ display: flex;
1296
+ justify-content: center;
1297
+ align-items: center;
1298
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1299
+ border-radius: 50%;
1300
+ background: white;
1301
+ position: relative;
1245
1302
  }
1246
1303
 
1247
- .Modal > .content > .Scrollable > .viewport {
1248
- min-width: 10px;
1249
- min-height: 10px;
1304
+ .FormUploadProgress .wrapper > .progress > .value {
1305
+ display: inline-block;
1306
+ margin-top: 5px;
1307
+ font-weight: bold;
1308
+ line-height: 16px;
1309
+ font-size: 13px;
1310
+ text-align: center;
1311
+ color: #818181;
1250
1312
  }
1251
1313
 
1252
- .Modal > .content > .Button.close {
1253
- top: 10px;
1254
- right: 10px;
1255
- position: absolute;
1314
+ .FormUploadProgress .wrapper .cancel {
1315
+ min-width: 107px;
1316
+ margin-top: 20px;
1317
+ background-color: white;
1318
+ color: #F96B5C;
1319
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1256
1320
  }
1257
1321
 
1258
1322
  .Scrollable {
@@ -1353,43 +1417,6 @@
1353
1417
  will-change: left;
1354
1418
  }
1355
1419
 
1356
- .ModalMenu {
1357
- position: absolute;
1358
- top: 10px;
1359
- right: 50px;
1360
- }
1361
-
1362
- .ModalMenu .material-icons {
1363
- color: #818181;
1364
- }
1365
-
1366
- .ModalMenu .Button.animated {
1367
- position: absolute;
1368
- transition: opacity 150ms ease-in, right 200ms ease-in;
1369
- opacity: 0;
1370
- right: 0;
1371
- top: 0;
1372
- }
1373
-
1374
- .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1375
- opacity: 1;
1376
- }
1377
-
1378
- .ModalMenu .Button.animated.unmounting {
1379
- transition: opacity 100ms ease-out, right 200ms ease-out;
1380
- }
1381
-
1382
- .ModalMenu .Button.active {
1383
- background: #EBEBEB;
1384
- }
1385
-
1386
- .ModalMenu .separator {
1387
- height: 24px;
1388
- width: 1px;
1389
- background-color: #D9D9D9;
1390
- margin-left: 4px;
1391
- }
1392
-
1393
1420
  .Snackbar {
1394
1421
  transform: translateX(-50%);
1395
1422
  overflow: hidden;
@@ -1435,31 +1462,36 @@
1435
1462
  color: #bf3727;
1436
1463
  }
1437
1464
 
1438
- .DropFileInput {
1439
- flex-grow: 1;
1465
+ .DNDContainer {
1466
+ position: relative;
1440
1467
  }
1441
1468
 
1442
- .DropFileInput .Dropzone {
1443
- border: 1px dashed #808080;
1444
- padding: 12px;
1445
- display: flex;
1446
- flex-flow: row nowrap;
1447
- justify-content: center;
1448
- align-items: center;
1449
- color: gray;
1469
+ .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
1450
1470
  cursor: pointer;
1451
- border-radius: 3px;
1452
- font-weight: normal;
1453
- line-height: 22px;
1454
- font-size: 14px;
1455
- color: #7E7E7E;
1456
- max-width: 100%;
1457
- word-break: break-all;
1458
- word-break: break-word;
1459
1471
  }
1460
1472
 
1461
- .DropFileInput .Dropzone .icon.withText {
1462
- margin-right: 10px;
1473
+ .DNDContainer .Draggable.placeholder {
1474
+ opacity: 0.2;
1475
+ }
1476
+
1477
+ .DNDContainer .Draggable.copy {
1478
+ position: absolute;
1479
+ box-sizing: border-box;
1480
+ will-change: transform;
1481
+ opacity: 0;
1482
+ }
1483
+
1484
+ .DNDContainer .Draggable.dragged {
1485
+ z-index: 10;
1486
+ }
1487
+
1488
+ .DNDContainer .overlay {
1489
+ position: absolute;
1490
+ top: 0;
1491
+ left: 0;
1492
+ right: 0;
1493
+ bottom: 0;
1494
+ pointer-events: none;
1463
1495
  }
1464
1496
 
1465
1497
  .Switch {
@@ -1597,75 +1629,6 @@
1597
1629
  stroke-dashoffset: -53px;
1598
1630
  }
1599
1631
  }
1600
- .FormUploadProgress {
1601
- position: absolute;
1602
- left: 0;
1603
- right: 0;
1604
- top: 0;
1605
- bottom: 0;
1606
- background-color: rgba(255, 255, 255, 0.6);
1607
- z-index: 2;
1608
- }
1609
-
1610
- .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
1611
- transition-delay: 500ms;
1612
- }
1613
-
1614
- .FormUploadProgress .wrapper {
1615
- position: sticky;
1616
- top: 40%;
1617
- margin-top: 40%;
1618
- margin-left: 50%;
1619
- transform: translateX(-50%);
1620
- display: flex;
1621
- flex-flow: column;
1622
- justify-content: center;
1623
- align-items: center;
1624
- }
1625
-
1626
- .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
1627
- position: absolute;
1628
- width: 107px;
1629
- height: 107px;
1630
- top: 0;
1631
- left: 0;
1632
- }
1633
-
1634
- .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
1635
- stroke: #2196F3;
1636
- }
1637
-
1638
- .FormUploadProgress .wrapper > .progress {
1639
- width: 107px;
1640
- height: 107px;
1641
- min-height: 107px;
1642
- display: flex;
1643
- justify-content: center;
1644
- align-items: center;
1645
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1646
- border-radius: 50%;
1647
- background: white;
1648
- position: relative;
1649
- }
1650
-
1651
- .FormUploadProgress .wrapper > .progress > .value {
1652
- display: inline-block;
1653
- margin-top: 5px;
1654
- font-weight: bold;
1655
- line-height: 16px;
1656
- font-size: 13px;
1657
- text-align: center;
1658
- color: #818181;
1659
- }
1660
-
1661
- .FormUploadProgress .wrapper .cancel {
1662
- min-width: 107px;
1663
- margin-top: 20px;
1664
- background-color: white;
1665
- color: #F96B5C;
1666
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1667
- }
1668
-
1669
1632
  .Table {
1670
1633
  font-family: Roboto, sans-serif;
1671
1634
  font-size: 14px;
@@ -1788,6 +1751,43 @@
1788
1751
  margin: 0;
1789
1752
  }
1790
1753
 
1754
+ .ModalMenu {
1755
+ position: absolute;
1756
+ top: 10px;
1757
+ right: 50px;
1758
+ }
1759
+
1760
+ .ModalMenu .material-icons {
1761
+ color: #818181;
1762
+ }
1763
+
1764
+ .ModalMenu .Button.animated {
1765
+ position: absolute;
1766
+ transition: opacity 150ms ease-in, right 200ms ease-in;
1767
+ opacity: 0;
1768
+ right: 0;
1769
+ top: 0;
1770
+ }
1771
+
1772
+ .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1773
+ opacity: 1;
1774
+ }
1775
+
1776
+ .ModalMenu .Button.animated.unmounting {
1777
+ transition: opacity 100ms ease-out, right 200ms ease-out;
1778
+ }
1779
+
1780
+ .ModalMenu .Button.active {
1781
+ background: #EBEBEB;
1782
+ }
1783
+
1784
+ .ModalMenu .separator {
1785
+ height: 24px;
1786
+ width: 1px;
1787
+ background-color: #D9D9D9;
1788
+ margin-left: 4px;
1789
+ }
1790
+
1791
1791
  .TextField {
1792
1792
  position: relative;
1793
1793
  width: 100%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-ui-basics",
3
- "version": "0.0.234",
3
+ "version": "0.0.235",
4
4
  "description": "",
5
5
  "module": "index.js",
6
6
  "_main": "index.cjs.js",
package/router/NavLink.js CHANGED
@@ -9,7 +9,7 @@ const NavLink = (props) => {
9
9
  const other = __extends({}, props);
10
10
  delete other.activeClassName;
11
11
  delete other.highlightPath;
12
- return jsxRuntime_2(Route, { path: highlightPath || href, controller: matches => jsxRuntime_2(Link, __extends({}, props, { [ReactConstants[5]]: classNames(className, matches && activeClassName) })) });
12
+ return jsxRuntime_2(Route, { path: highlightPath || href, controller: matches => jsxRuntime_2(Link, __extends({}, other, { [ReactConstants[5]]: classNames(className, matches && activeClassName) })) });
13
13
  };
14
14
  var NavLink$1 = NavLink;
15
15
 
@@ -18,7 +18,7 @@ const NavLink: React.FC<NavLinkProps> = (props) => {
18
18
 
19
19
  return <Route
20
20
  path={highlightPath || href}
21
- controller={matches => <Link {...props} className={classNames(className, matches && activeClassName)}/>}
21
+ controller={matches => <Link {...other} className={classNames(className, matches && activeClassName)}/>}
22
22
  />;
23
23
  };
24
24