flatpickr 2.4.8.0 → 2.4.9.0
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.
- checksums.yaml +4 -4
- data/lib/flatpickr/version.rb +1 -1
- data/vendor/assets/javascripts/flatpickr.js +307 -230
- data/vendor/assets/javascripts/flatpickr/l10n/gr.js +31 -0
- data/vendor/assets/javascripts/flatpickr/l10n/nl.js +4 -4
- data/vendor/assets/stylesheets/flatpickr.css +4 -4
- data/vendor/assets/stylesheets/flatpickr/rtl/flatpickr.min.css +13 -0
- data/vendor/assets/stylesheets/flatpickr/rtl/themes/airbnb.rtl.css +332 -49
- data/vendor/assets/stylesheets/flatpickr/rtl/themes/base16_flat.rtl.css +291 -36
- data/vendor/assets/stylesheets/flatpickr/rtl/themes/confetti.rtl.css +294 -38
- data/vendor/assets/stylesheets/flatpickr/rtl/themes/dark.rtl.css +294 -39
- data/vendor/assets/stylesheets/flatpickr/rtl/themes/material_blue.rtl.css +301 -45
- data/vendor/assets/stylesheets/flatpickr/rtl/themes/material_green.rtl.css +301 -45
- data/vendor/assets/stylesheets/flatpickr/rtl/themes/material_orange.rtl.css +301 -45
- data/vendor/assets/stylesheets/flatpickr/rtl/themes/material_red.rtl.css +301 -45
- data/vendor/assets/stylesheets/flatpickr/themes/airbnb.css +308 -72
- data/vendor/assets/stylesheets/flatpickr/themes/base16_flat.css +267 -59
- data/vendor/assets/stylesheets/flatpickr/themes/confetti.css +270 -61
- data/vendor/assets/stylesheets/flatpickr/themes/dark.css +270 -62
- data/vendor/assets/stylesheets/flatpickr/themes/material_blue.css +277 -68
- data/vendor/assets/stylesheets/flatpickr/themes/material_green.css +277 -68
- data/vendor/assets/stylesheets/flatpickr/themes/material_orange.css +277 -68
- data/vendor/assets/stylesheets/flatpickr/themes/material_red.css +277 -68
- metadata +3 -2
@@ -27,9 +27,11 @@
|
|
27
27
|
}
|
28
28
|
.flatpickr-calendar.open {
|
29
29
|
display: inline-block;
|
30
|
-
animation: flatpickrFadeInDown 300ms cubic-bezier(0, 1, 0.5, 1);
|
31
30
|
z-index: 99999;
|
32
31
|
}
|
32
|
+
.flatpickr-calendar.animate.open {
|
33
|
+
animation: flatpickrFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
|
34
|
+
}
|
33
35
|
.flatpickr-calendar.inline {
|
34
36
|
display: block;
|
35
37
|
position: relative;
|
@@ -46,6 +48,15 @@
|
|
46
48
|
.flatpickr-calendar.hasWeeks {
|
47
49
|
width: auto;
|
48
50
|
}
|
51
|
+
.flatpickr-calendar .hasWeeks .dayContainer,
|
52
|
+
.flatpickr-calendar .hasTime .dayContainer {
|
53
|
+
border-bottom: 0;
|
54
|
+
border-bottom-left-radius: 0;
|
55
|
+
border-bottom-right-radius: 0;
|
56
|
+
}
|
57
|
+
.flatpickr-calendar .hasWeeks .dayContainer {
|
58
|
+
border-right: 0;
|
59
|
+
}
|
49
60
|
.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time {
|
50
61
|
height: 40px;
|
51
62
|
border-top: 1px solid #e3e3e3;
|
@@ -97,6 +108,9 @@
|
|
97
108
|
.flatpickr-calendar.arrowBottom:after {
|
98
109
|
border-top-color: rgba(239,239,239,0.95);
|
99
110
|
}
|
111
|
+
.flatpickr-calendar:focus {
|
112
|
+
outline: 0;
|
113
|
+
}
|
100
114
|
.flatpickr-wrapper {
|
101
115
|
position: relative;
|
102
116
|
display: inline-block;
|
@@ -110,15 +124,17 @@
|
|
110
124
|
text-align: center;
|
111
125
|
position: relative;
|
112
126
|
user-select: none;
|
127
|
+
overflow: hidden;
|
113
128
|
}
|
114
129
|
.flatpickr-prev-month,
|
115
130
|
.flatpickr-next-month {
|
116
131
|
text-decoration: none;
|
117
132
|
cursor: pointer;
|
118
133
|
position: absolute;
|
119
|
-
top:
|
120
|
-
height:
|
134
|
+
top: 0px;
|
135
|
+
height: 28px;
|
121
136
|
line-height: 16px;
|
137
|
+
padding: 10px calc(3.57% - 1.5px);
|
122
138
|
}
|
123
139
|
.flatpickr-prev-month i,
|
124
140
|
.flatpickr-next-month i {
|
@@ -130,7 +146,7 @@
|
|
130
146
|
/*rtl:begin:ignore*/
|
131
147
|
/*
|
132
148
|
*/
|
133
|
-
right:
|
149
|
+
right: 0;
|
134
150
|
/*
|
135
151
|
/*rtl:end:ignore*/
|
136
152
|
/*
|
@@ -146,7 +162,7 @@
|
|
146
162
|
/*rtl:begin:ignore*/
|
147
163
|
/*
|
148
164
|
*/
|
149
|
-
left:
|
165
|
+
left: 0;
|
150
166
|
/*
|
151
167
|
/*rtl:end:ignore*/
|
152
168
|
/*
|
@@ -249,6 +265,23 @@
|
|
249
265
|
top: 5px;
|
250
266
|
display: inline-block;
|
251
267
|
text-align: center;
|
268
|
+
transform: translate(0px, 0px);
|
269
|
+
}
|
270
|
+
.flatpickr-current-month.slideLeft {
|
271
|
+
transform: translate(100%, 0px);
|
272
|
+
animation: fadeOut 400ms ease, slideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1);
|
273
|
+
}
|
274
|
+
.flatpickr-current-month.slideLeftNew {
|
275
|
+
transform: translate(-100%, 0px);
|
276
|
+
animation: fadeIn 400ms ease, slideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1);
|
277
|
+
}
|
278
|
+
.flatpickr-current-month.slideRight {
|
279
|
+
transform: translate(-100%, 0px);
|
280
|
+
animation: fadeOut 400ms ease, slideRight 400ms cubic-bezier(0.23, 1, 0.32, 1);
|
281
|
+
}
|
282
|
+
.flatpickr-current-month.slideRightNew {
|
283
|
+
transform: translate(0, 0);
|
284
|
+
animation: fadeIn 400ms ease, slideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1);
|
252
285
|
}
|
253
286
|
.flatpickr-current-month span.cur-month {
|
254
287
|
font-family: inherit;
|
@@ -303,16 +336,44 @@
|
|
303
336
|
background: transparent;
|
304
337
|
text-align: center;
|
305
338
|
overflow: hidden;
|
339
|
+
width: 315px;
|
340
|
+
display: flex;
|
341
|
+
align-items: center;
|
342
|
+
height: 28px;
|
343
|
+
}
|
344
|
+
span.flatpickr-weekday {
|
345
|
+
cursor: default;
|
346
|
+
font-size: 90%;
|
347
|
+
color: rgba(44,62,80,0.54);
|
348
|
+
line-height: 1;
|
349
|
+
margin: 0;
|
350
|
+
background: transparent;
|
351
|
+
text-align: center;
|
352
|
+
display: block;
|
353
|
+
flex: 1;
|
354
|
+
font-weight: bolder;
|
355
|
+
margin: 0;
|
306
356
|
}
|
307
|
-
.
|
357
|
+
.dayContainer,
|
308
358
|
.flatpickr-weeks {
|
309
359
|
padding: 1px 0 0 0;
|
310
360
|
}
|
311
361
|
.flatpickr-days {
|
362
|
+
position: relative;
|
363
|
+
overflow: hidden;
|
364
|
+
display: flex;
|
365
|
+
width: 315px;
|
366
|
+
}
|
367
|
+
.flatpickr-days:focus {
|
368
|
+
outline: 0;
|
369
|
+
}
|
370
|
+
.dayContainer {
|
312
371
|
padding: 0;
|
313
372
|
outline: 0;
|
314
373
|
text-align: right;
|
315
374
|
width: 315px;
|
375
|
+
min-width: 315px;
|
376
|
+
max-width: 315px;
|
316
377
|
box-sizing: border-box;
|
317
378
|
display: inline-block;
|
318
379
|
display: -ms-flexbox;
|
@@ -321,6 +382,25 @@
|
|
321
382
|
-ms-flex-wrap: wrap;
|
322
383
|
-ms-flex-pack: justify;
|
323
384
|
justify-content: space-around;
|
385
|
+
transform: translate(0px, 0px);
|
386
|
+
opacity: 1;
|
387
|
+
}
|
388
|
+
.flatpickr-calendar.animate .dayContainer.slideLeft {
|
389
|
+
animation: fadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), slideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1);
|
390
|
+
}
|
391
|
+
.flatpickr-calendar.animate .dayContainer.slideLeft,
|
392
|
+
.flatpickr-calendar.animate .dayContainer.slideLeftNew {
|
393
|
+
transform: translate(100%, 0px);
|
394
|
+
}
|
395
|
+
.flatpickr-calendar.animate .dayContainer.slideLeftNew {
|
396
|
+
animation: fadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), slideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1);
|
397
|
+
}
|
398
|
+
.flatpickr-calendar.animate .dayContainer.slideRight {
|
399
|
+
animation: fadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), slideRight 400ms cubic-bezier(0.23, 1, 0.32, 1);
|
400
|
+
transform: translate(-100%, 0px);
|
401
|
+
}
|
402
|
+
.flatpickr-calendar.animate .dayContainer.slideRightNew {
|
403
|
+
animation: fadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), slideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1);
|
324
404
|
}
|
325
405
|
.flatpickr-day {
|
326
406
|
background: none;
|
@@ -370,6 +450,9 @@
|
|
370
450
|
.flatpickr-day.selected,
|
371
451
|
.flatpickr-day.startRange,
|
372
452
|
.flatpickr-day.endRange,
|
453
|
+
.flatpickr-day.selected.inRange,
|
454
|
+
.flatpickr-day.startRange.inRange,
|
455
|
+
.flatpickr-day.endRange.inRange,
|
373
456
|
.flatpickr-day.selected:focus,
|
374
457
|
.flatpickr-day.startRange:focus,
|
375
458
|
.flatpickr-day.endRange:focus,
|
@@ -383,6 +466,7 @@
|
|
383
466
|
.flatpickr-day.startRange.nextMonthDay,
|
384
467
|
.flatpickr-day.endRange.nextMonthDay {
|
385
468
|
background: #1abc9c;
|
469
|
+
box-shadow: none;
|
386
470
|
color: #ecf0f1;
|
387
471
|
border-color: #1abc9c;
|
388
472
|
}
|
@@ -396,6 +480,11 @@
|
|
396
480
|
.flatpickr-day.endRange.endRange {
|
397
481
|
border-radius: 50px 0 0 50px;
|
398
482
|
}
|
483
|
+
.flatpickr-day.selected.startRange + .endRange,
|
484
|
+
.flatpickr-day.startRange.startRange + .endRange,
|
485
|
+
.flatpickr-day.endRange.startRange + .endRange {
|
486
|
+
box-shadow: 10px 0 0 #1abc9c;
|
487
|
+
}
|
399
488
|
.flatpickr-day.selected.startRange.endRange,
|
400
489
|
.flatpickr-day.startRange.startRange.endRange,
|
401
490
|
.flatpickr-day.endRange.startRange.endRange {
|
@@ -421,22 +510,6 @@
|
|
421
510
|
border-color: transparent;
|
422
511
|
cursor: default;
|
423
512
|
}
|
424
|
-
span.flatpickr-weekday {
|
425
|
-
cursor: default;
|
426
|
-
font-size: 90%;
|
427
|
-
color: rgba(44,62,80,0.54);
|
428
|
-
height: 27.333333333333332px;
|
429
|
-
line-height: 24px;
|
430
|
-
margin: 0;
|
431
|
-
background: transparent;
|
432
|
-
text-align: center;
|
433
|
-
display: block;
|
434
|
-
float: right;
|
435
|
-
width: 14.28%;
|
436
|
-
font-weight: bold;
|
437
|
-
margin: 0;
|
438
|
-
padding-top: 3.333333333333333px;
|
439
|
-
}
|
440
513
|
.rangeMode .flatpickr-day {
|
441
514
|
margin-top: 1px;
|
442
515
|
}
|
@@ -477,7 +550,6 @@ span.flatpickr-weekday {
|
|
477
550
|
max-height: 40px;
|
478
551
|
box-sizing: border-box;
|
479
552
|
overflow: hidden;
|
480
|
-
transition: height 0.33s cubic-bezier(0, 1, 0.5, 1);
|
481
553
|
display: flex;
|
482
554
|
}
|
483
555
|
.flatpickr-time:after {
|
@@ -552,15 +624,6 @@ span.flatpickr-weekday {
|
|
552
624
|
.flatpickr-time .flatpickr-am-pm:focus {
|
553
625
|
background: #d6d6d6;
|
554
626
|
}
|
555
|
-
.hasWeeks .flatpickr-days,
|
556
|
-
.hasTime .flatpickr-days {
|
557
|
-
border-bottom: 0;
|
558
|
-
border-bottom-left-radius: 0;
|
559
|
-
border-bottom-right-radius: 0;
|
560
|
-
}
|
561
|
-
.hasWeeks .flatpickr-days {
|
562
|
-
border-right: 0;
|
563
|
-
}
|
564
627
|
@media all and (-ms-high-contrast: none) {
|
565
628
|
.flatpickr-month {
|
566
629
|
padding: 0;
|
@@ -579,7 +642,7 @@ span.flatpickr-weekday {
|
|
579
642
|
}
|
580
643
|
to {
|
581
644
|
opacity: 1;
|
582
|
-
transform:
|
645
|
+
transform: translate3d(0, 0, 0);
|
583
646
|
}
|
584
647
|
}
|
585
648
|
@-webkit-keyframes flatpickrFadeInDown {
|
@@ -589,7 +652,7 @@ span.flatpickr-weekday {
|
|
589
652
|
}
|
590
653
|
to {
|
591
654
|
opacity: 1;
|
592
|
-
transform:
|
655
|
+
transform: translate3d(0, 0, 0);
|
593
656
|
}
|
594
657
|
}
|
595
658
|
@-o-keyframes flatpickrFadeInDown {
|
@@ -599,7 +662,7 @@ span.flatpickr-weekday {
|
|
599
662
|
}
|
600
663
|
to {
|
601
664
|
opacity: 1;
|
602
|
-
transform:
|
665
|
+
transform: translate3d(0, 0, 0);
|
603
666
|
}
|
604
667
|
}
|
605
668
|
@keyframes flatpickrFadeInDown {
|
@@ -609,6 +672,198 @@ span.flatpickr-weekday {
|
|
609
672
|
}
|
610
673
|
to {
|
611
674
|
opacity: 1;
|
612
|
-
transform:
|
675
|
+
transform: translate3d(0, 0, 0);
|
676
|
+
}
|
677
|
+
}
|
678
|
+
@-moz-keyframes slideLeft {
|
679
|
+
from {
|
680
|
+
transform: translate(0px, 0px);
|
681
|
+
}
|
682
|
+
to {
|
683
|
+
transform: translate(100%, 0px);
|
684
|
+
}
|
685
|
+
}
|
686
|
+
@-webkit-keyframes slideLeft {
|
687
|
+
from {
|
688
|
+
transform: translate(0px, 0px);
|
689
|
+
}
|
690
|
+
to {
|
691
|
+
transform: translate(100%, 0px);
|
692
|
+
}
|
693
|
+
}
|
694
|
+
@-o-keyframes slideLeft {
|
695
|
+
from {
|
696
|
+
transform: translate(0px, 0px);
|
697
|
+
}
|
698
|
+
to {
|
699
|
+
transform: translate(100%, 0px);
|
700
|
+
}
|
701
|
+
}
|
702
|
+
@keyframes slideLeft {
|
703
|
+
from {
|
704
|
+
transform: translate(0px, 0px);
|
705
|
+
}
|
706
|
+
to {
|
707
|
+
transform: translate(100%, 0px);
|
708
|
+
}
|
709
|
+
}
|
710
|
+
@-moz-keyframes slideLeftNew {
|
711
|
+
from {
|
712
|
+
transform: translate(-100%, 0px);
|
713
|
+
}
|
714
|
+
to {
|
715
|
+
transform: translate(0px, 0px);
|
716
|
+
}
|
717
|
+
}
|
718
|
+
@-webkit-keyframes slideLeftNew {
|
719
|
+
from {
|
720
|
+
transform: translate(-100%, 0px);
|
721
|
+
}
|
722
|
+
to {
|
723
|
+
transform: translate(0px, 0px);
|
724
|
+
}
|
725
|
+
}
|
726
|
+
@-o-keyframes slideLeftNew {
|
727
|
+
from {
|
728
|
+
transform: translate(-100%, 0px);
|
729
|
+
}
|
730
|
+
to {
|
731
|
+
transform: translate(0px, 0px);
|
732
|
+
}
|
733
|
+
}
|
734
|
+
@keyframes slideLeftNew {
|
735
|
+
from {
|
736
|
+
transform: translate(-100%, 0px);
|
737
|
+
}
|
738
|
+
to {
|
739
|
+
transform: translate(0px, 0px);
|
740
|
+
}
|
741
|
+
}
|
742
|
+
@-moz-keyframes slideRight {
|
743
|
+
from {
|
744
|
+
transform: translate(0, 0);
|
745
|
+
}
|
746
|
+
to {
|
747
|
+
transform: translate(-100%, 0px);
|
748
|
+
}
|
749
|
+
}
|
750
|
+
@-webkit-keyframes slideRight {
|
751
|
+
from {
|
752
|
+
transform: translate(0, 0);
|
753
|
+
}
|
754
|
+
to {
|
755
|
+
transform: translate(-100%, 0px);
|
756
|
+
}
|
757
|
+
}
|
758
|
+
@-o-keyframes slideRight {
|
759
|
+
from {
|
760
|
+
transform: translate(0, 0);
|
761
|
+
}
|
762
|
+
to {
|
763
|
+
transform: translate(-100%, 0px);
|
764
|
+
}
|
765
|
+
}
|
766
|
+
@keyframes slideRight {
|
767
|
+
from {
|
768
|
+
transform: translate(0, 0);
|
769
|
+
}
|
770
|
+
to {
|
771
|
+
transform: translate(-100%, 0px);
|
772
|
+
}
|
773
|
+
}
|
774
|
+
@-moz-keyframes slideRightNew {
|
775
|
+
from {
|
776
|
+
transform: translate(100%, 0);
|
777
|
+
}
|
778
|
+
to {
|
779
|
+
transform: translate(0, 0);
|
780
|
+
}
|
781
|
+
}
|
782
|
+
@-webkit-keyframes slideRightNew {
|
783
|
+
from {
|
784
|
+
transform: translate(100%, 0);
|
785
|
+
}
|
786
|
+
to {
|
787
|
+
transform: translate(0, 0);
|
788
|
+
}
|
789
|
+
}
|
790
|
+
@-o-keyframes slideRightNew {
|
791
|
+
from {
|
792
|
+
transform: translate(100%, 0);
|
793
|
+
}
|
794
|
+
to {
|
795
|
+
transform: translate(0, 0);
|
796
|
+
}
|
797
|
+
}
|
798
|
+
@keyframes slideRightNew {
|
799
|
+
from {
|
800
|
+
transform: translate(100%, 0);
|
801
|
+
}
|
802
|
+
to {
|
803
|
+
transform: translate(0, 0);
|
804
|
+
}
|
805
|
+
}
|
806
|
+
@-moz-keyframes fadeOut {
|
807
|
+
from {
|
808
|
+
opacity: 1;
|
809
|
+
}
|
810
|
+
to {
|
811
|
+
opacity: 0;
|
812
|
+
}
|
813
|
+
}
|
814
|
+
@-webkit-keyframes fadeOut {
|
815
|
+
from {
|
816
|
+
opacity: 1;
|
817
|
+
}
|
818
|
+
to {
|
819
|
+
opacity: 0;
|
820
|
+
}
|
821
|
+
}
|
822
|
+
@-o-keyframes fadeOut {
|
823
|
+
from {
|
824
|
+
opacity: 1;
|
825
|
+
}
|
826
|
+
to {
|
827
|
+
opacity: 0;
|
828
|
+
}
|
829
|
+
}
|
830
|
+
@keyframes fadeOut {
|
831
|
+
from {
|
832
|
+
opacity: 1;
|
833
|
+
}
|
834
|
+
to {
|
835
|
+
opacity: 0;
|
836
|
+
}
|
837
|
+
}
|
838
|
+
@-moz-keyframes fadeIn {
|
839
|
+
from {
|
840
|
+
opacity: 0;
|
841
|
+
}
|
842
|
+
to {
|
843
|
+
opacity: 1;
|
844
|
+
}
|
845
|
+
}
|
846
|
+
@-webkit-keyframes fadeIn {
|
847
|
+
from {
|
848
|
+
opacity: 0;
|
849
|
+
}
|
850
|
+
to {
|
851
|
+
opacity: 1;
|
852
|
+
}
|
853
|
+
}
|
854
|
+
@-o-keyframes fadeIn {
|
855
|
+
from {
|
856
|
+
opacity: 0;
|
857
|
+
}
|
858
|
+
to {
|
859
|
+
opacity: 1;
|
860
|
+
}
|
861
|
+
}
|
862
|
+
@keyframes fadeIn {
|
863
|
+
from {
|
864
|
+
opacity: 0;
|
865
|
+
}
|
866
|
+
to {
|
867
|
+
opacity: 1;
|
613
868
|
}
|
614
869
|
}
|