@progress/kendo-theme-default 7.1.0-dev.1 → 7.1.0-dev.11

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 (94) hide show
  1. package/dist/all.css +324 -40
  2. package/dist/all.scss +1945 -597
  3. package/dist/meta/sassdoc-data.json +3702 -2130
  4. package/dist/meta/sassdoc-raw-data.json +1601 -876
  5. package/dist/meta/variables.json +327 -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/floating-label/_layout.scss +11 -11
  52. package/scss/forms/_variables.scss +1 -1
  53. package/scss/gantt/_layout.scss +13 -5
  54. package/scss/gantt/_variables.scss +10 -10
  55. package/scss/grid/_layout.scss +10 -0
  56. package/scss/grid/_theme.scss +54 -6
  57. package/scss/grid/_variables.scss +10 -7
  58. package/scss/index.scss +2 -0
  59. package/scss/input/_layout.scss +39 -8
  60. package/scss/input/_theme.scss +139 -0
  61. package/scss/input/_variables.scss +30 -9
  62. package/scss/list/_theme.scss +1 -1
  63. package/scss/listview/_variables.scss +1 -1
  64. package/scss/map/_variables.scss +1 -1
  65. package/scss/mediaplayer/_theme.scss +1 -1
  66. package/scss/mediaplayer/_variables.scss +1 -1
  67. package/scss/messagebox/_theme.scss +13 -5
  68. package/scss/notification/_variables.scss +1 -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/_variables.scss +4 -4
  92. package/scss/tooltip/_variables.scss +4 -4
  93. package/scss/window/_theme.scss +1 -1
  94. package/scss/core/color-system/index.import.scss +0 -1
@@ -70,6 +70,35 @@
70
70
  }
71
71
  }
72
72
 
73
+ // Valid
74
+ &.k-valid {
75
+ @include fill( $border: $kendo-input-valid-border );
76
+
77
+ .k-input-validation-icon {
78
+ color: $kendo-valid-text;
79
+ }
80
+
81
+ &:focus,
82
+ &.k-focus {
83
+ @include focus-indicator( $kendo-input-valid-shadow );
84
+ }
85
+ &:focus-within {
86
+ @include focus-indicator( $kendo-input-valid-shadow );
87
+ }
88
+ }
89
+
90
+ // Prefix & Suffix
91
+ .k-input-prefix {
92
+ color: $kendo-input-prefix-text;
93
+ }
94
+
95
+ .k-input-suffix {
96
+ color: $kendo-input-suffix-text;
97
+ }
98
+
99
+ .k-input-separator {
100
+ border-color: $kendo-input-separator-text;
101
+ }
73
102
  }
74
103
 
75
104
 
@@ -146,6 +175,23 @@
146
175
  @include focus-indicator( $kendo-input-invalid-shadow );
147
176
  }
148
177
  }
178
+
179
+ // Valid
180
+ &.k-valid {
181
+ @include fill( $border: $kendo-input-valid-border );
182
+
183
+ .k-input-validation-icon {
184
+ color: $kendo-valid-text;
185
+ }
186
+
187
+ &:focus,
188
+ &.k-focus {
189
+ @include focus-indicator( $kendo-input-valid-shadow );
190
+ }
191
+ &:focus-within {
192
+ @include focus-indicator( $kendo-input-valid-shadow );
193
+ }
194
+ }
149
195
  }
150
196
 
151
197
 
@@ -231,6 +277,35 @@
231
277
  }
232
278
  }
233
279
 
280
+ // Valid
281
+ &.k-valid {
282
+ @include fill( $border: $kendo-input-valid-border );
283
+
284
+ .k-input-validation-icon {
285
+ color: $kendo-valid-text;
286
+ }
287
+
288
+ &:focus,
289
+ &.k-focus {
290
+ @include focus-indicator( $kendo-input-valid-shadow );
291
+ }
292
+ &:focus-within {
293
+ @include focus-indicator( $kendo-input-valid-shadow );
294
+ }
295
+ }
296
+
297
+ // Prefix & Suffix
298
+ .k-input-prefix {
299
+ color: $kendo-input-prefix-text;
300
+ }
301
+
302
+ .k-input-suffix {
303
+ color: $kendo-input-suffix-text;
304
+ }
305
+
306
+ .k-input-separator {
307
+ border-color: $kendo-input-separator-text;
308
+ }
234
309
  }
