@progress/kendo-theme-utils 5.6.1-dev.6 → 5.8.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.
package/dist/all.css CHANGED
@@ -614,13 +614,40 @@
614
614
  right: -1px !important;
615
615
  }
616
616
 
617
- .k-top-center {
617
+ .k-top-start,
618
+ .k-pos-top-start {
619
+ top: 0;
620
+ left: 0;
621
+ }
622
+
623
+ .k-top-end,
624
+ .k-pos-top-end {
625
+ top: 0;
626
+ right: 0;
627
+ }
628
+
629
+ .k-bottom-start,
630
+ .k-pos-bottom-start {
631
+ bottom: 0;
632
+ left: 0;
633
+ }
634
+
635
+ .k-bottom-end,
636
+ .k-pos-bottom-end {
637
+ bottom: 0;
638
+ right: 0;
639
+ }
640
+
641
+ .k-top-center,
642
+ .k-pos-top-center {
618
643
  top: 0;
619
644
  left: 50%;
620
645
  transform: translateX(-50%);
621
646
  }
622
647
 
623
- .k-middle-left {
648
+ .k-middle-left,
649
+ .k-middle-start,
650
+ .k-pos-middle-start {
624
651
  top: 50%;
625
652
  left: 0;
626
653
  transform: translateY(-50%);
@@ -632,18 +659,41 @@
632
659
  transform: translateY(-50%);
633
660
  }
634
661
 
635
- .k-middle-right {
662
+ .k-middle-right,
663
+ .k-middle-end,
664
+ .k-pos-middle-end {
636
665
  top: 50%;
637
666
  right: 0;
638
667
  transform: translateY(-50%);
639
668
  }
640
669
 
641
- .k-bottom-center {
670
+ .k-bottom-center,
671
+ .k-pos-bottom-center {
642
672
  bottom: 0;
643
673
  left: 50%;
644
674
  transform: translateX(-50%);
645
675
  }
646
676
 
677
+ .k-top,
678
+ .k-pos-top {
679
+ top: 0;
680
+ }
681
+
682
+ .k-right,
683
+ .k-pos-right {
684
+ right: 0;
685
+ }
686
+
687
+ .k-bottom,
688
+ .k-pos-bottom {
689
+ bottom: 0;
690
+ }
691
+
692
+ .k-left,
693
+ .k-pos-left {
694
+ left: 0;
695
+ }
696
+
647
697
  .k-visibility-visible, .k-visible {
648
698
  visibility: visible;
649
699
  }
@@ -741,11 +791,11 @@
741
791
  }
742
792
 
743
793
  .k-flex-col-reverse {
744
- flex-direction: column;
794
+ flex-direction: column-reverse;
745
795
  }
746
796
 
747
797
  .\!k-flex-col-reverse {
748
- flex-direction: column !important;
798
+ flex-direction: column-reverse !important;
749
799
  }
750
800
 
751
801
  .k-flex-wrap {
@@ -6149,10 +6199,12 @@
6149
6199
  }
6150
6200
 
6151
6201
  .k-w-fit {
6202
+ width: -moz-fit-content;
6152
6203
  width: fit-content;
6153
6204
  }
6154
6205
 
6155
6206
  .\!k-w-fit {
6207
+ width: -moz-fit-content !important;
6156
6208
  width: fit-content !important;
6157
6209
  }
6158
6210
 
@@ -6205,10 +6257,12 @@
6205
6257
  }
6206
6258
 
6207
6259
  .k-min-w-fit {
6260
+ min-width: -moz-fit-content;
6208
6261
  min-width: fit-content;
6209
6262
  }
6210
6263
 
6211
6264
  .\!k-min-w-fit {
6265
+ min-width: -moz-fit-content !important;
6212
6266
  min-width: fit-content !important;
6213
6267
  }
6214
6268
 
@@ -6261,10 +6315,12 @@
6261
6315
  }
6262
6316
 
6263
6317
  .k-max-w-fit {
6318
+ max-width: -moz-fit-content;
6264
6319
  max-width: fit-content;
6265
6320
  }
6266
6321
 
6267
6322
  .\!k-max-w-fit {
6323
+ max-width: -moz-fit-content !important;
6268
6324
  max-width: fit-content !important;
6269
6325
  }
6270
6326
 
@@ -6701,10 +6757,12 @@
6701
6757
  }
