@progress/kendo-theme-core 13.1.0-dev.1 → 13.1.0-dev.3

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.1",
4
+ "version": "13.1.0-dev.3",
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": "10dd9982323564ddc37076c2402c40f4cf354ba1"
49
+ "gitHead": "a1e912df81b1aadcb852600c86a4ee5b55f72392"
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;
@@ -263,7 +263,7 @@
263
263
  text-align: start;
264
264
  margin-block-end: $kendo-fieldset-legend-margin;
265
265
 
266
- > span:not(.k-widget) {
266
+ > span {
267
267
  width: $kendo-inline-form-element-width;
268
268
  text-align: end;
269
269
  line-height: var( --kendo-line-height, normal );
@@ -343,11 +343,6 @@
343
343
 
344
344
  .k-edit-field {
345
345
 
346
- > .k-widget {
347
- width: 100%;
348
- box-sizing: border-box;
349
- }
350
-
351
346
  input[type="radio"]:not(.k-radio),
352
347
  input[type="checkbox"]:not(.k-checkbox) {
353
348
  margin-inline-end: .4ex;
@@ -361,10 +356,6 @@
361
356
  > .k-reset > li + li {
362
357
  margin-block-start: k-spacing(2);
363
358
  }
364
-
365
- .k-reset .k-widget {
366
- margin: 0 .4ex 0 1ex;
367
- }
368
359
  }
369
360
 
370
361
  }
@@ -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;
@@ -696,8 +675,7 @@
696
675
  .k-grid .k-grid-edit-row .k-table-td {
697
676
 
698
677
  > input:not([type="checkbox"]):not([type="radio"]),
699
- > select,
700
- > .k-widget:not(.k-switch) {
678
+ > select {
701
679
  width: 100%;
702
680
  vertical-align: middle;
703
681
  box-sizing: border-box;
@@ -746,6 +724,62 @@
746
724
  }
747
725
 
748
726
 
727
+ // Pinned rows container
728
+ .k-grid-pinned-container {
729
+ box-shadow: $kendo-grid-pinned-container-shadow;
730
+ z-index: k-z-index("base", 4);
731
+ position: relative;
732
+ overflow: hidden;
733
+ clip-path: inset(0 0 -50px 0);
734
+ flex: 0 0 auto;
735
+ display: flex;
736
+ flex-direction: row;
737
+ align-items: stretch;
738
+
739
+ &.k-pos-bottom {
740
+ clip-path: inset(-50px 0 0 0);
741
+ }
742
+ }
743
+
744
+ .k-grid-pinned-wrap {
745
+ width: 100%;
746
+ position: relative;
747
+ overflow: auto;
748
+ scrollbar-gutter: stable;
749
+
750
+ .k-table {
751
+ table-layout: fixed;
752
+ }
753
+ }
754
+
755
+ // Sticky grouping container
756
+ .k-grid-sticky-container {
757
+ margin-inline-end: var(--kendo-scrollbar-width, #{$kendo-scrollbar-width});
758
+ border-width: 0;
759
+ border-block-end-width: 1px;
760
+ border-style: solid;
761
+ box-shadow: $kendo-grid-sticky-container-shadow;
762
+ z-index: k-z-index("base", 3);
763
+ position: absolute;
764
+ inset-inline: 0;
765
+ inset-block-start: 0;
766
+ overflow: hidden;
767
+ clip-path: inset(0 0 -50px 0);
768
+
769
+ &.k-pos-bottom {
770
+ border-block-end-width: 0;
771
+ border-block-start-width: 1px;
772
+ inset-block-start: auto;
773
+ inset-block-end: 0;
774
+ clip-path: inset(-50px 0 0 0);
775
+ }
776
+
777
+ .k-grid-group-sticky-footer-table {
778
+ margin-block: -1px;
779
+ }
780
+ }
781
+
782
+
749
783
  // Pager
750
784
  .k-grid-pager {
751
785
  border-width: 1px 0 0;
@@ -938,6 +972,10 @@
938
972
  border-width: 0;
939
973
  }
940
974
 
975
+ .k-grid-pinned-wrap{
976
+ scrollbar-gutter: auto;
977
+ }
978
+
941
979
  .k-grid-header,
942
980
  .k-grid-footer {
943
981
  padding: 0;
@@ -1129,7 +1167,9 @@
1129
1167
  // Grid stack layout
1130
1168
  .k-grid-stack {
1131
1169
 
1132
- .k-grid-content .k-table {
1170
+ .k-grid-content .k-table,
1171
+ .k-grid-sticky-container .k-table,
1172
+ .k-grid-pinned-wrap .k-table {
1133
1173
  table-layout: auto;
1134
1174
  }
1135
1175
 
@@ -1316,6 +1356,8 @@
1316
1356
 
1317
1357
  // Remove empty space reserved above .k-table-the scrollbar
1318
1358
  .k-grid-header,
1359
+ .k-grid-pinned-container,
1360
+ .k-grid-sticky-container,
1319
1361
  .k-grid[data-role="grid"] .k-grid-footer {
1320
1362
  padding: 0 !important;
1321
1363
  }
@@ -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;
@@ -177,6 +177,7 @@
177
177
  display: flex;
178
178
  flex-direction: column;
179
179
  gap: $kendo-list-item-spacing;
180
+ text-align: start;
180
181
  }
181
182
 
182
183
  .k-list-ul + .k-list-ul {
@@ -217,8 +218,9 @@
217
218
  .k-list-header-text,
218
219
  .k-list-optionlabel {
219
220
  &::before {
220
- content: "\200b";
221
- width: 0px;
221
+ content: "";
222
+ width: 0;
223
+ height: 1lh;
222
224
  overflow: hidden;
223
225
  }
224
226
  }
@@ -69,7 +69,6 @@
69
69
  }
70
70
 
71
71
  // Child components
72
- .k-popup > .k-widget,
73
72
  .k-popup > .k-coloreditor {
74
73
  border-width: 0;
75
74
  }
@@ -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;
@@ -223,10 +223,6 @@
223
223
  position: relative;
224
224
  z-index: k-z-index("base", 2);
225
225
 
226
- .k-widget {
227
- font-size: inherit;
228
- }
229
-
230
226
  // Current date
231
227
  .k-nav-current {
232
228
  color: inherit;
@@ -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
 
@@ -25,9 +25,6 @@
25
25
  position: relative;
26
26
  -webkit-touch-callout: none;
27
27
  -webkit-tap-highlight-color: $kendo-color-rgba-transparent;
28
- // TODO: remove those once k-widget styles are removed. Link: https://github.com/telerik/kendo-themes/issues/1359
29
- color: inherit;
30
- background: none;
31
28
 
32
29
  *,
33
30
  *::before,
@@ -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