235
310
 
236
311
 
@@ -313,6 +388,23 @@
313
388
  @include focus-indicator( $kendo-input-invalid-shadow );
314
389
  }
315
390
  }
391
+
392
+ // Valid
393
+ &.k-valid {
394
+ @include fill( $border: $kendo-input-valid-border );
395
+
396
+ .k-input-validation-icon {
397
+ color: $kendo-valid-text;
398
+ }
399
+
400
+ &:focus,
401
+ &.k-focus {
402
+ @include focus-indicator( $kendo-input-valid-shadow );
403
+ }
404
+ &:focus-within {
405
+ @include focus-indicator( $kendo-input-valid-shadow );
406
+ }
407
+ }
316
408
  }
317
409
 
318
410
 
@@ -384,6 +476,36 @@
384
476
  @include focus-indicator( $kendo-input-invalid-shadow );
385
477
  }
386
478
  }
479
+
480
+ // Valid
481
+ &.k-valid {
482
+ @include fill( $border: $kendo-input-valid-border );
483
+
484
+ .k-input-validation-icon {
485
+ color: $kendo-valid-text;
486
+ }
487
+
488
+ &:focus,
489
+ &.k-focus {
490
+ @include focus-indicator( $kendo-input-valid-shadow );
491
+ }
492
+ &:focus-within {
493
+ @include focus-indicator( $kendo-input-valid-shadow );
494
+ }
495
+ }
496
+
497
+ // Prefix & Suffix
498
+ .k-input-prefix {
499
+ color: $kendo-input-prefix-text;
500
+ }
501
+
502
+ .k-input-suffix {
503
+ color: $kendo-input-suffix-text;
504
+ }
505
+
506
+ .k-input-separator {
507
+ border-color: $kendo-input-separator-text;
508
+ }
387
509
  }
388
510
 
389
511
 
@@ -466,6 +588,23 @@
466
588
  @include focus-indicator( $kendo-input-invalid-shadow );
467
589
  }
468
590
  }
591
+
592
+ // Valid
593
+ &.k-valid {
594
+ @include fill( $border: $kendo-input-valid-border );
595
+
596
+ .k-input-validation-icon {
597
+ color: $kendo-valid-text;
598
+ }
599
+
600
+ &:focus,
601
+ &.k-focus {
602
+ @include focus-indicator( $kendo-input-valid-shadow );
603
+ }
604
+ &:focus-within {
605
+ @include focus-indicator( $kendo-input-valid-shadow );
606
+ }
607
+ }
469
608
  }
470
609
 
471
610
  }
@@ -118,7 +118,7 @@ $kendo-input-hover-bg: null !default;
118
118
  $kendo-input-hover-text: null !default;
119
119
  /// The border color of the hovered Input components.
120
120
  /// @group input
121
- $kendo-input-hover-border: rgba( $kendo-input-border, .16 ) !default;
121
+ $kendo-input-hover-border: if($kendo-enable-color-system, k-color( border-alt ), rgba( $kendo-input-border, .16 )) !default;
122
122
  /// The shadow of the hovered Input components.
123
123
  /// @group input
124
124
  $kendo-input-hover-shadow: null !default;
@@ -134,7 +134,7 @@ $kendo-input-focus-text: null !default;
134
134
  $kendo-input-focus-border: $kendo-input-hover-border !default;
135
135
  /// The shadow of the focused Input components.
136
136
  /// @group input
137
- $kendo-input-focus-shadow: 0 0 0 2px rgba( $kendo-input-focus-border, .08 ) !default;
137
+ $kendo-input-focus-shadow: 0 0 0 2px if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .08 ), rgba( $kendo-input-focus-border, .08 )) !default;
138
138
 
