react-ui-basics 0.0.223 → 0.0.224

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/TextField.css CHANGED
@@ -4,7 +4,7 @@
4
4
  }
5
5
  .TextField > label {
6
6
  font-family: Roboto, sans-serif;
7
- color: rgba(0, 0, 0, 0.3);
7
+ color: rgba(0, 0, 0, 0.5);
8
8
  font-size: 16px;
9
9
  position: absolute;
10
10
  left: 0px;
package/bundle.css CHANGED
@@ -555,98 +555,6 @@
555
555
  transition: transform 0.1s ease-in;
556
556
  }
557
557
 
558
- .Checkbox {
559
- position: relative;
560
- white-space: pre;
561
- }
562
-
563
- .Checkbox *, .Checkbox *:before, .Checkbox *:after {
564
- box-sizing: border-box;
565
- }
566
-
567
- .Checkbox label {
568
- font-family: Roboto, sans-serif;
569
- font-size: 14px;
570
- color: #1e252d;
571
- cursor: pointer;
572
- }
573
-
574
- .Checkbox label:before, .Checkbox label:after {
575
- content: "";
576
- position: absolute;
577
- left: 0;
578
- top: 0;
579
- }
580
-
581
- .Checkbox label:before {
582
- width: 20px;
583
- height: 20px;
584
- background: #fff;
585
- border: 2px solid #252525;
586
- border-radius: 2px;
587
- cursor: pointer;
588
- transition: background 0.3s;
589
- }
590
-
591
- .Checkbox input[type=checkbox] {
592
- outline: 0;
593
- margin-right: 10px;
594
- visibility: hidden;
595
- }
596
-
597
- .Checkbox input[type=checkbox]:checked + label:before {
598
- background: #4AC263;
599
- border: none;
600
- }
601
-
602
- .Checkbox input[type=checkbox]:checked + label:after {
603
- transform: rotate(-45deg);
604
- top: 6px;
605
- left: 4px;
606
- width: 12px;
607
- height: 6px;
608
- border: 2px solid #fff;
609
- border-top-style: none;
610
- border-right-style: none;
611
- }
612
-
613
- .Checkbox input[type=checkbox]:disabled + label {
614
- color: gray;
615
- }
616
-
617
- .Checkbox input[type=checkbox]:disabled + label:before {
618
- border-color: rgba(0, 0, 0, 0.26);
619
- }
620
-
621
- .Checkbox input[type=checkbox]:disabled:checked + label:before {
622
- background: rgba(0, 0, 0, 0.26);
623
- }
624
-
625
- .CalendarMonthView {
626
- display: flex;
627
- flex-flow: column nowrap;
628
- height: 100%;
629
- }
630
-
631
- .CalendarMonthView > .row {
632
- display: flex;
633
- flex-flow: row nowrap;
634
- }
635
-
636
- .CalendarMonthView .days {
637
- flex-grow: 1;
638
- position: relative;
639
- }
640
-
641
- .CalendarMonthView .day, .CalendarMonthView .header {
642
- flex-grow: 1;
643
- flex-basis: 1px;
644
- }
645
-
646
- .CalendarMonthView .day {
647
- height: 100%;
648
- }
649
-
650
558
  .DatePicker {
651
559
  position: relative;
652
560
  }
@@ -764,6 +672,73 @@
764
672
  background-color: #51adf6;
765
673
  }
766
674
 
