@progress/kendo-theme-default 7.1.0-dev.0 → 7.1.0-dev.10

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 (95) hide show
  1. package/dist/all.css +314 -40
  2. package/dist/all.scss +1942 -599
  3. package/dist/meta/sassdoc-data.json +4494 -2868
  4. package/dist/meta/sassdoc-raw-data.json +1681 -931
  5. package/dist/meta/variables.json +331 -159
  6. package/lib/swatches/default-blue.json +1 -1
  7. package/lib/swatches/default-dataviz-v4.json +1 -1
  8. package/lib/swatches/default-green.json +1 -1
  9. package/lib/swatches/default-main-dark.json +1 -1
  10. package/lib/swatches/default-main.json +1 -1
  11. package/lib/swatches/default-nordic.json +1 -1
  12. package/lib/swatches/default-ocean-blue-a11y.json +1 -1
  13. package/lib/swatches/default-ocean-blue.json +1 -1
  14. package/lib/swatches/default-orange.json +1 -1
  15. package/lib/swatches/default-purple.json +1 -1
  16. package/lib/swatches/default-turquoise.json +1 -1
  17. package/lib/swatches/default-urban.json +1 -1
  18. package/package.json +5 -5
  19. package/scss/_variables.scss +1 -209
  20. package/scss/adaptive/_variables.scss +1 -1
  21. package/scss/appbar/_theme.scss +1 -1
  22. package/scss/appbar/_variables.scss +2 -2
  23. package/scss/avatar/_theme.scss +1 -1
  24. package/scss/badge/_theme.scss +1 -1
  25. package/scss/bottom-navigation/_theme.scss +5 -5
  26. package/scss/button/_theme.scss +74 -30
  27. package/scss/button/_variables.scss +10 -10
  28. package/scss/calendar/_theme.scss +1 -1
  29. package/scss/card/_layout.scss +4 -0
  30. package/scss/card/_theme.scss +3 -3
  31. package/scss/chat/_variables.scss +1 -1
  32. package/scss/checkbox/_variables.scss +2 -2
  33. package/scss/chip/_theme.scss +24 -22
  34. package/scss/chip/_variables.scss +5 -5
  35. package/scss/common/_indicators.scss +0 -2
  36. package/scss/core/_index.scss +6 -0
  37. package/scss/core/color-system/_palettes.scss +256 -0
  38. package/scss/core/color-system/_swatch-legacy.scss +62 -0
  39. package/scss/core/color-system/_swatch.scss +397 -0
  40. package/scss/dataviz/_layout.scss +2 -2
  41. package/scss/dataviz/_variables.scss +42 -42
  42. package/scss/dialog/_theme.scss +1 -1
  43. package/scss/dock-manager/_variables.scss +1 -1
  44. package/scss/drawer/_layout.scss +1 -0
  45. package/scss/dropdowntree/_layout.scss +16 -0
  46. package/scss/dropzone/_variables.scss +1 -1
  47. package/scss/editor/_variables.scss +1 -1
  48. package/scss/fab/_theme.scss +15 -15
  49. package/scss/filemanager/_layout.scss +5 -0
  50. package/scss/filemanager/_variables.scss +2 -2
  51. package/scss/forms/_variables.scss +1 -1
  52. package/scss/gantt/_layout.scss +13 -5
  53. package/scss/gantt/_variables.scss +10 -10
  54. package/scss/grid/_layout.scss +10 -0
  55. package/scss/grid/_theme.scss +54 -6
  56. package/scss/grid/_variables.scss +10 -7
  57. package/scss/index.scss +2 -0
  58. package/scss/input/_layout.scss +39 -8
  59. package/scss/input/_theme.scss +139 -0
  60. package/scss/input/_variables.scss +30 -9
  61. package/scss/list/_theme.scss +1 -1
  62. package/scss/listview/_variables.scss +1 -1
  63. package/scss/map/_variables.scss +1 -1
  64. package/scss/mediaplayer/_theme.scss +1 -1
  65. package/scss/mediaplayer/_variables.scss +1 -1
  66. package/scss/messagebox/_theme.scss +13 -5
  67. package/scss/notification/_layout.scss +4 -9
  68. package/scss/notification/_variables.scss +5 -1
  69. package/scss/panelbar/_variables.scss +4 -4
  70. package/scss/pivotgrid/_variables.scss +5 -5
  71. package/scss/progressbar/_theme.scss +1 -1
  72. package/scss/progressbar/_variables.scss +3 -3
  73. package/scss/prompt/_index.scss +37 -0
  74. package/scss/prompt/_layout.scss +70 -0
  75. package/scss/prompt/_theme.scss +41 -0
  76. package/scss/prompt/_variables.scss +66 -0
  77. package/scss/scheduler/_theme.scss +3 -3
  78. package/scss/scheduler/_variables.scss +4 -4
  79. package/scss/signature/_variables.scss +1 -1
  80. package/scss/skeleton/_variables.scss +2 -5
  81. package/scss/slider/_variables.scss +6 -6
  82. package/scss/splitter/_variables.scss +1 -1
  83. package/scss/spreadsheet/_variables.scss +4 -4
  84. package/scss/stepper/_layout.scss +11 -0
  85. package/scss/stepper/_theme.scss +51 -15
  86. package/scss/stepper/_variables.scss +8 -8
  87. package/scss/switch/_theme.scss +2 -2
  88. package/scss/switch/_variables.scss +4 -4
  89. package/scss/table/_variables.scss +3 -4
  90. package/scss/taskboard/_variables.scss +7 -7
  91. package/scss/timeline/_layout.scss +0 -4
  92. package/scss/timeline/_variables.scss +4 -4
  93. package/scss/tooltip/_variables.scss +4 -4
  94. package/scss/window/_theme.scss +1 -1
  95. package/scss/core/color-system/index.import.scss +0 -1