139
139
  /// The background color of the selected Input components.
140
140
  /// @group input
@@ -167,7 +167,7 @@ $kendo-input-outline-bg: null !default;
167
167
  $kendo-input-outline-text: $kendo-input-text !default;
168
168
  /// The border color of the outline Input components.
169
169
  /// @group input
170
- $kendo-input-outline-border: rgba( $kendo-button-text, .5) !default;
170
+ $kendo-input-outline-border: if($kendo-enable-color-system, rgba( k-color( on-base, true ), .5 ), rgba( $kendo-button-text, .5)) !default;
171
171
 
172
172
  /// The background color of the outline hovered Input components.
173
173
  /// @group input
@@ -177,7 +177,7 @@ $kendo-input-outline-hover-bg: null !default;
177
177
  $kendo-input-outline-hover-text: null !default;
178
178
  /// The border color of the outline hovered Input components.
179
179
  /// @group input
180
- $kendo-input-outline-hover-border: rgba( $kendo-button-text, .8) !default;
180
+ $kendo-input-outline-hover-border: if($kendo-enable-color-system, rgba( k-color( on-base, true ), .8 ), rgba( $kendo-button-text, .8)) !default;
181
181
 
182
182
  /// The background color of the outline focused Input components.
183
183
  /// @group input
@@ -267,11 +267,25 @@ $kendo-input-spinner-icon-offset: null !default;
267
267
 
268
268
  /// The color of the Input separator.
269
269
  /// @group input
270
- $kendo-input-separator-color: $kendo-input-text !default;
270
+ $kendo-input-separator-text: $kendo-input-border !default;
271
271
  /// The opacity of the Input separator.
272
272
  /// @group input
273
273
  $kendo-input-separator-opacity: .5 !default;
274
274
 
275
+ /// The text color of the Input prefix.
276
+ /// @group input
277
+ $kendo-input-prefix-text: $kendo-subtle-text !default;
278
+ /// The text color of the Input suffix.
279
+ /// @group input
280
+ $kendo-input-suffix-text: $kendo-subtle-text !default;
281
+
282
+ /// The text color of the Input prefix.
283
+ /// @group input
284
+ $kendo-input-prefix-text: $kendo-subtle-text !default;
285
+ /// The text color of the Input suffix.
286
+ /// @group input
287
+ $kendo-input-suffix-text: $kendo-subtle-text !default;
288
+
275
289
  /// The border color of the invalid Input components.
276
290
  /// @group input
277
291
  $kendo-input-invalid-border: $kendo-invalid-border !default;
@@ -279,6 +293,13 @@ $kendo-input-invalid-border: $kendo-invalid-border !default;
279
293
  /// @group input
280
294
  $kendo-input-invalid-shadow: $kendo-invalid-shadow !default;
281
295
 
296
+ /// The border color of the valid Input components.
297
+ /// @group input
298
+ $kendo-input-valid-border: $kendo-valid-border !default;
299
+ /// The shadow of the valid Input components.
300
+ /// @group input
301
+ $kendo-input-valid-shadow: $kendo-valid-shadow !default;
302
+
282
303
  /// The background color of the Picker components.
283
304
  /// @group picker
284
305
  $kendo-picker-bg: $kendo-button-bg !default;
@@ -351,14 +372,14 @@ $kendo-picker-outline-bg: null !default;
351
372
  $kendo-picker-outline-text: $kendo-button-text !default;
352
373
  /// The border color of the outline Picker components.
353
374
  /// @group picker
354
- $kendo-picker-outline-border: rgba( $kendo-picker-outline-text, .5) !default;
375
+ $kendo-picker-outline-border: if($kendo-enable-color-system, rgba( k-color( on-base, true ), .5 ), rgba( $kendo-picker-outline-text, .5)) !default;
355
376
 
356
377
  /// The background color of the outline hovered Picker components.
