@progress/kendo-theme-default 4.43.1-dev.4 → 4.43.1-dev.5

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 (67) hide show
  1. package/dist/all.css +748 -805
  2. package/dist/all.scss +1290 -1168
  3. package/package.json +2 -2
  4. package/scss/adaptive/_layout.scss +40 -86
  5. package/scss/adaptive/_theme.scss +0 -9
  6. package/scss/appbar/_variables.scss +1 -1
  7. package/scss/autocomplete/_theme.scss +20 -39
  8. package/scss/autocomplete/_variables.scss +0 -19
  9. package/scss/avatar/_variables.scss +11 -1
  10. package/scss/button/_layout.scss +2 -2
  11. package/scss/button/_variables.scss +3 -3
  12. package/scss/calendar/_layout.scss +2 -14
  13. package/scss/card/_variables.scss +4 -4
  14. package/scss/chat/_layout.scss +3 -9
  15. package/scss/chat/_theme.scss +0 -21
  16. package/scss/chat/_variables.scss +0 -7
  17. package/scss/checkbox/_layout.scss +78 -145
  18. package/scss/checkbox/_theme.scss +6 -2
  19. package/scss/checkbox/_variables.scss +87 -18
  20. package/scss/daterangepicker/_index.scss +10 -0
  21. package/scss/daterangepicker/_layout.scss +27 -0
  22. package/scss/daterangepicker/_theme.scss +3 -0
  23. package/scss/daterangepicker/_variables.scss +1 -0
  24. package/scss/editor/_layout.scss +2 -10
  25. package/scss/forms/_layout.scss +7 -9
  26. package/scss/gantt/_layout.scss +1 -1
  27. package/scss/grid/_layout.scss +128 -97
  28. package/scss/grid/_variables.scss +1 -3
  29. package/scss/index.scss +1 -0
  30. package/scss/input/_layout.scss +1 -1
  31. package/scss/input/_variables.scss +5 -5
  32. package/scss/list/_layout.scss +9 -41
  33. package/scss/list/_theme.scss +4 -3
  34. package/scss/list/_variables.scss +64 -8
  35. package/scss/listbox/_variables.scss +1 -1
  36. package/scss/listview/_layout.scss +2 -9
  37. package/scss/map/_layout.scss +5 -0
  38. package/scss/menu/_layout.scss +48 -5
  39. package/scss/menu/_theme.scss +6 -2
  40. package/scss/menu/_variables.scss +1 -1
  41. package/scss/numerictextbox/_layout.scss +9 -27
  42. package/scss/numerictextbox/_theme.scss +64 -84
  43. package/scss/numerictextbox/_variables.scss +0 -27
  44. package/scss/orgchart/_variables.scss +2 -2
  45. package/scss/pager/_variables.scss +1 -1
  46. package/scss/pdf-viewer/_layout.scss +20 -29
  47. package/scss/pdf-viewer/_variables.scss +2 -5
  48. package/scss/radio/_layout.scss +89 -136
  49. package/scss/radio/_theme.scss +2 -2
  50. package/scss/radio/_variables.scss +88 -26
  51. package/scss/scheduler/_layout.scss +25 -12
  52. package/scss/searchbox/_layout.scss +22 -8
  53. package/scss/searchbox/_theme.scss +16 -25
  54. package/scss/searchbox/_variables.scss +0 -20
  55. package/scss/skeleton/_layout.scss +1 -1
  56. package/scss/spreadsheet/_layout.scss +27 -15
  57. package/scss/table/_layout.scss +29 -6
  58. package/scss/table/_theme.scss +3 -2
  59. package/scss/table/_variables.scss +3 -3
  60. package/scss/timeselector/_layout.scss +2 -2
  61. package/scss/toolbar/_layout.scss +21 -2
  62. package/scss/toolbar/_theme.scss +35 -7
  63. package/scss/treeview/_layout.scss +130 -110
  64. package/scss/treeview/_theme.scss +36 -25
  65. package/scss/treeview/_variables.scss +67 -13
  66. package/scss/typography/_variables.scss +3 -3
  67. package/scss/window/_variables.scss +1 -1
