@progress/kendo-theme-classic 4.43.1-dev.5 → 4.43.1-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.
Files changed (25) hide show
  1. package/dist/all.css +1012 -390
  2. package/dist/all.scss +397 -416
  3. package/modules/@progress/kendo-theme-default/package.json +2 -2
  4. package/modules/@progress/kendo-theme-default/scss/button/_layout.scss +54 -91
  5. package/modules/@progress/kendo-theme-default/scss/button/_theme.scss +177 -112
  6. package/modules/@progress/kendo-theme-default/scss/button/_variables.scss +74 -11
  7. package/modules/@progress/kendo-theme-default/scss/chat/_layout.scss +6 -0
  8. package/modules/@progress/kendo-theme-default/scss/colorgradient/_layout.scss +0 -4
  9. package/modules/@progress/kendo-theme-default/scss/common/_loading.scss +1 -13
  10. package/modules/@progress/kendo-theme-default/scss/grid/_layout.scss +1 -1
  11. package/modules/@progress/kendo-theme-default/scss/grid/_theme.scss +0 -6
  12. package/modules/@progress/kendo-theme-default/scss/listbox/_layout.scss +9 -0
  13. package/modules/@progress/kendo-theme-default/scss/mediaplayer/_layout.scss +8 -1
  14. package/modules/@progress/kendo-theme-default/scss/multiselect/_layout.scss +2 -2
  15. package/modules/@progress/kendo-theme-default/scss/slider/_layout.scss +35 -143
  16. package/modules/@progress/kendo-theme-default/scss/slider/_theme.scss +0 -6
  17. package/modules/@progress/kendo-theme-default/scss/spreadsheet/_layout.scss +1 -0
  18. package/modules/@progress/kendo-theme-default/scss/tabstrip/_layout.scss +5 -1
  19. package/modules/@progress/kendo-theme-default/scss/textarea/_layout.scss +1 -1
  20. package/modules/@progress/kendo-theme-default/scss/toolbar/_layout.scss +1 -0
  21. package/modules/@progress/kendo-theme-default/scss/treelist/_layout.scss +4 -0
  22. package/modules/@progress/kendo-theme-default/scss/treeview/_layout.scss +12 -18
  23. package/modules/@progress/kendo-theme-default/scss/window/_layout.scss +2 -2
  24. package/package.json +3 -3
  25. package/scss/button/_variables.scss +78 -15
@@ -445,10 +445,16 @@
445
445
 
446
446
  .k-scroll-button {
447
447
  height: 100%;
448
+ aspect-ratio: auto;
448
449
  position: absolute;
449
450
  z-index: 2;
450
451
  top: 50%;
451
452
  transform: translateY(-50%);
453
+
454
+ .k-button-icon {
455
+ min-width: auto;
456
+ min-height: auto;
457
+ }
452
458
  }
453
459
  .k-scroll-button-left {
454
460
  left: 0;
@@ -104,10 +104,6 @@
104
104
  z-index: 1;
105
105
  }
106
106
 
107
- .k-slider-wrap > .k-slider-track {
108
- height: $colorgradient-slider-vertical-size;
109
- }
110
-
111
107
  .k-slider-selection {
112
108
  display: none;
113
109
  }
@@ -1,17 +1,5 @@
1
1
  @include exports( "common/loading" ) {
2
2
 
3
- // Loading indicator
4
- .k-loading {
5
- width: 64px;
6
- height: 64px;
7
- display: block;
8
-
9
- .animate {
10
- animation: loading 2s infinite linear;
11
- }
12
- }
13
-
14
-
15
3
  // Loading mask
16
4
  .k-loading-mask,
17
5
  .k-loading-image,
@@ -100,7 +88,7 @@
100
88
  content: "";
101
89
  // See https://github.com/telerik/kendo-themes/issues/1925
102
90
  border-width: 1px; // TODO: Remove once we drop IE support
103
- border-width: #{"max( 1px, .015em )"}; // sass-lint:disable-line no-duplicate-properties
91
+ border-width: clamp( .015em, 1px, 1px ); // sass-lint:disable-line no-duplicate-properties
104
92
  font-size: 4em;
105
93
  }