357
378
  /// @group picker
358
379
  $kendo-picker-outline-hover-bg: $kendo-picker-outline-text !default;
359
380
  /// The text color of the outline hovered Picker components.
360
381
  /// @group picker
361
- $kendo-picker-outline-hover-text: k-contrast-legacy( $kendo-picker-outline-hover-bg ) !default;
382
+ $kendo-picker-outline-hover-text: if($kendo-enable-color-system, k-color( base ), k-contrast-legacy( $kendo-picker-outline-hover-bg )) !default;
362
383
  /// The border color of the outline hovered Picker components.
363
384
  /// @group picker
364
385
  $kendo-picker-outline-hover-border: $kendo-picker-outline-hover-bg !default;
@@ -398,13 +419,13 @@ $kendo-picker-flat-border: $kendo-button-border !default;
398
419
 
399
420
  /// The background color of the flat hovered Picker components.
400
421
  /// @group picker
401
- $kendo-picker-flat-hover-bg: rgba( $kendo-button-text, .04 ) !default;
422
+ $kendo-picker-flat-hover-bg: if($kendo-enable-color-system, rgba( k-color( on-base, true ), .04 ), rgba( $kendo-button-text, .04 )) !default;
402
423
  /// The text color of the flat hovered Picker components.
403
424
  /// @group picker
404
425
  $kendo-picker-flat-hover-text: null !default;
405
426
  /// The border color of the flat hovered Picker components.
406
427
  /// @group picker
407
- $kendo-picker-flat-hover-border: rgba( $kendo-button-border, .16 ) !default;
428
+ $kendo-picker-flat-hover-border: if($kendo-enable-color-system, k-color( border-alt ), rgba( $kendo-button-border, .16 )) !default;
408
429
 
409
430
  /// The background color of the flat focused Picker components.
410
431
  /// @group picker
@@ -58,7 +58,7 @@
58
58
  &.k-selected:hover,
59
59
  &.k-selected.k-hover {
60
60
  color: $kendo-list-item-selected-text;
61
- background-color: k-color-shade( $kendo-list-item-selected-bg );
61
+ background-color: if($kendo-enable-color-system, k-color( primary-hover ), k-color-shade( $kendo-list-item-selected-bg ));
62
62
  }
63
63
  }
64
64
 
@@ -41,7 +41,7 @@ $kendo-listview-item-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
41
41
  $kendo-listview-item-selected-text: null !default;
42
42
  /// The background color of the selected ListView items.
43
43
  /// @group listview
44
- $kendo-listview-item-selected-bg: rgba( $kendo-selected-bg, .25 ) !default;
44
+ $kendo-listview-item-selected-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .25 ), rgba($kendo-selected-bg, .25)) !default;
45
45
  /// The border color of the selected ListView items.
46
46
  /// @group listview
47
47
  $kendo-listview-item-selected-border: null !default;
@@ -25,6 +25,6 @@ $kendo-map-zoom-control-button-padding-y: $kendo-map-zoom-control-button-padding
25
25
  $kendo-map-attribution-padding-x: $kendo-padding-sm-x !default;
26
26
  $kendo-map-attribution-padding-y: $kendo-padding-sm-y !default;
27
27
  $kendo-map-attribution-font-size: ($kendo-map-font-size * .75) !default;
28
- $kendo-map-attribution-bg: rgba( $kendo-map-bg, .8 ) !default;
28
+ $kendo-map-attribution-bg: if($kendo-enable-color-system, rgba( k-color( app-surface, true ), .8 ), rgba( $kendo-map-bg, .8 )) !default;
29
29
 
30
30
  $kendo-map-marker-fill: $kendo-color-primary !default;
@@ -14,7 +14,7 @@
14
14
  .k-mediaplayer-titlebar {
15
15
  color: $kendo-media-player-titlebar-text;
16
16
  background-image: linear-gradient( $kendo-media-player-titlebar-gradient );
17
- text-shadow: 0 0 2px rgba( $kendo-media-player-text, .5 );
17
+ text-shadow: 0 0 2px if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .5 ), rgba( $kendo-media-player-text, .5 ));
18
18
  }
