@progress/kendo-theme-classic 5.1.2-dev.5 → 5.1.2-dev.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/all.css CHANGED
@@ -13309,7 +13309,9 @@ textarea.k-input-inner {
13309
13309
 
13310
13310
  .k-input-icon,
13311
13311
  .k-input-validation-icon,
13312
- .k-input-loading-icon {
13312
+ .k-input-loading-icon,
13313
+ .k-input-prefix > .k-icon,
13314
+ .k-input-suffix > .k-icon {
13313
13315
  flex: none;
13314
13316
  align-self: center;
13315
13317
  display: inline-flex;
@@ -13474,10 +13476,14 @@ textarea.k-input-inner {
13474
13476
  .k-input-sm .k-input-validation-icon,
13475
13477
  .k-input-sm .k-input-loading-icon,
13476
13478
  .k-input-sm .k-clear-value,
13479
+ .k-input-sm .k-input-prefix > .k-icon,
13480
+ .k-input-sm .k-input-suffix > .k-icon,
13477
13481
  .k-picker-sm .k-input-icon,
13478
13482
  .k-picker-sm .k-input-validation-icon,
13479
13483
  .k-picker-sm .k-input-loading-icon,
13480
- .k-picker-sm .k-clear-value {
13484
+ .k-picker-sm .k-clear-value,
13485
+ .k-picker-sm .k-input-prefix > .k-icon,
13486
+ .k-picker-sm .k-input-suffix > .k-icon {
13481
13487
  width: 20px;
13482
13488
  height: 20px;
13483
13489
  }
@@ -13533,10 +13539,14 @@ textarea.k-input-inner {
13533
13539
  .k-input-md .k-input-validation-icon,
13534
13540
  .k-input-md .k-input-loading-icon,
13535
13541
  .k-input-md .k-clear-value,
13542
+ .k-input-md .k-input-prefix > .k-icon,
13543
+ .k-input-md .k-input-suffix > .k-icon,
13536
13544
  .k-picker-md .k-input-icon,
13537
13545
  .k-picker-md .k-input-validation-icon,
13538
13546
  .k-picker-md .k-input-loading-icon,
13539
- .k-picker-md .k-clear-value {
13547
+ .k-picker-md .k-clear-value,
13548
+ .k-picker-md .k-input-prefix > .k-icon,
13549
+ .k-picker-md .k-input-suffix > .k-icon {
13540
13550
  width: 24px;
13541
13551
  height: 24px;
13542
13552
  }
@@ -13592,10 +13602,14 @@ textarea.k-input-inner {
13592
13602
  .k-input-lg .k-input-validation-icon,
13593
13603
  .k-input-lg .k-input-loading-icon,
13594
13604
  .k-input-lg .k-clear-value,
13605
+ .k-input-lg .k-input-prefix > .k-icon,
13606
+ .k-input-lg .k-input-suffix > .k-icon,
13595
13607
  .k-picker-lg .k-input-icon,
13596
13608
  .k-picker-lg .k-input-validation-icon,
13597
13609
  .k-picker-lg .k-input-loading-icon,
13598
- .k-picker-lg .k-clear-value {
13610
+ .k-picker-lg .k-clear-value,
13611
+ .k-picker-lg .k-input-prefix > .k-icon,
13612
+ .k-picker-lg .k-input-suffix > .k-icon {
13599
13613
  width: 28px;
13600
13614
  height: 28px;
13601
13615
  }
@@ -16542,10 +16556,6 @@ kendo-label > .k-label {
16542
16556
  max-width: 300px;
16543
16557
  }
16544
16558
 
16545
- .k-textarea {
16546
- display: flex;
16547
- }
16548
-
16549
16559
  .k-listbox {
16550
16560
  width: 10em;
16551
16561
  height: 200px;
@@ -22008,34 +22018,28 @@ kendo-drawer .k-drawer-wrapper {
22008
22018
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.03), 0 4px 5px 0 rgba(0, 0, 0, 0.04);
22009
22019
  }
22010
22020
 
22011
- .k-notification-primary {
22012
- border-color: #f35800;
22021
+ .k-notification-inverse {
22022
+ border-color: #404040;
22013
22023
  color: white;
22014
- background-color: #f35800;
22024
+ background-color: #404040;
22015
22025
  }
22016
22026
 
22017
- .k-notification-secondary {
22018
- border-color: #e9e9e9;
22027
+ .k-notification-light {
22028
+ border-color: #ebebeb;
22019
22029
  color: black;
22020
- background-color: #e9e9e9;
22021
- }
22022
-
22023
- .k-notification-tertiary {
22024
- border-color: #03a9f4;
22025
- color: white;
22026
- background-color: #03a9f4;
22030
+ background-color: #ebebeb;
22027
22031
  }
22028
22032
 
22029
- .k-notification-info {
22030
- border-color: #2498bc;
22033
+ .k-notification-dark {
22034
+ border-color: #404040;
22031
22035
  color: white;
22032
- background-color: #2498bc;
22036
+ background-color: #404040;
22033
22037
  }
22034
22038
 
22035
- .k-notification-success {
22036
- border-color: #3ea44e;
22039
+ .k-notification-error {
22040
+ border-color: #d92800;
22037
22041
  color: white;
22038
- background-color: #3ea44e;
22042
+ background-color: #d92800;
22039
22043
  }
22040
22044
 
22041
22045
  .k-notification-warning {
@@ -22044,28 +22048,34 @@ kendo-drawer .k-drawer-wrapper {
22044
22048
  background-color: #ff9800;
22045
22049
  }
22046
22050
 
22047
- .k-notification-error {
22048
- border-color: #d92800;
22051
+ .k-notification-success {
22052
+ border-color: #3ea44e;
22049
22053
  color: white;
22050
- background-color: #d92800;
22054
+ background-color: #3ea44e;
22051
22055
  }
22052
22056
 
22053
- .k-notification-dark {
22054
- border-color: #404040;
22057
+ .k-notification-info {
22058
+ border-color: #2498bc;
22055
22059
  color: white;
22056
- background-color: #404040;
22060
+ background-color: #2498bc;
22057
22061
  }
22058
22062
 
22059
- .k-notification-light {
22060
- border-color: #ebebeb;
22063
+ .k-notification-tertiary {
22064
+ border-color: #03a9f4;
22065
+ color: white;
22066
+ background-color: #03a9f4;
22067
+ }
22068
+
22069
+ .k-notification-secondary {
22070
+ border-color: #e9e9e9;
22061
22071
  color: black;
22062
- background-color: #ebebeb;
22072
+ background-color: #e9e9e9;
22063
22073
  }
22064
22074
 
22065
- .k-notification-inverse {
22066
- border-color: #404040;
22075
+ .k-notification-primary {
22076
+ border-color: #f35800;
22067
22077
  color: white;
22068
- background-color: #404040;
22078
+ background-color: #f35800;
22069
22079
  }
22070
22080
 
22071
22081
  kendo-card,
package/dist/all.scss CHANGED
@@ -9209,7 +9209,9 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
9209
9209
  // Input with icon styles
9210
9210
  .k-input-icon,
9211
9211
  .k-input-validation-icon,
9212
- .k-input-loading-icon {
9212
+ .k-input-loading-icon,
9213
+ .k-input-prefix > .k-icon,
9214
+ .k-input-suffix > .k-icon {
9213
9215
  flex: none;
9214
9216
  align-self: center;
9215
9217
  display: inline-flex;
@@ -9383,7 +9385,9 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
9383
9385
  .k-input-icon,
9384
9386
  .k-input-validation-icon,
9385
9387
  .k-input-loading-icon,
9386
- .k-clear-value {
9388
+ .k-clear-value,
9389
+ .k-input-prefix > .k-icon,
9390
+ .k-input-suffix > .k-icon {
9387
9391
  width: $_icon-size;
9388
9392
  height: $_icon-size;
9389
9393
  }
@@ -14274,9 +14278,7 @@ $fieldset-legend-border: null !default;
14274
14278
  @include exports( "textarea/layout" ) {
14275
14279
 
14276
14280
  // Textarea
14277
- .k-textarea {
14278
- display: flex;
14279
- }
14281
+ .k-textarea {}
14280
14282
 
14281
14283
  }
14282
14284
 
@@ -22896,22 +22898,23 @@ $notification-bg: $component-bg !default;
22896
22898
  $notification-text: $component-text !default;
22897
22899
  $notification-border: $component-border !default;
22898
22900
 
22899
- $notification-themes: () !default;
22901
+ @function notification-theme( $colors ) {
22902
+ $_theme: ();
22900
22903
 
22901
- @function notification-theme($name: null, $color: null) {
22902
- // sass-lint:disable indentation
22903
- @return (
22904
- border: $color,
22905
- color: contrast-wcag( $color ),
22906
- bg: $color
22907
- );
22908
- // sass-lint:enable indentation
22909
- }
22904
+ @each $name, $color in $colors {
22905
+ $_theme: map-merge(( $name: (
22906
+ color: contrast-wcag( $color ),
22907
+ background-color: $color,
22908
+ border: $color,
22909
+ )), $_theme );
22910
+ }
22910
22911
 
22911
- @each $theme, $props in $kendo-theme-colors {
22912
- $notification-themes: map-merge($notification-themes, ($theme: notification-theme($theme, $props)) );
22912
+ @return $_theme;
22913
22913
  }
22914
22914
 
22915
+ $kendo-notification-theme-colors: $kendo-theme-colors !default;
22916
+ $kendo-notification-theme: notification-theme( $kendo-notification-theme-colors ) !default;
22917
+
22915
22918
  // #endregion
22916
22919
  // #region @import "_layout.scss"; -> packages/classic/scss/notification/_layout.scss
22917
22920
  // #region @import "~@progress/kendo-theme-default/scss/notification/_layout.scss"; -> packages/classic/node_modules/@progress/kendo-theme-default/scss/notification/_layout.scss
@@ -23024,11 +23027,13 @@ $notification-themes: () !default;
23024
23027
  box-shadow: $notification-shadow;
23025
23028
  }
23026
23029
 
23027
- @each $theme, $props in $notification-themes {
23028
- .k-notification-#{$theme} {
23029
- border-color: map-get( $props, border );
23030
- color: map-get( $props, color );
23031
- background-color: map-get( $props, bg );
23030
+ @each $name, $props in $kendo-notification-theme {
23031
+ .k-notification-#{$name} {
23032
+ @include fill(
23033
+ map-get( $props, color ),
23034
+ map-get( $props, background-color ),
23035
+ map-get( $props, border )
23036
+ );
23032
23037
  }
23033
23038
  }
23034
23039
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-classic",
3
3
  "description": "Sass port of less based themes for Kendo UI theme",
4
- "version": "5.1.2-dev.5",
4
+ "version": "5.1.2-dev.6",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -49,7 +49,7 @@
49
49
  "postpublish": "echo 'no postpublish for classic theme'"
50
50
  },
51
51
  "dependencies": {
52
- "@progress/kendo-theme-default": "^5.1.2-dev.5"
52
+ "@progress/kendo-theme-default": "^5.1.2-dev.6"
53
53
  },
54
- "gitHead": "b4a2644f36f4dd8559aadb2ce2eb3d08ef1e4c55"
54
+ "gitHead": "64d87da064a0cfce86ebb8ebe986ac30977f7fb7"
55
55
  }
@@ -17,18 +17,19 @@ $notification-bg: $component-bg !default;
17
17
  $notification-text: $component-text !default;
18
18
  $notification-border: $component-border !default;
19
19
 
20
- $notification-themes: () !default;
21
-
22
- @function notification-theme($name: null, $color: null) {
23
- // sass-lint:disable indentation
24
- @return (
25
- border: $color,
26
- color: contrast-wcag( $color ),
27
- bg: $color
28
- );
29
- // sass-lint:enable indentation
30
- }
20
+ @function notification-theme( $colors ) {
21
+ $_theme: ();
22
+
23
+ @each $name, $color in $colors {
24
+ $_theme: map-merge(( $name: (
25
+ color: contrast-wcag( $color ),
26
+ background-color: $color,
27
+ border: $color,
28
+ )), $_theme );
29
+ }
31
30
 
32
- @each $theme, $props in $kendo-theme-colors {
33
- $notification-themes: map-merge($notification-themes, ($theme: notification-theme($theme, $props)) );
31
+ @return $_theme;
34
32
  }
33
+
34
+ $kendo-notification-theme-colors: $kendo-theme-colors !default;
35
+ $kendo-notification-theme: notification-theme( $kendo-notification-theme-colors ) !default;