106
94
  }
@@ -1337,7 +1337,7 @@
1337
1337
  padding: $grid-column-menu-popup-padding-y $grid-column-menu-popup-padding-x;
1338
1338
  }
1339
1339
  .k-popup > & {
1340
- width: 100%;
1340
+ max-width: 100%;
1341
1341
  }
1342
1342
 
1343
1343
  .k-actions {
@@ -144,12 +144,6 @@
144
144
  @include fill( $bg: $grid-sticky-selected-alt-bg );
145
145
  }
146
146
 
147
- // Hovered state
148
- .k-state-hover td,
149
- tr:hover td {
150
- @include fill( $bg: $grid-sticky-hovered-bg );
151
- }
152
-
153
147
  // Selected hover
154
148
  .k-state-selected:hover td,
155
149
  .k-state-selected.k-state-hover td {
@@ -72,9 +72,18 @@
72
72
 
73
73
  .k-list-scroller {
74
74
  width: 100%;
75
+ height: inherit;
75
76
  border-width: $listbox-border-width;
76
77
  border-style: solid;
77
78
  box-sizing: border-box;
79
+
80
+ .k-list-scroller {
81
+ border-width: 0;
82
+ }
83
+
84
+ .k-list {
85
+ height: inherit;
86
+ }
78
87
  }
79
88
 
80
89
  .k-drop-hint {
@@ -62,6 +62,9 @@
62
62
  padding: 0 (14px / 2);
63
63
  align-items: center;
64
64
  }
65
+ .k-mediaplayer-volume {
66
+ width: 100px;
67
+ }
65
68
 
66
69
 
67
70
  // Seekbar
@@ -69,8 +72,9 @@
69
72
  width: 100%;
70
73
  position: absolute;
71
74
  z-index: 3;
72
- top: -17px;
75
+ top: 0;
73
76
  left: 0;
77
+ transform: translateY( -50% );
74
78
  }
75
79
  .k-mediaplayer-seekbar .k-slider-track {
76
80
  // sass-lint:disable no-important
@@ -78,6 +82,9 @@
78
82
  // sass-lint:enable no-important
79
83
  border-radius: 0;
80
84
  }
85
+ .k-mediaplayer-seekbar .k-slider-selection {
86
+ border-radius: 0;
87
+ }
81
88
 