@@ -7,7 +7,7 @@
7
7
  outline: $kendo-fab-border-width $kendo-fab-outline-style $color;
8
8
  outline-offset: -$kendo-fab-border-width;
9
9
  border-color: $color;
10
- color: k-contrast-legacy( $color );
10
+ color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color ));
11
11
  background-color: $color;
12
12
  }
13
13
  }
@@ -16,8 +16,8 @@
16
16
  @each $name, $color in $kendo-fab-theme-colors {
17
17
  .k-hover.k-fab-solid-#{$name},
18
18
  .k-fab-solid-#{$name}:hover {
19
- border-color: k-try-shade( $color, .5 );
20
- background-color: k-try-shade( $color, .5 );
19
+ border-color: if($kendo-enable-color-system, k-color( #{$name}-hover ), k-try-shade( $color, .5 ));
20
+ background-color: if($kendo-enable-color-system, k-color( #{$name}-hover ), k-try-shade( $color, .5 ));
21
21
  }
22
22
  }
23
23
 
@@ -28,7 +28,7 @@
28
28
  @if $kendo-enable-focus-contrast {
29
29
  @include box-shadow( inset 0 0 0 2px currentColor );
30
30
  } @else {
31
- outline: $kendo-fab-outline-style $kendo-fab-outline-width rgba( $color, .3 );
31
+ outline: $kendo-fab-outline-style $kendo-fab-outline-width if($kendo-enable-color-system, rgba( k-color( $name, true ), .3 ), rgba( $color, .3 ));
32
32
  }
33
33
  }
34
34
  }
@@ -39,8 +39,8 @@
39
39
  .k-selected.k-fab-solid-#{$name},
40
40
  .k-fab-solid-#{$name}:active {
41
41
  @include box-shadow($kendo-fab-active-shadow);
42
- border-color: k-try-shade( $color, 1.5);
43
- background-color: k-try-shade( $color, 1.5);
42
+ border-color: if($kendo-enable-color-system, k-color( #{$name}-active ), k-try-shade( $color, 1.5));
43
+ background-color: if($kendo-enable-color-system, k-color( #{$name}-active ), k-try-shade( $color, 1.5));
44
44
  }
45
45
  }
46
46
 
@@ -49,8 +49,8 @@
49
49
  .k-disabled.k-fab-solid-#{$name},
50
50
  .k-fab-solid-#{$name}:disabled {
51
51
  @include box-shadow($kendo-fab-disabled-shadow);
52
- background-color: k-try-tint( $color, 5 );
53
- color: k-try-tint( k-contrast-legacy( $color ), 5 );
52
+ background-color: if($kendo-enable-color-system, rgba( k-color( $name, true ), .6 ), k-try-tint( $color, 5 ));
53
+ color: if($kendo-enable-color-system, rgba( k-color( on-#{$name}, true ), .6 ), k-try-tint( k-contrast-legacy( $color ), 5 ));
54
54
  opacity: 1;
55
55
  }
56
56
  }
@@ -79,8 +79,8 @@
79
79
  // Hover state
80
80
  .k-fab-item.k-hover .k-fab-item-icon,
81
81
  .k-fab-item:hover .k-fab-item-icon {
82
- border-color: k-try-shade( $kendo-fab-item-icon-border, .5 );
83
- background-color: k-try-shade( $kendo-fab-item-icon-bg, .5 );
82
+ border-color: if($kendo-enable-color-system, k-color( border ), k-try-shade( $kendo-fab-item-icon-border, .5 ));
83
+ background-color: if($kendo-enable-color-system, k-color( base-hover ), k-try-shade( $kendo-fab-item-icon-bg, .5 ));
84
84
  }
85
85
 
86
86
  // Focus state
@@ -89,7 +89,7 @@
89
89
  .k-fab-item.k-focus .k-fab-item-text,
90
90
  .k-fab-item.k-focus .k-fab-item-icon {
91
91
  @if $kendo-enable-focus-contrast {
92
- @include box-shadow( inset 0 0 0 2px if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ) );
92
+ @include box-shadow( inset 0 0 0 2px if($kendo-enable-color-system, k-color( on-app-surface, true ), if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black )) );
93
93
  } @else {
94
94
  outline: $kendo-fab-item-outline-style $kendo-fab-item-outline-width $kendo-fab-item-outline-color;
95
95
  }
@@ -99,8 +99,8 @@
99
99
  .k-fab-item.k-active .k-fab-item-icon,
100
100
  .k-fab-item:active .k-fab-item-icon {
101
101
  @include box-shadow($kendo-fab-item-active-shadow);
102
- border-color: k-try-shade( $kendo-fab-item-icon-border, 1);
103
- background-color: k-try-shade( $kendo-fab-item-icon-bg, 1);
102
+ border-color: if($kendo-enable-color-system, k-color( border-alt ), k-try-shade( $kendo-fab-item-icon-border, 1 ));
103
+ background-color: if($kendo-enable-color-system, k-color( base-active ), k-try-shade( $kendo-fab-item-icon-bg, 1 ));
104
104
  }
105
105
 
106
106
  // Disabled state
@@ -111,8 +111,8 @@
111
111
  .k-fab-item-text,
112
112
  .k-fab-item-icon {
113
113
  @include box-shadow($kendo-fab-item-disabled-shadow);
114
- background-color: k-try-tint( $kendo-fab-item-bg, 5 );
115
- color: k-try-tint( $kendo-fab-item-text, 5 );
114
+ background-color: if($kendo-enable-color-system, rgba( k-color( base, true ), .6 ), k-try-tint( $kendo-fab-item-bg, 5 ));
115
+ color: if($kendo-enable-color-system, rgba( k-color( on-base, true ), .6 ), k-try-tint( $kendo-fab-item-text, 5 ));
116
116
  }
117
117
  }
118
118
 
@@ -22,6 +22,7 @@
22
22
  border-bottom-width: $kendo-file-manager-toolbar-border-width;
23
23
  border-color: inherit;
24
24
  flex-shrink: 0;
25
+ z-index: 1;
25
26
  }
26
27
 
27
28
 
@@ -36,6 +37,10 @@
36
37
  overflow: hidden;
37
38
  }
