@progress/kendo-theme-default 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
@@ -13303,7 +13303,9 @@ textarea.k-input-inner {
13303
13303
 
13304
13304
  .k-input-icon,
13305
13305
  .k-input-validation-icon,
13306
- .k-input-loading-icon {
13306
+ .k-input-loading-icon,
13307
+ .k-input-prefix > .k-icon,
13308
+ .k-input-suffix > .k-icon {
13307
13309
  flex: none;
13308
13310
  align-self: center;
13309
13311
  display: inline-flex;
@@ -13468,10 +13470,14 @@ textarea.k-input-inner {
13468
13470
  .k-input-sm .k-input-validation-icon,
13469
13471
  .k-input-sm .k-input-loading-icon,
13470
13472
  .k-input-sm .k-clear-value,
13473
+ .k-input-sm .k-input-prefix > .k-icon,
13474
+ .k-input-sm .k-input-suffix > .k-icon,
13471
13475
  .k-picker-sm .k-input-icon,
13472
13476
  .k-picker-sm .k-input-validation-icon,
13473
13477
  .k-picker-sm .k-input-loading-icon,
13474
- .k-picker-sm .k-clear-value {
13478
+ .k-picker-sm .k-clear-value,
13479
+ .k-picker-sm .k-input-prefix > .k-icon,
13480
+ .k-picker-sm .k-input-suffix > .k-icon {
13475
13481
  width: 20px;
13476
13482
  height: 20px;
13477
13483
  }
@@ -13527,10 +13533,14 @@ textarea.k-input-inner {
13527
13533
  .k-input-md .k-input-validation-icon,
13528
13534
  .k-input-md .k-input-loading-icon,
13529
13535
  .k-input-md .k-clear-value,
13536
+ .k-input-md .k-input-prefix > .k-icon,
13537
+ .k-input-md .k-input-suffix > .k-icon,
13530
13538
  .k-picker-md .k-input-icon,
13531
13539
  .k-picker-md .k-input-validation-icon,
13532
13540
  .k-picker-md .k-input-loading-icon,
13533
- .k-picker-md .k-clear-value {
13541
+ .k-picker-md .k-clear-value,
13542
+ .k-picker-md .k-input-prefix > .k-icon,
13543
+ .k-picker-md .k-input-suffix > .k-icon {
13534
13544
  width: 24px;
13535
13545
  height: 24px;
13536
13546
  }
@@ -13586,10 +13596,14 @@ textarea.k-input-inner {
13586
13596
  .k-input-lg .k-input-validation-icon,
13587
13597
  .k-input-lg .k-input-loading-icon,
13588
13598
  .k-input-lg .k-clear-value,
13599
+ .k-input-lg .k-input-prefix > .k-icon,
13600
+ .k-input-lg .k-input-suffix > .k-icon,
13589
13601
  .k-picker-lg .k-input-icon,
13590
13602
  .k-picker-lg .k-input-validation-icon,
13591
13603
  .k-picker-lg .k-input-loading-icon,
13592
- .k-picker-lg .k-clear-value {
13604
+ .k-picker-lg .k-clear-value,
13605
+ .k-picker-lg .k-input-prefix > .k-icon,
13606
+ .k-picker-lg .k-input-suffix > .k-icon {
13593
13607
  width: 28px;
13594
13608
  height: 28px;
13595
13609
  }
@@ -16539,10 +16553,6 @@ kendo-label > .k-label {
16539
16553
  max-width: 300px;
16540
16554
  }
16541
16555
 
16542
- .k-textarea {
16543
- display: flex;
16544
- }
16545
-
16546
16556
  .k-listbox {
16547
16557
  width: 10em;
16548
16558
  height: 200px;
@@ -22000,34 +22010,28 @@ kendo-drawer .k-drawer-wrapper {
22000
22010
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.03), 0 4px 5px 0 rgba(0, 0, 0, 0.04);
22001
22011
  }
22002
22012
 
22003
- .k-notification-primary {
22004
- border-color: #ff6358;
22005
- color: white;
22006
- background-color: #ff6358;
22007
- }
22008
-
22009
- .k-notification-secondary {
22010
- border-color: #666666;
22013
+ .k-notification-inverse {
22014
+ border-color: #424242;
22011
22015
  color: white;
22012
- background-color: #666666;
22016
+ background-color: #424242;
22013
22017
  }
22014
22018
 
22015
- .k-notification-tertiary {
22016
- border-color: #03a9f4;
22017
- color: white;
22018
- background-color: #03a9f4;
22019
+ .k-notification-light {
22020
+ border-color: #ebebeb;
22021
+ color: black;
22022
+ background-color: #ebebeb;
22019
22023
  }
22020
22024
 
22021
- .k-notification-info {
22022
- border-color: #0058e9;
22025
+ .k-notification-dark {
22026
+ border-color: #424242;
22023
22027
  color: white;
22024
- background-color: #0058e9;
22028
+ background-color: #424242;
22025
22029
  }
22026
22030
 
22027
- .k-notification-success {
22028
- border-color: #37b400;
22031
+ .k-notification-error {
22032
+ border-color: #f31700;
22029
22033
  color: white;
22030
- background-color: #37b400;
22034
+ background-color: #f31700;
22031
22035
  }
22032
22036
 
22033
22037
  .k-notification-warning {
@@ -22036,28 +22040,34 @@ kendo-drawer .k-drawer-wrapper {
22036
22040
  background-color: #ffc000;
22037
22041
  }
22038
22042
 
22039
- .k-notification-error {
22040
- border-color: #f31700;
22043
+ .k-notification-success {
22044
+ border-color: #37b400;
22041
22045
  color: white;
22042
- background-color: #f31700;
22046
+ background-color: #37b400;
22043
22047
  }
22044
22048
 
22045
- .k-notification-dark {
22046
- border-color: #424242;
22049
+ .k-notification-info {
22050
+ border-color: #0058e9;
22047
22051
  color: white;
22048
- background-color: #424242;
22052
+ background-color: #0058e9;
22049
22053
  }
22050
22054
 
22051
- .k-notification-light {
22052
- border-color: #ebebeb;
22053
- color: black;
22054
- background-color: #ebebeb;
22055
+ .k-notification-tertiary {
22056
+ border-color: #03a9f4;
22057
+ color: white;
22058
+ background-color: #03a9f4;
22055
22059
  }
22056
22060
 
22057
- .k-notification-inverse {
22058
- border-color: #424242;
22061
+ .k-notification-secondary {
22062
+ border-color: #666666;
22059
22063
  color: white;
22060
- background-color: #424242;
22064
+ background-color: #666666;
22065
+ }
22066
+
22067
+ .k-notification-primary {
22068
+ border-color: #ff6358;
22069
+ color: white;
22070
+ background-color: #ff6358;
22061
22071
  }
22062
22072
 
22063
22073
  kendo-card,
package/dist/all.scss CHANGED
@@ -9082,7 +9082,9 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
9082
9082
  // Input with icon styles
9083
9083
  .k-input-icon,
9084
9084
  .k-input-validation-icon,
9085
- .k-input-loading-icon {
9085
+ .k-input-loading-icon,
9086
+ .k-input-prefix > .k-icon,
9087
+ .k-input-suffix > .k-icon {
9086
9088
  flex: none;
9087
9089
  align-self: center;
9088
9090
  display: inline-flex;
@@ -9256,7 +9258,9 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
9256
9258
  .k-input-icon,
9257
9259
  .k-input-validation-icon,
9258
9260
  .k-input-loading-icon,
9259
- .k-clear-value {
9261
+ .k-clear-value,
9262
+ .k-input-prefix > .k-icon,
9263
+ .k-input-suffix > .k-icon {
9260
9264
  width: $_icon-size;
9261
9265
  height: $_icon-size;
9262
9266
  }
@@ -14044,9 +14048,7 @@ $fieldset-legend-border: null !default;
14044
14048
  @include exports( "textarea/layout" ) {
14045
14049
 
14046
14050
  // Textarea
14047
- .k-textarea {
14048
- display: flex;
14049
- }
14051
+ .k-textarea {}
14050
14052
 
14051
14053
  }
14052
14054
 
@@ -22449,22 +22451,23 @@ $notification-bg: $component-bg !default;
22449
22451
  $notification-text: $component-text !default;
22450
22452
  $notification-border: $component-border !default;
22451
22453
 
22452
- $notification-themes: () !default;
22454
+ @function notification-theme( $colors ) {
22455
+ $_theme: ();
22453
22456
 
22454
- @function notification-theme($name: null, $color: null) {
22455
- // sass-lint:disable indentation
22456
- @return (
22457
- border: $color,
22458
- color: contrast-wcag( $color ),
22459
- bg: $color
22460
- );
22461
- // sass-lint:enable indentation
22462
- }
22457
+ @each $name, $color in $colors {
22458
+ $_theme: map-merge(( $name: (
22459
+ color: contrast-wcag( $color ),
22460
+ background-color: $color,
22461
+ border: $color,
22462
+ )), $_theme );
22463
+ }
22463
22464
 
22464
- @each $theme, $props in $kendo-theme-colors {
22465
- $notification-themes: map-merge($notification-themes, ($theme: notification-theme($theme, $props)) );
22465
+ @return $_theme;
22466
22466
  }
22467
22467
 
22468
+ $kendo-notification-theme-colors: $kendo-theme-colors !default;
22469
+ $kendo-notification-theme: notification-theme( $kendo-notification-theme-colors ) !default;
22470
+
22468
22471
  // #endregion
22469
22472
  // #region @import "_layout.scss"; -> packages/default/scss/notification/_layout.scss
22470
22473
  @include exports("notification/layout") {
@@ -22573,11 +22576,13 @@ $notification-themes: () !default;
22573
22576
  box-shadow: $notification-shadow;
22574
22577
  }
22575
22578
 
22576
- @each $theme, $props in $notification-themes {
22577
- .k-notification-#{$theme} {
22578
- border-color: map-get( $props, border );
22579
- color: map-get( $props, color );
22580
- background-color: map-get( $props, bg );
22579
+ @each $name, $props in $kendo-notification-theme {
22580
+ .k-notification-#{$name} {
22581
+ @include fill(
22582
+ map-get( $props, color ),
22583
+ map-get( $props, background-color ),
22584
+ map-get( $props, border )
22585
+ );
22581
22586
  }
22582
22587
  }
22583
22588
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-default",
3
3
  "description": "SASS resources for the default 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": [
@@ -47,5 +47,5 @@
47
47
  "prepublishOnly": "echo 'no prebublish for default theme'",
48
48
  "postpublish": "echo 'no postpublish for default theme'"
49
49
  },
50
- "gitHead": "b4a2644f36f4dd8559aadb2ce2eb3d08ef1e4c55"
50
+ "gitHead": "64d87da064a0cfce86ebb8ebe986ac30977f7fb7"
51
51
  }
@@ -185,7 +185,9 @@
185
185
  // Input with icon styles
186
186
  .k-input-icon,
187
187
  .k-input-validation-icon,
188
- .k-input-loading-icon {
188
+ .k-input-loading-icon,
189
+ .k-input-prefix > .k-icon,
190
+ .k-input-suffix > .k-icon {
189
191
  flex: none;
190
192
  align-self: center;
191
193
  display: inline-flex;
@@ -359,7 +361,9 @@
359
361
  .k-input-icon,
360
362
  .k-input-validation-icon,
361
363
  .k-input-loading-icon,
362
- .k-clear-value {
364
+ .k-clear-value,
365
+ .k-input-prefix > .k-icon,
366
+ .k-input-suffix > .k-icon {
363
367
  width: $_icon-size;
364
368
  height: $_icon-size;
365
369
  }
@@ -17,11 +17,13 @@
17
17
  box-shadow: $notification-shadow;
18
18
  }
19
19
 
20
- @each $theme, $props in $notification-themes {
21
- .k-notification-#{$theme} {
22
- border-color: map-get( $props, border );
23
- color: map-get( $props, color );
24
- background-color: map-get( $props, bg );
20
+ @each $name, $props in $kendo-notification-theme {
21
+ .k-notification-#{$name} {
22
+ @include fill(
23
+ map-get( $props, color ),
24
+ map-get( $props, background-color ),
25
+ map-get( $props, border )
26
+ );
25
27
  }
26
28
  }
27
29
 
@@ -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;
@@ -1,8 +1,6 @@
1
1
  @include exports( "textarea/layout" ) {
2
2
 
3
3
  // Textarea
4
- .k-textarea {
5
- display: flex;
6
- }
4
+ .k-textarea {}
7
5
 
8
6
  }