19
19
 
20
20
  }
@@ -13,4 +13,4 @@ $kendo-media-player-titlebar-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
13
13
  $kendo-media-player-titlebar-bg: null !default;
14
14
  $kendo-media-player-titlebar-text: $kendo-media-player-bg !default;
15
15
  $kendo-media-player-titlebar-border: null !default;
16
- $kendo-media-player-titlebar-gradient: rgba( $kendo-media-player-text, .7 ), rgba( $kendo-media-player-text, 0 ) !default;
16
+ $kendo-media-player-titlebar-gradient: if($kendo-enable-color-system, ( rgba( k-color( on-app-surface, true ), .7 ), rgba( k-color( on-app-surface, true ), 0 ) ), ( rgba( $kendo-media-player-text, .7 ), rgba( $kendo-media-player-text, 0 ) )) !default;
@@ -2,11 +2,19 @@
2
2
 
3
3
  @each $color-name, $color in $kendo-theme-colors {
4
4
  .k-messagebox-#{$color-name} {
5
- @include fill(
6
- k-color-level( $color, $kendo-message-box-text-level ),
7
- k-color-level( $color, $kendo-message-box-bg-level ),
8
- k-color-level( $color, $kendo-message-box-border-level )
9
- );
5
+ @if $color-name == "inverse" {
6
+ @include fill(
7
+ if($kendo-enable-color-system, k-color( dark-on-subtle ), k-color-level( $color, $kendo-message-box-text-level )),
8
+ if($kendo-enable-color-system, k-color( dark-subtle ), k-color-level( $color, $kendo-message-box-bg-level )),
9
+ if($kendo-enable-color-system, k-color( dark-hover ), k-color-level( $color, $kendo-message-box-border-level ))
10
+ );
11
+ } @else {
12
+ @include fill(
13
+ if($kendo-enable-color-system, k-color( #{$color-name}-on-subtle ), k-color-level( $color, $kendo-message-box-text-level )),
14
+ if($kendo-enable-color-system, k-color( #{$color-name}-subtle ), k-color-level( $color, $kendo-message-box-bg-level )),
15
+ if($kendo-enable-color-system, k-color( #{$color-name}-emphasis ), k-color-level( $color, $kendo-message-box-border-level ))
16
+ );
17
+ }
10
18
  }
11
19
  }
12
20
 
@@ -47,7 +47,7 @@ $kendo-notification-icon-spacing: $kendo-icon-spacing !default;
47
47
 
48
48
  @each $name, $color in $colors {
49
49
  $_theme: k-map-merge(( $name: (
50
- color: k-contrast-legacy( $color ),
50
+ color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color )),
51
51
  background-color: $color,
52
52
  border: $color,
53
53
  )), $_theme );
@@ -27,7 +27,7 @@ $kendo-panelbar-header-text: $kendo-link-text !default;
27
27
  $kendo-panelbar-header-border: null !default;
28
28
  $kendo-panelbar-header-gradient: null !default;
29
29
 
30
- $kendo-panelbar-header-hover-bg: k-try-shade( $kendo-panelbar-header-bg, .5 ) !default;
30
+ $kendo-panelbar-header-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-try-shade( $kendo-panelbar-header-bg, .5 )) !default;
31
31
  $kendo-panelbar-header-hover-text: null !default;
32
32
  $kendo-panelbar-header-hover-border: null !default;
33
33
  $kendo-panelbar-header-hover-gradient: null !default;
@@ -48,7 +48,7 @@ $kendo-panelbar-header-selected-text: $kendo-selected-text !default;
48
48
  $kendo-panelbar-header-selected-border: null !default;
49
49
  $kendo-panelbar-header-selected-gradient: null !default;
50
50
 
51
- $kendo-panelbar-header-selected-hover-bg: k-try-shade( $kendo-panelbar-header-selected-bg ) !default;
51
+ $kendo-panelbar-header-selected-hover-bg: if($kendo-enable-color-system, k-color( primary-hover ), k-try-shade( $kendo-panelbar-header-selected-bg )) !default;
52
52
  $kendo-panelbar-header-selected-hover-text: null !default;
53
53
  $kendo-panelbar-header-selected-hover-border: null !default;
54
54
  $kendo-panelbar-header-selected-hover-gradient: null !default;
@@ -63,7 +63,7 @@ $kendo-panelbar-header-selected-hover-focus-text: null !default;
63
63
  $kendo-panelbar-header-selected-hover-focus-border: null !default;
64
64
  $kendo-panelbar-header-selected-hover-focus-gradient: null !default;
65
65
 
66
- $kendo-panelbar-item-hover-bg: k-try-shade( $kendo-panelbar-bg, .5 ) !default;
66
+ $kendo-panelbar-item-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-try-shade( $kendo-panelbar-bg, .5 )) !default;
67
67
  $kendo-panelbar-item-hover-text: null !default;
68
68
  $kendo-panelbar-item-hover-border: null !default;
69
69
  $kendo-panelbar-item-hover-gradient: null !default;
@@ -84,7 +84,7 @@ $kendo-panelbar-item-selected-text: $kendo-selected-text !default;
84
84
  $kendo-panelbar-item-selected-border: null !default;
85
85
  $kendo-panelbar-item-selected-gradient: null !default;
86
86
 
87
- $kendo-panelbar-item-selected-hover-bg: k-try-shade( $kendo-panelbar-item-selected-bg ) !default;
87
+ $kendo-panelbar-item-selected-hover-bg: if($kendo-enable-color-system, k-color( primary-hover ), k-try-shade( $kendo-panelbar-item-selected-bg )) !default;
88
88
  $kendo-panelbar-item-selected-hover-text: null !default;
89
89
  $kendo-panelbar-item-selected-hover-border: null !default;
90
90
  $kendo-panelbar-item-selected-hover-gradient: null !default;
@@ -22,21 +22,21 @@ $kendo-pivotgrid-bg: $kendo-component-bg !default;
22
22
  $kendo-pivotgrid-text: $kendo-component-text !default;
23
23
  $kendo-pivotgrid-border: $kendo-component-border !default;
24
24
 
25
- $kendo-pivotgrid-alt-border: k-try-shade($kendo-pivotgrid-border, 2) !default;
25
+ $kendo-pivotgrid-alt-border: if($kendo-enable-color-system, k-color( border-alt ), k-try-shade($kendo-pivotgrid-border, 2)) !default;
26
26
 
27
27
  $kendo-pivotgrid-headers-bg: $kendo-component-header-bg !default;
28
28
  $kendo-pivotgrid-headers-text: $kendo-component-header-text !default;
29
29
  $kendo-pivotgrid-headers-border: $kendo-component-header-border !default;
30
30
 
31
- $kendo-pivotgrid-total-bg: k-try-shade( $kendo-pivotgrid-bg, 1 ) !default;
31
+ $kendo-pivotgrid-total-bg: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-pivotgrid-bg, 1 )) !default;
32
32
  $kendo-pivotgrid-total-text: $kendo-component-header-text !default;
