react-ui-basics 0.0.191 → 0.0.192

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/DatePicker.js CHANGED
@@ -100,6 +100,9 @@ var DatePicker = /** @class */ (function (_super) {
100
100
  if (__state(this).focused !== nextState.focused) {
101
101
  return true;
102
102
  }
103
+ if (__state(this).popupStyles !== nextState.popupStyles) {
104
+ return true;
105
+ }
103
106
  if (__state(this).selectedMonth !== nextState.selectedMonth) {
104
107
  return true;
105
108
  }
package/DatePicker.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"DatePicker.js","sources":["./src/DatePicker.tsx"],"sourcesContent":[null],"names":["_jsx","DateTools.get","DateTools.TimeUnit","DateTools.dateOf","DateTools.equals","_jsxs"],"mappings":";;;;;;;;;;;AAWA,IAAM,WAAW,GAAG,UAAC,EAKpB,EAAA;QALqB,GAAG,GAAA,EAAA,CAAA,GAAA,EAAE,QAAQ,GAAA,EAAA,CAAA,QAAA,EAAE,OAAO,GAAA,EAAA,CAAA,OAAA,EAAE,OAAO,GAAA,EAAA,CAAA,OAAA,CAAA;AAMjD,IAAA,OAAAA,gCACI,SAAS,EAAE,UAAU,CAAC,OAAO,EACzB,OAAO,KAAK,GAAG,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,IAAI,UAAU,EAC5E,QAAQ,IAAI,GAAG,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,UAAU,CACrD,EACD,OAAO,EAAE,UAAA,CAAC,EAAA;YACN,cAAc,CAAC,CAAC,CAAC,CAAC;AAClB,YAAA,IAAI,OAAO,KAAK,GAAG,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;gBAAE,OAAO;YAE3E,OAAO,CAAC,GAAG,CAAC,CAAC;AACjB,SAAC,EAEA,EAAA,EAAA,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CAAC;AAC1B,4BAAA,IAAI,IAAI,IAAI,IAAI,YAAY,IAAI,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,EAAE;gCAC/D,IAAI,CAAC,KAAK,IAAI,CAACI,MAAgB,CAAC,KAAK,EAAE,IAAI,CAAC;AACxC,oCAAA,KAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAC3B,6BAAA;4BACD,KAAI,CAAC,QAAQ,CAAC,EAAC,IAAI,EAAA,IAAA,EAAC,CAAC,CAAA;AACxB,yBAAA;AAAC,wBAAA,OAAO,OAAO,EAAE;AACjB,yBAAA;AACL,qBAAC,EACD,SAAS,EAAE,UAAA,CAAC,EAAA;AACR,wBAAA,IAAI,CAAC,CAAC,CAAC,OAAO,KAAK,EAAE,YAAW,CAAC,CAAC,OAAO,KAAK,EAAE,eAAc,OAAO,EAAE;4BACnE,CAAC,CAAC,cAAc,EAAE,CAAC;AACnB,4BAAA,KAAI,CAAC,QAAQ,CAAC,EAAC,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,KAAK,EAAC,CAAC,CAAC;AAC3D,yBAAA;AACL,qBAAC,EAC3B,CAAA,EACD,KAAK,CAAA,EAAA,CAAA,CACJ,CAAA;KACT,CAAA;IAYL,OAAC,UAAA,CAAA;AAAD,CAAC,CA1KwB,KAAK,CAAC,SAAS,CA0KvC;;;;"}
1
+ {"version":3,"file":"DatePicker.js","sources":["./src/DatePicker.tsx"],"sourcesContent":[null],"names":["_jsx","DateTools.get","DateTools.TimeUnit","DateTools.dateOf","DateTools.equals","_jsxs"],"mappings":";;;;;;;;;;;AAWA,IAAM,WAAW,GAAG,UAAC,EAKpB,EAAA;QALqB,GAAG,GAAA,EAAA,CAAA,GAAA,EAAE,QAAQ,GAAA,EAAA,CAAA,QAAA,EAAE,OAAO,GAAA,EAAA,CAAA,OAAA,EAAE,OAAO,GAAA,EAAA,CAAA,OAAA,CAAA;A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AC;AACnB,4BAAA,KAAI,CAAC,QAAQ,CAAC,EAAC,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,KAAK,EAAC,CAAC,CAAC;AAC3D,yBAAA;AACL,qBAAC,EAC3B,CAAA,EACD,KAAK,CAAA,EAAA,CAAA,CACJ,CAAA;KACT,CAAA;IAYL,OAAC,UAAA,CAAA;AAAD,CAAC,CA9KwB,KAAK,CAAC,SAAS,CA8KvC;;;;"}
package/bundle.css CHANGED
@@ -1,68 +1,167 @@
1
- .Checkbox {
1
+ .Button {
2
2
  position: relative;
3
- white-space: pre;
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
+ -webkit-tap-highlight-color: transparent;
17
+ display: inline-flex;
18
+ justify-content: center;
19
+ align-items: center;
20
+ cursor: pointer;
21
+ overflow: hidden;
22
+ user-select: none;
23
+ border-radius: 3px;
24
+ transition: all 0.2s ease;
4
25
  }
5
26
 
6
- .Checkbox *, .Checkbox *:before, .Checkbox *:after {
7
- box-sizing: border-box;
27
+ .Button.flat {
28
+ background-color: transparent;
8
29
  }
9
30
 
10
- .Checkbox label {
11
- font-family: Roboto, sans-serif;
12
- font-size: 14px;
13
- color: #1e252d;
14
- cursor: pointer;
31
+ .Button.flat:hover {
32
+ background-color: rgba(0, 0, 0, 0.05);
15
33
  }
16
34
 
17
- .Checkbox label:before, .Checkbox label:after {
18
- content: "";
19
- position: absolute;
20
- left: 0;
21
- top: 0;
35
+ .Button.green {
36
+ background-color: #43a047;
37
+ color: white;
22
38
  }
23
39
 
24
- .Checkbox label:before {
25
- width: 20px;
26
- height: 20px;
27
- background: #fff;
28
- border: 2px solid #252525;
29
- border-radius: 2px;
30
- cursor: pointer;
31
- transition: background 0.3s;
40
+ .Button.green:hover {
41
+ background-color: #3b8e3f;
32
42
  }
33
43
 
34
- .Checkbox input[type=checkbox] {
35
- outline: 0;
44
+ .Button.blue {
45
+ background-color: #039be5;
46
+ color: white;
47
+ }
48
+
49
+ .Button.blue:hover {
50
+ background-color: #038acc;
51
+ }
52
+
53
+ .Button.red {
54
+ background-color: #e53935;
55
+ color: white;
56
+ }
57
+
58
+ .Button.red:hover {
59
+ background-color: #e2231e;
60
+ }
61
+
62
+ .Button.black {
63
+ background-color: #1e252d;
64
+ color: white;
65
+ }
66
+
67
+ .Button.black:hover {
68
+ background-color: #14181e;
69
+ }
70
+
71
+ .Button.gray {
72
+ background: #D9D9D9;
73
+ color: #999999;
74
+ }
75
+
76
+ .Button.gray:hover {
77
+ background-color: #cccccc;
78
+ }
79
+
80
+ .Button.small {
81
+ padding: 0px 8px;
82
+ min-height: 16px;
83
+ min-width: 16px;
84
+ }
85
+
86
+ .Button > .material-icons {
36
87
  margin-right: 10px;
37
- visibility: hidden;
38
88
  }
39
89
 
40
- .Checkbox input[type=checkbox]:checked + label:before {
41
- background: #4AC263;
42
- border: none;
90
+ .Button.round {
91
+ padding: 0px;
92
+ min-width: 36px;
93
+ border-radius: 50%;
43
94
  }
44
95
 
45
- .Checkbox input[type=checkbox]:checked + label:after {
46
- transform: rotate(-45deg);
47
- top: 6px;
48
- left: 4px;
49
- width: 12px;
50
- height: 6px;
51
- border: 2px solid #fff;
52
- border-top-style: none;
53
- border-right-style: none;
96
+ .Button.round > .material-icons {
97
+ margin: 0px;
54
98
  }
55
99
 
56
- .Checkbox input[type=checkbox]:disabled + label {
57
- color: gray;
100
+ .Button .ripple {
101
+ position: absolute;
102
+ background: rgba(0, 0, 0, 0.1);
103
+ border-radius: 100%;
104
+ transform: scale(0);
105
+ pointer-events: none;
106
+ transition: opacity 0.2s ease-out;
58
107
  }
59
108
 
60
- .Checkbox input[type=checkbox]:disabled + label:before {
61
- border-color: rgba(0, 0, 0, 0.26);
109
+ .Button .ripple.show {
110
+ animation: ripple 0.35s ease-out;
62
111
  }
63
112
 
64
- .Checkbox input[type=checkbox]:disabled:checked + label:before {
65
- background: rgba(0, 0, 0, 0.26);
113
+ .Button:active .ripple.showed {
114
+ opacity: 1;
115
+ }
116
+
117
+ .Button:focus .ripple.focused {
118
+ opacity: 1;
119
+ transition: opacity 0.2s ease-out, transform 0.2s ease-out;
120
+ transform: scale(1);
121
+ animation: resize 1.25s ease-out infinite;
122
+ animation-delay: 0.2s;
123
+ animation-direction: alternate;
124
+ }
125
+
126
+ .Button .ripple.showed {
127
+ transform: scale(2);
128
+ opacity: 0;
129
+ }
130
+
131
+ @keyframes ripple {
132
+ to {
133
+ transform: scale(2);
134
+ }
135
+ }
136
+ @keyframes resize {
137
+ to {
138
+ transform: scale(0.9);
139
+ }
140
+ }
141
+ .Button.raised {
142
+ transition: color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
143
+ }
144
+
145
+ .Button.raised:hover {
146
+ box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
147
+ }
148
+
149
+ .Button.raised:active {
150
+ box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.35);
151
+ }
152
+
153
+ .Button.disabled {
154
+ box-shadow: none;
155
+ background: #D9D9D9;
156
+ color: #999999;
157
+ }
158
+
159
+ .Button.disabled:hover {
160
+ background-color: #cccccc;
161
+ }
162
+
163
+ .Button::-moz-focus-inner {
164
+ border: 0;
66
165
  }
67
166
 
68
167
  .AutocompleteSelect {
@@ -360,192 +459,80 @@
360
459
  position: absolute;
361
460
  }
362
461
 
363
- .CircleProgress {
364
- width: 48px;
365
- height: 48px;
462
+ .Checkbox {
463
+ position: relative;
464
+ white-space: pre;
366
465
  }
367
466
 
368
- .CircleProgress .line {
369
- stroke-width: 2px;
370
- stroke: black;
371
- stroke-linecap: square;
372
- fill: none;
373
- transition: stroke-dashoffset 0.2s ease;
467
+ .Checkbox *, .Checkbox *:before, .Checkbox *:after {
468
+ box-sizing: border-box;
374
469
  }
375
470
 
376
- .animated {
377
- transition: opacity 250ms ease;
378
- opacity: 0;
471
+ .Checkbox label {
472
+ font-family: Roboto, sans-serif;
473
+ font-size: 14px;
474
+ color: #1e252d;
475
+ cursor: pointer;
379
476
  }
380
477
 
381
- .animated.mounting, .animated.mounted {
382
- opacity: 1;
478
+ .Checkbox label:before, .Checkbox label:after {
479
+ content: "";
480
+ position: absolute;
481
+ left: 0;
482
+ top: 0;
383
483
  }
384
484
 
385
- .Button {
386
- position: relative;
387
- min-width: 64px;
388
- min-height: 36px;
389
- height: 24px;
390
- margin: 0px;
391
- padding: 0px 16px;
392
- border: none;
393
- outline: none;
394
- font-size: 14px;
395
- font-weight: 500;
396
- letter-spacing: 1.25px;
397
- background: #dfdfdf;
398
- text-transform: uppercase;
399
- font-family: Roboto, sans-serif;
400
- -webkit-tap-highlight-color: transparent;
401
- display: inline-flex;
402
- justify-content: center;
403
- align-items: center;
485
+ .Checkbox label:before {
486
+ width: 20px;
487
+ height: 20px;
488
+ background: #fff;
489
+ border: 2px solid #252525;
490
+ border-radius: 2px;
404
491
  cursor: pointer;
405
- overflow: hidden;
406
- user-select: none;
407
- border-radius: 3px;
408
- transition: all 0.2s ease;
492
+ transition: background 0.3s;
409
493
  }
410
494
 
411
- .Button.flat {
412
- background-color: transparent;
495
+ .Checkbox input[type=checkbox] {
496
+ outline: 0;
497
+ margin-right: 10px;
498
+ visibility: hidden;
413
499
  }
414
500
 
415
- .Button.flat:hover {
416
- background-color: rgba(0, 0, 0, 0.05);
501
+ .Checkbox input[type=checkbox]:checked + label:before {
502
+ background: #4AC263;
503
+ border: none;
417
504
  }
418
505
 
419
- .Button.green {
420
- background-color: #43a047;
421
- color: white;
422
- }
423
-
424
- .Button.green:hover {
425
- background-color: #3b8e3f;
426
- }
427
-
428
- .Button.blue {
429
- background-color: #039be5;
430
- color: white;
431
- }
432
-
433
- .Button.blue:hover {
434
- background-color: #038acc;
435
- }
436
-
437
- .Button.red {
438
- background-color: #e53935;
439
- color: white;
440
- }
441
-
442
- .Button.red:hover {
443
- background-color: #e2231e;
444
- }
445
-
446
- .Button.black {
447
- background-color: #1e252d;
448
- color: white;
449
- }
450
-
451
- .Button.black:hover {
452
- background-color: #14181e;
453
- }
454
-
455
- .Button.gray {
456
- background: #D9D9D9;
457
- color: #999999;
458
- }
459
-
460
- .Button.gray:hover {
461
- background-color: #cccccc;
462
- }
463
-
464
- .Button.small {
465
- padding: 0px 8px;
466
- min-height: 16px;
467
- min-width: 16px;
468
- }
469
-
470
- .Button > .material-icons {
471
- margin-right: 10px;
472
- }
473
-
474
- .Button.round {
475
- padding: 0px;
476
- min-width: 36px;
477
- border-radius: 50%;
478
- }
479
-
480
- .Button.round > .material-icons {
481
- margin: 0px;
482
- }
483
-
484
- .Button .ripple {
485
- position: absolute;
486
- background: rgba(0, 0, 0, 0.1);
487
- border-radius: 100%;
488
- transform: scale(0);
489
- pointer-events: none;
490
- transition: opacity 0.2s ease-out;
506
+ .Checkbox input[type=checkbox]:checked + label:after {
507
+ transform: rotate(-45deg);
508
+ top: 6px;
509
+ left: 4px;
510
+ width: 12px;
511
+ height: 6px;
512
+ border: 2px solid #fff;
513
+ border-top-style: none;
514
+ border-right-style: none;
491
515
  }
492
516
 
493
- .Button .ripple.show {
494
- animation: ripple 0.35s ease-out;
517
+ .Checkbox input[type=checkbox]:disabled + label {
518
+ color: gray;
495
519
  }
496
520
 
497
- .Button:active .ripple.showed {
498
- opacity: 1;
521
+ .Checkbox input[type=checkbox]:disabled + label:before {
522
+ border-color: rgba(0, 0, 0, 0.26);
499
523
  }
500
524
 
501
- .Button:focus .ripple.focused {
502
- opacity: 1;
503
- transition: opacity 0.2s ease-out, transform 0.2s ease-out;
504
- transform: scale(1);
505
- animation: resize 1.25s ease-out infinite;
506
- animation-delay: 0.2s;
507
- animation-direction: alternate;
525
+ .Checkbox input[type=checkbox]:disabled:checked + label:before {
526
+ background: rgba(0, 0, 0, 0.26);
508
527
  }
509
528
 
510
- .Button .ripple.showed {
511
- transform: scale(2);
529
+ .animated {
530
+ transition: opacity 250ms ease;
512
531
  opacity: 0;
513
532
  }
514
533
 
515
- @keyframes ripple {
516
- to {
517
- transform: scale(2);
518
- }
519
- }
520
- @keyframes resize {
521
- to {
522
- transform: scale(0.9);
523
- }
524
- }
525
- .Button.raised {
526
- transition: color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
527
- }
528
-
529
- .Button.raised:hover {
530
- box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
531
- }
532
-
533
- .Button.raised:active {
534
- box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.35);
535
- }
536
-
537
- .Button.disabled {
538
- box-shadow: none;
539
- background: #D9D9D9;
540
- color: #999999;
541
- }
542
-
543
- .Button.disabled:hover {
544
- background-color: #cccccc;
545
- }
546
-
547
- .Button::-moz-focus-inner {
548
- border: 0;
534
+ .animated.mounting, .animated.mounted {
535
+ opacity: 1;
549
536
  }
550
537
 
551
538
  .FilteredList {
@@ -675,6 +662,175 @@
675
662
  margin-bottom: 0;
676
663
  }
677
664
 
665
+ .CircleProgress {
666
+ width: 48px;
667
+ height: 48px;
668
+ }
669
+
670
+ .CircleProgress .line {
671
+ stroke-width: 2px;
672
+ stroke: black;
673
+ stroke-linecap: square;
674
+ fill: none;
675
+ transition: stroke-dashoffset 0.2s ease;
676
+ }
677
+
678
+ .Dropzone {
679
+ position: relative;
680
+ }
681
+
682
+ .Dropzone > .overlay {
683
+ position: absolute;
684
+ left: 0;
685
+ right: 0;
686
+ top: 0;
687
+ bottom: 0;
688
+ background-color: #38ADC4;
689
+ z-index: 1;
690
+ opacity: 0;
691
+ transition: all 0.2s ease;
692
+ transition-delay: 100ms;
693
+ visibility: hidden;
694
+ display: flex;
695
+ justify-content: center;
696
+ align-items: center;
697
+ }
698
+
699
+ .Dropzone > .overlay .drop {
700
+ border-radius: 4px;
701
+ border: 1px dashed #FFFFFF;
702
+ position: absolute;
703
+ top: 18px;
704
+ left: 18px;
705
+ right: 18px;
706
+ bottom: 18px;
707
+ display: flex;
708
+ justify-content: center;
709
+ align-items: center;
710
+ font-weight: 500;
711
+ font-size: 18px;
712
+ color: #FFFFFF;
713
+ }
714
+
715
+ .Dropzone.dragging > .overlay {
716
+ opacity: 0.7;
717
+ visibility: visible;
718
+ transition-delay: 0s;
719
+ }
720
+
721
+ .Dropzone.dragging > * {
722
+ pointer-events: none;
723
+ }
724
+
725
+ .Dropzone > input.file {
726
+ position: absolute;
727
+ left: 0;
728
+ right: 0;
729
+ top: 0;
730
+ bottom: 0;
731
+ width: 100%;
732
+ height: 100%;
733
+ opacity: 0;
734
+ cursor: pointer;
735
+ z-index: 1;
736
+ }
737
+
738
+ .DropFileInput {
739
+ flex-grow: 1;
740
+ }
741
+
742
+ .DropFileInput .Dropzone {
743
+ border: 1px dashed #808080;
744
+ padding: 12px;
745
+ display: flex;
746
+ flex-flow: row nowrap;
747
+ justify-content: center;
748
+ align-items: center;
749
+ color: gray;
750
+ cursor: pointer;
751
+ border-radius: 3px;
752
+ font-weight: normal;
753
+ line-height: 22px;
754
+ font-size: 14px;
755
+ color: #7E7E7E;
756
+ max-width: 100%;
757
+ word-break: break-all;
758
+ word-break: break-word;
759
+ }
760
+
761
+ .DropFileInput .Dropzone .icon.withText {
762
+ margin-right: 10px;
763
+ }
764
+
765
+ .FormUploadProgress {
766
+ position: absolute;
767
+ left: 0;
768
+ right: 0;
769
+ top: 0;
770
+ bottom: 0;
771
+ background-color: rgba(255, 255, 255, 0.6);
772
+ z-index: 2;
773
+ }
774
+
775
+ .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
776
+ transition-delay: 500ms;
777
+ }
778
+
779
+ .FormUploadProgress .wrapper {
780
+ position: sticky;
781
+ top: 40%;
782
+ margin-top: 40%;
783
+ margin-left: 50%;
784
+ transform: translateX(-50%);
785
+ display: flex;
786
+ flex-flow: column;
787
+ justify-content: center;
788
+ align-items: center;
789
+ }
790
+
791
+ .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
792
+ position: absolute;
793
+ width: 107px;
794
+ height: 107px;
795
+ top: 0;
796
+ left: 0;
797
+ }
798
+
799
+ .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
800
+ stroke: #2196F3;
801
+ }
802
+
803
+ .FormUploadProgress .wrapper > .progress {
804
+ width: 107px;
805
+ height: 107px;
806
+ min-height: 107px;
807
+ display: flex;
808
+ justify-content: center;
809
+ align-items: center;
810
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
811
+ border-radius: 50%;
812
+ background: white;
813
+ position: relative;
814
+ }
815
+
816
+ .FormUploadProgress .wrapper > .progress > .value {
817
+ display: inline-block;
818
+ margin-top: 5px;
819
+ font-weight: bold;
820
+ line-height: 16px;
821
+ font-size: 13px;
822
+ text-align: center;
823
+ color: #818181;
824
+ }
825
+
826
+ .FormUploadProgress .wrapper .cancel {
827
+ min-width: 107px;
828
+ margin-top: 20px;
829
+ background-color: white;
830
+ color: #F96B5C;
831
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
832
+ }
833
+
678
834
  .Button.FloatingActionButton {
679
835
  position: absolute;
680
836
  right: 16px;
@@ -699,91 +855,123 @@
699
855
  bottom: -100px;
700
856
  }
701
857
 
702
- .DropFileInput {
703
- flex-grow: 1;
858
+ .ModalMenu {
859
+ position: absolute;
860
+ top: 10px;
861
+ right: 50px;
862
+ }
863
+
864
+ .ModalMenu .material-icons {
865
+ color: #818181;
866
+ }
867
+
868
+ .ModalMenu .Button.animated {
869
+ position: absolute;
870
+ transition: opacity 150ms ease-in, right 200ms ease-in;
871
+ opacity: 0;
872
+ right: 0;
873
+ top: 0;
874
+ }
875
+
876
+ .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
877
+ opacity: 1;
878
+ }
879
+
880
+ .ModalMenu .Button.animated.unmounting {
881
+ transition: opacity 100ms ease-out, right 200ms ease-out;
882
+ }
883
+
884
+ .ModalMenu .Button.active {
885
+ background: #EBEBEB;
886
+ }
887
+
888
+ .ModalMenu .separator {
889
+ height: 24px;
890
+ width: 1px;
891
+ background-color: #D9D9D9;
892
+ margin-left: 4px;
893
+ }
894
+
895
+ .Switch {
896
+ display: inline-flex;
897
+ padding-top: 5px;
898
+ }
899
+
900
+ .Switch .switch-input {
901
+ display: none;
902
+ }
903
+
904
+ .Switch .switch-label {
905
+ position: relative;
906
+ display: inline-flex;
907
+ align-items: center;
908
+ min-width: 38px;
909
+ height: 24px;
910
+ cursor: pointer;
911
+ font-weight: 500;
912
+ text-align: left;
913
+ user-select: none;
914
+ margin: 0;
915
+ padding: 0;
916
+ padding-left: 44px;
917
+ box-sizing: border-box;
918
+ }
919
+
920
+ .Switch .switch-label:before, .Switch .switch-label:after {
921
+ content: "";
922
+ box-sizing: border-box;
923
+ position: absolute;
924
+ margin: 0;
925
+ outline: 0;
926
+ top: 50%;
927
+ transform: translate(0, -50%);
928
+ transition: all 0.3s ease;
929
+ }
930
+
931
+ .Switch .switch-label:before {
932
+ left: 1px;
933
+ width: 34px;
934
+ height: 14px;
935
+ background-color: #9E9E9E;
936
+ border-radius: 8px;
704
937
  }
705
938
 
706
- .DropFileInput .Dropzone {
707
- border: 1px dashed #808080;
708
- padding: 12px;
709
- display: flex;
710
- flex-flow: row nowrap;
711
- justify-content: center;
712
- align-items: center;
713
- color: gray;
714
- cursor: pointer;
715
- border-radius: 3px;
716
- font-weight: normal;
717
- line-height: 22px;
718
- font-size: 14px;
719
- color: #7E7E7E;
720
- max-width: 100%;
721
- word-break: break-all;
722
- word-break: break-word;
939
+ .Switch .switch-label:after {
940
+ left: 0;
941
+ width: 20px;
942
+ height: 20px;
943
+ background-color: #FAFAFA;
944
+ border-radius: 50%;
945
+ 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);
723
946
  }
724
947
 
725
- .DropFileInput .Dropzone .icon.withText {
726
- margin-right: 10px;
948
+ .Switch .switch-label .toggle--on {
949
+ display: none;
727
950
  }
728
951
 
729
- .Dropzone {
730
- position: relative;
952
+ .Switch .switch-label .toggle--off {
953
+ display: inline-block;
731
954
  }
732
955
 
733
- .Dropzone > .overlay {
734
- position: absolute;
735
- left: 0;
736
- right: 0;
737
- top: 0;
738
- bottom: 0;
739
- background-color: #38ADC4;
740
- z-index: 1;
741
- opacity: 0;
742
- transition: all 0.2s ease;
743
- transition-delay: 100ms;
744
- visibility: hidden;
745
- display: flex;
746
- justify-content: center;
747
- align-items: center;
956
+ .Switch .switch-label .label {
957
+ margin-right: 5px;
748
958
  }
749
959
 
750
- .Dropzone > .overlay .drop {
751
- border-radius: 4px;
752
- border: 1px dashed #FFFFFF;
753
- position: absolute;
754
- top: 18px;
755
- left: 18px;
756
- right: 18px;
757
- bottom: 18px;
758
- display: flex;
759
- justify-content: center;
760
- align-items: center;
761
- font-weight: 500;
762
- font-size: 18px;
763
- color: #FFFFFF;
960
+ .Switch .switch-input:checked + .switch-label:before {
961
+ background-color: #A5D6A7;
764
962
  }
765
963
 
766
- .Dropzone.dragging > .overlay {
767
- opacity: 0.7;
768
- visibility: visible;
769
- transition-delay: 0s;
964
+ .Switch .switch-input:checked + .switch-label:after {
965
+ background-color: #4CAF50;
966
+ transform: translate(80%, -50%);
770
967
  }
771
968
 
772
- .Dropzone.dragging > * {
773
- pointer-events: none;
969
+ .Switch .switch-input:checked + .switch-label .toggle--on {
970
+ display: inline-block;
774
971
  }
775
972
 
776
- .Dropzone > input.file {
777
- position: absolute;
778
- left: 0;
779
- right: 0;
780
- top: 0;
781
- bottom: 0;
782
- width: 100%;
783
- height: 100%;
784
- opacity: 0;
785
- cursor: pointer;
786
- z-index: 1;
973
+ .Switch .switch-input:checked + .switch-label .toggle--off {
974
+ display: none;
787
975
  }
788
976
 
789
977
  .Modal {
@@ -856,101 +1044,6 @@
856
1044
  position: absolute;
857
1045
  }
858
1046
 
859
- .Scrollable {
860
- max-height: 250px;
861
- max-width: 250px;
862
- padding-right: 5px;
863
- position: relative;
864
- display: flex;
865
- flex-flow: column;
866
- align-items: stretch;
867
- overflow: hidden;
868
- }
869
-
870
- .Scrollable:hover > .scrollbar.auto {
871
- transition-delay: 0s;
872
- opacity: 1;
873
- }
874
-
875
- .Scrollable .viewport {
876
- overflow-y: scroll;
877
- overflow-x: scroll;
878
- max-height: 100%;
879
- scroll-behavior: smooth;
880
- scrollbar-width: none;
881
- }
882
-
883
- .Scrollable .viewport::-webkit-scrollbar {
884
- display: none;
885
- }
886
-
887
- .Scrollable.without-scroll-horizontal {
888
- max-width: unset;
889
- }
890
-
891
- .Scrollable.without-scroll {
892
- padding-right: 0;
893
- max-height: unset;
894
- }
895
-
896
- .Scrollable.without-scroll > .viewport {
897
- padding-right: 0;
898
- margin-right: 0;
899
- }
900
-
901
- .Scrollable.without-scroll > .scrollbar {
902
- visibility: hidden;
903
- }
904
-
905
- .Scrollable .scrollbar {
906
- position: absolute;
907
- right: 0px;
908
- top: 0px;
909
- width: 5px;
910
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
911
- transition-delay: 0.5s;
912
- z-index: 1;
913
- }
914
-
915
- .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
916
- opacity: 0;
917
- }
918
-
919
- .Scrollable .scrollbar .thumb {
920
- background-color: rgba(0, 0, 0, 0.3);
921
- width: 5px;
922
- position: absolute;
923
- right: 0px;
924
- top: 0px;
925
- user-select: none;
926
- will-change: top;
927
- border-radius: 2px;
928
- }
929
-
930
- .Scrollable .scrollbar .thumb:hover {
931
- background-color: rgba(0, 0, 0, 0.5);
932
- }
933
-
934
- .Scrollable .scrollbar .thumb:active {
935
- background-color: rgba(0, 0, 0, 0.7);
936
- }
937
-
938
- .Scrollable .scrollbar.horizontal {
939
- left: 0px;
940
- right: 0px;
941
- height: 5px;
942
- bottom: 0;
943
- width: unset;
944
- top: unset;
945
- }
946
-
947
- .Scrollable .scrollbar.horizontal .thumb {
948
- height: 5px;
949
- left: 0px;
950
- bottom: 0px;
951
- will-change: left;
952
- }
953
-
954
1047
  .ImageGallery {
955
1048
  position: fixed;
956
1049
  top: 0;
@@ -1186,41 +1279,99 @@
1186
1279
  font-size: 24px;
1187
1280
  }
1188
1281
 
1189
- .ModalMenu {
1282
+ .Scrollable {
1283
+ max-height: 250px;
1284
+ max-width: 250px;
1285
+ padding-right: 5px;
1286
+ position: relative;
1287
+ display: flex;
1288
+ flex-flow: column;
1289
+ align-items: stretch;
1290
+ overflow: hidden;
1291
+ }
1292
+
1293
+ .Scrollable:hover > .scrollbar.auto {
1294
+ transition-delay: 0s;
1295
+ opacity: 1;
1296
+ }
1297
+
1298
+ .Scrollable .viewport {
1299
+ overflow-y: scroll;
1300
+ overflow-x: scroll;
1301
+ max-height: 100%;
1302
+ scroll-behavior: smooth;
1303
+ scrollbar-width: none;
1304
+ }
1305
+
1306
+ .Scrollable .viewport::-webkit-scrollbar {
1307
+ display: none;
1308
+ }
1309
+
1310
+ .Scrollable.without-scroll-horizontal {
1311
+ max-width: unset;
1312
+ }
1313
+
1314
+ .Scrollable.without-scroll {
1315
+ padding-right: 0;
1316
+ max-height: unset;
1317
+ }
1318
+
1319
+ .Scrollable.without-scroll > .viewport {
1320
+ padding-right: 0;
1321
+ margin-right: 0;
1322
+ }
1323
+
1324
+ .Scrollable.without-scroll > .scrollbar {
1325
+ visibility: hidden;
1326
+ }
1327
+
1328
+ .Scrollable .scrollbar {
1190
1329
  position: absolute;
1191
- top: 10px;
1192
- right: 50px;
1330
+ right: 0px;
1331
+ top: 0px;
1332
+ width: 5px;
1333
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1334
+ transition-delay: 0.5s;
1335
+ z-index: 1;
1193
1336
  }
1194
1337
 
1195
- .ModalMenu .material-icons {
1196
- color: #818181;
1338
+ .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1339
+ opacity: 0;
1197
1340
  }
1198
1341
 
1199
- .ModalMenu .Button.animated {
1342
+ .Scrollable .scrollbar .thumb {
1343
+ background-color: rgba(0, 0, 0, 0.3);
1344
+ width: 5px;
1200
1345
  position: absolute;
1201
- transition: opacity 150ms ease-in, right 200ms ease-in;
1202
- opacity: 0;
1203
- right: 0;
1204
- top: 0;
1346
+ right: 0px;
1347
+ top: 0px;
1348
+ user-select: none;
1349
+ will-change: top;
1350
+ border-radius: 2px;
1205
1351
  }
1206
1352
 
1207
- .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1208
- opacity: 1;
1353
+ .Scrollable .scrollbar .thumb:hover {
1354
+ background-color: rgba(0, 0, 0, 0.5);
1209
1355
  }
1210
1356
 
1211
- .ModalMenu .Button.animated.unmounting {
1212
- transition: opacity 100ms ease-out, right 200ms ease-out;
1357
+ .Scrollable .scrollbar .thumb:active {
1358
+ background-color: rgba(0, 0, 0, 0.7);
1213
1359
  }
1214
1360
 
1215
- .ModalMenu .Button.active {
1216
- background: #EBEBEB;
1361
+ .Scrollable .scrollbar.horizontal {
1362
+ left: 0px;
1363
+ right: 0px;
1364
+ height: 5px;
1365
+ bottom: 0;
1366
+ width: unset;
1367
+ top: unset;
1217
1368
  }
1218
1369
 
1219
- .ModalMenu .separator {
1220
- height: 24px;
1221
- width: 1px;
1222
- background-color: #D9D9D9;
1223
- margin-left: 4px;
1370
+ .Scrollable .scrollbar.horizontal .thumb {
1371
+ height: 5px;
1372
+ left: 0px;
1373
+ bottom: 0px;
1374
+ will-change: left;
1224
1375
  }
1225
1376
 
1226
1377
  .Snackbar {
@@ -1268,88 +1419,6 @@
1268
1419
  color: #bf3727;
1269
1420
  }
1270
1421
 
1271
- .Switch {
1272
- display: inline-flex;
1273
- padding-top: 5px;
1274
- }
1275
-
1276
- .Switch .switch-input {
1277
- display: none;
1278
- }
1279
-
1280
- .Switch .switch-label {
1281
- position: relative;
1282
- display: inline-flex;
1283
- align-items: center;
1284
- min-width: 38px;
1285
- height: 24px;
1286
- cursor: pointer;
1287
- font-weight: 500;
1288
- text-align: left;
1289
- user-select: none;
1290
- margin: 0;
1291
- padding: 0;
1292
- padding-left: 44px;
1293
- box-sizing: border-box;
1294
- }
1295
-
1296
- .Switch .switch-label:before, .Switch .switch-label:after {
1297
- content: "";
1298
- box-sizing: border-box;
1299
- position: absolute;
1300
- margin: 0;
1301
- outline: 0;
1302
- top: 50%;
1303
- transform: translate(0, -50%);
1304
- transition: all 0.3s ease;
1305
- }
1306
-
1307
- .Switch .switch-label:before {
1308
- left: 1px;
1309
- width: 34px;
1310
- height: 14px;
1311
- background-color: #9E9E9E;
1312
- border-radius: 8px;
1313
- }
1314
-
1315
- .Switch .switch-label:after {
1316
- left: 0;
1317
- width: 20px;
1318
- height: 20px;
1319
- background-color: #FAFAFA;
1320
- border-radius: 50%;
1321
- 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);
1322
- }
1323
-
1324
- .Switch .switch-label .toggle--on {
1325
- display: none;
1326
- }
1327
-
1328
- .Switch .switch-label .toggle--off {
1329
- display: inline-block;
1330
- }
1331
-
1332
- .Switch .switch-label .label {
1333
- margin-right: 5px;
1334
- }
1335
-
1336
- .Switch .switch-input:checked + .switch-label:before {
1337
- background-color: #A5D6A7;
1338
- }
1339
-
1340
- .Switch .switch-input:checked + .switch-label:after {
1341
- background-color: #4CAF50;
1342
- transform: translate(80%, -50%);
1343
- }
1344
-
1345
- .Switch .switch-input:checked + .switch-label .toggle--on {
1346
- display: inline-block;
1347
- }
1348
-
1349
- .Switch .switch-input:checked + .switch-label .toggle--off {
1350
- display: none;
1351
- }
1352
-
1353
1422
  .SpinningProgress {
1354
1423
  width: 48px;
1355
1424
  height: 48px;
@@ -1403,75 +1472,6 @@
1403
1472
  stroke-dashoffset: -53px;
1404
1473
  }
1405
1474
  }
1406
- .FormUploadProgress {
1407
- position: absolute;
1408
- left: 0;
1409
- right: 0;
1410
- top: 0;
1411
- bottom: 0;
1412
- background-color: rgba(255, 255, 255, 0.6);
1413
- z-index: 2;
1414
- }
1415
-
1416
- .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
1417
- transition-delay: 500ms;
1418
- }
1419
-
1420
- .FormUploadProgress .wrapper {
1421
- position: sticky;
1422
- top: 40%;
1423
- margin-top: 40%;
1424
- margin-left: 50%;
1425
- transform: translateX(-50%);
1426
- display: flex;
1427
- flex-flow: column;
1428
- justify-content: center;
1429
- align-items: center;
1430
- }
1431
-
1432
- .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
1433
- position: absolute;
1434
- width: 107px;
1435
- height: 107px;
1436
- top: 0;
1437
- left: 0;
1438
- }
1439
-
1440
- .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
1441
- stroke: #2196F3;
1442
- }
1443
-
1444
- .FormUploadProgress .wrapper > .progress {
1445
- width: 107px;
1446
- height: 107px;
1447
- min-height: 107px;
1448
- display: flex;
1449
- justify-content: center;
1450
- align-items: center;
1451
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1452
- border-radius: 50%;
1453
- background: white;
1454
- position: relative;
1455
- }
1456
-
1457
- .FormUploadProgress .wrapper > .progress > .value {
1458
- display: inline-block;
1459
- margin-top: 5px;
1460
- font-weight: bold;
1461
- line-height: 16px;
1462
- font-size: 13px;
1463
- text-align: center;
1464
- color: #818181;
1465
- }
1466
-
1467
- .FormUploadProgress .wrapper .cancel {
1468
- min-width: 107px;
1469
- margin-top: 20px;
1470
- background-color: white;
1471
- color: #F96B5C;
1472
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1473
- }
1474
-
1475
1475
  .TextField {
1476
1476
  position: relative;
1477
1477
  width: 100%;
@@ -1633,6 +1633,31 @@
1633
1633
  transition: transform 0.1s ease-in;
1634
1634
  }
1635
1635
 
1636
+ .CalendarMonthView {
1637
+ display: flex;
1638
+ flex-flow: column nowrap;
1639
+ height: 100%;
1640
+ }
1641
+
1642
+ .CalendarMonthView > .row {
1643
+ display: flex;
1644
+ flex-flow: row nowrap;
1645
+ }
1646
+
1647
+ .CalendarMonthView .days {
1648
+ flex-grow: 1;
1649
+ position: relative;
1650
+ }
1651
+
1652
+ .CalendarMonthView .day, .CalendarMonthView .header {
1653
+ flex-grow: 1;
1654
+ flex-basis: 1px;
1655
+ }
1656
+
1657
+ .CalendarMonthView .day {
1658
+ height: 100%;
1659
+ }
1660
+
1636
1661
  .DatePicker {
1637
1662
  position: relative;
1638
1663
  }
@@ -1782,6 +1807,14 @@
1782
1807
  pointer-events: none;
1783
1808
  }
1784
1809
 
1810
+ .ScrollableTable .Scrollable .scrollbar {
1811
+ top: 56px;
1812
+ }
1813
+
1814
+ .ScrollableTable .Table {
1815
+ position: static;
1816
+ }
1817
+
1785
1818
  .Table {
1786
1819
  font-family: Roboto, sans-serif;
1787
1820
  font-size: 14px;
@@ -1902,37 +1935,4 @@
1902
1935
 
1903
1936
  .Table .editable > .AutocompleteSelect > .selected > .DummyChild {
1904
1937
  margin: 0;
1905
- }
1906
-
1907
- .CalendarMonthView {
1908
- display: flex;
1909
- flex-flow: column nowrap;
1910
- height: 100%;
1911
- }
1912
-
1913
- .CalendarMonthView > .row {
1914
- display: flex;
1915
- flex-flow: row nowrap;
1916
- }
1917
-
1918
- .CalendarMonthView .days {
1919
- flex-grow: 1;
1920
- position: relative;
1921
- }
1922
-
1923
- .CalendarMonthView .day, .CalendarMonthView .header {
1924
- flex-grow: 1;
1925
- flex-basis: 1px;
1926
- }
1927
-
1928
- .CalendarMonthView .day {
1929
- height: 100%;
1930
- }
1931
-
1932
- .ScrollableTable .Scrollable .scrollbar {
1933
- top: 56px;
1934
- }
1935
-
1936
- .ScrollableTable .Table {
1937
- position: static;
1938
1938
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-ui-basics",
3
- "version": "0.0.191",
3
+ "version": "0.0.192",
4
4
  "description": "",
5
5
  "module": "index.js",
6
6
  "_main": "index.cjs.js",
@@ -137,6 +137,10 @@ class DatePicker extends React.Component<DatePickerProps, DatePickerState> {
137
137
  return true;
138
138
  }
139
139
 
140
+ if (this.state.popupStyles !== nextState.popupStyles) {
141
+ return true;
142
+ }
143
+
140
144
  if (this.state.selectedMonth !== nextState.selectedMonth) {
141
145
  return true;
142
146
  }
@@ -150,7 +154,7 @@ class DatePicker extends React.Component<DatePickerProps, DatePickerState> {
150
154
 
151
155
  render() {
152
156
  const {minDate, formatter, parser, dayOfWeekToString, monthToString, renderInput, portal} = this.props;
153
- const {value, text, focused, selectedMonth, popupStyles } = this.state;
157
+ const {value, text, focused, selectedMonth, popupStyles} = this.state;
154
158
 
155
159
  let popup = <div className={classNames('calendar', focused && 'focused', portal && 'portal')}
156
160
  ref={ref('popup', this)}