@trilogy-ds/styles 4.13.18-datepicker → 4.14.0-calendar-native

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.
@@ -2,11 +2,16 @@
2
2
 
3
3
  .flex-box {
4
4
  display: flex;
5
- gap: 8px;
6
- --ColumnGap: 8px;
5
+ --ColumnGap : 8px;
6
+ gap: var(--ColumnGap);
7
7
  flex-direction: row;
8
8
  justify-content: flex-start;
9
9
 
10
+
11
+ &:has(>.flex-item){
12
+ --ColumnGap : 16px;
13
+ }
14
+
10
15
  // DIRECTION
11
16
  &.is-direction-column {
12
17
  flex-direction: column;
@@ -24,24 +29,36 @@
24
29
  flex-direction: column-reverse;
25
30
  }
26
31
 
27
- @include desktop {
28
- &.is-direction-row-desktop {
32
+ // WRAP
33
+ &.is-wrap {
34
+ flex-wrap: wrap;
35
+ }
36
+
37
+ @include mobile {
38
+ &:has(>.flex-item):not([class*='is-direction']) {
39
+ flex-direction: column;
40
+ }
41
+
42
+ &.is-direction-row-mobile {
29
43
  flex-direction: row;
30
44
  }
31
45
 
32
- &.is-direction-column-desktop {
46
+ &.is-direction-column-mobile {
33
47
  flex-direction: column;
34
48
  }
35
49
 
36
- &.is-direction-row-reverse-desktop {
50
+ &.is-direction-row-reverse-mobile {
37
51
  flex-direction: row-reverse;
38
52
  }
39
53
 
40
- &.is-direction-column-reverse-desktop {
54
+ &.is-direction-column-reverse-mobile {
41
55
  flex-direction: column-reverse;
42
56
  }
43
- }
44
57
 
58
+ &.is-wrap-mobile {
59
+ flex-wrap: wrap;
60
+ }
61
+ }
45
62
  @include tablet {
46
63
  &.is-direction-row-tablet {
47
64
  flex-direction: row;
@@ -58,9 +75,70 @@
58
75
  &.is-direction-column-reverse-tablet {
59
76
  flex-direction: column-reverse;
60
77
  }
78
+ &.is-wrap-tablet {
79
+ flex-wrap: wrap;
80
+ }
81
+ }
82
+ @include desktop {
83
+ &.is-direction-row-desktop {
84
+ flex-direction: row;
85
+ }
86
+ &.is-direction-column-desktop {
87
+ flex-direction: column;
88
+ }
89
+
90
+ &.is-direction-row-reverse-desktop {
91
+ flex-direction: row-reverse;
92
+ }
93
+
94
+ &.is-direction-column-reverse-desktop {
95
+ flex-direction: column-reverse;
96
+ }
97
+ &.is-wrap-desktop {
98
+ flex-wrap: wrap;
99
+ }
100
+ }
101
+ @include widescreen {
102
+ &.is-direction-row-widescreen {
103
+ flex-direction: row;
104
+ }
105
+ &.is-direction-column-widescreen {
106
+ flex-direction: column;
107
+ }
108
+
109
+ &.is-direction-row-reverse-widescreen {
110
+ flex-direction: row-reverse;
111
+ }
112
+
113
+ &.is-direction-column-reverse-widescreen {
114
+ flex-direction: column-reverse;
115
+ }
116
+ &.is-wrap-widescreen {
117
+ flex-wrap: wrap;
118
+ }
61
119
  }
62
120
 
63
- @include mobile {
121
+ @include fullhd {
122
+ &.is-direction-row-fullhd {
123
+ flex-direction: row;
124
+ }
125
+ &.is-direction-column-fullhd {
126
+ flex-direction: column;
127
+ }
128
+
129
+ &.is-direction-row-reverse-fullhd {
130
+ flex-direction: row-reverse;
131
+ }
132
+
133
+ &.is-direction-column-reverse-fullhd {
134
+ flex-direction: column-reverse;
135
+ }
136
+ &.is-wrap-fullhd {
137
+ flex-wrap: wrap;
138
+ }
139
+ }
140
+
141
+ @include container-mobile {
64
142
  &:has(>.flex-item):not([class*='is-direction']) {
65
143
  flex-direction: column;
66
144
  }
@@ -80,6 +158,89 @@
80
158
  &.is-direction-column-reverse-mobile {
81
159
  flex-direction: column-reverse;
82
160
  }
161
+ &.is-wrap-mobile {
162
+ flex-wrap: wrap;
163
+ }
164
+ }
165
+ @include container-tablet {
166
+ &.is-direction-row-tablet {
167
+ flex-direction: row;
168
+ }
169
+
170
+ &.is-direction-column-tablet {
171
+ flex-direction: column;
172
+ }
173
+
174
+ &.is-direction-row-reverse-tablet {
175
+ flex-direction: row-reverse;
176
+ }
177
+
178
+ &.is-direction-column-reverse-tablet {
179
+ flex-direction: column-reverse;
180
+ }
181
+ &.is-wrap-mobile {
182
+ flex-wrap: wrap;
183
+ }
184
+ }
185
+ @include container-desktop {
186
+ &.is-direction-row-desktop {
187
+ flex-direction: row;
188
+ }
189
+
190
+ &.is-direction-column-desktop {
191
+ flex-direction: column;
192
+ }
193
+
194
+ &.is-direction-row-reverse-desktop {
195
+ flex-direction: row-reverse;
196
+ }
197
+
198
+ &.is-direction-column-reverse-desktop {
199
+ flex-direction: column-reverse;
200
+ }
201
+ &.is-wrap-desktop {
202
+ flex-wrap: wrap;
203
+ }
204
+ }
205
+ @include container-widescreen {
206
+ &.is-direction-row-widescreen {
207
+ flex-direction: row;
208
+ }
209
+
210
+ &.is-direction-column-widescreen {
211
+ flex-direction: column;
212
+ }
213
+
214
+ &.is-direction-row-reverse-widescreen {
215
+ flex-direction: row-reverse;
216
+ }
217
+
218
+ &.is-direction-column-reverse-widescreen {
219
+ flex-direction: column-reverse;
220
+ }
221
+ &.is-wrap-widescreen {
222
+ flex-wrap: wrap;
223
+ }
224
+ }
225
+ @include container-fullhd {
226
+ &.is-direction-row-fullhd {
227
+ flex-direction: row;
228
+ }
229
+
230
+ &.is-direction-column-fullhd {
231
+ flex-direction: column;
232
+ }
233
+
234
+ &.is-direction-row-reverse-fullhd {
235
+ flex-direction: row-reverse;
236
+ }
237
+
238
+ &.is-direction-column-reverse-fullhd {
239
+ flex-direction: column-reverse;
240
+ }
241
+ &.is-wrap-fullhd {
242
+ flex-wrap: wrap;
243
+ }
83
244
  }
84
245
 
85
246
  // ALIGN ITEMS
@@ -116,7 +277,6 @@
116
277
  align-items: stretch;
117
278
  }
118
279
  }
119
-
120
280
  @include tablet {
121
281
  &.is-aligned-start-tablet {
122
282
  align-items: flex-start;
@@ -134,7 +294,6 @@
134
294
  align-items: stretch;
135
295
  }
136
296
  }
137
-
138
297
  @include desktop {
139
298
  &.is-aligned-start-desktop {
140
299
  align-items: flex-start;
@@ -152,6 +311,92 @@
152
311
  align-items: stretch;
153
312
  }
154
313
  }
314
+ @include widescreen {
315
+ &.is-aligned-start-widescreen {
316
+ align-items: flex-start;
317
+ }
318
+
319
+ &.is-aligned-end-widescreen {
320
+ align-items: flex-end;
321
+ }
322
+
323
+ &.is-aligned-center-widescreen {
324
+ align-items: center;
325
+ }
326
+
327
+ &.is-aligned-stretch-widescreen {
328
+ align-items: stretch;
329
+ }
330
+ }
331
+ @include fullhd {
332
+ &.is-aligned-start-fullhd {
333
+ align-items: flex-start;
334
+ }
335
+
336
+ &.is-aligned-end-fullhd {
337
+ align-items: flex-end;
338
+ }
339
+
340
+ &.is-aligned-center-fullhd {
341
+ align-items: center;
342
+ }
343
+
344
+ &.is-aligned-stretch-fullhd {
345
+ align-items: stretch;
346
+ }
347
+ }
348
+
349
+ @include container-mobile {
350
+ &.is-aligned-start-mobile {
351
+ align-items: flex-start;
352
+ }
353
+
354
+ &.is-aligned-end-mobile {
355
+ align-items: flex-end;
356
+ }
357
+
358
+ &.is-aligned-center-mobile {
359
+ align-items: center;
360
+ }
361
+
362
+ &.is-aligned-stretch-mobile {
363
+ align-items: stretch;
364
+ }
365
+ }
366
+ @include container-tablet {
367
+ &.is-aligned-start-tablet {
368
+ align-items: flex-start;
369
+ }
370
+
371
+ &.is-aligned-end-tablet {
372
+ align-items: flex-end;
373
+ }
374
+
375
+ &.is-aligned-center-tablet {
376
+ align-items: center;
377
+ }
378
+
379
+ &.is-aligned-stretch-tablet {
380
+ align-items: stretch;
381
+ }
382
+ }
383
+ @include container-desktop {
384
+ &.is-aligned-start-desktop {
385
+ align-items: flex-start;
386
+ }
387
+
388
+ &.is-aligned-end-desktop {
389
+ align-items: flex-end;
390
+ }
391
+
392
+ &.is-aligned-center-desktop {
393
+ align-items: center;
394
+ }
395
+
396
+ &.is-aligned-stretch-desktop {
397
+ align-items: stretch;
398
+ }
399
+ }
155
400
 
156
401
  // JUSTIFY CONTENT
157
402
  &.is-justified-start {
@@ -203,7 +448,6 @@
203
448
  justify-content: space-evenly;
204
449
  }
205
450
  }
206
-
207
451
  @include tablet {
208
452
  &.is-justified-start-tablet {
209
453
  justify-content: flex-start;
@@ -229,7 +473,6 @@
229
473
  justify-content: space-evenly;
230
474
  }
231
475
  }
232
-
233
476
  @include desktop {
234
477
  &.is-justified-start-desktop {
235
478
  justify-content: flex-start;
@@ -256,6 +499,184 @@
256
499
  }
257
500
  }
258
501
 
502
+ @include widescreen {
503
+ &.is-justified-start-widescreen {
504
+ justify-content: flex-start;
505
+ }
506
+
507
+ &.is-justified-end-widescreen {
508
+ justify-content: flex-end;
509
+ }
510
+
511
+ &.is-justified-center-widescreen {
512
+ justify-content: center;
513
+ }
514
+
515
+ &.is-spaced-between-widescreen {
516
+ justify-content: space-between;
517
+ }
518
+
519
+ &.is-spaced-around-widescreen {
520
+ justify-content: space-around;
521
+ }
522
+
523
+ &.is-spaced-evenly-widescreen {
524
+ justify-content: space-evenly;
525
+ }
526
+ }
527
+ @include fullhd {
528
+ &.is-justified-start-fullhd {
529
+ justify-content: flex-start;
530
+ }
531
+
532
+ &.is-justified-end-fullhd {
533
+ justify-content: flex-end;
534
+ }
535
+
536
+ &.is-justified-center-fullhd {
537
+ justify-content: center;
538
+ }
539
+
540
+ &.is-spaced-between-fullhd {
541
+ justify-content: space-between;
542
+ }
543
+
544
+ &.is-spaced-around-fullhd {
545
+ justify-content: space-around;
546
+ }
547
+
548
+ &.is-spaced-evenly-fullhd {
549
+ justify-content: space-evenly;
550
+ }
551
+ }
552
+
553
+ @include container-mobile {
554
+ &.is-justified-start-mobile {
555
+ justify-content: flex-start;
556
+ }
557
+
558
+ &.is-justified-end-mobile {
559
+ justify-content: flex-end;
560
+ }
561
+
562
+ &.is-justified-center-mobile {
563
+ justify-content: center;
564
+ }
565
+
566
+ &.is-spaced-between-mobile {
567
+ justify-content: space-between;
568
+ }
569
+
570
+ &.is-spaced-around-mobile {
571
+ justify-content: space-around;
572
+ }
573
+
574
+ &.is-spaced-evenly-mobile {
575
+ justify-content: space-evenly;
576
+ }
577
+ }
578
+ @include container-tablet {
579
+ &.is-justified-start-tablet {
580
+ justify-content: flex-start;
581
+ }
582
+
583
+ &.is-justified-end-tablet {
584
+ justify-content: flex-end;
585
+ }
586
+
587
+ &.is-justified-center-tablet {
588
+ justify-content: center;
589
+ }
590
+
591
+ &.is-spaced-between-tablet {
592
+ justify-content: space-between;
593
+ }
594
+
595
+ &.is-spaced-around-tablet {
596
+ justify-content: space-around;
597
+ }
598
+
599
+ &.is-spaced-evenly-tablet {
600
+ justify-content: space-evenly;
601
+ }
602
+ }
603
+ @include container-desktop {
604
+ &.is-justified-start-desktop {
605
+ justify-content: flex-start;
606
+ }
607
+
608
+ &.is-justified-end-desktop {
609
+ justify-content: flex-end;
610
+ }
611
+
612
+ &.is-justified-center-desktop {
613
+ justify-content: center;
614
+ }
615
+
616
+ &.is-spaced-between-desktop {
617
+ justify-content: space-between;
618
+ }
619
+
620
+ &.is-spaced-around-desktop {
621
+ justify-content: space-around;
622
+ }
623
+
624
+ &.is-spaced-evenly-desktop {
625
+ justify-content: space-evenly;
626
+ }
627
+ }
628
+
629
+ @include container-widescreen {
630
+ &.is-justified-start-widescreen {
631
+ justify-content: flex-start;
632
+ }
633
+
634
+ &.is-justified-end-widescreen {
635
+ justify-content: flex-end;
636
+ }
637
+
638
+ &.is-justified-center-widescreen {
639
+ justify-content: center;
640
+ }
641
+
642
+ &.is-spaced-between-widescreen {
643
+ justify-content: space-between;
644
+ }
645
+
646
+ &.is-spaced-around-widescreen {
647
+ justify-content: space-around;
648
+ }
649
+
650
+ &.is-spaced-evenly-widescreen {
651
+ justify-content: space-evenly;
652
+ }
653
+ }
654
+ @include container-fullhd {
655
+ &.is-justified-start-fullhd {
656
+ justify-content: flex-start;
657
+ }
658
+
659
+ &.is-justified-end-fullhd {
660
+ justify-content: flex-end;
661
+ }
662
+
663
+ &.is-justified-center-fullhd {
664
+ justify-content: center;
665
+ }
666
+
667
+ &.is-spaced-between-fullhd {
668
+ justify-content: space-between;
669
+ }
670
+
671
+ &.is-spaced-around-fullhd {
672
+ justify-content: space-around;
673
+ }
674
+
675
+ &.is-spaced-evenly-fullhd {
676
+ justify-content: space-evenly;
677
+ }
678
+ }
679
+
259
680
  &.is-scrollable {
260
681
  overflow: auto;
261
682
  width: calc(100% + 48px) !important;
@@ -273,6 +694,13 @@
273
694
  scroll-padding: 16px;
274
695
  }
275
696
 
697
+ @include container-mobile {
698
+ width: calc(100% + 32px) !important;
699
+ margin: -16px auto -16px 50% !important;
700
+ padding: 16px;
701
+ scroll-padding: 16px;
702
+ }
703
+
276
704
  &:not(:last-child) {
277
705
  margin-bottom: auto !important;
278
706
  }
@@ -297,6 +725,7 @@
297
725
  }
298
726
 
299
727
  @include mobile {
728
+ &.has-gap-#{$i},
300
729
  &.has-gap-#{$i}-mobile {
301
730
  gap: $item;
302
731
 
@@ -305,7 +734,6 @@
305
734
  }
306
735
  }
307
736
  }
308
-
309
737
  @include tablet {
310
738
  &.has-gap-#{$i}:not(.is-desktop),
311
739
  &.has-gap-#{$i}-tablet {
@@ -316,7 +744,6 @@
316
744
  }
317
745
  }
