@progress/kendo-theme-core 11.2.0-dev.1 → 11.2.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": "11.2.0-dev.1",
4
+ "version": "11.2.0-dev.3",
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": "2bcc49d832b7e73387e77bc5adbb27e05ea341d5"
48
+ "gitHead": "95216cf9cd78a4decf243407437fc887729423f7"
49
49
  }
@@ -1098,22 +1098,14 @@
1098
1098
  }
1099
1099
  }
1100
1100
 
1101
- // Grouping aggregates
1102
- .k-grid-grouping-aggregates {
1101
+ // Column template
1102
+ .k-grid-column-template {
1103
1103
  display: flex;
1104
1104
  justify-content: flex-start;
1105
1105
  flex-direction: column;
1106
1106
  gap: 0;
1107
1107
  padding-inline-start: k-spacing(1);
1108
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
1109
  }
1118
1110
 
1119
1111
  .k-grid-stack-row {
@@ -1130,7 +1122,18 @@
1130
1122
  font-weight: $kendo-grid-stack-header-font-weight;
1131
1123
  }
1132
1124
 
1133
- // Command cell
1125
+ .k-grid-stack-content {
1126
+ // Reserve min-height for the cell content if empty
1127
+ min-height: calc( $kendo-grid-font-size * $kendo-grid-line-height );
1128
+ }
1129
+ .k-grid-stack-cell {
1130
+ &:focus,
1131
+ &.k-focus {
1132
+ outline-offset: k-spacing(0.5);
1133
+ }
1134
+ }
1135
+
1136
+ // Command cell
1134
1137
  .k-grid-stack-cell.k-command-cell {
1135
1138
  display: flex;
1136
1139
  flex-wrap: wrap;
@@ -1138,6 +1141,12 @@
1138
1141
  grid-column: 1 / -1;
1139
1142
  }
1140
1143
 
1144
+ // Dirty cell
1145
+ .k-grid-stack-cell .k-dirty {
1146
+ inset-inline-start: auto;
1147
+ inset-inline-end: 0;
1148
+ }
1149
+
1141
1150
  .k-grid-stack-expandable .k-table-td {
1142
1151
  position: relative;
1143
1152
  padding-inline: $kendo-grid-stack-cell-padding-x;
@@ -1,4 +1,5 @@
1
1
  @use "../../mixins/index.import.scss" as *;
2
+ @use "../../spacing/index.import.scss" as *;
2
3
  @use "../../color-system/_constants.scss" as *;
3
4
  @use "../../color-system/_functions.import.scss" as *;
4
5
  @use "../../_variables.scss" as *;
@@ -456,6 +457,22 @@
456
457
  @include fill( $color: $kendo-grid-stack-header-color );
457
458
  }
458
459
 
460
+ .k-grid-stack-cell {
461
+ &:focus,
462
+ &.k-focus {
463
+ outline: 1px solid $kendo-grid-stack-focus-outline;
464
+ }
465
+
466
+ &.k-selected {
467
+ @include fill( $bg: $kendo-grid-selected-bg );
468
+ }
469
+ }
470
+
471
+ // Dirty cell
472
+ .k-grid-stack-cell .k-dirty {
473
+ border-inline-start-color: rgba(0, 0, 0, 0);
474
+ border-inline-end-color: currentColor;
475
+ }
459
476
  }
460
477
 
461
478
 
@@ -196,4 +196,5 @@ $kendo-grid-stack-header-font-size: null !default;
196
196
  $kendo-grid-stack-header-font-weight: null !default;
197
197
  $kendo-grid-stack-expandable-shadow-height: null !default;
198
198
  $kendo-grid-stack-header-color: null !default;
199
+ $kendo-grid-stack-focus-outline: null !default;
199
200
  $kendo-grid-stack-expandable-shadow: null !default;
@@ -170,12 +170,6 @@
170
170
  }
171
171
  }
172
172
 
173
- // Workaround for scrollable scenario with buttons inside badge container
174
- .k-toolbar-items-scroll:has(.k-badge-container) {
175
- padding-block-start: .5em;
176
- margin-block-start: -.5em;
177
- }
178
-
179
173
  .k-toolbar-items-list {
180
174
  display: flex;
181
175
  flex-flow: row wrap;
@@ -242,6 +236,19 @@
242
236
  height: $_separator-height;
243
237
  }
244
238
 
239
+ .k-toolbar-items-scroll {
240
+ padding-block: $_padding-y;
241
+ margin-block: calc( #{$_padding-y} * -1 );
242
+ padding-inline: $_padding-x;
243
+ margin-inline: calc( #{$_padding-x} * -1 );
244
+ }
245
+
246
+ &.k-toolbar-scrollable-overlay .k-toolbar-items-scroll:only-child,
247
+ .k-toolbar-items-scroll:not(:only-child) {
248
+ padding-inline-end: 0;
249
+ margin-inline-end: 0;
250
+ }
251
+
245
252
  }
246
253
 
247
254
  .k-toolbar-items-list-#{$size} {