38
39
 
40
+ .k-filemanager-splitter {
41
+ border-width: 0;
42
+ }
43
+
39
44
 
40
45
  // Navigation
41
46
  .k-filemanager-navigation {
@@ -119,7 +119,7 @@ $kendo-file-manager-listview-item-border: null !default;
119
119
  $kendo-file-manager-listview-item-icon-bg: null !default;
120
120
  /// The text color of the FileManager ListView item icon.
121
121
  /// @group filemanager
122
- $kendo-file-manager-listview-item-icon-text: k-try-tint($kendo-file-manager-text, 4) !default;
122
+ $kendo-file-manager-listview-item-icon-text: if($kendo-enable-color-system, k-color( subtle ), k-try-tint($kendo-file-manager-text, 4)) !default;
123
123
  /// The border color of the FileManager ListView item icon.
124
124
  /// @group filemanager
125
125
  $kendo-file-manager-listview-item-icon-border: null !default;
@@ -176,7 +176,7 @@ $kendo-file-manager-preview-border: null !default;
176
176
  $kendo-file-manager-preview-icon-bg: null !default;
177
177
  /// The text color of the FileManager preview icon.
178
178
  /// @group filemanager
179
- $kendo-file-manager-preview-icon-text: k-try-tint($kendo-file-manager-text, 4) !default;
179
+ $kendo-file-manager-preview-icon-text: if($kendo-enable-color-system, k-color( subtle ), k-try-tint($kendo-file-manager-text, 4)) !default;
180
180
  /// The border color of the FileManager preview icon.
181
181
  /// @group filemanager
182
182
  $kendo-file-manager-preview-icon-border: null !default;
@@ -151,7 +151,7 @@ $kendo-fieldset-border: null !default;
151
151
  $kendo-fieldset-legend-bg: null !default;
152
152
  /// The text color of the Form legend.
153
153
  /// @group form
154
- $kendo-fieldset-legend-text: k-try-shade( $kendo-body-text, 2 ) !default;
154
+ $kendo-fieldset-legend-text: if($kendo-enable-color-system, k-color( on-app-surface ), k-try-shade( $kendo-body-text, 2 )) !default;
155
155
  /// The border color of the Form legend.
156
156
  /// @group form
157
157
  $kendo-fieldset-legend-border: null !default;
@@ -291,12 +291,20 @@
291
291
 
292
292
 
293
293
  // Timeline
294
- .k-gantt-timeline {
294
+ .k-gantt-timeline-pane {
295
295
 
296
- .k-timeline {
296
+ .k-gantt-timeline {
297
297
  height: 100%;
298
298
  border-width: 0;
299
299
  display: flex;
300
+
301
+ *,
302
+ *::before,
303
+ *::after,
304
+ &::before,
305
+ &::after {
306
+ box-sizing: border-box;
307
+ }
300
308
  }
301
309
  .k-grid-header {}
302
310
  .k-grid-content {
@@ -772,7 +780,7 @@
772
780
  }
773
781
 
774
782
  .k-gantt,
775
- .k-gantt-timeline,
783
+ .k-gantt-timeline-pane,
776
784
  .k-gantt-dependencies {
777
785
  width: auto !important; // stylelint-disable-line declaration-no-important
778
786
  height: auto !important; // stylelint-disable-line declaration-no-important
@@ -817,7 +825,7 @@
817
825
  margin-inline: -26px;
818
826
  }
819
827
 
820
- .k-gantt-timeline {
828
+ .k-gantt-timeline-pane {
821
829
  .k-header {
822
830
  border-width: 0 $kendo-grid-cell-vertical-border-width 1px 0;
823
831
  }
@@ -877,7 +885,7 @@
877
885
  margin-right: $kendo-gantt-rtl-milestone-planned-moment-margin-x;
878
886
  }
879
887
 
880
- .k-gantt-timeline .k-milestone-wrap .k-task-start {
888
+ .k-gantt-timeline-pane .k-milestone-wrap .k-task-start {
881
889
  right: $kendo-gantt-rtl-milestone-dot-start-margin-x;
882
890
  }
883
891
 
@@ -16,12 +16,12 @@ $kendo-gantt-treelist-bg: null !default;
16
16
  $kendo-gantt-treelist-text: null !default;
17
17
  $kendo-gantt-treelist-border: null !default;
18
18
 
19
- $kendo-gantt-nonwork-bg: rgba( k-contrast-legacy( $kendo-gantt-bg ), .025 ) !default;
19
+ $kendo-gantt-nonwork-bg: if($kendo-enable-color-system, rgba( k-color( on-base, true ), .03 ), rgba( k-contrast-legacy( $kendo-gantt-bg ), .025 )) !default;
20
20
  $kendo-gantt-nonwork-text: null !default;
21
21
  $kendo-gantt-nonwork-border: null !default;
22
22
 
23
23
  $kendo-gantt-line-size: 2px !default;
24
- $kendo-gantt-line-fill: k-contrast-legacy( $kendo-gantt-bg ) !default;
24
+ $kendo-gantt-line-fill: if($kendo-enable-color-system, k-color( on-base ), k-contrast-legacy( $kendo-gantt-bg )) !default;
25
25
  $kendo-gantt-line-selected-fill: $kendo-color-primary !default;
26
26
 
27
27
  $kendo-gantt-dot-size: 8px !default;
@@ -36,19 +36,19 @@ $kendo-gantt-milestone-border: $kendo-gantt-border !default;
36
36
  $kendo-gantt-milestone-selected-bg: $kendo-selected-bg !default;
37
37
  $kendo-gantt-milestone-selected-border: $kendo-selected-border !default;
38
38
 
39
- $kendo-gantt-summary-bg: k-try-tint( $kendo-gantt-text, 1 ) !default;
40
- $kendo-gantt-summary-progress-bg: k-try-shade( $kendo-gantt-text, 5 ) !default;
41
- $kendo-gantt-summary-selected-bg: k-try-tint( $kendo-selected-bg, 6 ) !default;
39
+ $kendo-gantt-summary-bg: if($kendo-enable-color-system, k-color( subtle ), k-try-tint( $kendo-gantt-text, 1 )) !default;
40
+ $kendo-gantt-summary-progress-bg: if($kendo-enable-color-system, k-color( on-base ), k-try-shade( $kendo-gantt-text, 5 )) !default;
41
+ $kendo-gantt-summary-selected-bg: if($kendo-enable-color-system, k-color( primary-subtle-active ), k-try-tint( $kendo-selected-bg, 6 )) !default;
42
42
  $kendo-gantt-summary-progress-selected-bg: $kendo-selected-bg !default;
43
43
 
44
44
  $kendo-gantt-task-border-width: 0px !default;
45
45
  $kendo-gantt-task-padding-x: k-map-get( $kendo-spacing, 2 ) !default;
46
46
  $kendo-gantt-task-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
47
- $kendo-gantt-task-bg: k-try-tint( $kendo-gantt-text, 2 ) !default;
48
- $kendo-gantt-task-text: k-contrast-legacy( $kendo-gantt-text ) !default;
47
+ $kendo-gantt-task-bg: if($kendo-enable-color-system, k-color( subtle ), k-try-tint( $kendo-gantt-text, 2 )) !default;
48
+ $kendo-gantt-task-text: if($kendo-enable-color-system, k-color( base ), k-contrast-legacy( $kendo-gantt-text )) !default;
49
49
  $kendo-gantt-task-border: null !default;
50
50
  $kendo-gantt-task-progress-bg: $kendo-gantt-text !default;
51
- $kendo-gantt-task-selected-bg: k-try-tint( $kendo-selected-bg, 6 ) !default;
51
+ $kendo-gantt-task-selected-bg: if($kendo-enable-color-system, k-color( primary-subtle-active ), k-try-tint( $kendo-selected-bg, 6 )) !default;
52
52
  $kendo-gantt-task-selected-text: $kendo-selected-text !default;
53
53
  $kendo-gantt-task-selected-border: null !default;
54
54
  $kendo-gantt-task-progress-selected-bg: $kendo-selected-bg !default;
@@ -82,10 +82,10 @@ $kendo-gantt-planned-bg: $kendo-color-primary !default;
82
82
  $kendo-gantt-planned-border: $kendo-gantt-planned-bg !default;
83
83
 
84
84
  $kendo-gantt-delayed-bg: $kendo-color-error !default;
85
- $kendo-gantt-delayed-bg-lighter: k-color-tint($kendo-gantt-delayed-bg, 5) !default;
85
+ $kendo-gantt-delayed-bg-lighter: if($kendo-enable-color-system, k-color( error-emphasis ), k-color-tint($kendo-gantt-delayed-bg, 5)) !default;
86
86
 
87
87
  $kendo-gantt-advanced-bg: $kendo-color-success !default;
88
- $kendo-gantt-advanced-bg-lighter: k-color-tint($kendo-gantt-advanced-bg, 5) !default;
88
+ $kendo-gantt-advanced-bg-lighter: if($kendo-enable-color-system, k-color( success-emphasis ), k-color-tint($kendo-gantt-advanced-bg, 5)) !default;
89
89
 
90
90
  $kendo-gantt-action-on-offset-text: #000000 !default;
91
91
  $kendo-gantt-offset-resize-handler-top: 50% !default;
@@ -778,6 +778,16 @@
778
778
  }
779
779
  }
780
780
 
781
+ .k-master-row .k-grid-content-sticky::before {
782
+ content: "";
783
+ width: 100%;
784
+ height: 100%;
785
+ position: absolute;
786
+ top: 0;
787
+ left: 0;
788
+ z-index: -1;
789
+ }
790
+
781
791
  kendo-grid {
782
792
  .k-table-row.k-grid-row-sticky {
783
793
  border: 0;
@@ -270,14 +270,30 @@
270
270
  &.k-table-row.k-selected .k-table-td.k-grid-row-sticky,
271
271
  &.k-table-row td.k-grid-content-sticky.k-selected,
272
272
  &.k-table-row .k-table-td.k-grid-content-sticky.k-selected {
273
- @include fill( $bg: $kendo-grid-sticky-selected-bg );
273
+ @if($kendo-enable-color-system) {
274
+ @include fill( $bg: $kendo-grid-sticky-bg );
275
+
276
+ &::before {
277
+ @include fill( $bg: $kendo-grid-sticky-selected-bg );
278
+ }
279
+ } @else {
280
+ @include fill( $bg: $kendo-grid-sticky-selected-bg );
281
+ }
274
282
  }
275
283
 
276
284
  &.k-selected.k-table-alt-row td.k-grid-content-sticky,
277
285
  &.k-selected.k-table-alt-row .k-table-td.k-grid-row-sticky,
278
286
  &.k-table-alt-row td.k-grid-content-sticky.k-selected,
279
287
  &.k-table-alt-row .k-table-td.k-grid-content-sticky.k-selected {
280
- @include fill( $bg: $kendo-grid-sticky-selected-alt-bg );
288
+ @if($kendo-enable-color-system) {
289
+ @include fill( $bg: $kendo-grid-sticky-alt-bg );
290
+
291
+ &::before {
292
+ @include fill( $bg: $kendo-grid-sticky-selected-alt-bg );
293
+ }
294
+ } @else {
295
+ @include fill( $bg: $kendo-grid-sticky-selected-alt-bg );
296
+ }
281
297
  }
282
298
 
283
299
 
@@ -299,7 +315,15 @@
299
315
  &.k-hover td.k-grid-content-sticky.k-selected,
300
316
  &:hover .k-table-td.k-grid-content-sticky.k-selected,
301
317
  &.k-hover .k-table-td.k-grid-content-sticky.k-selected {
302
- background-color: $kendo-grid-sticky-selected-hover-bg;
318
+ @if($kendo-enable-color-system) {
319
+ background-color: $kendo-grid-sticky-hover-bg;
320
+
321
+ &::before {
322
+ background-color: $kendo-grid-sticky-selected-hover-bg;
323
+ }
324
+ } @else {
325
+ background-color: $kendo-grid-sticky-selected-hover-bg;
326
+ }
303
327
  }
304
328
  }
305
329
 
@@ -345,14 +369,30 @@
345
369
  .k-selected.k-grid-row-sticky .k-table-td,
346
370
  .k-grid-row-sticky .k-table-td.k-selected,
347
371
  .k-selected.k-grid-content-sticky {
348
- @include fill( $bg: $kendo-grid-sticky-selected-bg );
372
+ @if($kendo-enable-color-system) {
373
+ @include fill( $bg: $kendo-grid-sticky-bg );
374
+
375
+ &::before {
376
+ @include fill( $bg: $kendo-grid-sticky-selected-bg );
377
+ }
378
+ } @else {
379
+ @include fill( $bg: $kendo-grid-sticky-selected-bg );
380
+ }
349
381
  }
350
382
 
351
383
  .k-table-row.k-selected.k-table-alt-row .k-grid-content-sticky,
352
384
  .k-selected.k-table-alt-row.k-grid-row-sticky td,
353
385
  .k-selected.k-table-alt-row.k-grid-row-sticky .k-table-td,
354
386
  .k-table-alt-row .k-selected.k-grid-content-sticky {
355
- @include fill( $bg: $kendo-grid-sticky-selected-alt-bg );
387
+ @if($kendo-enable-color-system) {
388
+ @include fill( $bg: $kendo-grid-sticky-alt-bg );
389
+
390
+ &::before {
391
+ @include fill( $bg: $kendo-grid-sticky-selected-alt-bg );
392
+ }
393
+ } @else {
394
+ @include fill( $bg: $kendo-grid-sticky-selected-alt-bg );
395
+ }
356
396
  }
357
397
 
358
398
  // Hover state
@@ -390,7 +430,15 @@
390
430
  .k-grid-row-sticky.k-hover .k-table-td.k-selected,
391
431
  .k-table-row:hover .k-grid-content-sticky.k-selected,
392
432
  .k-table-row.k-hover .k-grid-content-sticky.k-selected {
393
- background-color: $kendo-grid-sticky-selected-hover-bg;
433
+ @if($kendo-enable-color-system) {
434
+ background-color: $kendo-grid-sticky-hover-bg;
435
+
436
+ &::before {
437
+ background-color: $kendo-grid-sticky-selected-hover-bg;
438
+ }
439
+ } @else {
440
+ background-color: $kendo-grid-sticky-selected-hover-bg;
441
+ }
394
442
  }
395
443
  }
396
444
 
@@ -222,7 +222,7 @@ $kendo-grid-grouping-row-bg: $kendo-base-bg !default;
222
222
  $kendo-grid-grouping-row-text: $kendo-grid-text !default;
223
223
 
224
224
  $kendo-grid-sorted-icon-spacing: calc( #{$kendo-padding-md-x} - 1px ) !default;
225
- $kendo-grid-sorted-bg: rgba( k-contrast-legacy( $kendo-grid-bg ), .02 ) !default;
225
+ $kendo-grid-sorted-bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .03 ), rgba( k-contrast-legacy( $kendo-grid-bg ), .02 )) !default;
226
226
  $kendo-grid-sorting-indicator-text: $kendo-color-primary !default;
227
227
  $kendo-grid-sorting-index-font-size: $kendo-font-size-sm !default;
228
228
  $kendo-grid-sorting-index-height: $kendo-icon-size !default;
@@ -236,11 +236,13 @@ $kendo-grid-command-cell-button-spacing: k-map-get( $kendo-spacing, 2 ) !default
236
236
  // be cautious when changing the next line; see https://github.com/MoOx/reduce-css-calc/issues/38
237
237
  $kendo-grid-command-cell-padding-y: calc( #{$kendo-grid-cell-padding-y} - (#{$kendo-button-calc-size} - #{$kendo-line-height-em}) / 2 ) !default;
238
238
 
239
+ // Must be a solid color
239
240
  $kendo-grid-sticky-bg: $kendo-component-bg !default;
240
241
  $kendo-grid-sticky-text: $kendo-grid-text !default;
241
242
  $kendo-grid-sticky-border: rgba( black, .3 ) !default;
242
243
 
243
- $kendo-grid-sticky-alt-bg: k-color-shade($kendo-grid-bg, 3.5%) !default;
244
+ // Must be a solid color
245
+ $kendo-grid-sticky-alt-bg: if($kendo-enable-color-system, k-color( base ), k-color-shade($kendo-grid-bg, 3.5%)) !default;
244
246
 
245
247
  $kendo-grid-sticky-header-bg: $kendo-grid-header-bg !default;
246
248
  $kendo-grid-sticky-header-text: $kendo-grid-header-text !default;
@@ -249,11 +251,12 @@ $kendo-grid-sticky-header-border: $kendo-grid-sticky-border !default;
249
251
  $kendo-grid-sticky-footer-bg: $kendo-grid-header-bg !default;
250
252
  $kendo-grid-sticky-footer-hover-bg: $kendo-grid-hover-bg !default;
251
253
 
252
- $kendo-grid-sticky-selected-bg: k-color-mix($kendo-selected-bg, #ffffff, 25%) !default;
253
- $kendo-grid-sticky-selected-alt-bg: k-color-shade($kendo-grid-sticky-selected-bg, .4) !default;
254
+ $kendo-grid-sticky-selected-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .25 ), k-color-mix($kendo-selected-bg, #ffffff, 25%)) !default;
255
+ $kendo-grid-sticky-selected-alt-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .24 ), k-color-shade($kendo-grid-sticky-selected-bg, .4)) !default;
254
256
 
255
- $kendo-grid-sticky-hover-bg: k-color-darken($kendo-grid-bg, 8%) !default;
256
- $kendo-grid-sticky-selected-hover-bg: k-color-shade($kendo-grid-sticky-selected-bg, .7) !default;
257
+ // Must be a solid color
258
+ $kendo-grid-sticky-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-color-darken($kendo-grid-bg, 8%)) !default;
259
+ $kendo-grid-sticky-selected-hover-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .24 ), k-color-shade($kendo-grid-sticky-selected-bg, .7)) !default;
257
260
 