@@ -21,10 +21,12 @@
21
21
 
22
22
  // Menu item
23
23
  .k-menu-item {
24
+ box-sizing: border-box;
24
25
  border-width: 0;
25
26
  outline: 0;
26
27
  display: flex;
27
- flex: 0 0 auto;
28
+ flex-flow: column nowrap;
29
+ flex: none;
28
30
  position: relative;
29
31
  user-select: none;
30
32
  }
@@ -36,7 +38,7 @@
36
38
  outline: 0;
37
39
  color: inherit;
38
40
  display: flex;
39
- flex-direction: row;
41
+ flex-flow: row nowrap;
40
42
  flex: 1 1 auto;
41
43
  align-items: center;
42
44
  position: relative;
@@ -51,10 +53,22 @@
51
53
  }
52
54
 
53
55
 
56
+ // Menu item text
57
+ .k-menu-link-text {
58
+ flex: 1 1 auto;
59
+ overflow: hidden;
60
+ text-overflow: ellipsis;
61
+ }
62
+
63
+
54
64
  // Expand arrow
55
65
  .k-menu-expand-arrow {
56
66
  margin-left: $icon-spacing;
57
67
  margin-right: -$icon-spacing;
68
+ display: inline-flex;
69
+ flex-flow: row wrap;
70
+ align-items: center;
71
+ flex: none;
58
72
  position: relative;
59
73
  }
60
74
  .k-menu-expand-arrow.k-i-arrow-60-left,
@@ -101,6 +115,14 @@
101
115
  > .k-menu-item > .k-menu-link {
102
116
  padding: $menu-popup-item-padding-y $menu-popup-item-padding-x;
103
117
  padding-right: $menu-popup-item-padding-end;
118
+
119
+ .k-menu-expand-arrow {
120
+ margin: 0;
121
+ position: absolute;
122
+ top: 50%;
123
+ transform: translateY(-50%);
124
+ right: $icon-spacing;
125
+ }
104
126
  }
105
127
 
106
128
  > .k-separator {
@@ -153,6 +175,14 @@
153
175
  .k-menu-link {
154
176
  padding: $menu-popup-item-padding-y $menu-popup-item-padding-x;
155
177
  padding-right: $menu-popup-item-padding-end;
178
+
179
+ .k-menu-expand-arrow {
180
+ margin: 0;
181
+ position: absolute;
182
+ top: 50%;
183
+ transform: translateY(-50%);
184
+ right: $icon-spacing;
185
+ }
156
186
  }
157
187
 
158
188
  .k-separator {
@@ -160,7 +190,7 @@
160
190
  height: 0;
161
191
  border-width: 1px 0 0;
162
192
  border-style: solid;
163
- border-color: $panel-border;
193
+ border-color: $component-border;
164
194
  display: block;
165
195
  }
166
196
  }
@@ -188,11 +218,14 @@
188
218
  .k-context-menu-popup {
189
219
  z-index: 12000;
190
220
 
191
- > .k-popup:not(.k-menu-popup),
192
221
  .k-context-menu {
193
- border: 0;
222
+ border-width: 0;
194
223
  }
195
224
  }
225
+ .k-popup .k-context-menu,
226
+ .k-context-menu-popup .k-context-menu {
227
+ border-width: 0;
228
+ }
196
229
 
197
230
 
198
231
  // Scrolling
@@ -282,6 +315,11 @@
282
315
  > .k-menu-item > .k-menu-link {
283
316
  padding-right: $menu-popup-item-padding-x;
284
317
  padding-left: $menu-popup-item-padding-end;
318
+
319
+ .k-menu-expand-arrow {
320
+ right: auto;
321
+ left: $icon-spacing;
322
+ }
285
323
  }
