@progress/kendo-theme-core 14.2.0-dev.4 → 14.2.0-dev.5

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": "14.2.0-dev.4",
4
+ "version": "14.2.0-dev.5",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -276,19 +276,29 @@
276
276
  width: $kendo-grid-hierarchy-col-width;
277
277
  }
278
278
 
279
+ .k-grouping-row .k-grouping-row-content,
279
280
  .k-grouping-row p {
280
281
  margin: 0;
281
282
  display: flex;
282
283
  align-items: center;
283
284
  align-content: center;
285
+ overflow: hidden;
284
286
 
285
287
  .k-icon {
286
288
  flex-shrink: 0;
287
289
  }
290
+
291
+ .k-grouping-row-text {
292
+ flex: 1;
293
+ min-width: 0;
294
+ overflow: hidden;
295
+ text-overflow: ellipsis;
296
+ white-space: nowrap;
297
+ }
288
298
  }
289
299
 
290
300
  .k-grouping-row .k-table-td {
291
- overflow: visible;
301
+ padding-inline-start: calc( #{$kendo-grid-cell-padding-x} + var(--kendo-grid-grouping-level, 0) * #{$kendo-grid-grouping-indent-size} );
292
302
  }
293
303
 
294
304
  .k-grouping-row + .k-table-row .k-table-td {
@@ -301,19 +311,49 @@
301
311
  text-overflow: clip;
302
312
  }
303
313
 
314
+ .k-grouping-row + .k-grouping-row .k-table-td,
315
+ .k-grouping-row + .k-grouping-row .k-group-cell {
316
+ border-block-start-width: $kendo-grid-grouping-row-border-top;
317
+ }
318
+
319
+ .k-group-cell + .k-group-cell {
320
+ border-inline-start-width: 0;
321
+ }
322
+
323
+ .k-grouping-row .k-group-cell + .k-table-td:not(.k-group-cell),
324
+ .k-grouping-row .k-table-td:not(.k-group-cell) + .k-table-td {
325
+ border-inline-start-color: transparent;
326
+ }
327
+
304
328
  .k-grouping-row .k-icon {
305
329
  margin-inline-start: calc( ( $kendo-icon-size / 2 ) - #{$kendo-grid-cell-padding-x} );
306
330
  margin-inline-end: calc( $kendo-icon-size / 2 );
307
331
  text-decoration: none;
308
332
  }
309
333
 
334
+ .k-grouping-row .k-checkbox-wrap {
335
+ margin-inline-end: $kendo-grid-grouping-row-checkbox-margin-end;
336
+ }
337
+
310
338
  .k-table .k-group-footer .k-table-td {
311
339
  border-style: solid;
312
340
  border-width: $kendo-grid-group-footer-border-y 0;
313
341
  }
314
342
 
343
+ .k-table .k-group-footer .k-group-cell {
344
+ border-block-start-width: 0;
345
+ border-block-end-width: $kendo-grid-group-footer-border-y;
346
+ border-inline-width: 0;
347
+ }
348
+
315
349
  .k-group-footer .k-group-cell + .k-table-td {
316
- border-inline-start-width: $kendo-grid-cell-vertical-border-width;
350
+ border-inline-start-color: transparent;
351
+ }
352
+
353
+ .k-table-row:not(.k-grouping-row, .k-group-footer):has(+ .k-grouping-row) {
354
+ > .k-table-td {
355
+ border-block-end-width: 1px;
356
+ }
317
357
  }
318
358
 
319
359
  .k-hierarchy-cell,
@@ -370,6 +410,14 @@
370
410
  }
371
411
  }
372
412
 
413
+ .k-detail-row,
414
+ .k-master-row:has(+ .k-table-group-row),
415
+ .k-master-row:has(+ .k-detail-row) {
416
+ > .k-table-td:not(.k-group-cell) {
417
+ border-block-end-width: 1px;
418
+ }
419
+ }
420
+
373
421
  .k-dirty-cell {
374
422
  position: relative;
375
423
 
@@ -1066,6 +1114,10 @@
1066
1114
  padding-inline: $_cell-padding-x;
1067
1115
  }
1068
1116
 
1117
+ .k-grouping-row .k-table-td {
1118
+ padding-inline-start: calc( #{$_cell-padding-x} + var(--kendo-grid-grouping-level, 0) * #{$kendo-grid-grouping-indent-size} );
1119
+ }
1120
+
1069
1121
  .k-grouping-header {
1070
1122
  padding-block: $_grouping-header-padding-y;
1071
1123
  padding-inline: $_grouping-header-padding-x;
@@ -1218,6 +1270,20 @@
1218
1270
  padding: k-spacing(1);
1219
1271
  margin: 0;
1220
1272
  }
1273
+
1274
+ .k-table-td {
1275
+ padding-inline-start: calc( #{$kendo-grid-stack-cell-padding-x} + var(--kendo-grid-grouping-level, 0) * #{$kendo-grid-grouping-indent-size} );
1276
+ }
1277
+ }
1278
+
1279
+ .k-table .k-group-footer .k-table-td {
1280
+ border-block-start-width: 0;
1281
+ }
1282
+
1283
+ .k-table-row:not(.k-grouping-row, .k-group-footer):has(+ .k-group-footer) {
1284
+ > .k-table-td:not(.k-group-cell) {
1285
+ border-block-end-width: $kendo-grid-group-footer-border-y;
1286
+ }
1221
1287
  }
1222
1288
 
1223
1289
  // Column template
@@ -103,6 +103,10 @@
103
103
  }
104
104
  }
105
105
 
106
+ .k-table-row:not(.k-grouping-row, .k-group-footer):has(+ .k-grouping-row) > .k-table-td {
107
+ border-block-end-color: $kendo-grid-border;
108
+ }
109
+
106
110
  // Locked columns
107
111
  .k-grid-content-locked {
108
112
  border-color: $kendo-grid-sticky-header-border;
@@ -192,6 +196,14 @@
192
196
  }
193
197
  }
194
198
 
199
+ .k-detail-row,
200
+ .k-master-row:has(+ .k-table-group-row),
201
+ .k-master-row:has(+ .k-detail-row) {
202
+ > .k-grid-content-sticky {
203
+ border-block-end-color: $kendo-grid-border;
204
+ }
205
+ }
206
+
195
207
  }
196
208
 
197
209
  // Grid header
@@ -155,6 +155,8 @@ $kendo-grid-selection-aggregates-font-weight: null !default;
155
155
 
156
156
  $kendo-grid-grouping-row-bg: null !default;
157
157
  $kendo-grid-grouping-row-text: null !default;
158
+ $kendo-grid-grouping-indent-size: null !default;
159
+ $kendo-grid-grouping-row-checkbox-margin-end: null !default;
158
160
 
159
161
  $kendo-grid-sorted-icon-spacing: null !default;
160
162
  $kendo-grid-sorted-bg: null !default;
@@ -311,7 +311,7 @@
311
311
  height: 100%;
312
312
  overflow: scroll;
313
313
  position: absolute;
314
- z-index: k-z-index("base", 2);
314
+ z-index: k-z-index("base", 1);
315
315
 
316
316
  @media (hover: none), (pointer: coarse) {
317
317
  // on touch devices we want this to stay on top.