@progress/kendo-theme-bootstrap 11.0.3-dev.2 → 11.1.0-dev.0

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.
@@ -3,7 +3,7 @@
3
3
  "name": "Bootstrap Turquoise",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-bootstrap",
6
- "version": "11.0.3-dev.2",
6
+ "version": "11.1.0-dev.0",
7
7
  "previewColors": [
8
8
  "#ffffff",
9
9
  "#f2f2f2",
@@ -3,7 +3,7 @@
3
3
  "name": "Bootstrap Urban",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-bootstrap",
6
- "version": "11.0.3-dev.2",
6
+ "version": "11.1.0-dev.0",
7
7
  "previewColors": [
8
8
  "#ffffff",
9
9
  "#e3eef4",
@@ -3,7 +3,7 @@
3
3
  "name": "Bootstrap Vintage",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-bootstrap",
6
- "version": "11.0.3-dev.2",
6
+ "version": "11.1.0-dev.0",
7
7
  "previewColors": [
8
8
  "#ffffff",
9
9
  "#f2efe8",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-bootstrap",
3
3
  "description": "Bootstrap theme for Kendo UI",
4
- "version": "11.0.3-dev.2",
4
+ "version": "11.1.0-dev.0",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -53,12 +53,12 @@
53
53
  },
54
54
  "dependencies": {
55
55
  "@progress/kendo-svg-icons": "^4.1.0",
56
- "@progress/kendo-theme-core": "11.0.3-dev.2",
57
- "@progress/kendo-theme-utils": "11.0.3-dev.2"
56
+ "@progress/kendo-theme-core": "11.1.0-dev.0",
57
+ "@progress/kendo-theme-utils": "11.1.0-dev.0"
58
58
  },
59
59
  "directories": {
60
60
  "doc": "docs",
61
61
  "lib": "lib"
62
62
  },
63
- "gitHead": "ee3da3490fc4eeb58b670ec32c54d5ce888f99b7"
63
+ "gitHead": "87380b1585659324bdbd1bdc8231e01a85daddf7"
64
64
  }
@@ -42,8 +42,25 @@
42
42
  .k-table-td.k-selected,
43
43
  .k-table-row.k-selected > td,
44
44
  .k-table-row.k-selected > .k-table-td {
45
- color: $kendo-grid-selected-text;
46
- background-color: $kendo-grid-selected-bg;
45
+ @include fill( $kendo-grid-selected-text, $kendo-grid-selected-bg );
46
+ }
47
+
48
+ // Highlighted state
49
+ td.k-highlighted,
50
+ .k-table-row.k-highlighted > td,
51
+ .k-table-td.k-highlighted,
52
+ .k-table-row.k-highlighted > .k-table-td {
53
+ @include fill( $bg: $kendo-grid-highlighted-bg );
54
+ }
55
+
56
+ // Highlighted Selected state
57
+ td.k-highlighted.k-selected,
58
+ .k-table-row.k-highlighted.k-selected > td,
59
+ .k-table-td.k-highlighted.k-selected,
60
+ .k-table-row.k-highlighted.k-selected > .k-table-td,
61
+ .k-table-row.k-highlighted > .k-table-td.k-selected,
62
+ .k-table-row.k-selected > .k-table-td.k-highlighted {
63
+ @include fill( $bg: $kendo-grid-selected-highlighted-bg );
47
64
  }
48
65
 
49
66
  // Focused state
@@ -98,24 +115,91 @@
98
115
  .k-grouping-row + .k-table-row .k-table-td {
99
116
  border-top-color: $kendo-grid-header-border;
100
117
  }
118
+ }
119
+
120
+ // Sticky columns
121
+ .k-master-row {
122
+ .k-grid-content-sticky {
123
+ @include fill( $bg: $kendo-grid-sticky-bg, $border: $kendo-grid-sticky-border );
124
+ border-top-color: $kendo-grid-header-border;
125
+ }
126
+
127
+ .k-grid-row-sticky,
128
+ &.k-grid-row-sticky > .k-table-td {
129
+ @include fill( $bg: $kendo-grid-sticky-bg );
130
+ border-top-color: $kendo-grid-sticky-border;
131
+ border-bottom-color: $kendo-grid-sticky-border;
132
+ }
101
133
 
102
- // Selected state
103
- .k-selected td,
104
- .k-selected .k-table-td {
105
- @include fill( $bg: $kendo-grid-sticky-selected-bg );
134
+ &.k-table-alt-row {
135
+ .k-grid-content-sticky,
136
+ &.k-grid-row-sticky > .k-table-td,
137
+ .k-grid-row-sticky {
138
+ @include fill( $bg: $kendo-grid-sticky-alt-bg );
139
+ }
106
140
  }
107
141
 
108
- .k-selected.k-table-alt-row td,
109
- .k-selected.k-table-alt-row .k-table-td {
110
- @include fill( $bg: $kendo-grid-sticky-selected-alt-bg );
142
+ // Sticky
143
+ &.k-table-row td.k-grid-content-sticky,
144
+ &.k-table-row.k-grid-row-sticky > .k-table-td,
145
+ &.k-table-row .k-table-td.k-grid-row-sticky,
146
+ &.k-table-row td.k-grid-content-sticky,
147
+ &.k-table-row .k-table-td.k-grid-content-sticky {
148
+ @include fill( $bg: $kendo-grid-sticky-bg );
149
+ }
150
+
151
+ // Sticky Alt
152
+ &.k-table-alt-row td.k-grid-content-sticky,
153
+ &.k-table-alt-row.k-grid-row-sticky > .k-table-td,
154
+ &.k-table-alt-row .k-table-td.k-grid-row-sticky,
155
+ &.k-table-alt-row td.k-grid-content-sticky,
156
+ &.k-table-alt-row .k-table-td.k-grid-content-sticky {
157
+ @include fill( $bg: $kendo-grid-sticky-alt-bg );
111
158
  }
112
159
 
113
- // Selected hover
114
- .k-selected:hover td,
115
- .k-selected.k-hover td,
116
- .k-selected:hover .k-table-td,
117
- .k-selected.k-hover .k-table-td {
118
- @include fill( $bg: $kendo-grid-sticky-selected-hover-bg );
160
+ // Sticky Hover
161
+ &.k-table-row:hover .k-grid-content-sticky,
162
+ &.k-table-row:hover .k-grid-row-sticky,
163
+ &.k-table-row:hover.k-grid-row-sticky > .k-table-td,
164
+ &.k-table-row.k-hover .k-grid-content-sticky,
165
+ &.k-table-row.k-hover .k-grid-row-sticky,
166
+ &.k-table-row.k-hover.k-grid-row-sticky > .k-table-td {
167
+ @include fill( $bg: $kendo-grid-sticky-hover-bg );
168
+ }
169
+
170
+ // Sticky Selected state
171
+ &.k-table-row.k-selected td.k-grid-content-sticky,
172
+ &.k-table-row.k-selected.k-grid-row-sticky > .k-table-td,
173
+ &.k-table-row.k-selected .k-table-td.k-grid-row-sticky,
174
+ &.k-table-row td.k-grid-content-sticky.k-selected,
175
+ &.k-table-row .k-table-td.k-grid-content-sticky.k-selected {
176
+ &::before {
177
+ @include fill( $bg: $kendo-grid-selected-bg );
178
+ }
179
+ }
180
+
181
+ // Sticky Highlighted state
182
+ &.k-table-row.k-highlighted td.k-grid-content-sticky,
183
+ &.k-table-row.k-highlighted.k-grid-row-sticky > .k-table-td,
184
+ &.k-table-row.k-highlighted .k-table-td.k-grid-row-sticky,
185
+ &.k-table-row td.k-grid-content-sticky.k-highlighted,
186
+ &.k-table-row .k-table-td.k-grid-content-sticky.k-highlighted {
187
+ &::before {
188
+ @include fill( $bg: $kendo-grid-highlighted-bg );
189
+ }
190
+ }
191
+
192
+ // Sticky Selected Highlighted state
193
+ &.k-table-row.k-selected.k-highlighted td.k-grid-content-sticky,
194
+ &.k-table-row.k-selected.k-highlighted.k-grid-row-sticky > .k-table-td,
195
+ &.k-table-row.k-selected.k-highlighted .k-table-td.k-grid-row-sticky,
196
+ &.k-selected.k-table-row .k-table-td.k-grid-content-sticky.k-highlighted,
197
+ &.k-highlighted.k-table-row .k-table-td.k-grid-content-sticky.k-selected,
198
+ &.k-table-row td.k-grid-content-sticky.k-selected.k-highlighted,
199
+ &.k-table-row .k-table-td.k-grid-content-sticky.k-selected.k-highlighted {
200
+ &::before {
201
+ @include fill( $bg: $kendo-grid-selected-highlighted-bg );
202
+ }
119
203
  }
120
204
  }
121
205
  }
@@ -182,91 +266,6 @@
182
266
  );
183
267
  }