258
261
  $kendo-grid-column-menu-width: 230px !default;
259
262
  $kendo-grid-column-menu-max-width: 320px !default;
@@ -304,7 +307,7 @@ $kendo-grid-group-footer-second-cell-border: 1px !default;
304
307
 
305
308
  /// Background color of the grid row resize indicator
306
309
  /// @group grid
307
- $kendo-grid-row-resizer-hover-bg: rgba( k-contrast-color( $kendo-grid-bg ), .12 ) !default;
310
+ $kendo-grid-row-resizer-hover-bg: if($kendo-enable-color-system, rgba( k-color( on-base, true ), .2 ), rgba( k-contrast-color( $kendo-grid-bg ), .12 )) !default;
308
311
  /// Active background color of the grid row resize indicator
309
312
  /// @group grid
310
313
  $kendo-grid-row-resizer-active-bg: $kendo-color-primary !default;
package/scss/index.scss CHANGED
@@ -152,6 +152,7 @@
152
152
  @import "./pdf-viewer/_index.scss";
153
153
  @import "./scroller/_index.scss";
154
154
  @import "./scrollview/_index.scss";
155
+ @import "./prompt/_index.scss";
155
156
 
156
157
 
157
158
  // Dataviz
@@ -323,6 +324,7 @@
323
324
  @include kendo-pdf-viewer--styles();