33
33
  $kendo-pivotgrid-total-border: $kendo-component-header-border !default;
34
34
 
35
- $kendo-pivotgrid-hover-bg: k-color-darken($kendo-pivotgrid-bg, 7%) !default;
35
+ $kendo-pivotgrid-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-color-darken($kendo-pivotgrid-bg, 7%)) !default;
36
36
  $kendo-pivotgrid-hover-text: null !default;
37
37
  $kendo-pivotgrid-hover-border: null !default;
38
38
 
39
- $kendo-pivotgrid-selected-bg: rgba($kendo-selected-bg, .25) !default;
39
+ $kendo-pivotgrid-selected-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .25 ), rgba($kendo-selected-bg, .25)) !default;
40
40
  $kendo-pivotgrid-selected-text: null !default;
41
41
  $kendo-pivotgrid-selected-border: null !default;
42
42
 
@@ -105,7 +105,7 @@ $kendo-pivotgrid-alt-text: $kendo-grid-header-text !default;
105
105
  $kendo-pivotgrid-chrome-border: $kendo-grid-border !default;
106
106
 
107
107
  $kendo-pivotgrid-container-bg: $kendo-component-bg !default;
108
- $kendo-pivotgrid-row-headers-bg: k-try-shade( $kendo-component-bg, 1 ) !default;
108
+ $kendo-pivotgrid-row-headers-bg: if($kendo-enable-color-system, k-color( base ), k-try-shade( $kendo-component-bg, 1 )) !default;
109
109
 