6702
6758
 
6703
6759
  .k-h-fit {
6760
+ height: -moz-fit-content;
6704
6761
  height: fit-content;
6705
6762
  }
6706
6763
 
6707
6764
  .\!k-h-fit {
6765
+ height: -moz-fit-content !important;
6708
6766
  height: fit-content !important;
6709
6767
  }
6710
6768
 
@@ -6757,10 +6815,12 @@
6757
6815
  }
6758
6816
 
6759
6817
  .k-min-h-fit {
6818
+ min-height: -moz-fit-content;
6760
6819
  min-height: fit-content;
6761
6820
  }
6762
6821
 
6763
6822
  .\!k-min-h-fit {
6823
+ min-height: -moz-fit-content !important;
6764
6824
  min-height: fit-content !important;
6765
6825
  }
6766
6826
 
@@ -6813,10 +6873,12 @@
6813
6873
  }
6814
6874
 
6815
6875
  .k-max-h-fit {
6876
+ max-height: -moz-fit-content;
6816
6877
  max-height: fit-content;
6817
6878
  }
6818
6879
 
6819
6880
  .\!k-max-h-fit {
6881
+ max-height: -moz-fit-content !important;
6820
6882
  max-height: fit-content !important;
6821
6883
  }
6822
6884
 
@@ -8380,6 +8442,22 @@
8380
8442
  table-layout: fixed !important;
8381
8443
  }
8382
8444
 
8445
+ .k-table-layout-auto {
8446
+ table-layout: auto;
8447
+ }
8448
+
8449
+ .\!k-table-layout-auto {
8450
+ table-layout: auto !important;
8451
+ }
8452
+
8453
+ .k-table-layout-fixed {
8454
+ table-layout: fixed;
8455
+ }
8456
+
8457
+ .\!k-table-layout-fixed {
8458
+ table-layout: fixed !important;
8459
+ }
8460
+
8383
8461
  .k-flip-h, .k-flip-x {
8384
8462
  transform: scaleX(-1);
8385
8463
  }
@@ -10101,35 +10179,43 @@
10101
10179
  }
10102
10180
 
10103
10181
  .k-scroll-snap-none {
10104
- scroll-snap-type: none;
10182
+ -ms-scroll-snap-type: none;
10183
+ scroll-snap-type: none;
10105
10184
  }
10106
10185
 
10107
10186
  .\!k-scroll-snap-none {
10108
- scroll-snap-type: none !important;
10187
+ -ms-scroll-snap-type: none !important;
10188
+ scroll-snap-type: none !important;
10109
10189
  }
10110
10190
 
10111
10191
  .k-scroll-snap-snap-x {
10112
- scroll-snap-type: x var(--k-scroll-snap-strictness);
10192
+ -ms-scroll-snap-type: x var(--k-scroll-snap-strictness);
10193
+ scroll-snap-type: x var(--k-scroll-snap-strictness);
10113
10194
  }
10114
10195
 
10115
10196
  .\!k-scroll-snap-snap-x {
10116
- scroll-snap-type: x var(--k-scroll-snap-strictness) !important;
10197
+ -ms-scroll-snap-type: x var(--k-scroll-snap-strictness) !important;
10198
+ scroll-snap-type: x var(--k-scroll-snap-strictness) !important;
10117
10199
  }
10118
10200
 
10119
10201
  .k-scroll-snap-snap-y {
10120
- scroll-snap-type: y var(--k-scroll-snap-strictness);
10202
+ -ms-scroll-snap-type: y var(--k-scroll-snap-strictness);
10203
+ scroll-snap-type: y var(--k-scroll-snap-strictness);
10121
10204
  }
10122
10205
 
