@progress/kendo-theme-default 5.0.0-beta.5 → 5.0.0-beta.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 (62) hide show
  1. package/dist/all.css +4336 -4042
  2. package/dist/all.scss +1391 -1103
  3. package/package.json +2 -2
  4. package/scss/action-buttons/_layout.scss +7 -0
  5. package/scss/action-sheet/_layout.scss +6 -0
  6. package/scss/appbar/_layout.scss +6 -0
  7. package/scss/avatar/_layout.scss +6 -0
  8. package/scss/badge/_layout.scss +6 -0
  9. package/scss/bottom-navigation/_layout.scss +6 -0
  10. package/scss/breadcrumb/_layout.scss +6 -0
  11. package/scss/button/_layout.scss +7 -0
  12. package/scss/captcha/_layout.scss +6 -0
  13. package/scss/card/_layout.scss +6 -0
  14. package/scss/chat/_layout.scss +3 -2
  15. package/scss/chip/_layout.scss +9 -5
  16. package/scss/chip/_variables.scss +29 -14
  17. package/scss/color-preview/_layout.scss +6 -0
  18. package/scss/coloreditor/_layout.scss +6 -0
  19. package/scss/colorgradient/_layout.scss +6 -0
  20. package/scss/colorpalette/_layout.scss +6 -0
  21. package/scss/daterangepicker/_layout.scss +6 -0
  22. package/scss/datetimepicker/_layout.scss +17 -0
  23. package/scss/drawer/_layout.scss +6 -0
  24. package/scss/expansion-panel/_layout.scss +6 -1
  25. package/scss/fab/_layout.scss +6 -0
  26. package/scss/filter/_layout.scss +7 -0
  27. package/scss/floating-label/_layout.scss +7 -0
  28. package/scss/imageeditor/_layout.scss +6 -0
  29. package/scss/input/_layout.scss +17 -2
  30. package/scss/input/_theme.scss +18 -18
  31. package/scss/input/_variables.scss +37 -13
  32. package/scss/list/_layout.scss +4 -4
  33. package/scss/listbox/_layout.scss +1 -0
  34. package/scss/map/_layout.scss +7 -0
  35. package/scss/mediaplayer/_layout.scss +6 -0
  36. package/scss/menu/_layout.scss +25 -29
  37. package/scss/menu/_theme.scss +6 -1
  38. package/scss/menu/_variables.scss +1 -1
  39. package/scss/notification/_layout.scss +6 -0
  40. package/scss/numerictextbox/_layout.scss +2 -8
  41. package/scss/orgchart/_layout.scss +6 -0
  42. package/scss/pager/_layout.scss +6 -2
  43. package/scss/panelbar/_layout.scss +6 -0
  44. package/scss/pivotgrid/_layout.scss +58 -66
  45. package/scss/pivotgrid/_theme.scss +39 -72
  46. package/scss/popover/_layout.scss +6 -0
  47. package/scss/progressbar/_layout.scss +6 -0
  48. package/scss/rating/_layout.scss +6 -1
  49. package/scss/scheduler/_layout.scss +6 -0
  50. package/scss/slider/_layout.scss +6 -2
  51. package/scss/stepper/_layout.scss +6 -1
  52. package/scss/switch/_layout.scss +16 -1
  53. package/scss/switch/_variables.scss +3 -6
  54. package/scss/tabstrip/_layout.scss +11 -3
  55. package/scss/taskboard/_layout.scss +6 -2
  56. package/scss/timeline/_layout.scss +6 -4
  57. package/scss/toolbar/_index.scss +1 -0
  58. package/scss/toolbar/_layout.scss +13 -3
  59. package/scss/toolbar/_theme.scss +17 -11
  60. package/scss/tooltip/_layout.scss +6 -1
  61. package/scss/treeview/_layout.scss +8 -2
  62. package/scss/upload/_layout.scss +6 -1