675
+ .Checkbox {
676
+ position: relative;
677
+ white-space: pre;
678
+ }
679
+
680
+ .Checkbox *, .Checkbox *:before, .Checkbox *:after {
681
+ box-sizing: border-box;
682
+ }
683
+
684
+ .Checkbox label {
685
+ font-family: Roboto, sans-serif;
686
+ font-size: 14px;
687
+ color: #1e252d;
688
+ cursor: pointer;
689
+ }
690
+
691
+ .Checkbox label:before, .Checkbox label:after {
692
+ content: "";
693
+ position: absolute;
694
+ left: 0;
695
+ top: 0;
696
+ }
697
+
698
+ .Checkbox label:before {
699
+ width: 20px;
700
+ height: 20px;
701
+ background: #fff;
702
+ border: 2px solid #252525;
703
+ border-radius: 2px;
704
+ cursor: pointer;
705
+ transition: background 0.3s;
706
+ }
707
+
708
+ .Checkbox input[type=checkbox] {
709
+ outline: 0;
710
+ margin-right: 10px;
711
+ visibility: hidden;
712
+ }
713
+
714
+ .Checkbox input[type=checkbox]:checked + label:before {
715
+ background: #4AC263;
716
+ border: none;
717
+ }
718
+
719
+ .Checkbox input[type=checkbox]:checked + label:after {
720
+ transform: rotate(-45deg);
721
+ top: 6px;
722
+ left: 4px;
723
+ width: 12px;
724
+ height: 6px;
725
+ border: 2px solid #fff;
726
+ border-top-style: none;
727
+ border-right-style: none;
728
+ }
729
+
730
+ .Checkbox input[type=checkbox]:disabled + label {
731
+ color: gray;
732
+ }
733
+
734
+ .Checkbox input[type=checkbox]:disabled + label:before {
735
+ border-color: rgba(0, 0, 0, 0.26);
736
+ }
737
+
738
+ .Checkbox input[type=checkbox]:disabled:checked + label:before {
739
+ background: rgba(0, 0, 0, 0.26);
740
+ }
741
+
767
742
  .CircleProgress {
768
743
  width: 48px;
769
744
  height: 48px;
@@ -819,98 +794,6 @@
819
794
  margin-bottom: 0;
820
795
  }
821
796
 
822
- .Dropzone {
823
- position: relative;
824
- }
825
-
826
- .Dropzone > .overlay {
827
- position: absolute;
828
- left: 0;
829
- right: 0;
830
- top: 0;
831
- bottom: 0;
832
- background-color: #38ADC4;
833
- z-index: 1;
834
- opacity: 0;
835
- transition: all 0.2s ease;
836
- transition-delay: 100ms;
837
- visibility: hidden;
838
- display: flex;
839
- justify-content: center;
840
- align-items: center;
841
- }
842
-
843
- .Dropzone > .overlay .drop {
844
- border-radius: 4px;
845
- border: 1px dashed #FFFFFF;
846
- position: absolute;
847
- top: 18px;
848
- left: 18px;
849
- right: 18px;
850
- bottom: 18px;
851
- display: flex;
852
- justify-content: center;
853
- align-items: center;
854
- font-weight: 500;
855
- font-size: 18px;
856
- color: #FFFFFF;
857
- }
858
-
859
- .Dropzone.dragging > .overlay {
860
- opacity: 0.7;
861
- visibility: visible;
862
- transition-delay: 0s;
863
- }
864
-
865
- .Dropzone.dragging > * {
866
- pointer-events: none;
867
- }
868
-
869
- .Dropzone > input.file {
870
- position: absolute;
871
- left: 0;
872
- right: 0;
873
- top: 0;
874
- bottom: 0;
875
- width: 100%;
876
- height: 100%;
877
- opacity: 0;
878
- cursor: pointer;
879
- z-index: 1;
880
- }
881
-
882
- .DNDContainer {
883
- position: relative;
884
- }
885
-
886
- .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
887
- cursor: pointer;
888
- }
889
-
890
- .DNDContainer .Draggable.placeholder {
891
- opacity: 0.2;
892
- }
893
-
894
- .DNDContainer .Draggable.copy {
895
- position: absolute;
896
- box-sizing: border-box;
897
- will-change: transform;
898
- opacity: 0;
899
- }
900
-
901
- .DNDContainer .Draggable.dragged {
902
- z-index: 10;
903
- }
904
-
905
- .DNDContainer .overlay {
906
- position: absolute;
907
- top: 0;
908
- left: 0;
909
- right: 0;
910
- bottom: 0;
911
- pointer-events: none;
912
- }
913
-
914
797
  .Button {
915
798
  position: relative;
916
799
  min-width: 64px;
@@ -1077,100 +960,41 @@
1077
960
  border: 0;
1078
961
  }
1079
962
 
1080
- .FormUploadProgress {
963
+ .ModalMenu {
1081
964
  position: absolute;
1082
- left: 0;
1083
- right: 0;
1084
- top: 0;
1085
- bottom: 0;
1086
- background-color: rgba(255, 255, 255, 0.6);
1087
- z-index: 2;
1088
- }
1089
-
1090
- .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
1091
- transition-delay: 500ms;
965
+ top: 10px;
966
+ right: 50px;
1092
967
  }
1093
968
 
