@progress/kendo-theme-core 13.1.0-dev.0 → 13.1.0-dev.2

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-core",
3
3
  "description": "A collection of functions and mixins used for building themes for Kendo UI",
4
- "version": "13.1.0-dev.0",
4
+ "version": "13.1.0-dev.2",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -46,5 +46,5 @@
46
46
  "directories": {
47
47
  "doc": "docs"
48
48
  },
49
- "gitHead": "d4be7843be84237f98eb67ced612583a473e88e0"
49
+ "gitHead": "feda774a2c88006abd77d1e709272d33792a49b3"
50
50
  }
@@ -356,9 +356,9 @@
356
356
  display: block;
357
357
  position: absolute;
358
358
  inset-block-end: 0;
359
- content: "\200b";
359
+ content: "";
360
360
  height: 0;
361
- line-height: 0;
361
+ line-height: 1lh;
362
362
  z-index: k-z-index("base", 1);
363
363
  width: 150%;
364
364
  inset-inline-start: -25%;
@@ -395,7 +395,7 @@
395
395
  &::after {
396
396
  display: block;
397
397
  position: absolute;
398
- content: "\200b";
398
+ content: "";
399
399
  height: 0;
400
400
  line-height: 0;
401
401
  z-index: k-z-index("base", 1);
@@ -125,8 +125,9 @@
125
125
  position: relative;
126
126
 
127
127
  &::before {
128
- content: "\200b";
129
- width: 0px;
128
+ content: "";
129
+ width: 0;
130
+ height: 1lh;
130
131
  overflow: hidden;
131
132
  flex: none;
132
133
  display: inline-block;
@@ -27,8 +27,9 @@
27
27
  }
28
28
 
29
29
  .k-input-inner::before {
30
- content: "\200b";
31
- width: 0px;
30
+ content: "";
31
+ width: 0;
32
+ height: 1lh;
32
33
  overflow: hidden;
33
34
  flex: none;
34
35
  display: inline-block;
@@ -416,7 +416,7 @@
416
416
  position: relative;
417
417
  vertical-align: middle;
418
418
  }
419
- td::after { content: "\200b"; }
419
+ td::after { content: ""; }
420
420
  }
421
421
 