184
268
 
185
-
186
- // Content
187
- .k-master-row {
188
- .k-grid-content-sticky {
189
- @include fill(
190
- $kendo-grid-sticky-text,
191
- $kendo-grid-sticky-bg,
192
- $kendo-grid-sticky-border
193
- );
194
- border-top-color: $kendo-grid-border;
195
- }
196
-
197
- .k-grid-row-sticky,
198
- &.k-grid-row-sticky > .k-table-td {
199
- border-top-color: $kendo-grid-sticky-border;
200
- border-bottom-color: $kendo-grid-sticky-border;
201
- background-color: $kendo-grid-sticky-bg;
202
- }
203
-
204
- &.k-table-alt-row {
205
- .k-grid-content-sticky,
206
- &.k-grid-row-sticky > .k-table-td,
207
- .k-grid-row-sticky {
208
- @include fill( $bg: $kendo-grid-sticky-alt-bg );
209
- }
210
- }
211
-
212
- // Selected state
213
- &.k-table-row.k-selected td.k-grid-content-sticky,
214
- &.k-table-row.k-selected.k-grid-row-sticky > .k-table-td,
215
- &.k-table-row.k-selected .k-table-td.k-grid-row-sticky,
216
- &.k-table-row td.k-grid-content-sticky.k-selected,
217
- &.k-table-row .k-table-td.k-grid-content-sticky.k-selected {
218
- @include fill( $bg: $kendo-grid-sticky-bg );
219
-
220
- &::before {
221
- @include fill( $bg: $kendo-grid-sticky-selected-bg );
222
- }
223
-
224
- }
225
-
226
- &.k-selected.k-table-alt-row td.k-grid-content-sticky,
227
- &.k-selected.k-table-alt-row.k-grid-row-sticky > .k-table-td,
228
- &.k-selected.k-table-alt-row .k-table-td.k-grid-row-sticky,
229
- &.k-table-alt-row td.k-grid-content-sticky.k-selected,
230
- &.k-table-alt-row .k-table-td.k-grid-content-sticky.k-selected {
231
- @include fill( $bg: $kendo-grid-sticky-alt-bg );
232
-
233
- &::before {
234
- @include fill( $bg: $kendo-grid-sticky-selected-alt-bg );
235
- }
236
-
237
- }
238
-
239
-
240
- // Hovered state
241
- &:hover .k-grid-content-sticky,
242
- &.k-hover .k-grid-content-sticky,
243
- &:hover .k-grid-row-sticky,
244
- &.k-hover .k-grid-row-sticky,
245
- &:hover.k-grid-row-sticky > .k-table-td,
246
- &.k-hover.k-grid-row-sticky > .k-table-td {
247
- background-color: $kendo-grid-sticky-hover-bg;
248
- }
249
-
250
-
251
- // Selected hover
252
- &.k-selected:hover td.k-grid-content-sticky,
253
- &.k-selected.k-hover .k-table-td.k-grid-content-sticky,
254
- &.k-selected:hover td.k-grid-row-sticky,
255
- &.k-selected.k-hover .k-table-td.k-grid-row-sticky,
256
- &.k-selected:hover.k-grid-row-sticky > .k-table-td,
257
- &.k-selected.k-hover.k-grid-row-sticky > .k-table-td,
258
- &:hover td.k-grid-content-sticky.k-selected,
259
- &.k-hover td.k-grid-content-sticky.k-selected,
260
- &:hover .k-table-td.k-grid-content-sticky.k-selected,
261
- &.k-hover .k-table-td.k-grid-content-sticky.k-selected {
262
- background-color: $kendo-grid-sticky-hover-bg;
263
-
264
- &::before {
265
- background-color: $kendo-grid-sticky-selected-hover-bg;
266
- }
267
- }
268
- }
269
-
270
269
  .k-grouping-row {
271
270
  .k-grid-content-sticky {
272
271
  @include fill( $bg: $kendo-grid-sticky-header-bg );
@@ -209,6 +209,23 @@ $kendo-grid-selected-text: $kendo-table-selected-text !default;
209
209
  /// @group grid
210
210
  $kendo-grid-selected-border: $kendo-table-selected-border !default;
211
211
 
212
+ /// The background color of highlighted Grid rows.
213
+ /// @group grid
214
+ $kendo-grid-highlighted-bg: $kendo-table-highlighted-bg !default;
215
+ /// The text color of highlighted Grid rows.
216
+ /// @group grid
217
+ $kendo-grid-highlighted-text: $kendo-table-highlighted-text !default;
218
+ /// The border color of highlighted Grid rows.
219
+ /// @group grid
220
+ $kendo-grid-highlighted-border: $kendo-table-highlighted-border !default;
221
+ /// The font weight of highlighted Grid rows.
222
+ /// @group grid
223
+ $kendo-grid-highlighted-font-weight: $kendo-table-highlighted-font-weight !default;
224
+
225
+ /// The background color of selected highlighted Grid rows.
226
+ /// @group grid
227
+ $kendo-grid-selected-highlighted-bg: $kendo-table-selected-highlighted-bg !default;
228
+
212
229
  /// The background color of the Grid selection aggregates container.
213
230
  /// @group grid
214
231
  $kendo-grid-selection-aggregates-bg: $kendo-grid-header-bg !default;
@@ -249,14 +266,14 @@ $kendo-grid-command-cell-button-spacing: k-spacing(2) !default;
249
266
  // be cautious when changing the next line; see https://github.com/MoOx/reduce-css-calc/issues/38
250
267
  $kendo-grid-command-cell-padding-y: calc( #{$kendo-grid-cell-padding-y} - (#{$kendo-button-calc-size} - #{$kendo-line-height-em}) / 2 ) !default;
251
268
 
252
- // Must be a solid color
269
+ // Must be solid colors
253
270
  $kendo-grid-sticky-bg: $kendo-grid-bg !default;
271
+ $kendo-grid-sticky-alt-bg: k-color(base-subtle) !default;
272
+ $kendo-grid-sticky-hover-bg: k-color(base-subtle-hover) !default;
273
+
254
274
  $kendo-grid-sticky-text: $kendo-grid-text !default;
255
275
  $kendo-grid-sticky-border: color-mix(in srgb, k-color(on-app-surface) 50%, transparent) !default;
256
276
 
257
- // Must be a solid color
258
- $kendo-grid-sticky-alt-bg: k-color(base-subtle)!default;
259
-
260
277
  $kendo-grid-sticky-header-bg: $kendo-grid-header-bg !default;
261
278
  $kendo-grid-sticky-header-text: $kendo-grid-header-text !default;
262
279
  $kendo-grid-sticky-header-border: $kendo-grid-sticky-border !default;
@@ -264,13 +281,6 @@ $kendo-grid-sticky-header-border: $kendo-grid-sticky-border !default;
264
281
  $kendo-grid-sticky-footer-bg: $kendo-grid-header-bg !default;
265
282
  $kendo-grid-sticky-footer-hover-bg: $kendo-grid-sticky-footer-bg !default;
266
283
 
267
- $kendo-grid-sticky-selected-bg: color-mix(in srgb, k-color(primary) 25%, transparent) !default;
268
- $kendo-grid-sticky-selected-alt-bg: color-mix(in srgb, k-color(primary) 24%, transparent) !default;
269
-
270
- // Must be a solid color
271
- $kendo-grid-sticky-hover-bg: k-color(base-subtle-hover) !default;
272
- $kendo-grid-sticky-selected-hover-bg: color-mix(in srgb, k-color(primary) 24%, transparent) !default;
273
-
274
284
  $kendo-grid-column-menu-width: 250px !default;
275
285
  $kendo-grid-column-menu-max-width: 320px !default;
276
286
 
@@ -407,6 +417,11 @@ $kendo-grid-row-resizer-height: k-spacing(0.5) !default;
407
417
  $kendo-grid-selected-bg: $kendo-grid-selected-bg,
408
418
  $kendo-grid-selected-text: $kendo-grid-selected-text,
409
419
  $kendo-grid-selected-border: $kendo-grid-selected-border,
420
+ $kendo-grid-highlighted-bg: $kendo-grid-highlighted-bg,
421
+ $kendo-grid-highlighted-text: $kendo-grid-highlighted-text,
422
+ $kendo-grid-highlighted-border: $kendo-grid-highlighted-border,
423
+ $kendo-grid-highlighted-font-weight: $kendo-grid-highlighted-font-weight,
424
+ $kendo-grid-selected-highlighted-bg: $kendo-grid-selected-highlighted-bg,
410
425
  $kendo-grid-selection-aggregates-bg: $kendo-grid-selection-aggregates-bg,
411
426
  $kendo-grid-selection-aggregates-text: $kendo-grid-selection-aggregates-text,
412
427
  $kendo-grid-selection-aggregates-border: $kendo-grid-selection-aggregates-border,
@@ -435,10 +450,7 @@ $kendo-grid-row-resizer-height: k-spacing(0.5) !default;
435
450
  $kendo-grid-sticky-header-border: $kendo-grid-sticky-header-border,
436
451
  $kendo-grid-sticky-footer-bg: $kendo-grid-sticky-footer-bg,
437
452
  $kendo-grid-sticky-footer-hover-bg: $kendo-grid-sticky-footer-hover-bg,
438
- $kendo-grid-sticky-selected-bg: $kendo-grid-sticky-selected-bg,
439
- $kendo-grid-sticky-selected-alt-bg: $kendo-grid-sticky-selected-alt-bg,
440
453
  $kendo-grid-sticky-hover-bg: $kendo-grid-sticky-hover-bg,
441
- $kendo-grid-sticky-selected-hover-bg: $kendo-grid-sticky-selected-hover-bg,
442
454
  $kendo-grid-column-menu-width: $kendo-grid-column-menu-width,
443
455
  $kendo-grid-column-menu-max-width: $kendo-grid-column-menu-max-width,
444
456
  $kendo-grid-filter-menu-check-all-border-bottom-width: $kendo-grid-filter-menu-check-all-border-bottom-width,
@@ -155,6 +155,23 @@ $kendo-table-selected-text: $kendo-table-text !default;
155
155
  /// @group table
156
156
  $kendo-table-selected-border: null !default;
157
157
 
158
+ /// Background color of highlighted rows in table.
159
+ /// @group table
160
+ $kendo-table-highlighted-bg: color-mix(in srgb, k-color(warning) 25%, transparent) !default;
161
+ /// Text color of highlighted rows in table.
162
+ /// @group table
163
+ $kendo-table-highlighted-text: null !default;
164
+ /// The font weight of highlighted rows in table.
165
+ /// @group table
166
+ $kendo-table-highlighted-font-weight: var( --kendo-font-weight-bold, bold ) !default;
167
+ /// Border color of highlighted rows in table.
168
+ /// @group table
169
+ $kendo-table-highlighted-border: null !default;
170
+
171
+ /// Background color of selected highlighted rows in table.
172
+ /// @group table
173
+ $kendo-table-selected-highlighted-bg: color-mix(in srgb, color-mix(in srgb, k-color(primary), k-color(warning)) 44%, transparent) !default;
174
+
158
175
  /// The box shadow of the row spanned cells.
159
176
  /// @group table
160
177
  $kendo-table-cell-row-span-shadow: inset 0 0 0 1px $kendo-table-border !default;
@@ -201,5 +218,10 @@ $kendo-table-cell-row-span-shadow: inset 0 0 0 1px $kendo-table-border !default;
201
218
  $kendo-table-selected-bg: $kendo-table-selected-bg,
202
219
  $kendo-table-selected-text: $kendo-table-selected-text,
203
220
  $kendo-table-selected-border: $kendo-table-selected-border,
221
+ $kendo-table-highlighted-bg: $kendo-table-highlighted-bg,
222
+ $kendo-table-highlighted-text: $kendo-table-highlighted-text,
223
+ $kendo-table-highlighted-font-weight: $kendo-table-highlighted-font-weight,
224
+ $kendo-table-highlighted-border: $kendo-table-highlighted-border,
225
+ $kendo-table-selected-highlighted-bg: $kendo-table-selected-highlighted-bg,
204
226
  $kendo-table-cell-row-span-shadow: $kendo-table-cell-row-span-shadow
205
227
  );