@@ -159,102 +159,59 @@
159
159
  @include exports("pivotgrid/theme/legacy") {
160
160
 
161
161
  .k-pivot {
162
+ @include fill (
163
+ $pivotgrid-text,
164
+ $pivotgrid-bg,
165
+ $pivotgrid-border
166
+ );
167
+ }
168
+ .k-pivot-table {
162
169
  border-color: $pivotgrid-border;
163
170
  }
164
171
 
165
- .k-alt,
166
- .k-pivot-layout > tbody > tr:first-child > td:first-child {
167
- background-color: $pivotgrid-alt-bg;
172
+ // Pivotgrid header
173
+ .k-pivot-rowheaders {
174
+ @include fill(
175
+ $pivotgrid-headers-text,
176
+ $pivotgrid-headers-bg,
177
+ $pivotgrid-headers-border
178
+ );
168
179
  }
169
180
 
170
- .k-fieldselector {
171
- color: $pivotgrid-configurator-text;
181
+
182
+ // Pivotgrid toolbar
183
+ .k-pivot-toolbar {
184
+ @include fill(
185
+ $pivotgrid-headers-text,
186
+ $pivotgrid-headers-bg,
187
+ $pivotgrid-headers-border
188
+ );
189
+
190
+ .k-empty {
191
+ color: $subtle-text;
192
+ }
172
193
  }
173
194
 
174
- .k-fieldselector .k-list-container {
175
- background-color: $pivotgrid-container-bg;
195
+ .k-alt {
196
+ background-color: $pivotgrid-alt-bg;
176
197
  }
177
198
 
178
199
  .k-pivot-toolbar,
179
200
  .k-pivot-table,
180
- .k-fieldselector,
181
- .k-fieldselector .k-list-container,
182
- .k-fieldselector .k-columns > div,
183
201
  .k-pivot-rowheaders > .k-grid td:first-child,
184
202
  .k-pivot-table .k-grid-header .k-header.k-first {
185
203
  border-color: $pivotgrid-chrome-border;
186
204
  }
187
205
 
188
- .k-pivot-rowheaders .k-alt .k-alt,
189
206
  .k-header.k-alt {
190
207
  background-color: $pivotgrid-row-headers-bg;
191
208
  }
192
209
 
193
- .k-pivot-toolbar .k-button {
194
- @include fill(
195
- $kendo-button-text,
196
- $kendo-button-bg,
197
- $kendo-button-border,
198
- $kendo-button-gradient
199
- );
200
-
201
- &:hover,
202
- &.k-state-hover {
203
- @include fill(
204
- $kendo-button-hover-text,
205
- $kendo-button-hover-bg,
206
- $kendo-button-hover-border,
207
- $kendo-button-hover-gradient
208
- );
209
- }
210
-
211
- // Pressed state
212
- &:active,
213
- &.k-state-active {
214
- @include fill(
215
- $kendo-button-active-text,
216
- $kendo-button-active-bg,
217
- $kendo-button-active-border,
218
- $kendo-button-active-gradient
219
- );
220
- }
221
-
222
- // Focused state
223
- &:focus,
224
- &.k-state-focus,
225
- &.k-state-focused {
226
- box-shadow: $kendo-button-focus-shadow;
227
- }
228
-
229
- &.k-empty {
230
- color: $subtle-text;
231
- }
232
- }
233
-
234
- .k-pivot-toolbar {
235
- .k-empty {
236
- color: $subtle-text;
237
- }
238
- }
239
-
240
- .k-pivot-layout .k-grid-footer,
241
- .k-pivot-layout .k-grid.k-alt {
210
+ .k-pivot-layout .k-grid-footer {
242
211
  color: $pivotgrid-alt-text;
243
212
  background-color: $pivotgrid-alt-bg;
244
213
  }
245
214
 
246
- // Loading indicator
247
- .k-fieldselector {
248
- .k-i-loading {
249
- border-color: $header-bg;
250
- }
251
-
252
- .k-i-loading::before,
253
- .k-i-loading::after {
254
- background-color: $header-bg;
255
- }
256
- }
257
-
258
215
  // KPI icons
259
216
  .k-i-kpi-trend-increase,
260
217
  .k-i-kpi-trend-decrease,
@@ -273,4 +230,14 @@
273
230
  .k-i-kpi-status-open {
274
231
  color: $success;
275
232
  }
233
+
234
+
235
+ // Configurator
236
+ .k-pivotgrid-configurator-panel.kendo-jquery {
237
+
238
+ .k-column-fields {
239
+ border-color: $component-border;
240
+ }
241
+
242
+ }
276
243
  }
@@ -16,6 +16,12 @@
16
16
  z-index: 12000;
17
17
  -webkit-touch-callout: none;
18
18
  -webkit-tap-highlight-color: $rgba-transparent;
19
+
20
+ *,
21
+ *::before,
22
+ *::after {
23
+ box-sizing: border-box;
24
+ }
19
25
  }
20
26
 
21
27
  // Header
@@ -18,6 +18,12 @@
18
18
  -webkit-touch-callout: none;
19
19
  -webkit-tap-highlight-color: $rgba-transparent;
20
20
 
21
+ *,
22
+ *::before,
23
+ *::after {
24
+ box-sizing: border-box;
25
+ }
26
+
21
27
 
22
28
  // Selection
23
29
  > .k-state-selected {
@@ -14,6 +14,12 @@
14
14
  -webkit-touch-callout: none;
15
15
  -webkit-tap-highlight-color: $rgba-transparent;
16
16
 
17
+ *,
18
+ *::before,
19
+ *::after {
20
+ box-sizing: border-box;
21
+ }
22
+
17
23
  &.k-state-readonly {
18
24
  pointer-events: none;
19
25
  }
@@ -22,7 +28,6 @@
22
28
  .k-rating-container {
23
29
  flex: 0 1 auto;
24
30
  position: relative;
25
- box-sizing: border-box;
26
31
  margin: 0 $rating-container-margin-x;
27
32
 
28
33
  .k-rating-item {
@@ -904,6 +904,12 @@
904
904
  flex-shrink: 0;
905
905
  font-size: inherit;
906
906
  }
907
+
908
+ .k-no-data {
909
+ height: auto;
910
+ min-height: auto;
911
+ color: inherit;
912
+ }
907
913
  }
908
914
 
909
915
  }
@@ -15,6 +15,12 @@
15
15
  -webkit-touch-callout: none;
16
16
  -webkit-tap-highlight-color: $rgba-transparent;
17
17
 
18
+ *,
19
+ *::before,
20
+ *::after {
21
+ box-sizing: border-box;
22
+ }
23
+
18
24
  .k-label {
19
25
  width: auto;
20
26
  font-size: .92em;
@@ -62,7 +68,6 @@
62
68
  .k-slider-wrap {
63
69
  width: 100%;
64
70
  height: 100%;
65
- box-sizing: border-box;
66
71
  display: flex;
67
72
  flex-flow: inherit;
68
73
  align-items: inherit;
@@ -360,7 +365,6 @@
360
365
  position: absolute;
361
366
  text-align: center;
362
367
  text-decoration: none;
363
- box-sizing: border-box;
364
368
  width: $slider-draghandle-size;
365
369
  height: $slider-draghandle-size;
366
370
 
@@ -19,6 +19,12 @@
19
19
  color: inherit;
20
20
  background: none;
21
21
 
22
+ *,
23
+ *::before,
24
+ *::after {
25
+ box-sizing: border-box;
26
+ }
27
+
22
28
 
23
29
  // Step list
24
30
  .k-step-list {
@@ -68,7 +74,6 @@
68
74
  transition-property: color, background-color, border-color;
69
75
  transition-duration: .4s;
70
76
  transition-timing-function: ease-in-out;
71
- box-sizing: content-box;
72
77
 
73
78
  &::after {
74
79
  @include border-radius( 100% );
@@ -1,17 +1,32 @@
1
1
  @include exports("switch/layout") {
2
2
 
3
3
  .k-switch {
4
+ box-sizing: border-box;
4
5
  font-family: $kendo-switch-font-family;
5
- line-height: $kendo-switch-line-height;
6
6
  outline: 0;
7
7
  display: inline-flex;
8
8
  align-items: center;
9
9
  vertical-align: middle;
10
+ line-height: 1;
10
11
  position: relative;
11
12
  cursor: pointer;
12
13
  user-select: none;
13
14
  -webkit-touch-callout: none;
14
15
  -webkit-tap-highlight-color: $rgba-transparent;
16
+
17
+ *,
18
+ *::before,
19
+ *::after {
20
+ box-sizing: border-box;
21
+ }
22
+
23
+ [type="checkbox"] {
24
+ display: none;
25
+ }
26
+
27
+ &[aria-readonly="true"] {
28
+ pointer-events: none;
29
+ }
15
30
  }
16
31
 
17
32
 
@@ -3,9 +3,6 @@
3
3
  /// Font family of the switch.
4
4
  /// @group switch
5
5
  $kendo-switch-font-family: null !default;
6
- /// Line height of the switch.
7
- /// @group switch
8
- $kendo-switch-line-height: null !default;
9
6
 
10
7
  /// Border width of the switch track.
11
8
  /// @group switch
@@ -25,9 +22,9 @@ $kendo-switch-label-display: inline !default;
25
22
  /// Map with the different switch sizes.
26
23
  /// @group switch
27
24
  $kendo-switch-sizes: (
28
- sm: ( font-size: 8px, track-width: 40px, track-height: 20px, thumb-width: 20px, thumb-height: 20px, thumb-offset: 0px, label-offset: 5px ),
29
- md: ( font-size: 10px, track-width: 60px, track-height: 30px, thumb-width: 30px, thumb-height: 30px, thumb-offset: 0px, label-offset: 8px ),
30
- lg: ( font-size: 12px, track-width: 80px, track-height: 40px, thumb-width: 40px, thumb-height: 40px, thumb-offset: 0px, label-offset: 10px )
25
+ sm: ( font-size: 10px, track-width: 52px, track-height: 26px, thumb-width: 26px, thumb-height: 26px, thumb-offset: 0px, label-offset: 4px ),
26
+ md: ( font-size: 10px, track-width: 60px, track-height: 30px, thumb-width: 30px, thumb-height: 30px, thumb-offset: 0px, label-offset: 6px ),
27
+ lg: ( font-size: 10px, track-width: 68px, track-height: 34px, thumb-width: 34px, thumb-height: 34px, thumb-offset: 0px, label-offset: 8px )
31
28
  ) !default;
32
29
 
33
30
  /// The background of the track when the switch is not checked.
@@ -134,19 +134,27 @@
134
134
  }
135
135
 
136
136
  > .k-button {
137
- flex-shrink: 0;
137
+ width: auto;
138
+ height: auto;
139
+ flex: none;
138
140
  align-self: stretch;
141
+ aspect-ratio: auto;
142
+
143
+ .k-button-icon {
144
+ min-width: auto;
145
+ min-height: auto;
146
+ }
139
147
  }
140
148
 
141
149
  &.k-hstack {
142
150
  > .k-button {
143
- height: auto;
151
+ padding: 0 map-get( $spacing, 1 );
144
152
  }
145
153
  }
146
154
 
147
155
  &.k-vstack {
148
156
  > .k-button {
149
- width: auto;
157
+ padding: map-get( $spacing, 1 ) 0;
150
158
  }
151
159
  }
152
160
  }
@@ -10,6 +10,12 @@
10
10
  display: flex;
11
11
  flex-direction: column;
12
12
  position: relative;
13
+
14
+ *,
15
+ *::before,
16
+ *::after {
17
+ box-sizing: border-box;
18
+ }
13
19
  }
14
20
 
15
21
  // Toolbar
@@ -78,7 +84,6 @@
78
84
  .k-taskboard-column-cards {
79
85
  padding: $taskboard-column-cards-padding-y $taskboard-column-cards-padding-x;
80
86
  min-height: 100%;
81
- box-sizing: border-box;
82
87
  display: flex;
83
88
  flex-direction: column;
84
89
  gap: $taskboard-column-cards-gap 0;
@@ -107,7 +112,6 @@
107
112
  width: $taskboard-pane-width;
108
113
  border-width: $taskboard-pane-border-width;
109
114
  border-style: solid;
110
- box-sizing: border-box;
111
115
  display: flex;
112
116
  flex-direction: column;
113
117
  position: absolute;
@@ -11,6 +11,12 @@
11
11
  -webkit-touch-callout: none;
12
12
  -webkit-tap-highlight-color: $rgba-transparent;
13
13
 
14
+ *,
15
+ *::before,
16
+ *::after {
17
+ box-sizing: border-box;
18
+ }
19
+
14
20
  ul {
15
21
  margin: 0;
16
22
  padding: 0;
@@ -28,7 +34,6 @@
28
34
  line-height: $timeline-flag-line-height;
29
35
  min-width: $timeline-flag-min-width;
30
36
  max-width: $timeline-flag-max-width;
31
- box-sizing: border-box;
32
37
  position: relative;
33
38
  z-index: 1;
34
39
  }
@@ -108,7 +113,6 @@
108
113
  margin: $timeline-spacing-y 0;
109
114
  width: 100%;
110
115
  position: relative;
111
- box-sizing: border-box;
112
116
  border: 0;
113
117
  }
114
118
 
@@ -298,12 +302,10 @@
298
302
 
299
303
  .k-timeline-card {
300
304
  height: 100%;
301
- box-sizing: border-box;
302
305
  }
303
306
 
304
307
  .k-card {
305
308
  max-height: 100%;
306
- box-sizing: border-box;
307
309
  }
308
310
 
309
311
  .k-timeline-events-list {
@@ -5,6 +5,7 @@
5
5
  @import "../common/_index.scss";
6
6
  @import "../button/_index.scss";
7
7
  @import "../popup/_index.scss";
8
+ @import "../menu/_index.scss";
8
9
  @import "../icons/_index.scss";
9
10
 
10
11
 
@@ -138,6 +138,8 @@
138
138
 
139
139
  // Overflow container
140
140
  .k-overflow-container {
141
+ font-size: $kendo-menu-popup-font-size-md;
142
+ line-height: $kendo-menu-popup-line-height-md;
141
143
 
142
144
  > .k-item {
143
145
  border-color: inherit;
@@ -154,16 +156,24 @@
154
156
 
155
157
  // Button
156
158
  .k-overflow-button {
157
- @include border-radius( 0 );
158
- padding: $kendo-list-item-padding-y-md $kendo-list-item-padding-x-md;
159
+ padding: $kendo-menu-popup-item-padding-y-md $kendo-menu-popup-item-padding-x-md;
159
160
  width: 100%;
161
+ height: auto;
160
162
  border-width: 0;
163
+ border-radius: 0;
164
+ aspect-ratio: auto;
161
165
  color: inherit;
162
166
  background-color: transparent;
163
167
  background-image: none;
164
- line-height: inherit;
168
+ font: inherit;
169
+ cursor: pointer;
165
170
  display: flex;
171
+ flex-flow: row nowrap;
172
+ align-items: center;
173
+ align-content: center;
174
+ gap: $icon-spacing;
166
175
  justify-content: flex-start;
176
+ position: relative;
167
177
  }
168
178
 
169
179
  // Button group
@@ -30,27 +30,33 @@
30
30
 
31
31
  // Hover state
32
32
  &:hover,
33
- &.k-state-hover {
34
- color: $kendo-list-item-hover-text;
35
- background: $kendo-list-item-hover-bg;
33
+ &.k-hover {
34
+ color: $kendo-menu-popup-item-hover-text;
35
+ background: $kendo-menu-popup-item-hover-bg;
36
+ }
37
+
38
+ // Button focus state
39
+ &:focus,
40
+ &.k-focus {
41
+ box-shadow: $kendo-menu-popup-item-focus-shadow;
36
42
  }
37
43
 
38
44
  // Active state
39
45
  &:active,
40
- &.k-state-active {
41
- color: $kendo-list-item-selected-text;
42
- background: $kendo-list-item-selected-bg;
46
+ &.k-active {
47
+ color: $kendo-menu-popup-item-hover-text;
48
+ background: $kendo-menu-popup-item-hover-bg;
43
49
  }
44
50
 
45
- // Button focus state
46
- .k-button:focus,
47
- .k-button.k-state-focused {
48
- box-shadow: $kendo-list-item-focus-shadow;
51
+ // Selected
52
+ &.k-selected {
53
+ color: $kendo-menu-popup-item-expanded-text;
54
+ background: $kendo-menu-popup-item-expanded-bg;
49
55
  }
50
56
 
51
57
  // Disabled state
52
58
  &:disabled,
53
- &.k-state-disabled {
59
+ &.k-disabled {
54
60
  color: inherit;
55
61
  }
56
62
  }
@@ -20,6 +20,12 @@
20
20
  z-index: 12000;
21
21
  -webkit-touch-callout: none;
22
22
  -webkit-tap-highlight-color: $rgba-transparent;
23
+
24
+ *,
25
+ *::before,
26
+ *::after {
27
+ box-sizing: border-box;
28
+ }
23
29
  }
24
30
 
25
31
  .k-tooltip-icon {
@@ -58,7 +64,6 @@
58
64
  border-width: $tooltip-callout-size;
59
65
  border-style: solid;
60
66
  border-color: transparent;
61
- box-sizing: border-box;
62
67
  position: absolute;
63
68
  pointer-events: none;
64
69
  }
@@ -16,13 +16,18 @@
16
16
  white-space: nowrap;
17
17
  -webkit-touch-callout: none;
18
18
  -webkit-tap-highlight-color: $rgba-transparent;
19
+
20
+ *,
21
+ *::before,
22
+ *::after {
23
+ box-sizing: border-box;
24
+ }
19
25
  }
20
26
 
21
27
 
22
28
  // Treeview filter
23
29
  .k-treeview-filter {
24
- padding: map-get( $spacing, 1 );
25
- box-sizing: border-box;
30
+ padding: map-get( $spacing, 2 );
26
31
  display: block;
27
32
  position: relative;
28
33
  flex: none;
@@ -68,6 +73,7 @@
68
73
 
69
74
  // Treeview toggle
70
75
  .k-treeview-toggle {
76
+ margin-left: -$kendo-treeview-indent;
71
77
  flex: none;
72
78
  display: inline-flex;
73
79
  flex-flow: row nowrap;
@@ -13,6 +13,12 @@
13
13
  -webkit-touch-callout: none;
14
14
  -webkit-tap-highlight-color: $rgba-transparent;
15
15
 
16
+ *,
17
+ *::before,
18
+ *::after {
19
+ box-sizing: border-box;
20
+ }
21
+
16
22
  .k-upload-button {
17
23
  min-width: 7em;
18
24
  }
@@ -168,7 +174,6 @@
168
174
  border-style: solid;
169
175
  font-size: ($font-size * .57);
170
176
  text-transform: uppercase;
171
- box-sizing: content-box;
172
177
  position: absolute;
173
178
  top: $upload-item-padding-y;
174
179
  }