@progress/kendo-theme-utils 5.6.1-dev.5 → 5.7.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
  }
@@ -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
 
@@ -10101,35 +10163,43 @@
10101
10163
  }
10102
10164
 
10103
10165
  .k-scroll-snap-none {
10104
- scroll-snap-type: none;
10166
+ -ms-scroll-snap-type: none;
10167
+ scroll-snap-type: none;
10105
10168
  }
10106
10169
 
10107
10170
  .\!k-scroll-snap-none {
10108
- scroll-snap-type: none !important;
10171
+ -ms-scroll-snap-type: none !important;
10172
+ scroll-snap-type: none !important;
10109
10173
  }
10110
10174
 
10111
10175
  .k-scroll-snap-snap-x {
10112
- scroll-snap-type: x var(--k-scroll-snap-strictness);
10176
+ -ms-scroll-snap-type: x var(--k-scroll-snap-strictness);
10177
+ scroll-snap-type: x var(--k-scroll-snap-strictness);
10113
10178
  }
10114
10179
 
10115
10180
  .\!k-scroll-snap-snap-x {
10116
- scroll-snap-type: x var(--k-scroll-snap-strictness) !important;
10181
+ -ms-scroll-snap-type: x var(--k-scroll-snap-strictness) !important;
10182
+ scroll-snap-type: x var(--k-scroll-snap-strictness) !important;
10117
10183
  }
10118
10184
 
10119
10185
  .k-scroll-snap-snap-y {
10120
- scroll-snap-type: y var(--k-scroll-snap-strictness);
10186
+ -ms-scroll-snap-type: y var(--k-scroll-snap-strictness);
10187
+ scroll-snap-type: y var(--k-scroll-snap-strictness);
10121
10188
  }
10122
10189
 
10123
10190
  .\!k-scroll-snap-snap-y {
10124
- scroll-snap-type: y var(--k-scroll-snap-strictness) !important;
10191
+ -ms-scroll-snap-type: y var(--k-scroll-snap-strictness) !important;
10192
+ scroll-snap-type: y var(--k-scroll-snap-strictness) !important;
10125
10193
  }
10126
10194
 
10127
10195
  .k-scroll-snap-snap-both {
10128
- scroll-snap-type: both var(--k-scroll-snap-strictness);
10196
+ -ms-scroll-snap-type: both var(--k-scroll-snap-strictness);
10197
+ scroll-snap-type: both var(--k-scroll-snap-strictness);
10129
10198
  }
10130
10199
 
10131
10200
  .\!k-scroll-snap-snap-both {
10132
- scroll-snap-type: both var(--k-scroll-snap-strictness) !important;
10201
+ -ms-scroll-snap-type: both var(--k-scroll-snap-strictness) !important;
10202
+ scroll-snap-type: both var(--k-scroll-snap-strictness) !important;
10133
10203
  }
10134
10204
 
10135
10205
  .k-scroll-snap-mandatory {
@@ -12957,43 +13027,61 @@
12957
13027
  }
12958
13028
 
12959
13029
  .k-user-select-none {
12960
- user-select: none;
13030
+ -webkit-user-select: none;
13031
+ -ms-user-select: none;
13032
+ user-select: none;
12961
13033
  }
12962
13034
 
12963
13035
  .\!k-user-select-none {
12964
- user-select: none !important;
13036
+ -webkit-user-select: none !important;
13037
+ -ms-user-select: none !important;
13038
+ user-select: none !important;
12965
13039
  }
12966
13040
 
12967
13041
  .k-user-select-auto {
12968
- user-select: auto;
13042
+ -webkit-user-select: auto;
13043
+ -ms-user-select: auto;
13044
+ user-select: auto;
12969
13045
  }
12970
13046
 
12971
13047
  .\!k-user-select-auto {
12972
- user-select: auto !important;
13048
+ -webkit-user-select: auto !important;
13049
+ -ms-user-select: auto !important;
13050
+ user-select: auto !important;
12973
13051
  }
12974
13052
 
12975
13053
  .k-user-select-text {
12976
- user-select: text;
13054
+ -webkit-user-select: text;
13055
+ -ms-user-select: text;
13056
+ user-select: text;
12977
13057
  }
12978
13058
 
12979
13059
  .\!k-user-select-text {
12980
- user-select: text !important;
13060
+ -webkit-user-select: text !important;
13061
+ -ms-user-select: text !important;
13062
+ user-select: text !important;
12981
13063
  }
12982
13064
 
12983
13065
  .k-user-select-all {
12984
- user-select: all;
13066
+ -webkit-user-select: all;
13067
+ user-select: all;
12985
13068
  }
12986
13069
 
12987
13070
  .\!k-user-select-all {
12988
- user-select: all !important;
13071
+ -webkit-user-select: all !important;
13072
+ user-select: all !important;
12989
13073
  }
12990
13074
 
12991
13075
  .k-user-select-contain {
12992
- user-select: contain;
13076
+ -webkit-user-select: contain;
13077
+ -ms-user-select: element;
13078
+ user-select: contain;
12993
13079
  }
12994
13080
 
12995
13081
  .\!k-user-select-contain {
12996
- user-select: contain !important;
13082
+ -webkit-user-select: contain !important;
13083
+ -ms-user-select: element !important;
13084
+ user-select: contain !important;
12997
13085
  }
12998
13086
 
12999
13087
  .k-will-change-auto {
package/dist/all.scss CHANGED
@@ -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
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.5",
4
+ "version": "5.7.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": "511f6ad841f206d54703d5b33a96d7348ac411ba"
41
+ "gitHead": "5e316441f8406d4e3ef94f189ae71304cf7f6a15"
42
42
  }
@@ -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
+ }