10123
10206
  .\!k-scroll-snap-snap-y {
10124
- scroll-snap-type: y var(--k-scroll-snap-strictness) !important;
10207
+ -ms-scroll-snap-type: y var(--k-scroll-snap-strictness) !important;
10208
+ scroll-snap-type: y var(--k-scroll-snap-strictness) !important;
10125
10209
  }
10126
10210
 
10127
10211
  .k-scroll-snap-snap-both {
10128
- scroll-snap-type: both var(--k-scroll-snap-strictness);
10212
+ -ms-scroll-snap-type: both var(--k-scroll-snap-strictness);
10213
+ scroll-snap-type: both var(--k-scroll-snap-strictness);
10129
10214
  }
10130
10215
 
10131
10216
  .\!k-scroll-snap-snap-both {
10132
- scroll-snap-type: both var(--k-scroll-snap-strictness) !important;
10217
+ -ms-scroll-snap-type: both var(--k-scroll-snap-strictness) !important;
10218
+ scroll-snap-type: both var(--k-scroll-snap-strictness) !important;
10133
10219
  }
10134
10220
 
10135
10221
  .k-scroll-snap-mandatory {
@@ -12957,43 +13043,61 @@
12957
13043
  }
12958
13044
 
12959
13045
  .k-user-select-none {
12960
- user-select: none;
13046
+ -webkit-user-select: none;
13047
+ -ms-user-select: none;
13048
+ user-select: none;
12961
13049
  }
12962
13050
 
12963
13051
  .\!k-user-select-none {
12964
- user-select: none !important;
13052
+ -webkit-user-select: none !important;
13053
+ -ms-user-select: none !important;
13054
+ user-select: none !important;
12965
13055
  }
12966
13056
 
12967
13057
  .k-user-select-auto {
12968
- user-select: auto;
13058
+ -webkit-user-select: auto;
13059
+ -ms-user-select: auto;
13060
+ user-select: auto;
12969
13061
  }
12970
13062
 
12971
13063
  .\!k-user-select-auto {
12972
- user-select: auto !important;
13064
+ -webkit-user-select: auto !important;
13065
+ -ms-user-select: auto !important;
13066
+ user-select: auto !important;
12973
13067
  }
12974
13068
 
12975
13069
  .k-user-select-text {
12976
- user-select: text;
13070
+ -webkit-user-select: text;
13071
+ -ms-user-select: text;
13072
+ user-select: text;
12977
13073
  }
12978
13074
 
12979
13075
  .\!k-user-select-text {
12980
- user-select: text !important;
13076
+ -webkit-user-select: text !important;
13077
+ -ms-user-select: text !important;
13078
+ user-select: text !important;
12981
13079
  }
12982
13080
 
12983
13081
  .k-user-select-all {
12984
- user-select: all;
13082
+ -webkit-user-select: all;
13083
+ user-select: all;
12985
13084
  }
12986
13085
 
12987
13086
  .\!k-user-select-all {
12988
- user-select: all !important;
13087
+ -webkit-user-select: all !important;
13088
+ user-select: all !important;
12989
13089
  }
12990
13090
 
12991
13091
  .k-user-select-contain {
12992
- user-select: contain;
13092
+ -webkit-user-select: contain;
13093
+ -ms-user-select: element;
13094
+ user-select: contain;
12993
13095
  }
12994
13096
 
12995
13097
  .\!k-user-select-contain {
12996
- user-select: contain !important;
13098
+ -webkit-user-select: contain !important;
13099
+ -ms-user-select: element !important;
13100
+ user-select: contain !important;
12997
13101
  }
12998
13102
 