318
746
  }
319
-
320
747
  @include desktop {
321
748
  &.has-gap-#{$i},
322
749
  &.has-gap-#{$i}-desktop {
@@ -327,8 +754,8 @@
327
754
  }
328
755
  }
329
756
  }
330
-
331
757
  @include widescreen {
758
+ &.has-gap-#{$i},
332
759
  &.has-gap-#{$i}-widescreen {
333
760
  gap: $item;
334
761
 
@@ -337,8 +764,60 @@
337
764
  }
338
765
  }
339
766
  }
340
-
341
767
  @include fullhd {
768
+ &.has-gap-#{$i},
769
+ &.has-gap-#{$i}-fullhd {
770
+ gap: $item;
771
+
772
+ > .flex-item {
773
+ --ColumnGap: #{$item};
774
+ }
775
+ }
776
+ }
777
+
778
+ @include container-mobile {
779
+ &.has-gap-#{$i}-mobile {
780
+ gap: $item;
781
+
782
+ > .flex-item {
783
+ --ColumnGap: #{$item};
784
+ }
785
+ }
786
+ }
787
+
788
+ @include container-tablet {
789
+ &.has-gap-#{$i}:not(.is-desktop),
790
+ &.has-gap-#{$i}-tablet {
791
+ gap: $item;
792
+
793
+ > .flex-item {
794
+ --ColumnGap: #{$item};
795
+ }
796
+ }
797
+ }
798
+
799
+ @include container-desktop {
800
+ &.has-gap-#{$i},
801
+ &.has-gap-#{$i}-desktop {
802
+ gap: $item;
803
+
804
+ > .flex-item {
805
+ --ColumnGap: #{$item};
806
+ }
807
+ }
808
+ }
809
+
810
+ @include container-widescreen {
811
+ &.has-gap-#{$i}-widescreen {
812
+ gap: $item;
813
+
814
+ > .flex-item {
815
+ --ColumnGap: #{$item};
816
+ }
817
+ }
818
+ }
819
+
820
+ @include container-fullhd {
342
821
  &.has-gap-#{$i}-fullhd {
343
822
  gap: $item;
344
823
 
@@ -377,8 +856,7 @@
377
856
 
378
857
  // SIZE
379
858
  .flex-item {
380
- width: 100%;
381
-
859
+ flex-grow: 1;
382
860
  &.is-narrow {
383
861
  width: auto;
384
862
  }
@@ -391,6 +869,10 @@
391
869
  @include mobile {
392
870
  --ColumnFraction: 1;
393
871
  }
872
+
873
+ @include container-mobile {
874
+ --ColumnFraction: 1;
875
+ }
394
876
  }
395
877
  }