324
325
  @include kendo-scroller--styles();
325
326
  @include kendo-scrollview--styles();
327
+ @include kendo-prompt--styles();
326
328
 
327
329
 
328
330
  // Dataviz
@@ -190,12 +190,20 @@
190
190
  .k-input-suffix {
191
191
  border-color: inherit;
192
192
  display: flex;
193
- flex-flow: row nowrap;
194
193
  align-items: center;
195
194
  flex: none;
196
195
 
197
196
  > * {
198
197
  flex-shrink: 0;
198
+ border: none;
199
+ }
200
+
201
+ &-vertical {
202
+ flex-flow: column wrap;
203
+ }
204
+
205
+ &-horizontal {
206
+ flex-flow: row wrap;
199
207
  }
200
208
  }
201
209
 
@@ -203,21 +211,32 @@
203
211
  // Input separator
204
212
  .k-input-separator {
205
213
  margin: 0;
206
- width: 0;
207
- height: $kendo-icon-size;
208
- border-width: 0 0 0 1px;
209
214
  border-style: solid;
210
215
  border-color: inherit;
216
+ border-width: 0 0 0 1px;
217
+ height: $kendo-icon-size;
211
218
  align-self: center;
219
+
220
+ &-horizontal {
221
+ height: auto;
222
+ margin-inline: $kendo-input-md-padding-y;
223
+ align-self: stretch;
224
+ border-width: 1px 0 0;
225
+ }
226
+
227
+ &-vertical {
228
+ height: auto;
229
+ margin-block: $kendo-input-md-padding-y;
230
+ align-self: stretch;
231
+ border-width: 0 0 0 1px;
232
+ }
212
233
  }