1094
- .FormUploadProgress .wrapper {
1095
- position: sticky;
1096
- top: 40%;
1097
- margin-top: 40%;
1098
- margin-left: 50%;
1099
- transform: translateX(-50%);
1100
- display: flex;
1101
- flex-flow: column;
1102
- justify-content: center;
1103
- align-items: center;
969
+ .ModalMenu .material-icons {
970
+ color: #818181;
1104
971
  }
1105
972
 
1106
- .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
973
+ .ModalMenu .Button.animated {
1107
974
  position: absolute;
1108
- width: 107px;
1109
- height: 107px;
975
+ transition: opacity 150ms ease-in, right 200ms ease-in;
976
+ opacity: 0;
977
+ right: 0;
1110
978
  top: 0;
1111
- left: 0;
1112
- }
1113
-
1114
- .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
1115
- stroke: #2196F3;
1116
- }
1117
-
1118
- .FormUploadProgress .wrapper > .progress {
1119
- width: 107px;
1120
- height: 107px;
1121
- min-height: 107px;
1122
- display: flex;
1123
- justify-content: center;
1124
- align-items: center;
1125
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1126
- border-radius: 50%;
1127
- background: white;
1128
- position: relative;
1129
- }
1130
-
1131
- .FormUploadProgress .wrapper > .progress > .value {
1132
- display: inline-block;
1133
- margin-top: 5px;
1134
- font-weight: bold;
1135
- line-height: 16px;
1136
- font-size: 13px;
1137
- text-align: center;
1138
- color: #818181;
1139
979
  }
1140
980
 
1141
- .FormUploadProgress .wrapper .cancel {
1142
- min-width: 107px;
1143
- margin-top: 20px;
1144
- background-color: white;
1145
- color: #F96B5C;
1146
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
981
+ .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
982
+ opacity: 1;
1147
983
  }
1148
984
 
1149
- .DropFileInput {
1150
- flex-grow: 1;
985
+ .ModalMenu .Button.animated.unmounting {
986
+ transition: opacity 100ms ease-out, right 200ms ease-out;
1151
987
  }
1152
988
 
1153
- .DropFileInput .Dropzone {
1154
- border: 1px dashed #808080;
1155
- padding: 12px;
1156
- display: flex;
1157
- flex-flow: row nowrap;
1158
- justify-content: center;
1159
- align-items: center;
1160
- color: gray;
1161
- cursor: pointer;
1162
- border-radius: 3px;
1163
- font-weight: normal;
1164
- line-height: 22px;
1165
- font-size: 14px;
1166
- color: #7E7E7E;
1167
- max-width: 100%;
1168
- word-break: break-all;
1169
- word-break: break-word;
989
+ .ModalMenu .Button.active {
990
+ background: #EBEBEB;
1170
991
  }
1171
992
 
1172
- .DropFileInput .Dropzone .icon.withText {
1173
- margin-right: 10px;
993
+ .ModalMenu .separator {
994
+ height: 24px;
995
+ width: 1px;
996
+ background-color: #D9D9D9;
997
+ margin-left: 4px;
1174
998
  }
1175
999
 
1176
1000
  .FilteredList {
@@ -1258,6 +1082,100 @@
1258
1082
  margin-bottom: 8px;
1259
1083
  }
1260
1084
 
1085
+ .FormUploadProgress {
1086
+ position: absolute;
1087
+ left: 0;
1088
+ right: 0;
1089
+ top: 0;
1090
+ bottom: 0;
1091
+ background-color: rgba(255, 255, 255, 0.6);
1092
+ z-index: 2;
1093
+ }
1094
+
1095
+ .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
1096
+ transition-delay: 500ms;
1097
+ }
1098
+
1099
+ .FormUploadProgress .wrapper {
1100
+ position: sticky;
1101
+ top: 40%;
1102
+ margin-top: 40%;
1103
+ margin-left: 50%;
1104
+ transform: translateX(-50%);
1105
+ display: flex;
1106
+ flex-flow: column;
1107
+ justify-content: center;
1108
+ align-items: center;
1109
+ }
1110
+
1111
+ .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
1112
+ position: absolute;
1113
+ width: 107px;
1114
+ height: 107px;
1115
+ top: 0;
1116
+ left: 0;
1117
+ }
1118
+
1119
+ .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
1120
+ stroke: #2196F3;
1121
+ }
1122
+
1123
+ .FormUploadProgress .wrapper > .progress {
1124
+ width: 107px;
1125
+ height: 107px;
1126
+ min-height: 107px;
1127
+ display: flex;
1128
+ justify-content: center;
1129
+ align-items: center;
1130
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1131
+ border-radius: 50%;
1132
+ background: white;
1133
+ position: relative;
1134
+ }
1135
+
1136
+ .FormUploadProgress .wrapper > .progress > .value {
1137
+ display: inline-block;
1138
+ margin-top: 5px;
1139
+ font-weight: bold;
1140
+ line-height: 16px;
1141
+ font-size: 13px;
1142
+ text-align: center;
1143
+ color: #818181;
1144
+ }
1145
+
1146
+ .FormUploadProgress .wrapper .cancel {
1147
+ min-width: 107px;
1148
+ margin-top: 20px;
1149
+ background-color: white;
1150
+ color: #F96B5C;
1151
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1152
+ }
1153
+
1154
+ .CalendarMonthView {
1155
+ display: flex;
1156
+ flex-flow: column nowrap;
1157
+ height: 100%;
1158
+ }
1159
+
1160
+ .CalendarMonthView > .row {
1161
+ display: flex;
1162
+ flex-flow: row nowrap;
1163
+ }
1164
+
1165
+ .CalendarMonthView .days {
1166
+ flex-grow: 1;
1167
+ position: relative;
1168
+ }
1169
+
1170
+ .CalendarMonthView .day, .CalendarMonthView .header {
1171
+ flex-grow: 1;
1172
+ flex-basis: 1px;
1173
+ }
1174
+
1175
+ .CalendarMonthView .day {
1176
+ height: 100%;
1177
+ }
1178
+
1261
1179
  .Scrollable {
1262
1180
  max-height: 250px;
1263
1181
  max-width: 250px;
@@ -1356,74 +1274,141 @@
1356
1274
  will-change: left;
1357
1275
  }