396
878
 
@@ -409,7 +891,6 @@
409
891
  }
410
892
  }
411
893
  }
412
-
413
894
  @include tablet {
414
895
  @each $key, $value in $itemSize {
415
896
  .flex-item.is-#{$key}-tablet {
@@ -418,7 +899,6 @@
418
899
  }
419
900
  }
420
901
  }
421
-
422
902
  @include touch {
423
903
  @each $key, $value in $itemSize {
424
904
  .flex-item.is-#{$key}-touch {
@@ -427,7 +907,6 @@
427
907
  }
428
908
  }
429
909
  }
430
-
431
910
  @include desktop {
432
911
  @each $key, $value in $itemSize {
433
912
  .flex-item.is-#{$key}-desktop {
@@ -436,7 +915,6 @@
436
915
  }
437
916
  }
438
917
  }
439
-
440
918
  @include widescreen {
441
919
  @each $key, $value in $itemSize {
442
920
  .flex-item.is-#{$key}-widescreen {
@@ -445,7 +923,6 @@
445
923
  }
446
924
  }
447
925
  }
448
-
449
926
  @include fullhd {
450
927
  @each $key, $value in $itemSize {
451
928
  .flex-item.is-#{$key}-fullhd {
@@ -454,4 +931,62 @@
454
931
  }
455
932
  }