286
324
  }
287
325
 
@@ -292,6 +330,11 @@
292
330
  .k-menu-link {
293
331
  padding-right: $menu-popup-item-padding-x;
294
332
  padding-left: $menu-popup-item-padding-end;
333
+
334
+ .k-menu-expand-arrow {
335
+ right: auto;
336
+ left: $icon-spacing;
337
+ }
295
338
  }
296
339
 
297
340
  }
@@ -26,7 +26,8 @@
26
26
  );
27
27
  }
28
28
 
29
- > .k-state-active {
29
+ > .k-state-active,
30
+ &.k-state-selected {
30
31
  @include fill(
31
32
  $menu-item-expanded-text,
32
33
  $menu-item-expanded-bg,
@@ -36,6 +37,7 @@
36
37
  }
37
38
 
38
39
  &:focus,
40
+ &.k-state-focus,
39
41
  &.k-state-focused {
40
42
  @include box-shadow( $menu-item-focus-shadow );
41
43
  }
@@ -69,7 +71,8 @@
69
71
  );
70
72
  }
71
73
 
72
- > .k-state-active {
74
+ > .k-state-active,
75
+ &.k-state-selected {
73
76
  @include fill(
74
77
  $menu-popup-item-expanded-text,
75
78
  $menu-popup-item-expanded-bg,
@@ -79,6 +82,7 @@
79
82
  }
80
83
 
81
84
  &:focus,
85
+ &.k-state-focus,
82
86
  &.k-state-focused {
83
87
  @include box-shadow( $menu-popup-item-focus-shadow );
84
88
  }
@@ -33,7 +33,7 @@ $menu-item-expanded-gradient: null !default;
33
33
 
34
34
  $menu-item-focus-shadow: $list-item-focused-shadow !default;
35
35
 
36
- $menu-separator-spacing: 2px !default;
36
+ $menu-separator-spacing: map-get( $spacing, 1 ) !default;
37
37
 
38
38
  $menu-scroll-button-bg: $component-bg !default;
39
39
  $menu-scroll-button-text: $link-text !default;
@@ -1,39 +1,27 @@
1
- @include exports("numerictextbox/layout") {
1
+ @include exports( "numerictextbox/layout" ) {
2
2
 
3
3
  // Numeric textbox
4
4
  .k-numerictextbox {
5
+ @include border-radius( $input-border-radius );
5
6
  width: $input-default-width;
6
- border-width: 0;
7
+ border-width: $input-border-width;
8
+ border-style: solid;
7
9
  box-sizing: border-box;
8
10
  outline: 0;
9
- background: none;
10
11
  font-family: $input-font-family;
11
12
  font-size: $input-font-size;
12
13
  line-height: $input-line-height;
13
- text-align: left;
14
+ text-align: start;
14
15
  white-space: nowrap;
15
16
  display: inline-flex;
17
+ flex-flow: row nowrap;
16
18
  vertical-align: middle;
17
19
  position: relative;
20
+ overflow: hidden;
21
+ transition: all .1s ease; // sass-lint:disable-line no-transition-all
18
22
  -webkit-touch-callout: none;
19
23
  -webkit-tap-highlight-color: $rgba-transparent;
20
24
 
21
- .k-numeric-wrap {
22
- @include border-radius( $input-border-radius );
23
- padding: 0;
24
- width: 100%;
25
- border-width: $input-border-width;
26
- border-style: solid;
27
- box-sizing: border-box;
28
- position: relative;
29
- transition: all .1s ease; // sass-lint:disable-line no-transition-all
30
- cursor: default;
31
- outline: 0;
32
- display: flex;
33
- flex-flow: row nowrap;
34
- overflow: hidden;
35
- }
36
-
37
25
 
38
26
  // Input
39
27
  .k-input {
@@ -49,6 +37,7 @@
49
37
  border-inline-start-width: $picker-select-border-width;
50
38
  border-style: solid;
51
39
  box-sizing: border-box;
40
+ outline: 0;
52
41
  display: flex;
53
42
  flex-direction: column;
54
43
  align-items: stretch;
@@ -81,13 +70,6 @@
81
70
  .k-link-decrease .k-icon {
82
71
  top: -$spinner-icon-offset;
83
72
  }
84
-
85
-
86
- // RTL
87
- .k-rtl &,
88
- &[dir="rtl"] {
89
- text-align: right;
90
- }
91
73
  }
92
74
 
93
75
  }
@@ -1,107 +1,87 @@
1
1
  @include exports( "numerictextbox/theme" ) {
2
2
 
3
- // Numeric
3
+ // Numeric textbox
4
4
  .k-numerictextbox {
5
-
6
- .k-i-warning {
7
- color: $error;
5
+ @include fill(
6
+ $input-text,
7
+ $input-bg,
8
+ $input-border
9
+ );
10
+
11
+ // Hover state
12
+ &:hover,
13
+ &.k-state-hover {
14
+ @include fill(
15
+ $input-hovered-text,
16
+ $input-hovered-bg,
17
+ $input-hovered-border
18
+ );
8
19
  }
9
20
 
10
- // Normal state
11
- .k-numeric-wrap {
21
+ // Focus state
22
+ &:focus,
23
+ &.k-state-focus {
12
24
  @include fill(
13
- $numeric-text,
14
- $numeric-bg,
15
- $numeric-border
25
+ $input-focused-text,
26
+ $input-focused-bg,
27
+ $input-focused-border
16
28
  );
29
+ @include box-shadow( $input-focused-shadow );
30
+ }
31
+ &:focus-within {
32
+ @include fill(
33
+ $input-focused-text,
34
+ $input-focused-bg,
35
+ $input-focused-border
36
+ );
37
+ @include box-shadow( $input-focused-shadow );
38
+ }
17
39
 
18
40
 
19
- // Hover state
20
- &:hover,
21
- &.k-state-hover {
22
- @include fill(
23
- $numeric-hovered-text,
24
- $numeric-hovered-bg,
25
- $numeric-hovered-border
26
- );
27
- }
28
-
41
+ // Invalid state
42
+ &.k-invalid,
43
+ &.ng-invalid,
44
+ &.k-state-invalid {
45
+ border-color: $invalid-border;
29
46
 
30
- // Focus state
31
- &.k-state-focused {
32
- @include fill(
33
- $numeric-focused-text,
34
- $numeric-focused-bg,
35
- $numeric-focused-border
36
- );
37
- @include box-shadow($numeric-focused-shadow);
47
+ .k-input-validation-icon {
48
+ color: $invalid-text;
38
49
  }
39
50
 
40
- // Invalid state
41
- &.k-invalid,
42
- &.k-invalid:hover,
43
- &.k-state-invalid {
44
- border-color: $invalid-border;
45
-
46
- .k-input-validation-icon {
47
- color: $invalid-text;
48
- }
49
-
50
- &:focus,
51
- &.k-state-focused {
52
- @include box-shadow($invalid-shadow);
53
- }
51
+ &:focus-within,
52
+ &.k-state-focus {
53
+ @include box-shadow($invalid-shadow);
54
54
  }
55
55
  }
56
56
 
57
57
 
58
- // Select buttons
58
+ // Spinner
59
59
  .k-select {
60
60
  @include fill(
61
- $numeric-button-text,
62
- $numeric-button-bg,
63
- $numeric-button-border,
64
- $numeric-button-gradient
61
+ $picker-select-text,
62
+ $picker-select-bg,
63
+ $picker-select-border,
64
+ $picker-select-gradient
65
65
  );
66
-
67
- .k-link:hover,
68
- .k-link.k-state-hover {
69
- @include fill(
70
- $numeric-button-hovered-text,
71
- $numeric-button-hovered-bg,
72
- $numeric-button-hovered-border,
73
- $numeric-button-hovered-gradient
74
- );
75
- }
76
-
77
- .k-link:active,
78
- .k-link.k-state-active,
79
- .k-link.k-state-selected {
80
- @include fill(
81
- $numeric-button-pressed-text,
82
- $numeric-button-pressed-bg,
83
- $numeric-button-pressed-border,
84
- $numeric-button-pressed-gradient
85
- );
86
- }
87
66
  }
88
-
89
-
90
- // Invalid state
91
- &.k-state-invalid,
92
- &.ng-invalid.ng-touched,
93
- &.ng-invalid.ng-dirty {
94
- .k-numeric-wrap {
95
- border-color: $invalid-border;
96
-
97
- .k-input-validation-icon {
98
- color: $invalid-text;
99
- }
100
-
101
- &.k-state-focused {
102
- @include box-shadow($invalid-shadow);
103
- }
104
- }
67
+ .k-link:hover,
68
+ .k-link.k-state-hover {
69
+ @include fill(
70
+ $picker-select-hovered-text,
71
+ $picker-select-hovered-bg,
72
+ $picker-select-hovered-border,
73
+ $picker-select-hovered-gradient
74
+ );
75
+ }
76
+ .k-link:active,
77
+ .k-link.k-state-active {
78
+ @include fill(
79
+ $picker-select-pressed-text,
80
+ $picker-select-pressed-bg,
81
+ $picker-select-pressed-border,
82
+ $picker-select-pressed-gradient
83
+ );
105
84
  }
106
85
  }
86
+
107
87
  }
@@ -1,28 +1 @@
1
1
  // Numeric Textbox
2
- $numeric-bg: $input-bg !default;
3
- $numeric-text: $input-text !default;
4
- $numeric-border: $input-border !default;
5
-
6
- $numeric-hovered-bg: $input-hovered-bg !default;
7
- $numeric-hovered-text: $input-hovered-text !default;
8
- $numeric-hovered-border: $input-hovered-border !default;
9
-
10
- $numeric-focused-bg: $input-focused-bg !default;
11
- $numeric-focused-text: $input-focused-text !default;
12
- $numeric-focused-border: $input-focused-border !default;
13
- $numeric-focused-shadow: $input-focused-shadow !default;
14
-
15
- $numeric-button-bg: $button-bg !default;
16
- $numeric-button-text: $button-text !default;
17
- $numeric-button-border: $button-border !default;
18
- $numeric-button-gradient: $button-gradient !default;
19
-
20
- $numeric-button-hovered-bg: $button-hovered-bg !default;
21
- $numeric-button-hovered-text: $button-hovered-text !default;
22
- $numeric-button-hovered-border: $button-hovered-border !default;
23
- $numeric-button-hovered-gradient: $button-hovered-gradient !default;
24
-
25
- $numeric-button-pressed-bg: $button-active-bg !default;
26
- $numeric-button-pressed-text: $button-active-text !default;
27
- $numeric-button-pressed-border: $button-active-border !default;
28
- $numeric-button-pressed-gradient: $button-active-gradient !default;
@@ -40,10 +40,10 @@ $orgchart-card-shadow: $card-shadow !default;
40
40
  $orgchart-card-focus-shadow: $card-focus-shadow !default;
41
41
 
42
42
  $orgchart-card-title-margin-bottom: 0px !default;
43
- $orgchart-card-title-font-size: $font-size-lg !default;
43
+ $orgchart-card-title-font-size: null !default;
44
44
 
45
45
  $orgchart-card-subtitle-margin-bottom: 0px !default;
46
- $orgchart-card-subtitle-font-size: $font-size !default;
46
+ $orgchart-card-subtitle-font-size: null !default;
47
47
 
48
48
  $orgchart-card-body-border-width: 2px 0 0 !default;
49
49
  $orgchart-card-body-border-color: transparent !default;
@@ -62,5 +62,5 @@ $pager-number-focus-opacity: .12 !default;
62
62
  $pager-number-focus-bg: transparent !default;
63
63
  $pager-number-focus-shadow: inset 0 0 0 2px rgba($pager-number-selected-bg, $pager-number-focus-opacity) !default;
64
64
 
65
- $pager-input-width: 3em !default;
65
+ $pager-input-width: 5em !default;
66
66
  $pager-dropdown-width: 5em !default;
@@ -86,51 +86,42 @@
86
86
 
87
87
  // Search
88
88
  .k-pdf-viewer-search-dialog {
89
- padding: $pdf-viewer-search-dialog-spacing;
89
+ padding: $pdf-viewer-search-dialog-padding;
90
90
 
91
91
  .k-search-container {
92
92
  display: flex;
93
+ gap: $pdf-viewer-search-dialog-spacing;
94
+ flex-flow: row nowrap;
93
95
  flex: 0 0 auto;
94
96
  justify-content: flex-start;
95
97
  align-items: center;
96
98
 
97
- .k-textbox {
98
- display: inline-flex;
99
- padding-right: $pdf-viewer-search-dialog-textbox-padding-x;
100
- margin: 0 $pdf-viewer-search-dialog-spacing;
101
- align-items: center;
102
- background: none;
99
+ .k-search-dialog-draghandle {
100
+ cursor: move;
101
+ margin-left: 0;
103
102
  }
104
- .k-textbox .k-icon {
105
- position: absolute;
106
- font-size: inherit;
107
103
 
108
- .k-ie & {
109
- position: relative;
110
- }
111
- }
104
+ .k-textbox {
105
+ width: 10em;
106
+ flex: none;
112
107
 
113
- .k-match-case-button {
114
- display: inline-flex;
115
- height: $pdf-viewer-search-dialog-input-button-height;
116
- justify-content: center;
108
+ .k-button {
109
+ border-width: 0;
110
+ }
117
111
  }
118
112
 
119
113
  .k-search-matches {
120
- display: inline-block;
121
- min-width: $pdf-viewer-search-dialog-matches-width;
122
- margin: 0 $pdf-viewer-search-dialog-spacing 0 $pdf-viewer-search-dialog-button-spacing;
123
- vertical-align: middle;
114
+ flex: 1 1 auto;
124
115
  }
116
+ }
117
+ }
125
118
 
126
- > .k-button {
127
- margin-left: $pdf-viewer-search-dialog-button-spacing;
128
- }
129
119
 
130
- .k-search-dialog-draghandle {
131
- cursor: move;
132
- margin-left: 0;
133
- }
120
+ // IE
121
+ .k-ie .k-pdf-viewer-search-dialog {
122
+
123
+ .k-search-container > * + * {
124
+ margin-left: $pdf-viewer-search-dialog-spacing;
134
125
  }
135
126
  }
136
127
 
@@ -24,11 +24,8 @@ $pdf-viewer-page-text: $component-text !default;
24
24
  $pdf-viewer-page-border: $component-border !default;
25
25
  $pdf-viewer-page-shadow: 0 0 ($pdf-viewer-page-spacing / 2) $pdf-viewer-page-border !default;
26
26
 
27
- $pdf-viewer-search-dialog-spacing: $toolbar-padding-x !default;
28
- $pdf-viewer-search-dialog-button-spacing: $pdf-viewer-search-dialog-spacing !default;
29
- $pdf-viewer-search-dialog-textbox-padding-x: $input-padding-y !default;
30
- $pdf-viewer-search-dialog-input-button-height: $line-height-em !default;
31
- $pdf-viewer-search-dialog-matches-width: 4.5em !default;
27
+ $pdf-viewer-search-dialog-padding: $toolbar-padding-x !default;
28
+ $pdf-viewer-search-dialog-spacing: $toolbar-spacing !default;
32
29
 
33
30
  $pdf-viewer-selection-line-height: $line-height-sm !default;
34
31