12999
13103
  .k-will-change-auto {
package/dist/all.scss CHANGED
@@ -203,7 +203,7 @@ $kendo-utils: (
203
203
  row: row,
204
204
  row-reverse: row-reverse,
205
205
  col: column,
206
- col-reverse: column
206
+ col-reverse: column-reverse
207
207
  ),
208
208
  "flex-wrap": (
209
209
  wrap,
@@ -1036,12 +1036,39 @@ $kendo-utils-inset: map-get( $kendo-utils, "inset" ) !default;
1036
1036
  @include generate-utils( bottom-left, ( bottom, left ), $kendo-utils-inset );
1037
1037
  @include generate-utils( bottom-right, ( bottom, right), $kendo-utils-inset );
1038
1038
 
1039
- .#{$kendo-prefix}top-center {
1039
+ .#{$kendo-prefix}top-start,
1040
+ .#{$kendo-prefix}pos-top-start {
1041
+ top: 0;
1042
+ left: 0;
1043
+ }
1044
+
1045
+ .#{$kendo-prefix}top-end,
1046
+ .#{$kendo-prefix}pos-top-end {
1047
+ top: 0;
1048
+ right: 0;
1049
+ }
1050
+
1051
+ .#{$kendo-prefix}bottom-start,
1052
+ .#{$kendo-prefix}pos-bottom-start {
1053
+ bottom: 0;
1054
+ left: 0;
1055
+ }
1056
+
1057
+ .#{$kendo-prefix}bottom-end,
1058
+ .#{$kendo-prefix}pos-bottom-end {
1059
+ bottom: 0;
1060
+ right: 0;
1061
+ }
1062
+
1063
+ .#{$kendo-prefix}top-center,
1064
+ .#{$kendo-prefix}pos-top-center {
1040
1065
  top: 0;
1041
1066
  left: 50%;
1042
1067
  transform: translateX(-50%);
1043
1068
  }
1044
- .#{$kendo-prefix}middle-left {
1069
+ .#{$kendo-prefix}middle-left,
1070
+ .#{$kendo-prefix}middle-start,
1071
+ .#{$kendo-prefix}pos-middle-start {
1045
1072
  top: 50%;
1046
1073
  left: 0;
1047
1074
  transform: translateY(-50%);
@@ -1051,17 +1078,26 @@ $kendo-utils-inset: map-get( $kendo-utils, "inset" ) !default;
1051
1078
  left: 50%;
1052
1079
  transform: translateY(-50%);
1053
1080
  }
1054
- .#{$kendo-prefix}middle-right {
1081
+ .#{$kendo-prefix}middle-right,
1082
+ .#{$kendo-prefix}middle-end,
1083
+ .#{$kendo-prefix}pos-middle-end {
1055
1084
  top: 50%;
1056
1085
  right: 0;
1057
1086
  transform: translateY(-50%);
1058
1087
  }
1059
- .#{$kendo-prefix}bottom-center {
1088
+ .#{$kendo-prefix}bottom-center,
1089
+ .#{$kendo-prefix}pos-bottom-center {
1060
1090
  bottom: 0;
1061
1091
  left: 50%;
1062
1092
  transform: translateX(-50%);
1063
1093
  }
1064
1094
 
1095
+
1096
+ @each $side in (top, right, bottom, left) {
1097
+ .#{$kendo-prefix}#{$side},
1098
+ .#{$kendo-prefix}pos-#{$side} { #{$side}: 0; } // sass-lint:disable-line brace-style
1099
+ }
1100
+
1065
1101
  // #endregion
1066
1102
  // #region @import "./_visibility.scss"; -> packages/utils/scss/layout/_visibility.scss
1067
1103
  // TODO DOCS
@@ -1663,6 +1699,7 @@ $kendo-utils-border-collapse: map-get( $kendo-utils, "border-collapse" ) !defaul
1663
1699
  $kendo-utils-table-layout: map-get( $kendo-utils, "table-layout" ) !default;
1664
1700
 
1665
1701
  @include generate-utils( table, table-layout, $kendo-utils-table-layout );
1702
+ @include generate-utils( table-layout, table-layout, $kendo-utils-table-layout );
1666
1703
 
1667
1704
  // #endregion
1668
1705
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-utils",
3
3
  "description": "Utility first library alongside Kendo UI",