456
933
  }
934
+
935
+ @include container-mobile {
936
+ @each $key, $value in $itemSize {
937
+ .flex-item.is-#{$key}-mobile {
938
+ flex: none;
939
+ --ColumnFraction: #{$value};
940
+ }
941
+ }
942
+ }
943
+
944
+
945
+ @include container-tablet {
946
+ @each $key, $value in $itemSize {
947
+ .flex-item.is-#{$key}-tablet {
948
+ flex: none;
949
+ --ColumnFraction: #{$value};
950
+ }
951
+ }
952
+ }
953
+
954
+
955
+ @include container-touch {
956
+ @each $key, $value in $itemSize {
957
+ .flex-item.is-#{$key}-touch {
958
+ flex: none;
959
+ --ColumnFraction: #{$value};
960
+ }
961
+ }
962
+ }
963
+
964
+
965
+ @include container-desktop {
966
+ @each $key, $value in $itemSize {
967
+ .flex-item.is-#{$key}-desktop {
968
+ flex: none;
969
+ --ColumnFraction: #{$value};
970
+ }
971
+ }
972
+ }
973
+
974
+
975
+ @include container-widescreen {
976
+ @each $key, $value in $itemSize {
977
+ .flex-item.is-#{$key}-widescreen {
978
+ flex: none;
979
+ --ColumnFraction: #{$value};
980
+ }
981
+ }
982
+ }
983
+
984
+ @include container-fullhd {
985
+ @each $key, $value in $itemSize {
986
+ .flex-item.is-#{$key}-fullhd {
987
+ flex: none;
988
+ --ColumnFraction: #{$value};
989
+ }
990
+ }
991
+ }
457
992
  }