@progress/kendo-theme-material 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
@@ -13677,7 +13677,9 @@ textarea.k-input-inner {
13677
13677
 
13678
13678
  .k-input-icon,
13679
13679
  .k-input-validation-icon,
13680
- .k-input-loading-icon {
13680
+ .k-input-loading-icon,
13681
+ .k-input-prefix > .k-icon,
13682
+ .k-input-suffix > .k-icon {
13681
13683
  flex: none;
13682
13684
  align-self: center;
13683
13685
  display: inline-flex;
@@ -13842,10 +13844,14 @@ textarea.k-input-inner {
13842
13844
  .k-input-sm .k-input-validation-icon,
13843
13845
  .k-input-sm .k-input-loading-icon,
13844
13846
  .k-input-sm .k-clear-value,
13847
+ .k-input-sm .k-input-prefix > .k-icon,
13848
+ .k-input-sm .k-input-suffix > .k-icon,
13845
13849
  .k-picker-sm .k-input-icon,
13846
13850
  .k-picker-sm .k-input-validation-icon,
13847
13851
  .k-picker-sm .k-input-loading-icon,
13848
- .k-picker-sm .k-clear-value {
13852
+ .k-picker-sm .k-clear-value,
13853
+ .k-picker-sm .k-input-prefix > .k-icon,
13854
+ .k-picker-sm .k-input-suffix > .k-icon {
13849
13855
  width: 28px;
13850
13856
  height: 28px;
13851
13857
  }
@@ -13901,10 +13907,14 @@ textarea.k-input-inner {
13901
13907
  .k-input-md .k-input-validation-icon,
13902
13908
  .k-input-md .k-input-loading-icon,
13903
13909
  .k-input-md .k-clear-value,
13910
+ .k-input-md .k-input-prefix > .k-icon,
13911
+ .k-input-md .k-input-suffix > .k-icon,
13904
13912
  .k-picker-md .k-input-icon,
13905
13913
  .k-picker-md .k-input-validation-icon,
13906
13914
  .k-picker-md .k-input-loading-icon,
13907
- .k-picker-md .k-clear-value {
13915
+ .k-picker-md .k-clear-value,
13916
+ .k-picker-md .k-input-prefix > .k-icon,
13917
+ .k-picker-md .k-input-suffix > .k-icon {
13908
13918
  width: 32px;
13909
13919
  height: 32px;
13910
13920
  }
@@ -13960,10 +13970,14 @@ textarea.k-input-inner {
13960
13970
  .k-input-lg .k-input-validation-icon,
13961
13971
  .k-input-lg .k-input-loading-icon,
13962
13972
  .k-input-lg .k-clear-value,
13973
+ .k-input-lg .k-input-prefix > .k-icon,
13974
+ .k-input-lg .k-input-suffix > .k-icon,
13963
13975
  .k-picker-lg .k-input-icon,
13964
13976
  .k-picker-lg .k-input-validation-icon,
13965
13977
  .k-picker-lg .k-input-loading-icon,
13966
- .k-picker-lg .k-clear-value {
13978
+ .k-picker-lg .k-clear-value,
13979
+ .k-picker-lg .k-input-prefix > .k-icon,
13980
+ .k-picker-lg .k-input-suffix > .k-icon {
13967
13981
  width: 36px;
13968
13982
  height: 36px;
13969
13983
  }
@@ -17218,10 +17232,6 @@ kendo-label > .k-label {
17218
17232
  max-width: 300px;
17219
17233
  }
17220
17234
 
17221
- .k-textarea {
17222
- display: flex;
17223
- }
17224
-
17225
17235
  .k-listbox {
17226
17236
  width: 10em;
17227
17237
  height: 200px;
@@ -22927,34 +22937,28 @@ kendo-drawer .k-drawer-wrapper {
22927
22937
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
22928
22938
  }
22929
22939
 
22930
- .k-notification-primary {
22931
- border-color: #3f51b5;
22932
- color: white;
22933
- background-color: #3f51b5;
22934
- }
22935
-
22936
- .k-notification-secondary {
22937
- border-color: #e51a5f;
22940
+ .k-notification-inverse {
22941
+ border-color: #424242;
22938
22942
  color: white;
22939
- background-color: #e51a5f;
22943
+ background-color: #424242;
22940
22944
  }
22941
22945
 
22942
- .k-notification-tertiary {
22943
- border-color: #00695c;
22944
- color: white;
22945
- background-color: #00695c;
22946
+ .k-notification-light {
22947
+ border-color: #f5f5f5;
22948
+ color: black;
22949
+ background-color: #f5f5f5;
22946
22950
  }
22947
22951
 
22948
- .k-notification-info {
22949
- border-color: #0058e9;
22952
+ .k-notification-dark {
22953
+ border-color: #424242;
22950
22954
  color: white;
22951
- background-color: #0058e9;
22955
+ background-color: #424242;
22952
22956
  }
22953
22957
 
22954
- .k-notification-success {
22955
- border-color: #37b400;
22958
+ .k-notification-error {
22959
+ border-color: #f31700;
22956
22960
  color: white;
22957
- background-color: #37b400;
22961
+ background-color: #f31700;
22958
22962
  }
22959
22963
 
22960
22964
  .k-notification-warning {
@@ -22963,28 +22967,34 @@ kendo-drawer .k-drawer-wrapper {
22963
22967
  background-color: #ffc000;
22964
22968
  }
22965
22969
 
22966
- .k-notification-error {
22967
- border-color: #f31700;
22970
+ .k-notification-success {
22971
+ border-color: #37b400;
22968
22972
  color: white;
22969
- background-color: #f31700;
22973
+ background-color: #37b400;
22970
22974
  }
22971
22975
 
22972
- .k-notification-dark {
22973
- border-color: #424242;
22976
+ .k-notification-info {
22977
+ border-color: #0058e9;
22974
22978
  color: white;
22975
- background-color: #424242;
22979
+ background-color: #0058e9;
22976
22980
  }
22977
22981
 
22978
- .k-notification-light {
22979
- border-color: #f5f5f5;
22980
- color: black;
22981
- background-color: #f5f5f5;
22982
+ .k-notification-tertiary {
22983
+ border-color: #00695c;
22984
+ color: white;
22985
+ background-color: #00695c;
22982
22986
  }
22983
22987
 
22984
- .k-notification-inverse {
22985
- border-color: #424242;
22988
+ .k-notification-secondary {
22989
+ border-color: #e51a5f;
22986
22990
  color: white;
22987
- background-color: #424242;
22991
+ background-color: #e51a5f;
22992
+ }
22993
+
22994
+ .k-notification-primary {
22995
+ border-color: #3f51b5;
22996
+ color: white;
22997
+ background-color: #3f51b5;
22988
22998
  }
22989
22999
 
22990
23000
  kendo-card,
package/dist/all.scss CHANGED
@@ -10283,7 +10283,9 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
10283
10283
  // Input with icon styles
10284
10284
  .k-input-icon,
10285
10285
  .k-input-validation-icon,
10286
- .k-input-loading-icon {
10286
+ .k-input-loading-icon,
10287
+ .k-input-prefix > .k-icon,
10288
+ .k-input-suffix > .k-icon {
10287
10289
  flex: none;
10288
10290
  align-self: center;
10289
10291
  display: inline-flex;
@@ -10457,7 +10459,9 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
10457
10459
  .k-input-icon,
10458
10460
  .k-input-validation-icon,
10459
10461
  .k-input-loading-icon,
10460
- .k-clear-value {
10462
+ .k-clear-value,
10463
+ .k-input-prefix > .k-icon,
10464
+ .k-input-suffix > .k-icon {
10461
10465
  width: $_icon-size;
10462
10466
  height: $_icon-size;
10463
10467
  }
@@ -15711,9 +15715,7 @@ $fieldset-legend-border: null !default;
15711
15715
  @include exports( "textarea/layout" ) {
15712
15716
 
15713
15717
  // Textarea
15714
- .k-textarea {
15715
- display: flex;
15716
- }
15718
+ .k-textarea {}
15717
15719
 
15718
15720
  }
15719
15721
 
@@ -24825,22 +24827,23 @@ $notification-bg: $component-bg !default;
24825
24827
  $notification-text: $component-text !default;
24826
24828
  $notification-border: $component-border !default;
24827
24829
 
24828
- $notification-themes: () !default;
24830
+ @function notification-theme( $colors ) {
24831
+ $_theme: ();
24829
24832
 
24830
- @function notification-theme($name: null, $color: null) {
24831
- // sass-lint:disable indentation
24832
- @return (
24833
- border: $color,
24834
- color: contrast-wcag( $color ),
24835
- bg: $color
24836
- );
24837
- // sass-lint:enable indentation
24838
- }
24833
+ @each $name, $color in $colors {
24834
+ $_theme: map-merge(( $name: (
24835
+ color: contrast-wcag( $color ),
24836
+ background-color: $color,
24837
+ border: $color,
24838
+ )), $_theme );
24839
+ }
24839
24840
 
24840
- @each $theme, $props in $kendo-theme-colors {
24841
- $notification-themes: map-merge($notification-themes, ($theme: notification-theme($theme, $props)) );
24841
+ @return $_theme;
24842
24842
  }
24843
24843
 
24844
+ $kendo-notification-theme-colors: $kendo-theme-colors !default;
24845
+ $kendo-notification-theme: notification-theme( $kendo-notification-theme-colors ) !default;
24846
+
24844
24847
  // #endregion
24845
24848
  // #region @import "_layout.scss"; -> packages/material/scss/notification/_layout.scss
24846
24849
  // #region @import "~@progress/kendo-theme-default/scss/notification/_layout.scss"; -> packages/material/node_modules/@progress/kendo-theme-default/scss/notification/_layout.scss
@@ -24953,11 +24956,13 @@ $notification-themes: () !default;
24953
24956
  box-shadow: $notification-shadow;
24954
24957
  }
24955
24958
 
24956
- @each $theme, $props in $notification-themes {
24957
- .k-notification-#{$theme} {
24958
- border-color: map-get( $props, border );
24959
- color: map-get( $props, color );
24960
- background-color: map-get( $props, bg );
24959
+ @each $name, $props in $kendo-notification-theme {
24960
+ .k-notification-#{$name} {
24961
+ @include fill(
24962
+ map-get( $props, color ),
24963
+ map-get( $props, background-color ),
24964
+ map-get( $props, border )
24965
+ );
24961
24966
  }
24962
24967
  }
24963
24968
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-material",
3
3
  "description": "Material theme for Kendo UI",
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": [
@@ -50,7 +50,7 @@
50
50
  "postpublish": "echo 'no postpublish for material theme'"
51
51
  },
52
52
  "dependencies": {
53
- "@progress/kendo-theme-default": "^5.1.2-dev.5"
53
+ "@progress/kendo-theme-default": "^5.1.2-dev.6"
54
54
  },
55
- "gitHead": "b4a2644f36f4dd8559aadb2ce2eb3d08ef1e4c55"
55
+ "gitHead": "64d87da064a0cfce86ebb8ebe986ac30977f7fb7"
56
56
  }
@@ -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;