213
234
 
214
235
 
215
236
  // Input with icon styles
216
237
  .k-input-icon,
217
238
  .k-input-validation-icon,
218
- .k-input-loading-icon,
219
- .k-input-prefix > .k-icon,
220
- .k-input-suffix > .k-icon {
239
+ .k-input-loading-icon {
221
240
  flex: none;
222
241
  align-self: center;
223
242
  display: inline-flex;
@@ -435,12 +454,24 @@
435
454
  .k-input-loading-icon,
436
455
  .k-clear-value,
437
456
  .k-input-prefix > .k-icon,
438
- .k-input-suffix > .k-icon {
457
+ .k-input-prefix > .k-input-prefix-text,
458
+ .k-input-suffix > .k-icon,
459
+ .k-input-suffix > .k-input-suffix-text {
439
460
  padding-block: $_padding-y;
440
461
  padding-inline: $_padding-y;
441
462
  box-sizing: content-box;
442
463
  }
443
464
 
465
+ .k-input-separator {
466
+ &-horizontal {
467
+ margin-inline: $_padding-y;
468
+ }
469
+
470
+ &-vertical {
471
+ margin-block: $_padding-y;
472
+ }
473
+ }
474
+
444
475
  &.k-icon-picker .k-input-inner {
445
476
  width: calc( #{ $_line-height * 1em } );
446
477
  height: calc( #{ $_line-height * 1em } );