react-ui-basics 0.0.157 → 0.0.160

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 (81) hide show
  1. package/Animated.js +5 -2
  2. package/AutocompleteSelect.js +16 -15
  3. package/Button.js +13 -13
  4. package/Checkbox.js +3 -2
  5. package/CircleProgress.js +2 -1
  6. package/CommonFields.js +23 -0
  7. package/DNDContainer.js +17 -16
  8. package/DNDDraggable.js +1 -0
  9. package/DNDDroppable.js +1 -0
  10. package/Dialog.js +4 -3
  11. package/DropFileInput.js +1 -0
  12. package/DroppableHorizontalList.js +13 -12
  13. package/DroppableList.js +13 -12
  14. package/Dropzone.js +8 -7
  15. package/FilteredList.js +13 -12
  16. package/FloatingActionButton.js +2 -1
  17. package/FormUploadProgress.js +2 -1
  18. package/ImageGallery.js +86 -85
  19. package/MaterialIcon.js +2 -1
  20. package/Modal.js +8 -7
  21. package/ModalMenu.js +3 -2
  22. package/ReactConstants.js +6 -1
  23. package/ReactCreateElement.js +1 -0
  24. package/ReadyListener.js +1 -0
  25. package/ResizeObserver.d.ts +1 -0
  26. package/Scrollable.js +23 -22
  27. package/ScrollableTable.js +1 -0
  28. package/Size.js +3 -2
  29. package/Snackbar.js +1 -0
  30. package/SpinningProgress.js +1 -0
  31. package/Switch.js +3 -2
  32. package/Table.js +13 -12
  33. package/TextField.js +7 -6
  34. package/Tools.d.ts +1 -0
  35. package/Tools.js +13 -12
  36. package/_virtual/_commonjsHelpers.js +1 -0
  37. package/_virtual/_react.js +1 -0
  38. package/_virtual/react-jsx-runtime.development.js +1 -0
  39. package/bundle.css +576 -576
  40. package/index.js +8 -5
  41. package/package.json +1 -1
  42. package/router/HistoryTools.js +1 -0
  43. package/router/Link.js +3 -2
  44. package/router/NavLink.js +3 -2
  45. package/router/Route.js +9 -8
  46. package/router/index.js +1 -0
  47. package/store/ProxyTools.js +1 -0
  48. package/store/Store.js +1 -0
  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/DNDContainer.js.map +0 -1
  55. package/DNDDraggable.js.map +0 -1
  56. package/DNDDroppable.js.map +0 -1
  57. package/Dialog.js.map +0 -1
  58. package/DropFileInput.js.map +0 -1
  59. package/DroppableHorizontalList.js.map +0 -1
  60. package/DroppableList.js.map +0 -1
  61. package/Dropzone.js.map +0 -1
  62. package/FilteredList.js.map +0 -1
  63. package/FloatingActionButton.js.map +0 -1
  64. package/FormUploadProgress.js.map +0 -1
  65. package/ImageGallery.js.map +0 -1
  66. package/MaterialIcon.js.map +0 -1
  67. package/Modal.js.map +0 -1
  68. package/ModalMenu.js.map +0 -1
  69. package/ReactConstants.js.map +0 -1
  70. package/ReactCreateElement.js.map +0 -1
  71. package/ReadyListener.js.map +0 -1
  72. package/Scrollable.js.map +0 -1
  73. package/ScrollableTable.js.map +0 -1
  74. package/Size.js.map +0 -1
  75. package/Snackbar.js.map +0 -1
  76. package/SpinningProgress.js.map +0 -1
  77. package/Switch.js.map +0 -1
  78. package/Table.js.map +0 -1
  79. package/TextField.js.map +0 -1
  80. package/Tools.js.map +0 -1
  81. package/index.js.map +0 -1