422
422
  .k-task-wrap {
@@ -70,7 +70,8 @@
70
70
  .k-grid-header,
71
71
  .k-grid-content,
72
72
  .k-grid-content-locked,
73
- .k-grid-footer {
73
+ .k-grid-footer,
74
+ .k-grid-sticky-container {
74
75
  .k-table {
75
76
  table-layout: fixed;
76
77
  }
@@ -318,28 +319,6 @@
318
319
  border-inline-start-width: $kendo-grid-cell-vertical-border-width;
319
320
  }
320
321
 
321
- .k-grid-sticky-container {
322
- position: sticky;
323
- inset-block-start: 0;
324
- z-index: k-z-index("base", 3);
325
- overflow: hidden;
326
- border-color: inherit;
327
- box-shadow: $kendo-grid-sticky-container-shadow;
328
-
329
- .k-table {
330
- table-layout: fixed;
331
- }
332
- }
333
-
334
- .k-grid-sticky-top-container:has(> .k-grid-group-sticky-header-table) {
335
- border-block-end-width: 1px;
336
- border-block-end-style: solid;
337
- }
338
- .k-grid-sticky-bottom-container:has(> .k-grid-group-sticky-footer-table) {
339
- border-block-start-width: 1px;
340
- border-block-start-style: solid;
341
- }
342
-
343
322
  .k-hierarchy-cell,
344
323
  .k-drag-cell {
345
324
  text-align: center;
@@ -746,6 +725,62 @@
746
725
  }
747
726
 
748
727
 
728
+ // Pinned rows container
729
+ .k-grid-pinned-container {
730
+ box-shadow: $kendo-grid-pinned-container-shadow;
731
+ z-index: k-z-index("base", 4);
732
+ position: relative;
733
+ overflow: hidden;
734
+ clip-path: inset(0 0 -50px 0);
735
+ flex: 0 0 auto;
736
+ display: flex;
737
+ flex-direction: row;
738
+ align-items: stretch;
739
+
740
+ &.k-pos-bottom {
741
+ clip-path: inset(-50px 0 0 0);
742
+ }
743
+ }
744
+
745
+ .k-grid-pinned-wrap {
746
+ width: 100%;
747
+ position: relative;
748
+ overflow: auto;
749
+ scrollbar-gutter: stable;
750
+
751
+ .k-table {
752
+ table-layout: fixed;
753
+ }
754
+ }
755
+
756
+ // Sticky grouping container
757
+ .k-grid-sticky-container {
758
+ margin-inline-end: var(--kendo-scrollbar-width, #{$kendo-scrollbar-width});
759
+ border-width: 0;
760
+ border-block-end-width: 1px;
761
+ border-style: solid;
762
+ box-shadow: $kendo-grid-sticky-container-shadow;
763
+ z-index: k-z-index("base", 3);
764
+ position: absolute;
765
+ inset-inline: 0;
766
+ inset-block-start: 0;
767
+ overflow: hidden;
768
+ clip-path: inset(0 0 -50px 0);
769
+
770
+ &.k-pos-bottom {
771
+ border-block-end-width: 0;
772
+ border-block-start-width: 1px;
773
+ inset-block-start: auto;
774
+ inset-block-end: 0;
775
+ clip-path: inset(-50px 0 0 0);
776
+ }
777
+
778
+ .k-grid-group-sticky-footer-table {
779
+ margin-block: -1px;
780
+ }
781
+ }
782
+
783
+
749
784
  // Pager
750
785
  .k-grid-pager {
751
786
  border-width: 1px 0 0;
@@ -938,6 +973,10 @@
938
973
  border-width: 0;
939
974
  }
940
975
 
976
+ .k-grid-pinned-wrap{
977
+ scrollbar-gutter: auto;
978
+ }
979
+
941
980
  .k-grid-header,
942
981
  .k-grid-footer {
943
982
  padding: 0;
@@ -1129,7 +1168,9 @@
1129
1168
  // Grid stack layout
1130
1169
  .k-grid-stack {
1131
1170
 
1132
- .k-grid-content .k-table {
1171
+ .k-grid-content .k-table,
1172
+ .k-grid-sticky-container .k-table,
1173
+ .k-grid-pinned-wrap .k-table {
1133
1174
  table-layout: auto;
1134
1175
  }
1135
1176
 
@@ -1316,6 +1357,8 @@
1316
1357
 
1317
1358
  // Remove empty space reserved above .k-table-the scrollbar
1318
1359
  .k-grid-header,
1360
+ .k-grid-pinned-container,
1361
+ .k-grid-sticky-container,
1319
1362
  .k-grid[data-role="grid"] .k-grid-footer {
1320
1363
  padding: 0 !important;
1321
1364
  }
@@ -67,12 +67,18 @@
67
67
  );
68
68
  }
69
69
 
70
- .k-grid-sticky-container {
71
- background-color: inherit;
70
+ .k-grid-pinned-container {
71
+ background-color: $kendo-grid-header-bg;
72
+ }
73
+ .k-grid-pinned-wrap {
74
+ > .k-table {
75
+ background-color: $kendo-grid-bg;
76
+ box-shadow: $kendo-grid-cell-vertical-border-width 0 0 0 $kendo-grid-border;
77
+ }
72
78
  }
73
79
 
74
- .k-grid-sticky-top-container:has(> .k-grid-group-sticky-header-table),
75
- .k-grid-sticky-bottom-container:has(> .k-grid-group-sticky-footer-table) {
80
+ .k-grid-sticky-container {
81
+ background-color: $kendo-grid-sticky-bg;
76
82
  border-color: $kendo-grid-sticky-border;
77
83
  }
78
84
 
@@ -174,6 +174,8 @@ $kendo-grid-sticky-footer-bg: null !default;
174
174
 
175
175
  $kendo-grid-sticky-container-shadow: null !default;
176
176
 
177
+ $kendo-grid-pinned-container-shadow: null !default;
178
+
177
179
  $kendo-grid-column-menu-width: null !default;
178
180
  $kendo-grid-column-menu-max-width: null !default;
179
181
 
@@ -21,8 +21,9 @@
21
21
  position: relative;
22
22
 
23
23
  &::before {
24
- content: "\200b";
24
+ content: "";
25
25
  width: 0;
26
+ height: 1lh;
26
27
  overflow: hidden;
27
28
  flex: none;
28
29
  display: inline-block;
@@ -295,17 +295,17 @@
295
295
  flex: 1;
296
296
  overflow: hidden;
297
297
  text-overflow: ellipsis;
298
- }
299
- .k-input-value-text::before {
300
- content: "\200b";
301
- width: 0px;
302
- overflow: hidden;
303
- flex: none;
304
- display: inline-block;
305
- vertical-align: top;
306
- }
307
-
308
298
 
299
+ &::before {
300
+ content: "";
301
+ width: 0;
302
+ height: 1lh;
303
+ overflow: hidden;
304
+ flex: none;
305
+ display: inline-block;
306
+ vertical-align: top;
307
+ }
308
+ }
309
309
  // Input multiple values
310
310
  .k-input-values {
311
311
  min-width: 0px;
@@ -217,8 +217,9 @@
217
217
  .k-list-header-text,
218
218
  .k-list-optionlabel {
219
219
  &::before {
220
- content: "\200b";
221
- width: 0px;
220
+ content: "";
221
+ width: 0;
222
+ height: 1lh;
222
223
  overflow: hidden;
223
224
  }
224
225
  }
@@ -113,8 +113,9 @@
113
113
  position: relative;
114
114
 
115
115
  &::before {
116
- content: "\200b";
117
- width: 0px;
116
+ content: "";
117
+ width: 0;
118
+ height: 1lh;
118
119
  overflow: hidden;
119
120
  flex: none;
120
121
  display: inline-block;
@@ -12,7 +12,8 @@
12
12
  transform: $kendo-skeleton-text-transform;
13
13
 
14
14
  &:empty::before {
15
- content: "\200b";
15
+ content: "";
16
+ display: inline-block;
16
17
  }
17
18
  }
18
19
 
@@ -141,12 +141,12 @@
141
141
  position: sticky;
142
142
 
143
143
  &::before {
144
- content: "\200b";
145
- padding-block: $kendo-table-md-cell-padding-y;
146
- padding-inline: 0;
144
+ content: "";
145
+ height: 1lh;
147
146
  width: 0;
148
147
  display: block;
149
148
  overflow: hidden;
149
+ box-sizing: content-box;
150
150
  }
151
151
 
152
152
  .k-table-th {
@@ -151,7 +151,7 @@
151
151
  &::before,
152
152
  &::after {
153
153
  display: block;
154
- content: "\200b";
154
+ content: "";
155
155
  position: absolute;
156
156
  width: 100%;
157
157
  inset-inline-start: 0;
@@ -188,7 +188,7 @@
188
188
  &::after {
189
189
  display: block;
190
190
  position: absolute;
191
- content: "\200b";
191
+ content: "";
192
192
  height: 0;
193
193
  line-height: 0;
194
194
  z-index: k-z-index("base", 1);
@@ -72,7 +72,8 @@
72
72
  flex: 1;
73
73
 
74
74
  &:empty::before {
75
- content: "\200b";
75
+ content: "";
76
+ display: inline-block;
76
77
  }
77
78
  }
78
79