82
89
  .k-mediaplayer-fullscreen {
83
90
  z-index: 10000;
@@ -64,8 +64,8 @@
64
64
 
65
65
  // Token
66
66
  .k-button {
67
- min-height: calc( #{$form-line-height-em} + #{$button-padding-y-sm} + 2px );
68
- padding: ($button-padding-y-sm / 2) ($button-padding-x / 2);
67
+ min-height: calc( #{$form-line-height-em} + #{$button-padding-y /2} + 2px );
68
+ padding: ($button-padding-y / 4) ($button-padding-x / 2);
69
69
  margin: $padding-y-sm 0 0 $padding-y-sm;
70
70
  cursor: default;
71
71
  display: inline-flex;
@@ -10,42 +10,11 @@
10
10
  line-height: $slider-line-height;
11
11
  background: none;
12
12
  display: inline-flex;
13
- align-items: stretch;
13
+ align-items: center;
14
14
  position: relative;
15
15
  -webkit-touch-callout: none;
16
16
  -webkit-tap-highlight-color: $rgba-transparent;
17
17
 
18
- .k-button {
19
- height: $slider-button-size;
20
- line-height: $slider-button-size;
21
- margin: 0;
22
- min-width: 0;
23
- outline: 0;
24
- padding: 0;
25
- position: absolute;
26
- width: $slider-button-size;
27
- box-sizing: content-box;
28
-
29
- .k-icon,
30
- .k-button-icon {
31
- vertical-align: baseline;
32
- line-height: $slider-button-size;
33
- height: 100%;
34
- }
35
- }
36
-
37
- .k-button-increase {
38
- position: absolute;
39
- right: 0;
40
- top: 0;
41
- }
42
-
43
- .k-button-decrease {
44
- position: absolute;
45
- left: 0;
46
- top: 0;
47
- }
48
-
49
18
  .k-label {
50
19
  width: auto;
51
20
  font-size: .92em;
@@ -85,28 +54,18 @@
85
54
  left: auto;
86
55
  right: 0;
87
56
  }
88
-
89
- .k-button-increase {
90
- left: 0;
91
- right: auto;
92
- }
93
-
94
- .k-button-decrease {
95
- right: 0;
96
- left: auto;
97
- }
98
57
  }
99
58
  }
100
59
 
101
60
 
102
61
  // New rendering
103
62
  .k-slider {
63
+ width: min-content;
64
+ height: min-content;
104
65
  gap: calc( #{$slider-draghandle-size} / 2 );
105
66
 
106
67
  > .k-button {
107
- position: relative;
108
- flex-shrink: 0;
109
- align-self: center;
68
+ flex: none;
110
69
  }
111
70
  > .k-slider-track-wrap {
112
71
  flex: 1 1 auto;
@@ -123,8 +82,7 @@
123
82
  display: flex;
124
83
  flex-flow: inherit;
125
84
  justify-content: space-between;
126
-
127
- &::after { display: none; }
85
+ user-select: none;
128
86
  }
129
87
  .k-tick {
130
88
  flex: 0 0 1px;
@@ -137,6 +95,7 @@
137
95
 
138
96
  &-horizontal {
139
97
  > .k-slider-track-wrap {
98
+ height: 26px;
140
99
 
141
100
  .k-slider-track {
142
101
  width: 100%;
@@ -189,6 +148,7 @@
189
148
 
190
149
  &-vertical {
191
150
  > .k-slider-track-wrap {
151
+ width: 26px;
192
152
 
193
153
  .k-slider-track {
194
154
  height: 100%;
@@ -221,14 +181,8 @@
221
181
  // Slider vertical
222
182
  .k-slider-vertical {
223
183
  height: $slider-size;
224
- width: $slider-alt-size;
225
184
  flex-flow: column-reverse nowrap;
226
185
 
227
- .k-button-decrease {
228
- bottom: 0;
229
- top: auto;
230
- }
231
-
232
186
  .k-tick {
233
187
  text-align: right;
234
188
  margin-left: 2px;
@@ -240,32 +194,32 @@
240
194
 
241
195
  // ticks
242
196
 
243
- .k-tick { background-position: -92px center; }
244
- .k-slider-topleft .k-tick { background-position: -122px center; }
245
- .k-slider-bottomright .k-tick { background-position: -152px center; }
197
+ .k-tick { background-position: -94px center; }
198
+ .k-slider-topleft .k-tick { background-position: -124px center; }
199
+ .k-slider-bottomright .k-tick { background-position: -154px center; }
246
200
 
247
201
  .k-tick-large {
248
202
  display: flex;
249
203
  align-items: center;
250
- background-position: -2px center;
204
+ background-position: -4px center;
251
205
  }
252
206
 
253
- .k-slider-topleft .k-tick-large { background-position: -32px center; }
254
- .k-slider-bottomright .k-tick-large { background-position: -62px center; }
207
+ .k-slider-topleft .k-tick-large { background-position: -34px center; }
208
+ .k-slider-bottomright .k-tick-large { background-position: -64px center; }
255
209
 
256
- .k-first { background-position: -92px 100%; }
257
- .k-tick-large.k-first { background-position: -2px 100%; }
258
- .k-slider-topleft .k-first { background-position: -122px 100%; }
259
- .k-slider-topleft .k-tick-large.k-first { background-position: -32px 100%; }
260
- .k-slider-bottomright .k-first { background-position: -152px 100%; }
261
- .k-slider-bottomright .k-tick-large.k-first { background-position: -62px 100%; }
210
+ .k-first { background-position: -94px 100%; }
211
+ .k-tick-large.k-first { background-position: -4px 100%; }
212
+ .k-slider-topleft .k-first { background-position: -124px 100%; }
213
+ .k-slider-topleft .k-tick-large.k-first { background-position: -34px 100%; }
214
+ .k-slider-bottomright .k-first { background-position: -154px 100%; }
215
+ .k-slider-bottomright .k-tick-large.k-first { background-position: -64px 100%; }
262
216
 
263
- .k-last { background-position: -92px 0; }
264
- .k-tick-large.k-last { background-position: -2px 0; }
265
- .k-slider-topleft .k-last { background-position: -122px 0; }
266
- .k-slider-topleft .k-tick-large.k-last { background-position: -32px 0; }
267
- .k-slider-bottomright .k-last { background-position: -152px 0; }
268
- .k-slider-bottomright .k-tick-large.k-last { background-position: -62px 0; }
217
+ .k-last { background-position: -94px 0; }
218
+ .k-tick-large.k-last { background-position: -4px 0; }
219
+ .k-slider-topleft .k-last { background-position: -124px 0; }
220
+ .k-slider-topleft .k-tick-large.k-last { background-position: -34px 0; }
221
+ .k-slider-bottomright .k-last { background-position: -154px 0; }
222
+ .k-slider-bottomright .k-tick-large.k-last { background-position: -64px 0; }
269
223
 
270
224
  // labels
271
225
 
@@ -303,17 +257,9 @@
303
257
 
304
258
  // Slider horizontal
305
259
  .k-slider-horizontal {
306
- height: $slider-alt-size;
307
260
  width: $slider-size;
308
261
  flex-flow: row nowrap;
309
262
 
310
- // ticks
311
- .k-tick {
312
- float: left;
313
- height: 100%;
314
- text-align: center;
315
- }
316
-
317
263
  .k-tick { background-position: center -92px; }
318
264
  .k-slider-topleft .k-tick { background-position: center -122px; }
319
265
  .k-slider-bottomright .k-tick { background-position: center -152px; }
@@ -359,9 +305,6 @@
359
305
  right: 0;
360
306
  left: auto;
361
307
  }
362
- .k-slider-buttons .k-slider-track {
363
- right: $slider-button-spacing;
364
- }
365
308
 
366
309
  .k-button .k-i-arrow-e,
367
310
  .k-button .k-i-arrow-w {
@@ -370,11 +313,6 @@
370
313
  }
371
314
  }
372
315
 
373
- .k-slider-wrap {
374
- height: 100%;
375
- width: 100%;
376
- }
377
-
378
316
  .k-slider-track,
379
317
  .k-slider-selection {
380
318
  margin: 0;
@@ -396,16 +334,6 @@
396
334
  }
397
335
  }
398
336
 
399
- .k-slider-buttons .k-slider-track {
400
- .k-slider-horizontal & {
401
- left: $slider-button-spacing;
402
- }
403
-
404
- .k-slider-vertical & {
405
- bottom: $slider-button-spacing;
406
- }
407
- }
408
-
409
337
 
410
338
  .k-draghandle {
411
339
  background-color: transparent;
@@ -416,30 +344,10 @@
416
344
  position: absolute;
417
345
  text-align: center;
418
346
  text-decoration: none;
419
- box-sizing: content-box;
347
+ box-sizing: border-box;
420
348
  width: $slider-draghandle-size;
421
349
  height: $slider-draghandle-size;
422
350
 
423
- .k-slider-horizontal & {
424
- top: 50%;
425
- transform: translateY(-50%);
426
-
427
- &:active,
428
- &.k-pressed {
429
- transform: translateY(-50%) scale($slider-draghandle-active-scale);
430
- }
431
- }
432
-
433
- .k-slider-vertical & {
434
- left: 50%;
435
- transform: translateX(-50%);
436
-
437
- &:active,
438
- &.k-pressed {
439
- transform: translateX(-50%) scale($slider-draghandle-active-scale);
440
- }
441
- }
442
-
443
351
  .k-slider-transitions.k-slider-horizontal & {
444
352
  transition: left $slider-transition-speed $slider-transition-function, background-color $slider-transition-speed $slider-transition-function, transform $slider-draghandle-transition-speed $slider-draghandle-transition-function;
445
353
  }
@@ -468,34 +376,18 @@
468
376
  }
469
377
 
470
378
 
471
- .k-slider-items {
472
- user-select: none;
473
-
474
- .k-slider-buttons & {
475
- margin-left: $slider-button-spacing;
476
- }
477
-
478
- .k-slider-horizontal & {
479
- height: 100%;
480
- padding: 2px 0;
481
- box-sizing: border-box;
482
- }
483
-
484
- .k-slider-vertical & {
485
- padding-top: 1px;
486
- }
487
-
488
- .k-slider-vertical .k-slider-buttons & {
489
- margin: 0;
490
- padding-top: $slider-button-spacing;
379
+ // Slider readonly
380
+ .k-slider.k-readonly {
381
+ .k-button,
382
+ .k-slider-track,
383
+ .k-tick,
384
+ .k-draghandle {
385
+ pointer-events: none;
491
386
  }
492
387
  }
493
- .k-slider-items::after {
494
- content: "";
495
- display: block;
496
- clear: both;
497
- }
498
388
 
389
+
390
+ // Slider tooltip
499
391
  .k-slider-tooltip {
500
392
  .k-callout-n,
501
393
  .k-callout-s {
@@ -65,12 +65,6 @@
65
65
  &.k-state-disabled {
66
66
  opacity: $slider-disabled-opacity;
67
67
  }
68
-
69
- .k-slider-wrap {
70
- &:focus {
71
- outline: none;
72
- }
73
- }
74
68
  }
75
69
 
76
70
  .k-slider-horizontal .k-tick {
@@ -71,6 +71,7 @@
71
71
  margin: 0;
72
72
  }
73
73
  .k-spreadsheet-tabstrip .k-loading {
74
+ // TODO: better name
74
75
  display: none;
75
76
  }
76
77
  .k-spreadsheet-tabstrip .k-content,
@@ -19,7 +19,7 @@
19
19
  color: inherit;
20
20
  background-color: transparent;
21
21
  display: flex;
22
- flex-direction: column;
22
+ flex-flow: column nowrap;
23
23
  -webkit-touch-callout: none;
24
24
  -webkit-tap-highlight-color: $rgba-transparent;
25
25
 
@@ -112,6 +112,9 @@
112
112
  left: 0;
113
113
  transition: width .2s linear;
114
114
 
115
+ // TODO: a better name
116
+ display: none;
117
+
115
118
  &.k-complete {
116
119
  width: 100%;
117
120
  border-top-width: 0;
@@ -125,6 +128,7 @@
125
128
 
126
129
  > .k-tabstrip-items {
127
130
  flex: 1 1 auto;
131
+ flex-wrap: nowrap;
128
132
  white-space: nowrap;
129
133
  overflow: hidden;
130
134
  }
@@ -16,7 +16,7 @@
16
16
  // Targets https://github.com/telerik/kendo-react/issues/638.
17
17
  box-shadow: none;
18
18
  background: none;
19
- display: inline-flex;
19
+ display: flex;
20
20
  flex-wrap: nowrap;
21
21
  vertical-align: middle;
22
22
  position: relative;
@@ -234,6 +234,7 @@
234
234
  .k-toolbar {
235
235
  padding: 0;
236
236
  border-width: 0;
237
+ flex-shrink: 1;
237
238
  color: inherit;
238
239
  background: none;
239
240
  }
@@ -10,9 +10,13 @@
10
10
  padding: .4em .6em;
11
11
  line-height: 1.6em;
12
12
 
13
+ // TODO: see what this does and use a better name
13
14
  .k-loading {
14
15
  vertical-align: baseline;
15
16
  margin-right: 5px;
17
+
18
+ // TODO
19
+ display: none;
16
20
  }
17
21
  }
18
22
 
@@ -19,6 +19,16 @@
19
19
  }
20
20
 
21
21
 
22
+ // Treeview filter
23
+ .k-treeview-filter {
24
+ padding: map-get( $spacing, 1 );
25
+ box-sizing: border-box;
26
+ display: block;
27
+ position: relative;
28
+ flex: none;
29
+ }
30
+
31
+
22
32
  // Treeview group
23
33
  .k-treeview-group,
24
34
  .k-treeview .k-group {
@@ -79,11 +89,6 @@
79
89
  .k-treeview .k-i-collapse {
80
90
  margin-left: -$treeview-indent;
81
91
  cursor: pointer;
82
-
83
- + .k-checkbox-wrap,
84
- + .k-checkbox-wrapper {
85
- margin-left: $icon-spacing;
86
- }
87
92
  }
88
93
 
89
94
 
@@ -96,6 +101,7 @@
96
101
  // Checkbox
97
102
  .k-treeview .k-checkbox-wrap,
98
103
  .k-treeview .k-checkbox-wrapper {
104
+ margin-left: $icon-spacing;
99
105
  margin-right: $icon-spacing;
100
106
  align-self: center;
101
107
  }
@@ -159,11 +165,6 @@
159
165
  .k-treeview-toggle {
160
166
  margin-left: 0;
161
167
  margin-right: -$treeview-indent;
162
-
163
- + .k-checkbox-wrap,
164
- + .k-checkbox-wrapper {
165
- margin-right: $icon-spacing;
166
- }
167
168
  }
168
169
 
169
170
  // Loading
@@ -172,13 +173,6 @@
172
173
  margin-left: $icon-spacing;
173
174
  }
174
175
 
175
- // Checkbox
176
- .k-checkbox-wrap,
177
- .k-checkbox-wrapper {
178
- margin-right: 0;
179
- margin-left: $icon-spacing;
180
- }
181
-
182
176
  // Treeview leaf
183
177
  .k-treeview-leaf,
184
178
  .k-in {
@@ -189,6 +183,6 @@
189
183
  margin-left: $icon-spacing;
190
184
  }
191
185
  }
192
-
193
186
  }
187
+
194
188
  }
@@ -110,10 +110,10 @@
110
110
  margin-top: -($window-inner-padding-y / 2);
111
111
  }
112
112
  .k-window-content:first-child {
113
- padding-top: #{"max( #{$window-inner-padding-y}, #{$window-titlebar-padding-y} )"};
113
+ padding-top: clamp( #{$window-inner-padding-y}, #{$window-titlebar-padding-y}, #{$window-titlebar-padding-y} );
114
114
  }
115
115
  .k-window-content:last-child {
116
- padding-bottom: #{"max( #{$window-inner-padding-y}, #{$window-titlebar-padding-y} )"};
116
+ padding-bottom: clamp( #{$window-inner-padding-y}, #{$window-titlebar-padding-y}, #{$window-titlebar-padding-y} );
117
117
  }
118
118
 
119
119
  .k-window-iframecontent {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-classic",
3
3
  "description": "Sass port of less based themes for Kendo UI theme",
4
- "version": "4.43.1-dev.5",
4
+ "version": "4.43.1-dev.6",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -50,7 +50,7 @@
50
50
  "postpublish": "rm -rf modules && git checkout scss"
51
51
  },
52
52
  "dependencies": {
53
- "@progress/kendo-theme-default": "^4.43.1-dev.5"
53
+ "@progress/kendo-theme-default": "^4.43.1-dev.6"
54
54
  },
55
- "gitHead": "ac48eb1c0df9b906d3bef3e7881332555f14a232"
55
+ "gitHead": "2362d5beb5c65e7d4b4bc9c8a06b589bc065be8d"
56
56
  }