react-ui-basics 0.0.160 → 0.0.163

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 (50) hide show
  1. package/Animated.js +8 -9
  2. package/AutocompleteSelect.js +63 -64
  3. package/Button.js +11 -12
  4. package/Checkbox.js +9 -10
  5. package/CircleProgress.js +4 -5
  6. package/CommonFields.js +3 -1
  7. package/DNDContainer.js +22 -23
  8. package/DNDDraggable.js +9 -10
  9. package/DNDDroppable.js +8 -9
  10. package/Dialog.js +17 -18
  11. package/DropFileInput.js +4 -5
  12. package/DroppableHorizontalList.js +11 -12
  13. package/DroppableList.js +11 -12
  14. package/Dropzone.js +13 -14
  15. package/FilteredList.js +33 -34
  16. package/FloatingActionButton.js +6 -7
  17. package/FormUploadProgress.js +8 -9
  18. package/ImageGallery.js +35 -36
  19. package/MaterialIcon.js +5 -6
  20. package/Modal.js +14 -15
  21. package/ModalMenu.js +10 -11
  22. package/ReactConstants.d.ts +5 -4
  23. package/ReactConstants.js +7 -9
  24. package/ReactCreateElement.js +2 -1
  25. package/ReadyListener.js +10 -11
  26. package/Scrollable.js +17 -18
  27. package/ScrollableTable.js +4 -5
  28. package/Size.js +3 -4
  29. package/Snackbar.js +7 -8
  30. package/SpinningProgress.js +5 -6
  31. package/Switch.js +19 -20
  32. package/Table.d.ts +8 -1
  33. package/Table.js +48 -56
  34. package/TextField.js +19 -20
  35. package/Tools.d.ts +1 -1
  36. package/Tools.js +6 -2
  37. package/_virtual/_commonjsHelpers.js +2 -1
  38. package/_virtual/_react.js +2 -1
  39. package/_virtual/react-jsx-runtime.development.js +2 -1
  40. package/bundle.css +609 -609
  41. package/index.js +3 -3
  42. package/package.json +1 -1
  43. package/router/HistoryTools.js +2 -1
  44. package/router/Link.js +6 -7
  45. package/router/NavLink.js +5 -6
  46. package/router/Route.js +7 -8
  47. package/router/index.js +2 -3
  48. package/store/ProxyTools.js +2 -3
  49. package/store/Store.js +3 -3
  50. package/store/Store.js.map +1 -1
package/bundle.css CHANGED
@@ -1,223 +1,3 @@
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
-
221
1
  .AutocompleteSelect {
222
2
  display: inline-flex;
223
3
  flex-flow: column;
@@ -513,98 +293,182 @@
513
293
  position: absolute;
514
294
  }
515
295
 