package/bundle.css CHANGED
@@ -1,3 +1,223 @@
1
+ .Button {
2
+ position: relative;
3
+ min-width: 64px;
4
+ min-height: 36px;
5
+ height: 24px;
6
+ margin: 0px;
7
+ padding: 0px 16px;
8
+ border: none;
9
+ outline: none;
10
+ font-size: 14px;
11
+ font-weight: 500;
12
+ letter-spacing: 1.25px;
13
+ background: #dfdfdf;
14
+ text-transform: uppercase;
15
+ font-family: Roboto, sans-serif;
16
+ display: inline-flex;
17
+ justify-content: center;
18
+ align-items: center;
19
+ cursor: pointer;
20
+ overflow: hidden;
21
+ user-select: none;
22
+ border-radius: 3px;
23
+ transition: all 0.2s ease;
24
+ }
25
+
26
+ .Button.flat {
27
+ background-color: transparent;
28
+ }
29
+
30
+ .Button.flat:hover {
31
+ background-color: rgba(0, 0, 0, 0.05);
32
+ }
33
+
34
+ .Button.green {
35
+ background-color: #43a047;
36
+ color: white;
37
+ }
38
+
39
+ .Button.green:hover {
40
+ background-color: #3b8e3f;
41
+ }
42
+
43
+ .Button.blue {
44
+ background-color: #039be5;
45
+ color: white;
46
+ }
47
+
48
+ .Button.blue:hover {
49
+ background-color: #038acc;
50
+ }
51
+
52
+ .Button.red {
53
+ background-color: #e53935;
54
+ color: white;
55
+ }
56
+
57
+ .Button.red:hover {
58
+ background-color: #e2231e;
59
+ }
60
+
61
+ .Button.black {
62
+ background-color: #1e252d;
63
+ color: white;
64
+ }
65
+
66
+ .Button.black:hover {
67
+ background-color: #14181e;
68
+ }
69
+
70
+ .Button.gray {
71
+ background: #D9D9D9;
72
+ color: #999999;
73
+ }
74
+
75
+ .Button.gray:hover {
76
+ background-color: #cccccc;
77
+ }
78
+
79
+ .Button.small {
80
+ padding: 0px 8px;
81
+ min-height: 16px;
82
+ min-width: 16px;
83
+ }
84
+
85
+ .Button > .material-icons {
86
+ margin-right: 10px;
87
+ }
88
+
89
+ .Button.round {
90
+ padding: 0px;
91
+ min-width: 36px;
92
+ border-radius: 50%;
93
+ }
94
+
95
+ .Button.round > .material-icons {
96
+ margin: 0px;
97
+ }
98
+
99
+ .Button .ripple {
100
+ position: absolute;
101
+ background: rgba(0, 0, 0, 0.1);
102
+ border-radius: 100%;
103
+ transform: scale(0);
104
+ pointer-events: none;
105
+ transition: opacity 0.2s ease-out;
106
+ }
107
+
108
+ .Button .ripple.show {
109
+ animation: ripple 0.35s ease-out;
110
+ }
111
+
112
+ .Button:active .ripple.showed {
113
+ opacity: 1;
114
+ }
115
+
116
+ .Button:focus .ripple.focused {
117
+ opacity: 1;
118
+ transition: opacity 0.2s ease-out, transform 0.2s ease-out;
119
+ transform: scale(1);
120
+ animation: resize 1.25s ease-out infinite;
121
+ animation-delay: 0.2s;
122
+ animation-direction: alternate;
123
+ }
124
+
125
+ .Button .ripple.showed {
126
+ transform: scale(2);
127
+ opacity: 0;
128
+ }
129
+
130
+ @keyframes ripple {
131
+ to {
132
+ transform: scale(2);
133
+ }
134
+ }
135
+ @keyframes resize {
136
+ to {
137
+ transform: scale(0.9);
138
+ }
139
+ }
140
+ .Button.raised {
141
+ transition: color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
142
+ }
143
+
144
+ .Button.raised:hover {
145
+ box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
146
+ }
147
+
148
+ .Button.raised:active {
149
+ box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.35);
150
+ }
151
+
152
+ .Button.disabled {
153
+ box-shadow: none;
154
+ background: #D9D9D9;
155
+ color: #999999;
156
+ }
157
+
158
+ .Button.disabled:hover {
159
+ background-color: #cccccc;
160
+ }
161
+
162
+ .Button::-moz-focus-inner {
163
+ border: 0;
164
+ }
165
+
166
+ .DialogModal {
167
+ overflow: hidden;
168
+ }
169
+
170
+ .DialogModal .content {
171
+ top: 20vh;
172
+ }
173
+
174
+ .Dialog {
175
+ background-color: white;
176
+ min-width: 460px;
177
+ max-width: 40vw;
178
+ padding: 15px;
179
+ }
180
+
181
+ .Dialog .title {
182
+ margin-bottom: 15px;
183
+ padding: 20px 50px 0px 30px;
184
+ font-size: 1.25rem;
185
+ line-height: 2rem;
186
+ font-weight: 400;
187
+ letter-spacing: 0.0125em;
188
+ }
189
+
190
+ .Dialog .description {
191
+ color: rgba(0, 0, 0, 0.54);
192
+ font-size: 1rem;
193
+ line-height: 1.5rem;
194
+ font-weight: 400;
195
+ letter-spacing: 0.03125em;
196
+ margin-top: 20px;
197
+ padding: 0 24px 24px;
198
+ }
199
+
200
+ .Dialog > div.row {
201
+ margin-bottom: 15px;
202
+ }
203
+
204
+ .Dialog > div.row:last-child {
205
+ margin-bottom: 0;
206
+ }
207
+
208
+ .CircleProgress {
209
+ width: 48px;
210
+ height: 48px;
211
+ }
212
+
213
+ .CircleProgress .line {
214
+ stroke-width: 2px;
215
+ stroke: black;
216
+ stroke-linecap: square;
217
+ fill: none;
218
+ transition: stroke-dashoffset 0.2s ease;
219
+ }
220
+
1
221
  .AutocompleteSelect {
2
222
  display: inline-flex;
3
223
  flex-flow: column;
@@ -293,13 +513,31 @@
293
513
  position: absolute;
294
514
  }
295
515
 
