@progress/kendo-theme-core 11.1.0-dev.5 → 11.1.0-dev.6

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": "11.1.0-dev.5",
4
+ "version": "11.1.0-dev.6",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -45,5 +45,5 @@
45
45
  "directories": {
46
46
  "doc": "docs"
47
47
  },
48
- "gitHead": "df7b83831d15c445082b4167f8ad24267d13a64a"
48
+ "gitHead": "2bfdc0d1f3d785894ad99f35f140cc6219c06fa2"
49
49
  }
@@ -264,7 +264,7 @@
264
264
  }
265
265
 
266
266
 
267
- // Grouping, hierarcy
267
+ // Grouping, hierarchy
268
268
  .k-group-col,
269
269
  .k-hierarchy-col {
270
270
  padding: 0;
@@ -473,7 +473,7 @@
473
473
  width: $kendo-grid-group-drop-hint-line-size;
474
474
  height: calc(100% - #{$kendo-grid-group-drop-hint-size});
475
475
  top: $kendo-grid-group-drop-hint-size;
476
- inset-inline-start: calc( #{$kendo-grid-group-drop-hint-size} - #{math.div( $kendo-grid-group-drop-hint-line-size, 2 )} );
476
+ inset-inline-start: calc( #{$kendo-grid-group-drop-hint-size} - #{$kendo-grid-group-drop-hint-line-size} / 2 );
477
477
  }
478
478
  }
479
479
 
@@ -690,7 +690,9 @@
690
690
  display: flex;
691
691
  justify-content: flex-end;
692
692
  gap: $kendo-grid-selection-aggregates-spacing;
693
+ flex-wrap: wrap;
693
694
  }
695
+
694
696
  .k-selection-aggregates-item-value {
695
697
  font-weight: $kendo-grid-selection-aggregates-font-weight;
696
698
  }
@@ -1071,6 +1073,110 @@
1071
1073
 
1072
1074
  }
1073
1075
 
1076
+ // Grid stack layout
1077
+ .k-grid-stack {
1078
+ .k-table-td,
1079
+ .k-grid-edit-row .k-table-td {
1080
+ padding-inline: $kendo-grid-stack-cell-padding-x;
1081
+ padding-block: $kendo-grid-stack-cell-padding-y;
1082
+ }
1083
+
1084
+ // Grouping, hierarchy
1085
+ .k-group-col,
1086
+ .k-hierarchy-col {
1087
+ width: $kendo-grid-stack-hierarchy-col-width;
1088
+ }
1089
+
1090
+ .k-grouping-row {
1091
+ p {
1092
+ gap: k-spacing(1);
1093
+ }
1094
+
1095
+ .k-icon {
1096
+ padding: k-spacing(1);
1097
+ margin: 0;
1098
+ }
1099
+ }
1100
+
1101
+ // Grouping aggregates
1102
+ .k-grid-grouping-aggregates {
1103
+ display: flex;
1104
+ justify-content: flex-start;
1105
+ flex-direction: column;
1106
+ gap: 0;
1107
+ padding-inline-start: k-spacing(1);
1108
+ }
1109
+
1110
+ .k-grouping-aggregates-item-text {
1111
+ font-weight: normal;
1112
+ }
1113
+
1114
+ .k-grouping-aggregates-item-value {
1115
+ font-weight: $kendo-grid-selection-aggregates-font-weight;
1116
+ }
1117
+ }
1118
+
1119
+ .k-grid-stack-row {
1120
+ display: grid;
1121
+ gap: $kendo-grid-stack-column-gap;
1122
+ }
1123
+
1124
+ .k-grid-edit-row .k-grid-stack-row {
1125
+ gap: $kendo-grid-stack-editable-column-gap;
1126
+ }
1127
+
1128
+ .k-grid-stack-header {
1129
+ font-size: $kendo-grid-stack-header-font-size;
1130
+ font-weight: $kendo-grid-stack-header-font-weight;
1131
+ }
1132
+
1133
+ // Command cell
1134
+ .k-grid-stack-cell.k-command-cell {
1135
+ display: flex;
1136
+ flex-wrap: wrap;
1137
+ padding: 0;
1138
+ grid-column: 1 / -1;
1139
+ }
1140
+
1141
+ .k-grid-stack-expandable .k-table-td {
1142
+ position: relative;
1143
+ padding-inline: $kendo-grid-stack-cell-padding-x;
1144
+ padding-block: $kendo-grid-stack-cell-padding-y;
1145
+
1146
+ &::before {
1147
+ content: '';
1148
+ position: absolute;
1149
+ display: block;
1150
+ width: 100%;
1151
+ height: $kendo-grid-stack-expandable-shadow-height;
1152
+ box-shadow: $kendo-grid-stack-expandable-shadow;
1153
+ top: calc( -1 * #{$kendo-grid-stack-expandable-shadow-height} );
1154
+ left: 0;
1155
+ }
1156
+ }
1157
+
1158
+ .k-drag-cell .k-grid-stack-content {
1159
+ display: flex;
1160
+ align-items: center;
1161
+ gap: k-spacing(2);
1162
+ padding-block: k-spacing(2.5);
1163
+ user-select: none;
1164
+ touch-action: none;
1165
+ }
1166
+
1167
+ // Expandable data row
1168
+ .k-grid-toggle {
1169
+ display: flex;
1170
+ align-items: center;
1171
+ justify-content: center;
1172
+ pointer-events: none;
1173
+
1174
+ .k-icon {
1175
+ pointer-events: auto;
1176
+ cursor: pointer;
1177
+ }
1178
+ }
1179
+
1074
1180
 
1075
1181
  // PDF export
1076
1182
  .k-loading-pdf-mask {
@@ -451,6 +451,11 @@
451
451
  color: $kendo-grid-sorting-indicator-text;
452
452
  }
453
453
 
454
+ // Grid stack layout
455
+ .k-grid-stack-header {
456
+ @include fill( $color: $kendo-grid-stack-header-color );
457
+ }
458
+
454
459
  }
455
460
 
456
461
 
@@ -186,3 +186,14 @@ $kendo-grid-group-footer-second-cell-border: null !default;
186
186
  $kendo-grid-row-resizer-hover-bg: null !default;
187
187
  $kendo-grid-row-resizer-active-bg: null !default;
188
188
  $kendo-grid-row-resizer-height: null !default;
189
+
190
+ $kendo-grid-stack-cell-padding-x: null !default;
191
+ $kendo-grid-stack-cell-padding-y: null !default;
192
+ $kendo-grid-stack-column-gap: null !default;
193
+ $kendo-grid-stack-editable-column-gap: null !default;
194
+ $kendo-grid-stack-hierarchy-col-width: null !default;
195
+ $kendo-grid-stack-header-font-size: null !default;
196
+ $kendo-grid-stack-header-font-weight: null !default;
197
+ $kendo-grid-stack-expandable-shadow-height: null !default;
198
+ $kendo-grid-stack-header-color: null !default;
199
+ $kendo-grid-stack-expandable-shadow: null !default;