516
- .DropFileInput {
517
- flex-grow: 1;
518
- }
519
-
520
- .DropFileInput .Dropzone {
521
- border: 1px dashed #808080;
522
- padding: 12px;
523
- display: flex;
524
- flex-flow: row nowrap;
296
+ .Button {
297
+ position: relative;
298
+ min-width: 64px;
299
+ min-height: 36px;
300
+ height: 24px;
301
+ margin: 0px;
302
+ padding: 0px 16px;
303
+ border: none;
304
+ outline: none;
305
+ font-size: 14px;
306
+ font-weight: 500;
307
+ letter-spacing: 1.25px;
308
+ background: #dfdfdf;
309
+ text-transform: uppercase;
310
+ font-family: Roboto, sans-serif;
311
+ display: inline-flex;
525
312
  justify-content: center;
526
313
  align-items: center;
527
- color: gray;
528
314
  cursor: pointer;
315
+ overflow: hidden;
316
+ user-select: none;
529
317
  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;
318
+ transition: all 0.2s ease;
537
319
  }
538
320
 
539
- .DropFileInput .Dropzone .icon.withText {
540
- margin-right: 10px;
321
+ .Button.flat {
322
+ background-color: transparent;
541
323
  }
542
324
 
543
- .Checkbox {
544
- position: relative;
545
- white-space: pre;
325
+ .Button.flat:hover {
326
+ background-color: rgba(0, 0, 0, 0.05);
546
327
  }
547
328
 
548
- .Checkbox *, .Checkbox *:before, .Checkbox *:after {
549
- box-sizing: border-box;
329
+ .Button.green {
330
+ background-color: #43a047;
331
+ color: white;
550
332
  }
551
333
 
552
- .Checkbox label {
553
- font-family: Roboto, sans-serif;
554
- font-size: 14px;
555
- color: #1e252d;
556
- cursor: pointer;
334
+ .Button.green:hover {
335
+ background-color: #3b8e3f;
557
336
  }
558
337
 
559
- .Checkbox label:before, .Checkbox label:after {
560
- content: "";
561
- position: absolute;
562
- left: 0;
563
- top: 0;
338
+ .Button.blue {
339
+ background-color: #039be5;
340
+ color: white;
564
341
  }
565
342
 
566
- .Checkbox label:before {
567
- width: 20px;
568
- height: 20px;
569
- background: #fff;
570
- border: 2px solid #252525;
571
- border-radius: 2px;
572
- cursor: pointer;
573
- transition: background 0.3s;
343
+ .Button.blue:hover {
344
+ background-color: #038acc;
574
345
  }
575
346
 
576
- .Checkbox input[type=checkbox] {
577
- outline: 0;
347
+ .Button.red {
348
+ background-color: #e53935;
349
+ color: white;
350
+ }
351
+
352
+ .Button.red:hover {
353
+ background-color: #e2231e;
354
+ }
355
+
356
+ .Button.black {
357
+ background-color: #1e252d;
358
+ color: white;
359
+ }
360
+
361
+ .Button.black:hover {
362
+ background-color: #14181e;
363
+ }
364
+
365
+ .Button.gray {
366
+ background: #D9D9D9;
367
+ color: #999999;
368
+ }
369
+
370
+ .Button.gray:hover {
371
+ background-color: #cccccc;
372
+ }
373
+
374
+ .Button.small {
375
+ padding: 0px 8px;
376
+ min-height: 16px;
377
+ min-width: 16px;
378
+ }
379
+
380
+ .Button > .material-icons {
578
381
  margin-right: 10px;
579
- visibility: hidden;
580
382
  }
581
383
 
582
- .Checkbox input[type=checkbox]:checked + label:before {
583
- background: #4AC263;
584
- border: none;
384
+ .Button.round {
385
+ padding: 0px;
386
+ min-width: 36px;
387
+ border-radius: 50%;
585
388
  }
586
389
 
587
- .Checkbox input[type=checkbox]:checked + label:after {
588
- transform: rotate(-45deg);
589
- top: 6px;
590
- left: 4px;
591
- width: 12px;
592
- height: 6px;
593
- border: 2px solid #fff;
594
- border-top-style: none;
595
- border-right-style: none;
390
+ .Button.round > .material-icons {
391
+ margin: 0px;
596
392
  }
597
393
 
598
- .Checkbox input[type=checkbox]:disabled + label {
599
- color: gray;
394
+ .Button .ripple {
395
+ position: absolute;
396
+ background: rgba(0, 0, 0, 0.1);
397
+ border-radius: 100%;
398
+ transform: scale(0);
399
+ pointer-events: none;
400
+ transition: opacity 0.2s ease-out;
600
401
  }
601
402
 
602
- .Checkbox input[type=checkbox]:disabled + label:before {
603
- border-color: rgba(0, 0, 0, 0.26);
403
+ .Button .ripple.show {
404
+ animation: ripple 0.35s ease-out;
604
405
  }
605
406
 
606
- .Checkbox input[type=checkbox]:disabled:checked + label:before {
607
- background: rgba(0, 0, 0, 0.26);
407
+ .Button:active .ripple.showed {
408
+ opacity: 1;
409
+ }
410
+
411
+ .Button:focus .ripple.focused {
412
+ opacity: 1;
413
+ transition: opacity 0.2s ease-out, transform 0.2s ease-out;
414
+ transform: scale(1);
415
+ animation: resize 1.25s ease-out infinite;
416
+ animation-delay: 0.2s;
417
+ animation-direction: alternate;
418
+ }
419
+
420
+ .Button .ripple.showed {
421
+ transform: scale(2);
422
+ opacity: 0;
423
+ }
424
+
425
+ @keyframes ripple {
426
+ to {
427
+ transform: scale(2);
428
+ }
429
+ }
430
+ @keyframes resize {
431
+ to {
432
+ transform: scale(0.9);
433
+ }
434
+ }
435
+ .Button.raised {
436
+ transition: color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
437
+ }
438
+
439
+ .Button.raised:hover {
440
+ box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
441
+ }
442
+
443
+ .Button.raised:active {
444
+ box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.35);
445
+ }
446
+
447
+ .Button.disabled {
448
+ box-shadow: none;
449
+ background: #D9D9D9;
450
+ color: #999999;
451
+ }
452
+
453
+ .Button.disabled:hover {
454
+ background-color: #cccccc;
455
+ }
456
+
457
+ .Button::-moz-focus-inner {
458
+ border: 0;
459
+ }
460
+
461
+ .CircleProgress {
462
+ width: 48px;
463
+ height: 48px;
464
+ }
465
+
466
+ .CircleProgress .line {
467
+ stroke-width: 2px;
468
+ stroke: black;
469
+ stroke-linecap: square;
470
+ fill: none;
471
+ transition: stroke-dashoffset 0.2s ease;
608
472
  }
609
473
 
610
474
  .animated {
@@ -616,157 +480,127 @@
616
480
  opacity: 1;
617
481
  }
618
482
 
619
- .Dropzone {
483
+ .FilteredList {
484
+ max-height: 250px;
620
485
  position: relative;
621
486
  }
622
487
 
623
- .Dropzone > .overlay {
488
+ .FilteredList.popup {
489
+ padding: 0;
490
+ visibility: hidden;
624
491
  position: absolute;
625
- left: 0;
626
- right: 0;
627
- top: 0;
628
- bottom: 0;
629
- background-color: #38ADC4;
630
- z-index: 1;
492
+ background: white;
493
+ z-index: 4;
494
+ box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
495
+ transition: all 0.2s ease-out;
496
+ top: calc(100% + 4px);
631
497
  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;
498
+ border-radius: 2px;
638
499
  }
639
500
 
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;
501
+ .FilteredList.popup.visible {
502
+ opacity: 1;
503
+ visibility: visible;
504
+ }
505
+
506
+ .FilteredList.inline {
507
+ max-height: 225px;
508
+ margin-top: 5px;
509
+ }
510
+
511
+ .FilteredList .child {
648
512
  display: flex;
649
- justify-content: center;
513
+ flex-flow: row nowrap;
650
514
  align-items: center;
651
- font-weight: 500;
652
- font-size: 18px;
653
- color: #FFFFFF;
515
+ white-space: nowrap;
516
+ font-size: 14px;
517
+ color: #222222;
518
+ height: 30px;
519
+ padding: 5px 10px;
520
+ padding-right: 15px;
521
+ cursor: pointer;
522
+ overflow: hidden;
523
+ transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
524
+ border-left: 5px solid #4AC263;
525
+ padding-left: 15px;
526
+ margin-left: -5px;
654
527
  }
655
528
 
656
- .Dropzone.dragging > .overlay {
657
- opacity: 0.7;
658
- visibility: visible;
659
- transition-delay: 0s;
529
+ .FilteredList .child.hidden {
530
+ height: 0 !important;
531
+ padding: 0 !important;
660
532
  }
661
533
 
662
- .Dropzone.dragging > * {
663
- pointer-events: none;
534
+ .FilteredList .child.selected {
535
+ background-color: #F0F0F0;
536
+ padding-left: 10px;
537
+ margin-left: 0px;
664
538
  }
665
539
 
666
- .Dropzone > input.file {
667
- position: absolute;
668
- left: 0;
669
- right: 0;
670
- top: 0;
671
- bottom: 0;
672
- width: 100%;
673
- height: 100%;
674
- opacity: 0;
675
- cursor: pointer;
676
- z-index: 1;
540
+ .FilteredList .child.active {
541
+ background-color: #eeeeee;
677
542
  }
678
543
 
679
- .Button.FloatingActionButton {
680
- position: absolute;
681
- right: 16px;
682
- bottom: 16px;
683
- width: 56px;
684
- height: 56px;
685
- padding: 16px;
686
- transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
544
+ .FilteredList .child {
545
+ margin-top: 8px;
687
546
  }
688
547
 
689
- .Button.FloatingActionButton.raised {
690
- 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);
548
+ .FilteredList .child.hidden {
549
+ margin-top: 0;
691
550
  }
692
551
 
693
- .Button.FloatingActionButton.mini {
694
- width: 40px;
695
- height: 40px;
696
- padding: 8px;
552
+ .FilteredList .child:not(.hidden) ~ .child {
553
+ margin-top: 0;
697
554
  }
698
555
 
699
- .Button.FloatingActionButton.hidden {
700
- bottom: -100px;
556
+ .FilteredList .child:not(.hidden) ~ .child:last-child {
557
+ margin-bottom: 8px;
701
558
  }
702
559
 
703
- .FormUploadProgress {
704
- position: absolute;
705
- left: 0;
706
- right: 0;
707
- top: 0;
708
- bottom: 0;
709
- background-color: rgba(255, 255, 255, 0.6);
710
- z-index: 2;
560
+ .FilteredList .child:not(.hidden):last-child {
561
+ margin-bottom: 8px;
711
562
  }
712
563
 
713
- .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
714
- transition-delay: 500ms;
564
+ .DialogModal {
565
+ overflow: hidden;
715
566
  }
716
567
 
717
- .FormUploadProgress .wrapper {
718
- position: sticky;
719
- top: 40%;
720
- margin-top: 40%;
721
- margin-left: 50%;
722
- transform: translateX(-50%);
723
- display: flex;
724
- flex-flow: column;
725
- justify-content: center;
726
- align-items: center;
568
+ .DialogModal .content {
569
+ top: 20vh;
727
570
  }
728
571
 
729
- .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
730
- position: absolute;
731
- width: 107px;
732
- height: 107px;
733
- top: 0;
734
- left: 0;
572
+ .Dialog {
573
+ background-color: white;
574
+ min-width: 460px;
575
+ max-width: 40vw;
576
+ padding: 15px;
735
577
  }
736
578
 
737
- .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
738
- stroke: #2196F3;
579
+ .Dialog .title {
580
+ margin-bottom: 15px;
581
+ padding: 20px 50px 0px 30px;
582
+ font-size: 1.25rem;
583
+ line-height: 2rem;
584
+ font-weight: 400;
585
+ letter-spacing: 0.0125em;
739
586
  }
740
587
 
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;
588
+ .Dialog .description {
589
+ color: rgba(0, 0, 0, 0.54);
590
+ font-size: 1rem;
591
+ line-height: 1.5rem;
592
+ font-weight: 400;
593
+ letter-spacing: 0.03125em;
594
+ margin-top: 20px;
595
+ padding: 0 24px 24px;
752
596
  }
753
597
 
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;
598
+ .Dialog > div.row {
599
+ margin-bottom: 15px;
762
600
  }
763
601
 
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);
602
+ .Dialog > div.row:last-child {
603
+ margin-bottom: 0;
770
604
  }
771
605
 
772
606
  .DNDContainer {
@@ -1025,96 +859,15 @@
1025
859
  }
1026
860
 
1027
861
  .ImageGallery .previews > .arrow.left {
1028
- left: 0;
1029
- }
1030
-
1031
- .ImageGallery .previews > .arrow.right {
1032
- right: 0;
1033
- }
1034
-
1035
- .ImageGallery .previews > .arrow .material-icons {
1036
- font-size: 24px;
1037
- }
1038
-
1039
- .FilteredList {
1040
- max-height: 250px;
1041
- position: relative;
1042
- }
1043
-
1044
- .FilteredList.popup {
1045
- padding: 0;
1046
- visibility: hidden;
1047
- position: absolute;
1048
- background: white;
1049
- z-index: 4;
1050
- 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);
1051
- transition: all 0.2s ease-out;
1052
- top: calc(100% + 4px);
1053
- opacity: 0;
1054
- border-radius: 2px;
1055
- }
1056
-
1057
- .FilteredList.popup.visible {
1058
- opacity: 1;
1059
- visibility: visible;
1060
- }
1061
-
1062
- .FilteredList.inline {
1063
- max-height: 225px;
1064
- margin-top: 5px;
1065
- }
1066
-
1067
- .FilteredList .child {
1068
- display: flex;
1069
- flex-flow: row nowrap;
1070
- align-items: center;
1071
- white-space: nowrap;
1072
- font-size: 14px;
1073
- color: #222222;
1074
- height: 30px;
1075
- padding: 5px 10px;
1076
- padding-right: 15px;
1077
- cursor: pointer;
1078
- overflow: hidden;
1079
- transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1080
- border-left: 5px solid #4AC263;
1081
- padding-left: 15px;
1082
- margin-left: -5px;
1083
- }
1084
-
1085
- .FilteredList .child.hidden {
1086
- height: 0 !important;
1087
- padding: 0 !important;
1088
- }
1089
-
1090
- .FilteredList .child.selected {
1091
- background-color: #F0F0F0;
1092
- padding-left: 10px;
1093
- margin-left: 0px;
1094
- }
1095
-
1096
- .FilteredList .child.active {
1097
- background-color: #eeeeee;
1098
- }
1099
-
1100
- .FilteredList .child {
1101
- margin-top: 8px;
1102
- }
1103
-
1104
- .FilteredList .child.hidden {
1105
- margin-top: 0;
1106
- }
1107
-
1108
- .FilteredList .child:not(.hidden) ~ .child {
1109
- margin-top: 0;
862
+ left: 0;
1110
863
  }
1111
864
 
1112
- .FilteredList .child:not(.hidden) ~ .child:last-child {
1113
- margin-bottom: 8px;
865
+ .ImageGallery .previews > .arrow.right {
866
+ right: 0;
1114
867
  }
1115
868
 
1116
- .FilteredList .child:not(.hidden):last-child {
1117
- margin-bottom: 8px;
869
+ .ImageGallery .previews > .arrow .material-icons {
870
+ font-size: 24px;
1118
871
  }
1119
872
 
1120
873
  .ModalMenu {
@@ -1154,6 +907,33 @@
1154
907
  margin-left: 4px;
1155
908
  }
1156
909
 
910
+ .DropFileInput {
911
+ flex-grow: 1;
912
+ }
913
+
914
+ .DropFileInput .Dropzone {
915
+ border: 1px dashed #808080;
916
+ padding: 12px;
917
+ display: flex;
918
+ flex-flow: row nowrap;
919
+ justify-content: center;
920
+ align-items: center;
921
+ color: gray;
922
+ cursor: pointer;
923
+ border-radius: 3px;
924
+ font-weight: normal;
925
+ line-height: 22px;
926
+ font-size: 14px;
927
+ color: #7E7E7E;
928
+ max-width: 100%;
929
+ word-break: break-all;
930
+ word-break: break-word;
931
+ }
932
+
933
+ .DropFileInput .Dropzone .icon.withText {
934
+ margin-right: 10px;
935
+ }
936
+
1157
937
  .Scrollable {
1158
938
  max-height: 250px;
1159
939
  max-width: 250px;
@@ -1319,6 +1099,30 @@
1319
1099
  position: absolute;
1320
1100
  }
1321
1101
 
1102
+ .Button.FloatingActionButton {
1103
+ position: absolute;
1104
+ right: 16px;
1105
+ bottom: 16px;
1106
+ width: 56px;
1107
+ height: 56px;
1108
+ padding: 16px;
1109
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1110
+ }
1111
+
1112
+ .Button.FloatingActionButton.raised {
1113
+ 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);
1114
+ }
1115
+
1116
+ .Button.FloatingActionButton.mini {
1117
+ width: 40px;
1118
+ height: 40px;
1119
+ padding: 8px;
1120
+ }
1121
+
1122
+ .Button.FloatingActionButton.hidden {
1123
+ bottom: -100px;
1124
+ }
1125
+
1322
1126
  .Snackbar {
1323
1127
  transform: translateX(-50%);
1324
1128
  overflow: hidden;
@@ -1344,24 +1148,227 @@
1344
1148
  opacity: 1;
1345
1149
  }
1346
1150
 
1347
- .Snackbar .message {
1348
- overflow: hidden;
1349
- line-height: 1.2em;
1350
- min-height: 1.2em;
1351
- max-height: 2.4em;
1352
- flex: 1;
1151
+ .Snackbar .message {
1152
+ overflow: hidden;
1153
+ line-height: 1.2em;
1154
+ min-height: 1.2em;
1155
+ max-height: 2.4em;
1156
+ flex: 1;
1157
+ }
1158
+
1159
+ .Snackbar .action {
1160
+ text-transform: uppercase;
1161
+ font-weight: bold;
1162
+ margin-left: 48px;
1163
+ color: #bf3727;
1164
+ }
1165
+
1166
+ .Snackbar .action a {
1167
+ text-decoration: none;
1168
+ color: #bf3727;
1169
+ }
1170
+
1171
+ .Dropzone {
1172
+ position: relative;
1173
+ }
1174
+
1175
+ .Dropzone > .overlay {
1176
+ position: absolute;
1177
+ left: 0;
1178
+ right: 0;
1179
+ top: 0;
1180
+ bottom: 0;
1181
+ background-color: #38ADC4;
1182
+ z-index: 1;
1183
+ opacity: 0;
1184
+ transition: all 0.2s ease;
1185
+ transition-delay: 100ms;
1186
+ visibility: hidden;
1187
+ display: flex;
1188
+ justify-content: center;
1189
+ align-items: center;
1190
+ }
1191
+
1192
+ .Dropzone > .overlay .drop {
1193
+ border-radius: 4px;
1194
+ border: 1px dashed #FFFFFF;
1195
+ position: absolute;
1196
+ top: 18px;
1197
+ left: 18px;
1198
+ right: 18px;
1199
+ bottom: 18px;
1200
+ display: flex;
1201
+ justify-content: center;
1202
+ align-items: center;
1203
+ font-weight: 500;
1204
+ font-size: 18px;
1205
+ color: #FFFFFF;
1206
+ }
1207
+
1208
+ .Dropzone.dragging > .overlay {
1209
+ opacity: 0.7;
1210
+ visibility: visible;
1211
+ transition-delay: 0s;
1212
+ }
1213
+
1214
+ .Dropzone.dragging > * {
1215
+ pointer-events: none;
1216
+ }
1217
+
1218
+ .Dropzone > input.file {
1219
+ position: absolute;
1220
+ left: 0;
1221
+ right: 0;
1222
+ top: 0;
1223
+ bottom: 0;
1224
+ width: 100%;
1225
+ height: 100%;
1226
+ opacity: 0;
1227
+ cursor: pointer;
1228
+ z-index: 1;
1229
+ }
1230
+
1231
+ .TextField {
1232
+ position: relative;
1233
+ width: 100%;
1234
+ }
1235
+
1236
+ .TextField > label {
1237
+ font-family: Roboto, sans-serif;
1238
+ color: rgba(0, 0, 0, 0.3);
1239
+ font-size: 16px;
1240
+ position: absolute;
1241
+ left: 0px;
1242
+ top: 16px;
1243
+ margin-top: -16px;
1244
+ transition: all 0.2s ease;
1245
+ user-select: none;
1246
+ cursor: text;
1247
+ }
1248
+
1249
+ .TextField > input {
1250
+ font-family: Roboto, sans-serif;
1251
+ color: #1e252d;
1252
+ height: 19px;
1253
+ font-size: 16px;
1254
+ width: 100%;
1255
+ border: 0px;
1256
+ padding-bottom: 4px;
1257
+ padding-top: 0;
1258
+ outline-color: rgba(0, 0, 0, 0);
1259
+ }
1260
+
1261
+ .TextField > input:focus {
1262
+ outline: none;
1263
+ }
1264
+
1265
+ .TextField > input:disabled {
1266
+ color: gray;
1267
+ background-color: white;
1268
+ }
1269
+
1270
+ .TextField > input:disabled + .border {
1271
+ height: 0px;
1272
+ border-bottom: 2px dotted #e0e0e0;
1273
+ }
1274
+
1275
+ .TextField > input::placeholder {
1276
+ font-family: Roboto, sans-serif;
1277
+ color: rgba(0, 0, 0, 0.3);
1278
+ opacity: 1;
1279
+ }
1280
+
1281
+ .TextField > .border {
1282
+ border-bottom: 1px solid #e0e0e0;
1283
+ height: 1px;
1284
+ position: relative;
1285
+ }
1286
+
1287
+ .TextField > .border .line {
1288
+ left: 50%;
1289
+ width: 0;
1290
+ height: 2px;
1291
+ min-height: 2px;
1292
+ background-color: #00bcd4;
1293
+ transition: all 0.2s ease;
1294
+ position: absolute;
1295
+ }
1296
+
1297
+ .TextField > .error {
1298
+ text-align: left;
1299
+ font-size: 10px;
1300
+ min-height: 0;
1301
+ line-height: 14px;
1302
+ color: #f44336;
1303
+ visibility: hidden;
1304
+ opacity: 0;
1305
+ transition: all 0.2s ease;
1306
+ }
1307
+
1308
+ .TextField.focused > label, .TextField.withValue > label {
1309
+ top: 4px;
1310
+ font-size: 12px;
1311
+ line-height: 14px;
1312
+ }
1313
+
1314
+ .TextField.errored > .error {
1315
+ visibility: visible;
1316
+ opacity: 1;
1317
+ }
1318
+
1319
+ .TextField.errored > .border {
1320
+ border-bottom-color: #f44336;
1321
+ }
1322
+
1323
+ .TextField.errored > label {
1324
+ color: #f44336;
1325
+ }
1326
+
1327
+ .TextField.focused > label {
1328
+ color: #00bcd4;
1329
+ }
1330
+
1331
+ .TextField.focused > .border .line {
1332
+ left: 0;
1333
+ width: 100%;
1334
+ }
1335
+
1336
+ .TextField.disabled label, .TextField.disabled input {
1337
+ cursor: not-allowed;
1338
+ }
1339
+
1340
+ .TextField.withLabel {
1341
+ margin-top: 15px;
1342
+ }
1343
+
1344
+ .TextField input::-webkit-contacts-auto-fill-button {
1345
+ visibility: hidden;
1346
+ display: none !important;
1347
+ pointer-events: none;
1348
+ position: absolute;
1349
+ right: 0;
1350
+ }
1351
+
1352
+ .TextField input:-webkit-autofill {
1353
+ -webkit-box-shadow: inset 0 0 0px 9999px white;
1353
1354
  }
1354
1355
 
1355
- .Snackbar .action {
1356
- text-transform: uppercase;
1357
- font-weight: bold;
1358
- margin-left: 48px;
1359
- color: #bf3727;
1356
+ @keyframes shake {
1357
+ 0%, 100% {
1358
+ transform: translateX(0);
1359
+ }
1360
+ 20%, 60% {
1361
+ transform: translateX(-5px);
1362
+ }
1363
+ 40%, 80% {
1364
+ transform: translateX(5px);
1365
+ }
1360
1366
  }
1361
-
1362
- .Snackbar .action a {
1363
- text-decoration: none;
1364
- color: #bf3727;
1367
+ .TextField .shake {
1368
+ animation-duration: 0.5s;
1369
+ animation-fill-mode: both;
1370
+ animation-timing-function: ease-in-out;
1371
+ animation-name: shake;
1365
1372
  }
1366
1373
 
1367
1374
  .Switch {
@@ -1499,165 +1506,158 @@
1499
1506
  stroke-dashoffset: -53px;
1500
1507
  }
1501
1508
  }
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;
1509
+ .FormUploadProgress {
1510
+ position: absolute;
1511
+ left: 0;
1512
+ right: 0;
1513
+ top: 0;
1514
+ bottom: 0;
1515
+ background-color: rgba(255, 255, 255, 0.6);
1516
+ z-index: 2;
1514
1517
  }
1515
1518
 
1516
- .DNDContainer .DroppableList.resetting .Draggable {
1517
- transition: transform 0.1s ease-in;
1519
+ .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
1520
+ transition-delay: 500ms;
1518
1521
  }
1519
1522
 
1520
- .TextField {
1521
- position: relative;
1522
- width: 100%;
1523
+ .FormUploadProgress .wrapper {
1524
+ position: sticky;
1525
+ top: 40%;
1526
+ margin-top: 40%;
1527
+ margin-left: 50%;
1528
+ transform: translateX(-50%);
1529
+ display: flex;
1530
+ flex-flow: column;
1531
+ justify-content: center;
1532
+ align-items: center;
1523
1533
  }
1524
1534
 
1525
- .TextField > label {
1526
- font-family: Roboto, sans-serif;
1527
- color: rgba(0, 0, 0, 0.3);
1528
- font-size: 16px;
1535
+ .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
1529
1536
  position: absolute;
1530
- left: 0px;
1531
- top: 16px;
1532
- margin-top: -16px;
1533
- transition: all 0.2s ease;
1534
- user-select: none;
1535
- cursor: text;
1537
+ width: 107px;
1538
+ height: 107px;
1539
+ top: 0;
1540
+ left: 0;
1536
1541
  }
1537
1542
 
1538
- .TextField > input {
1539
- font-family: Roboto, sans-serif;
1540
- color: #1e252d;
1541
- height: 19px;
1542
- font-size: 16px;
1543
- width: 100%;
1544
- border: 0px;
1545
- padding-bottom: 4px;
1546
- padding-top: 0;
1547
- outline-color: rgba(0, 0, 0, 0);
1543
+ .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
1544
+ stroke: #2196F3;
1548
1545
  }
1549
1546
 
1550
- .TextField > input:focus {
1551
- outline: none;
1547
+ .FormUploadProgress .wrapper > .progress {
1548
+ width: 107px;
1549
+ height: 107px;
1550
+ min-height: 107px;
1551
+ display: flex;
1552
+ justify-content: center;
1553
+ align-items: center;
1554
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1555
+ border-radius: 50%;
1556
+ background: white;
1557
+ position: relative;
1552
1558
  }
1553
1559
 
1554
- .TextField > input:disabled {
1555
- color: gray;
1556
- background-color: white;
1560
+ .FormUploadProgress .wrapper > .progress > .value {
1561
+ display: inline-block;
1562
+ margin-top: 5px;
1563
+ font-weight: bold;
1564
+ line-height: 16px;
1565
+ font-size: 13px;
1566
+ text-align: center;
1567
+ color: #818181;
1557
1568
  }
1558
1569
 
1559
- .TextField > input:disabled + .border {
1560
- height: 0px;
1561
- border-bottom: 2px dotted #e0e0e0;
1570
+ .FormUploadProgress .wrapper .cancel {
1571
+ min-width: 107px;
1572
+ margin-top: 20px;
1573
+ background-color: white;
1574
+ color: #F96B5C;
1575
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1562
1576
  }
1563
1577
 
1564
- .TextField > input::placeholder {
1565
- font-family: Roboto, sans-serif;
1566
- color: rgba(0, 0, 0, 0.3);
1578
+ .DNDContainer .DroppableList .Draggable {
1579
+ transform: unset;
1580
+ transition: unset;
1567
1581
  opacity: 1;
1568
1582
  }
1569
1583
 
1570
- .TextField > .border {
1571
- border-bottom: 1px solid #e0e0e0;
1572
- height: 1px;
1573
- position: relative;
1584
+ .DNDContainer .DroppableList .Draggable.dragged {
1585
+ transition: unset !important;
1574
1586
  }
1575
1587
 
1576
- .TextField > .border .line {
1577
- left: 50%;
1578
- width: 0;
1579
- height: 2px;
1580
- min-height: 2px;
1581
- background-color: #00bcd4;
1582
- transition: all 0.2s ease;
1583
- position: absolute;
1588
+ .DNDContainer .DroppableList.hover .Draggable {
1589
+ transition: transform 0.2s ease-in;
1584
1590
  }
1585
1591
 
1586
- .TextField > .error {
1587
- text-align: left;
1588
- font-size: 10px;
1589
- min-height: 0;
1590
- line-height: 14px;
1591
- color: #f44336;
1592
- visibility: hidden;
1593
- opacity: 0;
1594
- transition: all 0.2s ease;
1592
+ .DNDContainer .DroppableList.resetting .Draggable {
1593
+ transition: transform 0.1s ease-in;
1595
1594
  }
1596
1595
 
1597
- .TextField.focused > label, .TextField.withValue > label {
1598
- top: 4px;
1599
- font-size: 12px;
1600
- line-height: 14px;
1596
+ .Checkbox {
1597
+ position: relative;
1598
+ white-space: pre;
1601
1599
  }
1602
1600
 
1603
- .TextField.errored > .error {
1604
- visibility: visible;
1605
- opacity: 1;
1601
+ .Checkbox *, .Checkbox *:before, .Checkbox *:after {
1602
+ box-sizing: border-box;
1606
1603
  }
1607
1604
 
1608
- .TextField.errored > .border {
1609
- border-bottom-color: #f44336;
1605
+ .Checkbox label {
1606
+ font-family: Roboto, sans-serif;
1607
+ font-size: 14px;
1608
+ color: #1e252d;
1609
+ cursor: pointer;
1610
1610
  }
1611
1611
 
1612
- .TextField.errored > label {
1613
- color: #f44336;
1612
+ .Checkbox label:before, .Checkbox label:after {
1613
+ content: "";
1614
+ position: absolute;
1615
+ left: 0;
1616
+ top: 0;
1614
1617
  }
1615
1618
 
1616
- .TextField.focused > label {
1617
- color: #00bcd4;
1619
+ .Checkbox label:before {
1620
+ width: 20px;
1621
+ height: 20px;
1622
+ background: #fff;
1623
+ border: 2px solid #252525;
1624
+ border-radius: 2px;
1625
+ cursor: pointer;
1626
+ transition: background 0.3s;
1618
1627
  }
1619
1628
 
1620
- .TextField.focused > .border .line {
1621
- left: 0;
1622
- width: 100%;
1629
+ .Checkbox input[type=checkbox] {
1630
+ outline: 0;
1631
+ margin-right: 10px;
1632
+ visibility: hidden;
1623
1633
  }
1624
1634
 
1625
- .TextField.disabled label, .TextField.disabled input {
1626
- cursor: not-allowed;
1635
+ .Checkbox input[type=checkbox]:checked + label:before {
1636
+ background: #4AC263;
1637
+ border: none;
1627
1638
  }
1628
1639
 
1629
- .TextField.withLabel {
1630
- margin-top: 15px;
1640
+ .Checkbox input[type=checkbox]:checked + label:after {
1641
+ transform: rotate(-45deg);
1642
+ top: 6px;
1643
+ left: 4px;
1644
+ width: 12px;
1645
+ height: 6px;
1646
+ border: 2px solid #fff;
1647
+ border-top-style: none;
1648
+ border-right-style: none;
1631
1649
  }
1632
1650
 
1633
- .TextField input::-webkit-contacts-auto-fill-button {
1634
- visibility: hidden;
1635
- display: none !important;
1636
- pointer-events: none;
1637
- position: absolute;
1638
- right: 0;
1651
+ .Checkbox input[type=checkbox]:disabled + label {
1652
+ color: gray;
1639
1653
  }
1640
1654
 
1641
- .TextField input:-webkit-autofill {
1642
- -webkit-box-shadow: inset 0 0 0px 9999px white;
1655
+ .Checkbox input[type=checkbox]:disabled + label:before {
1656
+ border-color: rgba(0, 0, 0, 0.26);
1643
1657
  }
1644
1658
 
1645
- @keyframes shake {
1646
- 0%, 100% {
1647
- transform: translateX(0);
1648
- }
1649
- 20%, 60% {
1650
- transform: translateX(-5px);
1651
- }
1652
- 40%, 80% {
1653
- transform: translateX(5px);
1654
- }
1655
- }
1656
- .TextField .shake {
1657
- animation-duration: 0.5s;
1658
- animation-fill-mode: both;
1659
- animation-timing-function: ease-in-out;
1660
- animation-name: shake;
1659
+ .Checkbox input[type=checkbox]:disabled:checked + label:before {
1660
+ background: rgba(0, 0, 0, 0.26);
1661
1661
  }
1662
1662
 
1663
1663
  .Table {