110
110
  $kendo-pivotgrid-button-bg: null !default;
111
111
  $kendo-pivotgrid-button-text: null !default;
@@ -29,7 +29,7 @@
29
29
 
30
30
  .k-progressbar-indeterminate {
31
31
  @include fill( $kendo-progressbar-indeterminate-text, $kendo-progressbar-indeterminate-bg, $kendo-progressbar-indeterminate-border );
32
- @include striped-gradient( k-color-shade($kendo-progressbar-indeterminate-bg) );
32
+ @include striped-gradient( if($kendo-enable-color-system, rgba( k-color( base-emphasis, true ), .55 ), k-color-shade($kendo-progressbar-indeterminate-bg)) );
33
33
  background-size: $kendo-progressbar-height $kendo-progressbar-height;
34
34
  animation: kendo-progressbar-indeterminate-animation $kendo-progressbar-animation-timing;
35
35
  }
@@ -24,7 +24,7 @@ $kendo-progressbar-line-height: 1 !default;
24
24
 
25
25
  /// The background color of the ProgressBar.
26
26
  /// @group progressbar
27
- $kendo-progressbar-bg: k-try-shade( $kendo-component-bg, 1 ) !default;
27
+ $kendo-progressbar-bg: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-component-bg, 1 )) !default;
28
28
  /// The text color of the ProgressBar.
29
29
  /// @group progressbar
30
30
  $kendo-progressbar-text: $kendo-component-text !default;
@@ -40,10 +40,10 @@ $kendo-progressbar-gradient: null !default;
40
40
  $kendo-progressbar-value-bg: $kendo-color-primary !default;
41
41
  /// The progress text color of the ProgressBar.
42
42
  /// @group progressbar
43
- $kendo-progressbar-value-text: k-contrast-legacy( $kendo-progressbar-value-bg ) !default;
43
+ $kendo-progressbar-value-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-progressbar-value-bg )) !default;
44
44
  /// The progress border color of the ProgressBar.
45
45
  /// @group progressbar
46
- $kendo-progressbar-value-border: k-try-shade( $kendo-progressbar-value-bg ) !default;
46
+ $kendo-progressbar-value-border: if($kendo-enable-color-system, k-color( primary-active ), k-try-shade( $kendo-progressbar-value-bg )) !default;
47
47
  /// The progress background gradient of the ProgressBar.
48
48
  /// @group progressbar
49
49
  $kendo-progressbar-value-gradient: null !default;