4
- "version": "5.6.1-dev.6",
4
+ "version": "5.8.0",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -36,7 +36,7 @@
36
36
  "postpublish": "echo 'no postpublish for utils'"
37
37
  },
38
38
  "devDependencies": {
39
- "sass-build": "^0.0.1"
39
+ "sass-build": "^1.0.0"
40
40
  },
41
- "gitHead": "0bb8ba8dbd98bdff0c5d8b8d862fa68d28365c1b"
41
+ "gitHead": "2e623d96036e764e51218c1b9d8b97d17eb036b5"
42
42
  }
@@ -158,7 +158,7 @@ $kendo-utils: (
158
158
  row: row,
159
159
  row-reverse: row-reverse,
160
160
  col: column,
161
- col-reverse: column
161
+ col-reverse: column-reverse
162
162
  ),
163
163
  "flex-wrap": (
164
164
  wrap,
@@ -33,12 +33,39 @@ $kendo-utils-inset: map-get( $kendo-utils, "inset" ) !default;
33
33
  @include generate-utils( bottom-left, ( bottom, left ), $kendo-utils-inset );
34
34
  @include generate-utils( bottom-right, ( bottom, right), $kendo-utils-inset );
35
35
 
36
- .#{$kendo-prefix}top-center {
36
+ .#{$kendo-prefix}top-start,
37
+ .#{$kendo-prefix}pos-top-start {
38
+ top: 0;
39
+ left: 0;
40
+ }
41
+
42
+ .#{$kendo-prefix}top-end,
43
+ .#{$kendo-prefix}pos-top-end {
44
+ top: 0;
45
+ right: 0;
46
+ }
47
+
48
+ .#{$kendo-prefix}bottom-start,
49
+ .#{$kendo-prefix}pos-bottom-start {
50
+ bottom: 0;
51
+ left: 0;
52
+ }
53
+
54
+ .#{$kendo-prefix}bottom-end,
55
+ .#{$kendo-prefix}pos-bottom-end {
56
+ bottom: 0;
57
+ right: 0;
58
+ }
59
+
60
+ .#{$kendo-prefix}top-center,
61
+ .#{$kendo-prefix}pos-top-center {
37
62
  top: 0;
38
63
  left: 50%;
39
64
  transform: translateX(-50%);
40
65
  }
41
- .#{$kendo-prefix}middle-left {
66
+ .#{$kendo-prefix}middle-left,
67
+ .#{$kendo-prefix}middle-start,
68
+ .#{$kendo-prefix}pos-middle-start {
42
69
  top: 50%;
43
70
  left: 0;
44
71
  transform: translateY(-50%);
@@ -48,13 +75,22 @@ $kendo-utils-inset: map-get( $kendo-utils, "inset" ) !default;
48
75
  left: 50%;
49
76
  transform: translateY(-50%);
50
77
  }
51
- .#{$kendo-prefix}middle-right {
78
+ .#{$kendo-prefix}middle-right,
79
+ .#{$kendo-prefix}middle-end,
80
+ .#{$kendo-prefix}pos-middle-end {
52
81
  top: 50%;
53
82
  right: 0;
54
83
  transform: translateY(-50%);
55
84
  }
56
- .#{$kendo-prefix}bottom-center {
85
+ .#{$kendo-prefix}bottom-center,
86
+ .#{$kendo-prefix}pos-bottom-center {
57
87
  bottom: 0;
58
88
  left: 50%;
59
89
  transform: translateX(-50%);
60
90
  }
91
+
92
+
93
+ @each $side in (top, right, bottom, left) {
94
+ .#{$kendo-prefix}#{$side},
95
+ .#{$kendo-prefix}pos-#{$side} { #{$side}: 0; } // sass-lint:disable-line brace-style
96
+ }
@@ -9,3 +9,4 @@
9
9
  $kendo-utils-table-layout: map-get( $kendo-utils, "table-layout" ) !default;
10
10
 
11
11
  @include generate-utils( table, table-layout, $kendo-utils-table-layout );
12
+ @include generate-utils( table-layout, table-layout, $kendo-utils-table-layout );