296
- .animated {
297
- transition: opacity 250ms ease;
298
- opacity: 0;
516
+ .DropFileInput {
517
+ flex-grow: 1;
299
518
  }
300
519
 
301
- .animated.mounting, .animated.mounted {
302
- opacity: 1;
520
+ .DropFileInput .Dropzone {
521
+ border: 1px dashed #808080;
522
+ padding: 12px;
523
+ display: flex;
524
+ flex-flow: row nowrap;
525
+ justify-content: center;
526
+ align-items: center;
527
+ color: gray;
528
+ cursor: pointer;
529
+ border-radius: 3px;
530
+ font-weight: normal;
531
+ line-height: 22px;
532
+ font-size: 14px;
533
+ color: #7E7E7E;
534
+ max-width: 100%;
535
+ word-break: break-all;
536
+ word-break: break-word;
537
+ }
538
+
539
+ .DropFileInput .Dropzone .icon.withText {
540
+ margin-right: 10px;
303
541
  }
304
542
 
305
543
  .Checkbox {
@@ -369,243 +607,73 @@
369
607
  background: rgba(0, 0, 0, 0.26);
370
608
  }
371
609
 
372
- .DialogModal {
373
- overflow: hidden;
610
+ .animated {
611
+ transition: opacity 250ms ease;
612
+ opacity: 0;
374
613
  }
375
614
 
376
- .DialogModal .content {
377
- top: 20vh;
378
- }
379
-
380
- .Dialog {
381
- background-color: white;
382
- min-width: 460px;
383
- max-width: 40vw;
384
- padding: 15px;
385
- }
386
-
387
- .Dialog .title {
388
- margin-bottom: 15px;
389
- padding: 20px 50px 0px 30px;
390
- font-size: 1.25rem;
391
- line-height: 2rem;
392
- font-weight: 400;
393
- letter-spacing: 0.0125em;
394
- }
395
-
396
- .Dialog .description {
397
- color: rgba(0, 0, 0, 0.54);
398
- font-size: 1rem;
399
- line-height: 1.5rem;
400
- font-weight: 400;
401
- letter-spacing: 0.03125em;
402
- margin-top: 20px;
403
- padding: 0 24px 24px;
404
- }
405
-
406
- .Dialog > div.row {
407
- margin-bottom: 15px;
408
- }
409
-
410
- .Dialog > div.row:last-child {
411
- margin-bottom: 0;
615
+ .animated.mounting, .animated.mounted {
616
+ opacity: 1;
412
617
  }
413
618
 
414
- .Button {
619
+ .Dropzone {
415
620
  position: relative;
416
- min-width: 64px;
417
- min-height: 36px;
418
- height: 24px;
419
- margin: 0px;
420
- padding: 0px 16px;
421
- border: none;
422
- outline: none;
423
- font-size: 14px;
424
- font-weight: 500;
425
- letter-spacing: 1.25px;
426
- background: #dfdfdf;
427
- text-transform: uppercase;
428
- font-family: Roboto, sans-serif;
429
- display: inline-flex;
430
- justify-content: center;
431
- align-items: center;
432
- cursor: pointer;
433
- overflow: hidden;
434
- user-select: none;
435
- border-radius: 3px;
436
- transition: all 0.2s ease;
437
- }
438
-
439
- .Button.flat {
440
- background-color: transparent;
441
- }
442
-
443
- .Button.flat:hover {
444
- background-color: rgba(0, 0, 0, 0.05);
445
- }
446
-
447
- .Button.green {
448
- background-color: #43a047;
449
- color: white;
450
- }
451
-
452
- .Button.green:hover {
453
- background-color: #3b8e3f;
454
- }
455
-
456
- .Button.blue {
457
- background-color: #039be5;
458
- color: white;
459
- }
460
-
461
- .Button.blue:hover {
462
- background-color: #038acc;
463
- }
464
-
465
- .Button.red {
466
- background-color: #e53935;
467
- color: white;
468
- }
469
-
470
- .Button.red:hover {
471
- background-color: #e2231e;
472
- }
473
-
474
- .Button.black {
475
- background-color: #1e252d;
476
- color: white;
477
- }
478
-
479
- .Button.black:hover {
480
- background-color: #14181e;
481
- }
482
-
483
- .Button.gray {
484
- background: #D9D9D9;
485
- color: #999999;
486
- }
487
-
488
- .Button.gray:hover {
489
- background-color: #cccccc;
490
- }
491
-
492
- .Button.small {
493
- padding: 0px 8px;
494
- min-height: 16px;
495
- min-width: 16px;
496
- }
497
-
498
- .Button > .material-icons {
499
- margin-right: 10px;
500
- }
501
-
502
- .Button.round {
503
- padding: 0px;
504
- min-width: 36px;
505
- border-radius: 50%;
506
- }
507
-
508
- .Button.round > .material-icons {
509
- margin: 0px;
510
621
  }
511
622
 
512
- .Button .ripple {
623
+ .Dropzone > .overlay {
513
624
  position: absolute;
514
- background: rgba(0, 0, 0, 0.1);
515
- border-radius: 100%;
516
- transform: scale(0);
517
- pointer-events: none;
518
- transition: opacity 0.2s ease-out;
519
- }
520
-
521
- .Button .ripple.show {
522
- animation: ripple 0.35s ease-out;
523
- }
524
-
525
- .Button:active .ripple.showed {
526
- opacity: 1;
527
- }
528
-
529
- .Button:focus .ripple.focused {
530
- opacity: 1;
531
- transition: opacity 0.2s ease-out, transform 0.2s ease-out;
532
- transform: scale(1);
533
- animation: resize 1.25s ease-out infinite;
534
- animation-delay: 0.2s;
535
- animation-direction: alternate;
536
- }
537
-
538
- .Button .ripple.showed {
539
- transform: scale(2);
625
+ left: 0;
626
+ right: 0;
627
+ top: 0;
628
+ bottom: 0;
629
+ background-color: #38ADC4;
630
+ z-index: 1;
540
631
  opacity: 0;
632
+ transition: all 0.2s ease;
633
+ transition-delay: 100ms;
634
+ visibility: hidden;
635
+ display: flex;
636
+ justify-content: center;
637
+ align-items: center;
541
638
  }
542
639
 
543
- @keyframes ripple {
544
- to {
545
- transform: scale(2);
546
- }
547
- }
548
- @keyframes resize {
549
- to {
550
- transform: scale(0.9);
551
- }
552
- }
553
- .Button.raised {
554
- transition: color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
555
- }
556
-
557
- .Button.raised:hover {
558
- box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
559
- }
560
-
561
- .Button.raised:active {
562
- box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.35);
563
- }
564
-
565
- .Button.disabled {
566
- box-shadow: none;
567
- background: #D9D9D9;
568
- color: #999999;
569
- }
570
-
571
- .Button.disabled:hover {
572
- background-color: #cccccc;
573
- }
574
-
575
- .Button::-moz-focus-inner {
576
- border: 0;
577
- }
578
-
579
- .DNDContainer {
580
- position: relative;
581
- }
582
-
583
- .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
584
- cursor: pointer;
585
- }
586
-
587
- .DNDContainer .Draggable.placeholder {
588
- opacity: 0.2;
640
+ .Dropzone > .overlay .drop {
641
+ border-radius: 4px;
642
+ border: 1px dashed #FFFFFF;
643
+ position: absolute;
644
+ top: 18px;
645
+ left: 18px;
646
+ right: 18px;
647
+ bottom: 18px;
648
+ display: flex;
649
+ justify-content: center;
650
+ align-items: center;
651
+ font-weight: 500;
652
+ font-size: 18px;
653
+ color: #FFFFFF;
589
654
  }
590
655
 
591
- .DNDContainer .Draggable.copy {
592
- position: absolute;
593
- box-sizing: border-box;
594
- will-change: transform;
595
- opacity: 0;
656
+ .Dropzone.dragging > .overlay {
657
+ opacity: 0.7;
658
+ visibility: visible;
659
+ transition-delay: 0s;
596
660
  }
597
661
 
598
- .DNDContainer .Draggable.dragged {
599
- z-index: 10;
662
+ .Dropzone.dragging > * {
663
+ pointer-events: none;
600
664
  }
601
665
 
602
- .DNDContainer .overlay {
666
+ .Dropzone > input.file {
603
667
  position: absolute;
604
- top: 0;
605
668
  left: 0;
606
669
  right: 0;
670
+ top: 0;
607
671
  bottom: 0;
608
- pointer-events: none;
672
+ width: 100%;
673
+ height: 100%;
674
+ opacity: 0;
675
+ cursor: pointer;
676
+ z-index: 1;
609
677
  }
610
678
 
611
679
  .Button.FloatingActionButton {
@@ -632,46 +700,6 @@
632
700
  bottom: -100px;
633
701
  }
634
702
 
635
- .CircleProgress {
636
- width: 48px;
637
- height: 48px;
638
- }
639
-
640
- .CircleProgress .line {
641
- stroke-width: 2px;
642
- stroke: black;
643
- stroke-linecap: square;
644
- fill: none;
645
- transition: stroke-dashoffset 0.2s ease;
646
- }
647
-
648
- .DropFileInput {
649
- flex-grow: 1;
650
- }
651
-
652
- .DropFileInput .Dropzone {
653
- border: 1px dashed #808080;
654
- padding: 12px;
655
- display: flex;
656
- flex-flow: row nowrap;
657
- justify-content: center;
658
- align-items: center;
659
- color: gray;
660
- cursor: pointer;
661
- border-radius: 3px;
662
- font-weight: normal;
663
- line-height: 22px;
664
- font-size: 14px;
665
- color: #7E7E7E;
666
- max-width: 100%;
667
- word-break: break-all;
668
- word-break: break-word;
669
- }
670
-
671
- .DropFileInput .Dropzone .icon.withText {
672
- margin-right: 10px;
673
- }
674
-
675
703
  .FormUploadProgress {
676
704
  position: absolute;
677
705
  left: 0;
@@ -703,149 +731,74 @@
703
731
  width: 107px;
704
732
  height: 107px;
705
733
  top: 0;
706
- left: 0;
707
- }
708
-
709
- .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
710
- stroke: #2196F3;
711
- }
712
-
713
- .FormUploadProgress .wrapper > .progress {
714
- width: 107px;
715
- height: 107px;
716
- min-height: 107px;
717
- display: flex;
718
- justify-content: center;
719
- align-items: center;
720
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
721
- border-radius: 50%;
722
- background: white;
723
- position: relative;
724
- }
725
-
726
- .FormUploadProgress .wrapper > .progress > .value {
727
- display: inline-block;
728
- margin-top: 5px;
729
- font-weight: bold;
730
- line-height: 16px;
731
- font-size: 13px;
732
- text-align: center;
733
- color: #818181;
734
- }
735
-
736
- .FormUploadProgress .wrapper .cancel {
737
- min-width: 107px;
738
- margin-top: 20px;
739
- background-color: white;
740
- color: #F96B5C;
741
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
742
- }
743
-
744
- .Modal {
745
- display: block;
746
- position: fixed;
747
- top: 0;
748
- left: 0;
749
- right: 0;
750
- bottom: 100%;
751
- overflow-y: scroll;
752
- transition: bottom 0ms linear;
753
- transition-delay: 0.2s;
754
- }
755
-
756
- .Modal.show {
757
- transition-delay: 0s;
758
- bottom: 0;
759
- }
760
-
761
- .Modal > .overlay {
762
- position: fixed;
763
- top: 0;
764
- bottom: 100%;
765
- left: 0;
766
- right: 0;
767
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
768
- opacity: 0;
769
- background-color: black;
770
- pointer-events: none;
771
- }
772
-
773
- .Modal > .overlay.show {
774
- opacity: 0.5;
775
- bottom: 0;
776
- }
777
-
778
- .Modal > .content {
779
- left: 50%;
780
- top: 10vh;
781
- margin-bottom: 10vh;
782
- font-size: 16px;
783
- padding: 0;
784
- opacity: 0;
785
- transition: opacity 0.25s ease, transform 0.25s ease;
786
- transform: scaleY(0) translateY(-200px) translateX(-50%);
787
- transform-origin: top;
788
- position: absolute;
789
- border-radius: 2px;
790
- box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
791
- }
792
-
793
- .Modal > .content.show {
794
- opacity: 1;
795
- transform: scaleY(1) translateY(0px) translateX(-50%);
734
+ left: 0;
796
735
  }
797
736
 
798
- .Modal > .content > .Scrollable {
799
- overflow: visible;
800
- max-height: 80vh;
737
+ .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
738
+ stroke: #2196F3;
801
739
  }
802
740
 
803
- .Modal > .content > .Scrollable > .viewport {
804
- min-width: 10px;
805
- min-height: 10px;
741
+ .FormUploadProgress .wrapper > .progress {
742
+ width: 107px;
743
+ height: 107px;
744
+ min-height: 107px;
745
+ display: flex;
746
+ justify-content: center;
747
+ align-items: center;
748
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
749
+ border-radius: 50%;
750
+ background: white;
751
+ position: relative;
806
752
  }
807
753
 
808
- .Modal > .content > .Button.close {
809
- top: 10px;
810
- right: 10px;
811
- position: absolute;
754
+ .FormUploadProgress .wrapper > .progress > .value {
755
+ display: inline-block;
756
+ margin-top: 5px;
757
+ font-weight: bold;
758
+ line-height: 16px;
759
+ font-size: 13px;
760
+ text-align: center;
761
+ color: #818181;
812
762
  }
813
763
 
814
- .ModalMenu {
815
- position: absolute;
816
- top: 10px;
817
- right: 50px;
764
+ .FormUploadProgress .wrapper .cancel {
765
+ min-width: 107px;
766
+ margin-top: 20px;
767
+ background-color: white;
768
+ color: #F96B5C;
769
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
818
770
  }
819
771
 
820
- .ModalMenu .material-icons {
821
- color: #818181;
772
+ .DNDContainer {
773
+ position: relative;
822
774
  }
823
775
 
824
- .ModalMenu .Button.animated {
825
- position: absolute;
826
- transition: opacity 150ms ease-in, right 200ms ease-in;
827
- opacity: 0;
828
- right: 0;
829
- top: 0;
776
+ .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
777
+ cursor: pointer;
830
778
  }
831
779
 
832
- .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
833
- opacity: 1;
780
+ .DNDContainer .Draggable.placeholder {
781
+ opacity: 0.2;
834
782
  }
835
783
 
836
- .ModalMenu .Button.animated.unmounting {
837
- transition: opacity 100ms ease-out, right 200ms ease-out;
784
+ .DNDContainer .Draggable.copy {
785
+ position: absolute;
786
+ box-sizing: border-box;
787
+ will-change: transform;
788
+ opacity: 0;
838
789
  }
839
790
 
840
- .ModalMenu .Button.active {
841
- background: #EBEBEB;
791
+ .DNDContainer .Draggable.dragged {
792
+ z-index: 10;
842
793
  }
843
794
 
844
- .ModalMenu .separator {
845
- height: 24px;
846
- width: 1px;
847
- background-color: #D9D9D9;
848
- margin-left: 4px;
795
+ .DNDContainer .overlay {
796
+ position: absolute;
797
+ top: 0;
798
+ left: 0;
799
+ right: 0;
800
+ bottom: 0;
801
+ pointer-events: none;
849
802
  }
850
803
 
851
804
  .ImageGallery {
@@ -1083,88 +1036,6 @@
1083
1036
  font-size: 24px;
1084
1037
  }
1085
1038
 
1086
- .Switch {
1087
- display: inline-flex;
1088
- padding-top: 5px;
1089
- }
1090
-
1091
- .Switch .switch-input {
1092
- display: none;
1093
- }
1094
-
1095
- .Switch .switch-label {
1096
- position: relative;
1097
- display: inline-flex;
1098
- align-items: center;
1099
- min-width: 38px;
1100
- height: 24px;
1101
- cursor: pointer;
1102
- font-weight: 500;
1103
- text-align: left;
1104
- user-select: none;
1105
- margin: 0;
1106
- padding: 0;
1107
- padding-left: 44px;
1108
- box-sizing: border-box;
1109
- }
1110
-
1111
- .Switch .switch-label:before, .Switch .switch-label:after {
1112
- content: "";
1113
- box-sizing: border-box;
1114
- position: absolute;
1115
- margin: 0;
1116
- outline: 0;
1117
- top: 50%;
1118
- transform: translate(0, -50%);
1119
- transition: all 0.3s ease;
1120
- }
1121
-
1122
- .Switch .switch-label:before {
1123
- left: 1px;
1124
- width: 34px;
1125
- height: 14px;
1126
- background-color: #9E9E9E;
1127
- border-radius: 8px;
1128
- }
1129
-
1130
- .Switch .switch-label:after {
1131
- left: 0;
1132
- width: 20px;
1133
- height: 20px;
1134
- background-color: #FAFAFA;
1135
- border-radius: 50%;
1136
- 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);
1137
- }
1138
-
1139
- .Switch .switch-label .toggle--on {
1140
- display: none;
1141
- }
1142
-
1143
- .Switch .switch-label .toggle--off {
1144
- display: inline-block;
1145
- }
1146
-
1147
- .Switch .switch-label .label {
1148
- margin-right: 5px;
1149
- }
1150
-
1151
- .Switch .switch-input:checked + .switch-label:before {
1152
- background-color: #A5D6A7;
1153
- }
1154
-
1155
- .Switch .switch-input:checked + .switch-label:after {
1156
- background-color: #4CAF50;
1157
- transform: translate(80%, -50%);
1158
- }
1159
-
1160
- .Switch .switch-input:checked + .switch-label .toggle--on {
1161
- display: inline-block;
1162
- }
1163
-
1164
- .Switch .switch-input:checked + .switch-label .toggle--off {
1165
- display: none;
1166
- }
1167
-
1168
1039
  .FilteredList {
1169
1040
  max-height: 250px;
1170
1041
  position: relative;
@@ -1246,6 +1117,43 @@
1246
1117
  margin-bottom: 8px;
1247
1118
  }
1248
1119
 
1120
+ .ModalMenu {
1121
+ position: absolute;
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;
1134
+ right: 0;
1135
+ top: 0;
1136
+ }
1137
+
1138
+ .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1139
+ opacity: 1;
1140
+ }
1141
+
1142
+ .ModalMenu .Button.animated.unmounting {
1143
+ transition: opacity 100ms ease-out, right 200ms ease-out;
1144
+ }
1145
+
1146
+ .ModalMenu .Button.active {
1147
+ background: #EBEBEB;
1148
+ }
1149
+
1150
+ .ModalMenu .separator {
1151
+ height: 24px;
1152
+ width: 1px;
1153
+ background-color: #D9D9D9;
1154
+ margin-left: 4px;
1155
+ }
1156
+
1249
1157
  .Scrollable {
1250
1158
  max-height: 250px;
1251
1159
  max-width: 250px;
@@ -1302,43 +1210,113 @@
1302
1210
  z-index: 1;
1303
1211
  }
1304
1212
 
1305
- .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1213
+ .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1214
+ opacity: 0;
1215
+ }
1216
+
1217
+ .Scrollable .scrollbar .thumb {
1218
+ background-color: rgba(0, 0, 0, 0.3);
1219
+ width: 5px;
1220
+ position: absolute;
1221
+ right: 0px;
1222
+ top: 0px;
1223
+ user-select: none;
1224
+ will-change: top;
1225
+ border-radius: 2px;
1226
+ }
1227
+
1228
+ .Scrollable .scrollbar .thumb:hover {
1229
+ background-color: rgba(0, 0, 0, 0.5);
1230
+ }
1231
+
1232
+ .Scrollable .scrollbar .thumb:active {
1233
+ background-color: rgba(0, 0, 0, 0.7);
1234
+ }
1235
+
1236
+ .Scrollable .scrollbar.horizontal {
1237
+ left: 0px;
1238
+ right: 0px;
1239
+ height: 5px;
1240
+ bottom: 0;
1241
+ width: unset;
1242
+ top: unset;
1243
+ }
1244
+
1245
+ .Scrollable .scrollbar.horizontal .thumb {
1246
+ height: 5px;
1247
+ left: 0px;
1248
+ bottom: 0px;
1249
+ will-change: left;
1250
+ }
1251
+
1252
+ .Modal {
1253
+ display: block;
1254
+ position: fixed;
1255
+ top: 0;
1256
+ left: 0;
1257
+ right: 0;
1258
+ bottom: 100%;
1259
+ overflow-y: scroll;
1260
+ transition: bottom 0ms linear;
1261
+ transition-delay: 0.2s;
1262
+ }
1263
+
1264
+ .Modal.show {
1265
+ transition-delay: 0s;
1266
+ bottom: 0;
1267
+ }
1268
+
1269
+ .Modal > .overlay {
1270
+ position: fixed;
1271
+ top: 0;
1272
+ bottom: 100%;
1273
+ left: 0;
1274
+ right: 0;
1275
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1306
1276
  opacity: 0;
1277
+ background-color: black;
1278
+ pointer-events: none;
1307
1279
  }
1308
1280
 
1309
- .Scrollable .scrollbar .thumb {
1310
- background-color: rgba(0, 0, 0, 0.3);
1311
- width: 5px;
1281
+ .Modal > .overlay.show {
1282
+ opacity: 0.5;
1283
+ bottom: 0;
1284
+ }
1285
+
1286
+ .Modal > .content {
1287
+ left: 50%;
1288
+ top: 10vh;
1289
+ margin-bottom: 10vh;
1290
+ font-size: 16px;
1291
+ padding: 0;
1292
+ opacity: 0;
1293
+ transition: opacity 0.25s ease, transform 0.25s ease;
1294
+ transform: scaleY(0) translateY(-200px) translateX(-50%);
1295
+ transform-origin: top;
1312
1296
  position: absolute;
1313
- right: 0px;
1314
- top: 0px;
1315
- user-select: none;
1316
- will-change: top;
1317
1297
  border-radius: 2px;
1298
+ box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1318
1299
  }
1319
1300
 
1320
- .Scrollable .scrollbar .thumb:hover {
1321
- background-color: rgba(0, 0, 0, 0.5);
1301
+ .Modal > .content.show {
1302
+ opacity: 1;
1303
+ transform: scaleY(1) translateY(0px) translateX(-50%);
1322
1304
  }
1323
1305
 
1324
- .Scrollable .scrollbar .thumb:active {
1325
- background-color: rgba(0, 0, 0, 0.7);
1306
+ .Modal > .content > .Scrollable {
1307
+ overflow: visible;
1308
+ max-height: 80vh;
1326
1309
  }
1327
1310
 
1328
- .Scrollable .scrollbar.horizontal {
1329
- left: 0px;
1330
- right: 0px;
1331
- height: 5px;
1332
- bottom: 0;
1333
- width: unset;
1334
- top: unset;
1311
+ .Modal > .content > .Scrollable > .viewport {
1312
+ min-width: 10px;
1313
+ min-height: 10px;
1335
1314
  }
1336
1315
 
1337
- .Scrollable .scrollbar.horizontal .thumb {
1338
- height: 5px;
1339
- left: 0px;
1340
- bottom: 0px;
1341
- will-change: left;
1316
+ .Modal > .content > .Button.close {
1317
+ top: 10px;
1318
+ right: 10px;
1319
+ position: absolute;
1342
1320
  }
1343
1321
 
1344
1322
  .Snackbar {
@@ -1386,6 +1364,88 @@
1386
1364
  color: #bf3727;
1387
1365
  }
1388
1366
 
1367
+ .Switch {
1368
+ display: inline-flex;
1369
+ padding-top: 5px;
1370
+ }
1371
+
1372
+ .Switch .switch-input {
1373
+ display: none;
1374
+ }
1375
+
1376
+ .Switch .switch-label {
1377
+ position: relative;
1378
+ display: inline-flex;
1379
+ align-items: center;
1380
+ min-width: 38px;
1381
+ height: 24px;
1382
+ cursor: pointer;
1383
+ font-weight: 500;
1384
+ text-align: left;
1385
+ user-select: none;
1386
+ margin: 0;
1387
+ padding: 0;
1388
+ padding-left: 44px;
1389
+ box-sizing: border-box;
1390
+ }
1391
+
1392
+ .Switch .switch-label:before, .Switch .switch-label:after {
1393
+ content: "";
1394
+ box-sizing: border-box;
1395
+ position: absolute;
1396
+ margin: 0;
1397
+ outline: 0;
1398
+ top: 50%;
1399
+ transform: translate(0, -50%);
1400
+ transition: all 0.3s ease;
1401
+ }
1402
+
1403
+ .Switch .switch-label:before {
1404
+ left: 1px;
1405
+ width: 34px;
1406
+ height: 14px;
1407
+ background-color: #9E9E9E;
1408
+ border-radius: 8px;
1409
+ }
1410
+
1411
+ .Switch .switch-label:after {
1412
+ left: 0;
1413
+ width: 20px;
1414
+ height: 20px;
1415
+ background-color: #FAFAFA;
1416
+ border-radius: 50%;
1417
+ 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);
1418
+ }
1419
+
1420
+ .Switch .switch-label .toggle--on {
1421
+ display: none;
1422
+ }
1423
+
1424
+ .Switch .switch-label .toggle--off {
1425
+ display: inline-block;
1426
+ }
1427
+
1428
+ .Switch .switch-label .label {
1429
+ margin-right: 5px;
1430
+ }
1431
+
1432
+ .Switch .switch-input:checked + .switch-label:before {
1433
+ background-color: #A5D6A7;
1434
+ }
1435
+
1436
+ .Switch .switch-input:checked + .switch-label:after {
1437
+ background-color: #4CAF50;
1438
+ transform: translate(80%, -50%);
1439
+ }
1440
+
1441
+ .Switch .switch-input:checked + .switch-label .toggle--on {
1442
+ display: inline-block;
1443
+ }
1444
+
1445
+ .Switch .switch-input:checked + .switch-label .toggle--off {
1446
+ display: none;
1447
+ }
1448
+
1389
1449
  .SpinningProgress {
1390
1450
  width: 48px;
1391
1451
  height: 48px;
@@ -1439,6 +1499,24 @@
1439
1499
  stroke-dashoffset: -53px;
1440
1500
  }
1441
1501
  }
1502
+ .DNDContainer .DroppableList .Draggable {
1503
+ transform: unset;
1504
+ transition: unset;
1505
+ opacity: 1;
1506
+ }
1507
+
1508
+ .DNDContainer .DroppableList .Draggable.dragged {
1509
+ transition: unset !important;
1510
+ }
1511
+
1512
+ .DNDContainer .DroppableList.hover .Draggable {
1513
+ transition: transform 0.2s ease-in;
1514
+ }
1515
+
1516
+ .DNDContainer .DroppableList.resetting .Draggable {
1517
+ transition: transform 0.1s ease-in;
1518
+ }
1519
+
1442
1520
  .TextField {
1443
1521
  position: relative;
1444
1522
  width: 100%;
@@ -1582,92 +1660,6 @@
1582
1660
  animation-name: shake;
1583
1661
  }
1584
1662
 
1585
- .Dropzone {
1586
- position: relative;
1587
- }
1588
-
1589
- .Dropzone > .overlay {
1590
- position: absolute;
1591
- left: 0;
1592
- right: 0;
1593
- top: 0;
1594
- bottom: 0;
1595
- background-color: #38ADC4;
1596
- z-index: 1;
1597
- opacity: 0;
1598
- transition: all 0.2s ease;
1599
- transition-delay: 100ms;
1600
- visibility: hidden;
1601
- display: flex;
1602
- justify-content: center;
1603
- align-items: center;
1604
- }
1605
-
1606
- .Dropzone > .overlay .drop {
1607
- border-radius: 4px;
1608
- border: 1px dashed #FFFFFF;
1609
- position: absolute;
1610
- top: 18px;
1611
- left: 18px;
1612
- right: 18px;
1613
- bottom: 18px;
1614
- display: flex;
1615
- justify-content: center;
1616
- align-items: center;
1617
- font-weight: 500;
1618
- font-size: 18px;
1619
- color: #FFFFFF;
1620
- }
1621
-
1622
- .Dropzone.dragging > .overlay {
1623
- opacity: 0.7;
1624
- visibility: visible;
1625
- transition-delay: 0s;
1626
- }
1627
-
1628
- .Dropzone.dragging > * {
1629
- pointer-events: none;
1630
- }
1631
-
1632
- .Dropzone > input.file {
1633
- position: absolute;
1634
- left: 0;
1635
- right: 0;
1636
- top: 0;
1637
- bottom: 0;
1638
- width: 100%;
1639
- height: 100%;
1640
- opacity: 0;
1641
- cursor: pointer;
1642
- z-index: 1;
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
- .ScrollableTable .Scrollable .scrollbar {
1664
- top: 56px;
1665
- }
1666
-
1667
- .ScrollableTable .Table {
1668
- position: static;
1669
- }
1670
-
1671
1663
  .Table {
1672
1664
  font-family: Roboto, sans-serif;
1673
1665
  font-size: 14px;
@@ -1780,4 +1772,12 @@
1780
1772
  height: 20px;
1781
1773
  padding: 0px;
1782
1774
  background-color: #f0f0f0;
1775
+ }
1776
+
1777
+ .ScrollableTable .Scrollable .scrollbar {
1778
+ top: 56px;
1779
+ }
1780
+
1781
+ .ScrollableTable .Table {
1782
+ position: static;
1783
1783
  }