@@ -0,0 +1,37 @@
1
+ @import "../core/_index.scss";
2
+ @import "../utils/_index.scss";
3
+
4
+
5
+ // Module meta
6
+ $_kendo-module-meta: (
7
+ name: "prompt",
8
+ dependencies: ()
9
+ );
10
+
11
+
12
+ // Dependencies
13
+ @import "../common/_index.scss";
14
+
15
+
16
+ // Component
17
+ @import "./_variables.scss";
18
+ @import "./_layout.scss";
19
+ @import "./_theme.scss";
20
+
21
+
22
+ // Register
23
+ @import "../core/module-system/index.import.scss";
24
+ @include module-register( $_kendo-module-meta... );
25
+
26
+
27
+ // Expose
28
+ @mixin kendo-prompt--styles() {
29
+ @include module-render( "prompt" ) {
30
+ @include kendo-prompt--layout();
31
+ @include kendo-prompt--theme();
32
+ }
33
+ }
34
+
35
+ @if $kendo-auto-bootstrap {
36
+ @include kendo-prompt--styles();
37
+ }
@@ -0,0 +1,70 @@
1
+ @mixin kendo-prompt--layout-base() {
2
+
3
+ // Prompt
4
+ .k-prompt {
5
+ display: flex;
6
+ flex-direction: column;
7
+ position: relative;
8
+ overflow: hidden;
9
+ }
10
+
11
+ // Content
12
+ .k-prompt-content {
13
+ padding-block: $kendo-prompt-content-padding-y;
14
+ padding-inline: $kendo-prompt-content-padding-x;
15
+ display: flex;
16
+ flex-flow: column nowrap;
17
+ flex: 1 1 auto;
18
+ gap: $kendo-prompt-content-spacing;
19
+ overflow: auto;
20
+ }
21
+
22
+ .k-prompt-view {
23
+ display: flex;
24
+ flex-direction: column;
25
+ flex: 1 1 auto;
26
+ gap: $kendo-prompt-content-spacing;
27
+ }
28
+
29
+ // Prompt Expander
30
+ .k-prompt-expander {
31
+ display: flex;
32
+ flex-direction: column;
33
+ flex: 1;
34
+ align-items: start;
35
+ gap: $kendo-prompt-expander-spacing;
36
+ }
37
+
38
+ .k-prompt-expander-content {
39
+ display: flex;
40
+ flex-flow: column;
41
+ flex: 0 0 auto;
42
+ gap: $kendo-prompt-expander-spacing;
43
+ align-self: stretch;
44
+ }
45
+
46
+ .k-prompt-suggestion {
47
+ border-width: 1px;
48
+ border-style: solid;
49
+ border-radius: $kendo-prompt-suggestion-border-radius;
50
+ padding-block: $kendo-prompt-suggestion-padding-y;
51
+ padding-inline: $kendo-prompt-suggestion-padding-x;
52
+ cursor: pointer;
53
+ }
54
+
55
+ .k-prompt-setting {
56
+ display: flex;
57
+ flex-direction: column;
58
+ }
59
+
60
+ // Actions
61
+ .k-prompt-actions.k-actions {
62
+ margin: 0;
63
+ }
64
+
65
+ }
66
+
67
+
68
+ @mixin kendo-prompt--layout() {
69
+ @include kendo-prompt--layout-base();
70
+ }
@@ -0,0 +1,41 @@
1
+ @mixin kendo-prompt--theme-base() {
2
+
3
+ .k-prompt {
4
+ @include fill(
5
+ $kendo-prompt-text,
6
+ $kendo-prompt-bg,
7
+ $kendo-prompt-border
8
+ );
9
+ }
10
+
11
+ .k-prompt-header {
12
+ @include fill(
13
+ $kendo-prompt-header-text,
14
+ $kendo-prompt-header-bg,
15
+ $kendo-prompt-header-border
16
+ );
17
+ }
18
+
19
+ .k-prompt-content {
20
+ @include fill(
21
+ $kendo-prompt-content-text,
22
+ $kendo-prompt-content-bg,
23
+ $kendo-prompt-content-border
24
+ );
25
+ }
26
+
27
+ .k-prompt-suggestion {
28
+ @include fill(
29
+ $kendo-prompt-suggestion-text,
30
+ $kendo-prompt-suggestion-bg,
31
+ $kendo-prompt-suggestion-border
32
+ );
33
+ @include box-shadow( $kendo-prompt-suggestion-shadow );
34
+ }
35
+
36
+ }
37
+
38
+
39
+ @mixin kendo-prompt--theme() {
40
+ @include kendo-prompt--theme-base();
41
+ }