1358
1276
 
1359
- .Modal {
1360
- display: block;
1361
- position: fixed;
1362
- top: 0;
1363
- left: 0;
1364
- right: 0;
1365
- bottom: 100%;
1366
- overflow-y: scroll;
1367
- transition: bottom 0ms linear;
1368
- transition-delay: 0.2s;
1369
- }
1370
-
1371
- .Modal.show {
1372
- transition-delay: 0s;
1373
- bottom: 0;
1277
+ .DNDContainer {
1278
+ position: relative;
1374
1279
  }
1375
1280
 
1376
- .Modal > .overlay {
1377
- position: fixed;
1378
- top: 0;
1379
- bottom: 100%;
1380
- left: 0;
1381
- right: 0;
1382
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1383
- opacity: 0;
1384
- background-color: black;
1385
- pointer-events: none;
1281
+ .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
1282
+ cursor: pointer;
1386
1283
  }
1387
1284
 
1388
- .Modal > .overlay.show {
1389
- opacity: 0.5;
1390
- bottom: 0;
1285
+ .DNDContainer .Draggable.placeholder {
1286
+ opacity: 0.2;
1391
1287
  }
1392
1288
 
1393
- .Modal > .content {
1394
- left: 50%;
1395
- top: 10vh;
1396
- margin-bottom: 10vh;
1397
- font-size: 16px;
1398
- padding: 0;
1399
- opacity: 0;
1400
- transition: opacity 0.25s ease, transform 0.25s ease;
1401
- transform: scaleY(0) translateY(-200px) translateX(-50%);
1402
- transform-origin: top;
1289
+ .DNDContainer .Draggable.copy {
1403
1290
  position: absolute;
1404
- border-radius: 2px;
1405
- box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1291
+ box-sizing: border-box;
1292
+ will-change: transform;
1293
+ opacity: 0;
1406
1294
  }
1407
1295
 
1408
- .Modal > .content.show {
1409
- opacity: 1;
1410
- transform: scaleY(1) translateY(0px) translateX(-50%);
1296
+ .DNDContainer .Draggable.dragged {
1297
+ z-index: 10;
1411
1298
  }
1412
1299
 
1413
- .Modal > .content > .Scrollable {
1414
- overflow: visible;
1415
- max-height: 80vh;
1300
+ .DNDContainer .overlay {
1301
+ position: absolute;
1302
+ top: 0;
1303
+ left: 0;
1304
+ right: 0;
1305
+ bottom: 0;
1306
+ pointer-events: none;
1416
1307
  }
1417
1308
 
1418
- .Modal > .content > .Scrollable > .viewport {
1419
- min-width: 10px;
1420
- min-height: 10px;
1309
+ .Snackbar {
1310
+ transform: translateX(-50%);
1311
+ overflow: hidden;
1312
+ background-color: #323232;
1313
+ padding: 14px 24px 14px 24px;
1314
+ color: #fff;
1315
+ min-width: 288px;
1316
+ max-width: 568px;
1317
+ position: fixed;
1318
+ bottom: -50px;
1319
+ left: 50%;
1320
+ display: flex;
1321
+ flex-wrap: nowrap;
1322
+ align-items: center;
1323
+ opacity: 0;
1324
+ transition: bottom 0.25s ease, opacity 0.2s ease;
1325
+ border-radius: 4px;
1326
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1421
1327
  }
1422
1328
 
1423
- .Modal > .content > .Button.close {
1424
- top: 10px;
1425
- right: 10px;
1329
+ .Snackbar.shown {
1330
+ bottom: 15px;
1331
+ opacity: 1;
1332
+ }
1333
+
1334
+ .Snackbar .message {
1335
+ overflow: hidden;
1336
+ line-height: 1.2em;
1337
+ min-height: 1.2em;
1338
+ max-height: 2.4em;
1339
+ flex: 1;
1340
+ }
1341
+
1342
+ .Snackbar .action {
1343
+ text-transform: uppercase;
1344
+ font-weight: bold;
1345
+ margin-left: 48px;
1346
+ color: #bf3727;
1347
+ }
1348
+
1349
+ .Snackbar .action a {
1350
+ text-decoration: none;
1351
+ color: #bf3727;
1352
+ }
1353
+
1354
+ .Dropzone {
1355
+ position: relative;
1356
+ }
1357
+
1358
+ .Dropzone > .overlay {
1359
+ position: absolute;
1360
+ left: 0;
1361
+ right: 0;
1362
+ top: 0;
1363
+ bottom: 0;
1364
+ background-color: #38ADC4;
1365
+ z-index: 1;
1366
+ opacity: 0;
1367
+ transition: all 0.2s ease;
1368
+ transition-delay: 100ms;
1369
+ visibility: hidden;
1370
+ display: flex;
1371
+ justify-content: center;
1372
+ align-items: center;
1373
+ }
1374
+
1375
+ .Dropzone > .overlay .drop {
1376
+ border-radius: 4px;
1377
+ border: 1px dashed #FFFFFF;
1426
1378
  position: absolute;
1379
+ top: 18px;
1380
+ left: 18px;
1381
+ right: 18px;
1382
+ bottom: 18px;
1383
+ display: flex;
1384
+ justify-content: center;
1385
+ align-items: center;
1386
+ font-weight: 500;
1387
+ font-size: 18px;
1388
+ color: #FFFFFF;
1389
+ }
1390
+
1391
+ .Dropzone.dragging > .overlay {
1392
+ opacity: 0.7;
1393
+ visibility: visible;
1394
+ transition-delay: 0s;
1395
+ }
1396
+
1397
+ .Dropzone.dragging > * {
1398
+ pointer-events: none;
1399
+ }
1400
+
1401
+ .Dropzone > input.file {
1402
+ position: absolute;
1403
+ left: 0;
1404
+ right: 0;
1405
+ top: 0;
1406
+ bottom: 0;
1407
+ width: 100%;
1408
+ height: 100%;
1409
+ opacity: 0;
1410
+ cursor: pointer;
1411
+ z-index: 1;
1427
1412
  }
1428
1413
 
1429
1414
  .Button.FloatingActionButton {
@@ -1532,41 +1517,101 @@
1532
1517
  display: none;
1533
1518
  }
1534
1519
 
1535
- .ModalMenu {
1536
- position: absolute;
1537
- top: 10px;
1538
- right: 50px;
1520
+ .DropFileInput {
1521
+ flex-grow: 1;
1539
1522
  }
1540
1523
 
1541
- .ModalMenu .material-icons {
1542
- color: #818181;
1524
+ .DropFileInput .Dropzone {
1525
+ border: 1px dashed #808080;
1526
+ padding: 12px;
1527
+ display: flex;
1528
+ flex-flow: row nowrap;
1529
+ justify-content: center;
1530
+ align-items: center;
1531
+ color: gray;
1532
+ cursor: pointer;
1533
+ border-radius: 3px;
1534
+ font-weight: normal;
1535
+ line-height: 22px;
1536
+ font-size: 14px;
1537
+ color: #7E7E7E;
1538
+ max-width: 100%;
1539
+ word-break: break-all;
1540
+ word-break: break-word;
1543
1541
  }
1544
1542
 
1545
- .ModalMenu .Button.animated {
1546
- position: absolute;
1547
- transition: opacity 150ms ease-in, right 200ms ease-in;
1548
- opacity: 0;
1543
+ .DropFileInput .Dropzone .icon.withText {
1544
+ margin-right: 10px;
1545
+ }
1546
+
1547
+ .Modal {
1548
+ display: block;
1549
+ position: fixed;
1550
+ top: 0;
1551
+ left: 0;
1549
1552
  right: 0;
1553
+ bottom: 100%;
1554
+ overflow-y: scroll;
1555
+ transition: bottom 0ms linear;
1556
+ transition-delay: 0.2s;
1557
+ }
1558
+
1559
+ .Modal.show {
1560
+ transition-delay: 0s;
1561
+ bottom: 0;
1562
+ }
1563
+
1564
+ .Modal > .overlay {
1565
+ position: fixed;
1550
1566
  top: 0;
1567
+ bottom: 100%;
1568
+ left: 0;
1569
+ right: 0;
1570
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1571
+ opacity: 0;
1572
+ background-color: black;
1573
+ pointer-events: none;
1551
1574
  }
1552
1575
 
1553
- .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1576
+ .Modal > .overlay.show {
1577
+ opacity: 0.5;
1578
+ bottom: 0;
1579
+ }
1580
+
1581
+ .Modal > .content {
1582
+ left: 50%;
1583
+ top: 10vh;
1584
+ margin-bottom: 10vh;
1585
+ font-size: 16px;
1586
+ padding: 0;
1587
+ opacity: 0;
1588
+ transition: opacity 0.25s ease, transform 0.25s ease;
1589
+ transform: scaleY(0) translateY(-200px) translateX(-50%);
1590
+ transform-origin: top;
1591
+ position: absolute;
1592
+ border-radius: 2px;
1593
+ box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1594
+ }
1595
+
1596
+ .Modal > .content.show {
1554
1597
  opacity: 1;
1598
+ transform: scaleY(1) translateY(0px) translateX(-50%);
1555
1599
  }
1556
1600
 
1557
- .ModalMenu .Button.animated.unmounting {
1558
- transition: opacity 100ms ease-out, right 200ms ease-out;
1601
+ .Modal > .content > .Scrollable {
1602
+ overflow: visible;
1603
+ max-height: 80vh;
1559
1604
  }
1560
1605
 
1561
- .ModalMenu .Button.active {
1562
- background: #EBEBEB;
1606
+ .Modal > .content > .Scrollable > .viewport {
1607
+ min-width: 10px;
1608
+ min-height: 10px;
1563
1609
  }
1564
1610
 
1565
- .ModalMenu .separator {
1566
- height: 24px;
1567
- width: 1px;
1568
- background-color: #D9D9D9;
1569
- margin-left: 4px;
1611
+ .Modal > .content > .Button.close {
1612
+ top: 10px;
1613
+ right: 10px;
1614
+ position: absolute;
1570
1615
  }
1571
1616
 
1572
1617
  .SpinningProgress {
@@ -1622,49 +1667,126 @@
1622
1667
  stroke-dashoffset: -53px;
1623
1668
  }
1624
1669
  }
1625
- .Snackbar {
1626
- transform: translateX(-50%);
1627
- overflow: hidden;
1628
- background-color: #323232;
1629
- padding: 14px 24px 14px 24px;
1630
- color: #fff;
1631
- min-width: 288px;
1632
- max-width: 568px;
1633
- position: fixed;
1634
- bottom: -50px;
1635
- left: 50%;
1670
+ .Table {
1671
+ font-family: Roboto, sans-serif;
1672
+ font-size: 14px;
1673
+ color: #1e252d;
1674
+ border-spacing: 0;
1675
+ border-collapse: collapse;
1676
+ width: 100%;
1677
+ position: relative;
1678
+ }
1679
+
1680
+ .Table td, .Table th {
1681
+ padding: 5px;
1682
+ font-weight: 500;
1683
+ color: #2e2e2e;
1684
+ }
1685
+
1686
+ .Table td {
1687
+ height: 48px;
1688
+ border-bottom: 1px solid #ebebeb;
1689
+ border-top: 1px solid #ebebeb;
1690
+ }
1691
+
1692
+ .Table td:first-child {
1693
+ padding-left: 45px;
1694
+ }
1695
+
1696
+ .Table td:last-child {
1697
+ padding-right: 45px;
1698
+ }
1699
+
1700
+ .Table th {
1701
+ color: #808080;
1702
+ height: 55px;
1703
+ padding: 0px;
1704
+ }
1705
+
1706
+ .Table th .sortable {
1707
+ cursor: pointer;
1708
+ }
1709
+
1710
+ .Table th .sortable.active {
1711
+ font-weight: bold;
1712
+ }
1713
+
1714
+ .Table th .sortable.active .material-icons {
1715
+ font-size: 16px;
1716
+ }
1717
+
1718
+ .Table th .sortable.false {
1719
+ padding-right: 22px;
1720
+ }
1721
+
1722
+ .Table th:first-child .hidden, .Table th:first-child .fixed {
1723
+ padding-left: 45px;
1724
+ }
1725
+
1726
+ .Table th:last-child .hidden, .Table th:last-child .fixed {
1727
+ padding-right: 45px;
1728
+ }
1729
+
1730
+ .Table th .hidden {
1731
+ color: transparent;
1732
+ height: 0px;
1733
+ padding: 5px;
1734
+ }
1735
+
1736
+ .Table th .fixed {
1737
+ font-weight: normal;
1636
1738
  display: flex;
1637
- flex-wrap: nowrap;
1739
+ flex-flow: row;
1740
+ justify-items: center;
1638
1741
  align-items: center;
1639
- opacity: 0;
1640
- transition: bottom 0.25s ease, opacity 0.2s ease;
1641
- border-radius: 4px;
1642
- box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1742
+ text-align: left;
1743
+ height: 56px;
1744
+ padding: 0px 5px;
1745
+ background-color: white;
1746
+ position: absolute;
1747
+ top: 0px;
1748
+ z-index: 1;
1749
+ box-sizing: border-box;
1750
+ border-bottom: 1px solid #ebebeb;
1751
+ border-top: 1px solid #ebebeb;
1643
1752
  }
1644
1753
 
1645
- .Snackbar.shown {
1646
- bottom: 15px;
1647
- opacity: 1;
1754
+ .Table tbody tr:hover {
1755
+ background-color: #f2f2f2;
1648
1756
  }
1649
1757
 
1650
- .Snackbar .message {
1651
- overflow: hidden;
1652
- line-height: 1.2em;
1653
- min-height: 1.2em;
1654
- max-height: 2.4em;
1655
- flex: 1;
1758
+ .Table tbody tr.disabled td {
1759
+ color: #93a4b7;
1656
1760
  }
1657
1761
 
1658
- .Snackbar .action {
1659
- text-transform: uppercase;
1660
- font-weight: bold;
1661
- margin-left: 48px;
1662
- color: #bf3727;
1762
+ .Table .ro {
1763
+ color: #47576a;
1663
1764
  }
1664
1765
 
1665
- .Snackbar .action a {
1666
- text-decoration: none;
1667
- color: #bf3727;
1766
+ .Table .editable {
1767
+ cursor: pointer;
1768
+ }
1769
+
1770
+ .Table .editable > .TextField {
1771
+ height: 20px !important;
1772
+ margin: 0px;
1773
+ position: relative;
1774
+ display: block;
1775
+ }
1776
+
1777
+ .Table .editable > .TextField input {
1778
+ width: 100%;
1779
+ height: 20px;
1780
+ padding: 0px;
1781
+ background-color: rgb(240, 240, 240);
1782
+ }
1783
+
1784
+ .Table .editable > .AutocompleteSelect {
1785
+ min-width: unset;
1786
+ }
1787
+
1788
+ .Table .editable > .AutocompleteSelect > .selected > .DummyChild {
1789
+ margin: 0;
1668
1790
  }
1669
1791
 
1670
1792
  .TextField {
@@ -1674,7 +1796,7 @@
1674
1796
 
1675
1797
  .TextField > label {
1676
1798
  font-family: Roboto, sans-serif;
1677
- color: rgba(0, 0, 0, 0.3);
1799
+ color: rgba(0, 0, 0, 0.5);
1678
1800
  font-size: 16px;
1679
1801
  position: absolute;
1680
1802
  left: 0px;
@@ -1810,128 +1932,6 @@
1810
1932
  animation-name: shake;
1811
1933
  }
1812
1934
 
1813
- .Table {
1814
- font-family: Roboto, sans-serif;
1815
- font-size: 14px;
1816
- color: #1e252d;
1817
- border-spacing: 0;
1818
- border-collapse: collapse;
1819
- width: 100%;
1820
- position: relative;
1821
- }
1822
-
1823
- .Table td, .Table th {
1824
- padding: 5px;
1825
- font-weight: 500;
1826
- color: #2e2e2e;
1827
- }
1828
-
1829
- .Table td {
1830
- height: 48px;
1831
- border-bottom: 1px solid #ebebeb;
1832
- border-top: 1px solid #ebebeb;
1833
- }
1834
-
1835
- .Table td:first-child {
1836
- padding-left: 45px;
1837
- }
1838
-
1839
- .Table td:last-child {
1840
- padding-right: 45px;
1841
- }
1842
-
1843
- .Table th {
1844
- color: #808080;
1845
- height: 55px;
1846
- padding: 0px;
1847
- }
1848
-
1849
- .Table th .sortable {
1850
- cursor: pointer;
1851
- }
1852
-
1853
- .Table th .sortable.active {
1854
- font-weight: bold;
1855
- }
1856
-
1857
- .Table th .sortable.active .material-icons {
1858
- font-size: 16px;
1859
- }
1860
-
1861
- .Table th .sortable.false {
1862
- padding-right: 22px;
1863
- }
1864
-
1865
- .Table th:first-child .hidden, .Table th:first-child .fixed {
1866
- padding-left: 45px;
1867
- }
1868
-
1869
- .Table th:last-child .hidden, .Table th:last-child .fixed {
1870
- padding-right: 45px;
1871
- }
1872
-
1873
- .Table th .hidden {
1874
- color: transparent;
1875
- height: 0px;
1876
- padding: 5px;
1877
- }
1878
-
1879
- .Table th .fixed {
1880
- font-weight: normal;
1881
- display: flex;
1882
- flex-flow: row;
1883
- justify-items: center;
1884
- align-items: center;
1885
- text-align: left;
1886
- height: 56px;
1887
- padding: 0px 5px;
1888
- background-color: white;
1889
- position: absolute;
1890
- top: 0px;
1891
- z-index: 1;
1892
- box-sizing: border-box;
1893
- border-bottom: 1px solid #ebebeb;
1894
- border-top: 1px solid #ebebeb;
1895
- }
1896
-
1897
- .Table tbody tr:hover {
1898
- background-color: #f2f2f2;
1899
- }
1900
-
1901
- .Table tbody tr.disabled td {
1902
- color: #93a4b7;
1903
- }
1904
-
1905
- .Table .ro {
1906
- color: #47576a;
1907
- }
1908
-
1909
- .Table .editable {
1910
- cursor: pointer;
1911
- }
1912
-
1913
- .Table .editable > .TextField {
1914
- height: 20px !important;
1915
- margin: 0px;
1916
- position: relative;
1917
- display: block;
1918
- }
1919
-
1920
- .Table .editable > .TextField input {
1921
- width: 100%;
1922
- height: 20px;
1923
- padding: 0px;
1924
- background-color: rgb(240, 240, 240);
1925
- }
1926
-
1927
- .Table .editable > .AutocompleteSelect {
1928
- min-width: unset;
1929
- }
1930
-
1931
- .Table .editable > .AutocompleteSelect > .selected > .DummyChild {
1932
- margin: 0;
1933
- }
1934
-
1935
1935
  .ScrollableTable .Scrollable .scrollbar {
1936
1936
  top: 56px;
1937
1937
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-ui-basics",
3
- "version": "0.0.223",
3
+ "version": "0.0.224",
4
4
  "description": "",
5
5
  "module": "index.js",
6
6
  "_main": "index.cjs.js",
package/src/TextField.css CHANGED
@@ -4,7 +4,7 @@
4
4
  }
5
5
  .TextField > label {
6
6
  font-family: Roboto, sans-serif;
7
- color: rgba(0, 0, 0, 0.3);
7
+ color: rgba(0, 0, 0, 0.5);
8
8
  font-size: 16px;
9
9
  position: absolute;
10
10
  left: 0px;
@@ -9,7 +9,7 @@ $redColor: rgb(244, 67, 54);
9
9
 
10
10
  > label {
11
11
  font-family: $font;
12
- color: rgba(0, 0, 0, 0.3);
12
+ color: rgba(0, 0, 0, 0.5);
13
13
 
14
14
  font-size: 16px;
15
15
  position: absolute;