@progress/kendo-theme-classic 5.1.0 → 5.1.2-dev.2

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
@@ -13199,11 +13199,11 @@ textarea.k-input-inner {
13199
13199
  }
13200
13200
 
13201
13201
  .k-input-spinner .k-spinner-increase .k-icon {
13202
- bottom: -;
13202
+ bottom: auto;
13203
13203
  }
13204
13204
 
13205
13205
  .k-input-spinner .k-spinner-decrease .k-icon {
13206
- top: -;
13206
+ top: auto;
13207
13207
  }
13208
13208
 
13209
13209
  .k-searchbar {
@@ -16750,7 +16750,7 @@ kendo-label > .k-label {
16750
16750
 
16751
16751
  .k-radio:checked,
16752
16752
  .k-radio.k-checked {
16753
- background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3e%3ccircle cx='50%' cy='50%' r='4' fill='white'/%3e%3c/svg%3e");
16753
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3e%3ccircle cx='50%25' cy='50%25' r='4' fill='white'/%3e%3c/svg%3e");
16754
16754
  }
16755
16755
 
16756
16756
  .k-radio:disabled,
package/dist/all.scss CHANGED
@@ -458,6 +458,7 @@ $wcag-light: white !default;
458
458
  // #endregion
459
459
  // #region @import "_misc.scss"; -> packages/classic/node_modules/@progress/kendo-theme-default/scss/core/functions/_misc.scss
460
460
  $svg-escaped-characters: (
461
+ ("%", "%25"),
461
462
  ("<", "%3c"),
462
463
  (">", "%3e"),
463
464
  ("#", "%23"),
@@ -943,6 +944,7 @@ $enable-grid-classes: true !default;
943
944
  $use-calc-badge-size: true !default;
944
945
  $use-input-button-width: false !default;
945
946
  $use-input-spinner-width: false !default;
947
+ $use-input-spinner-icon-offset: false !default;
946
948
  $use-picker-select-width: false !default;
947
949
 
948
950
 
@@ -1120,7 +1122,7 @@ $light: #ebebeb !default;
1120
1122
  $inverse: if( $dark-theme, $light, $dark ) !default;
1121
1123
 
1122
1124
 
1123
- $theme-colors: (
1125
+ $kendo-theme-colors: (
1124
1126
  "primary": $primary,
1125
1127
  "secondary": $secondary,
1126
1128
  "tertiary": $tertiary,
@@ -1175,7 +1177,7 @@ $base-border: try-shade( $base-bg, 2 ) !default;
1175
1177
  $base-gradient: rgba( white, .1 ), rgba( white, 0 ) !default;
1176
1178
 
1177
1179
  /// Background color of a component.
1178
- /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !defualt;`.
1180
+ /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !default;`.
1179
1181
  /// @group component
1180
1182
  $component-bg: $body-bg !default;
1181
1183
  /// Text color of a component.
@@ -3331,7 +3333,7 @@ $utils-border-radius: (
3331
3333
  0: 0
3332
3334
  ) !default;
3333
3335
 
3334
- $utils-border-color: $theme-colors !default;
3336
+ $utils-border-color: $kendo-theme-colors !default;
3335
3337
 
3336
3338
  $utils-border-radius-sides: (
3337
3339
  default: border-radius,
@@ -4429,7 +4431,7 @@ $utils-border-radius: (
4429
4431
 
4430
4432
  .k-color-inherit { color: inherit; }
4431
4433
 
4432
- @each $name, $color in $theme-colors {
4434
+ @each $name, $color in $kendo-theme-colors {
4433
4435
  .k-text-#{$name},
4434
4436
  .k-color-#{$name} {
4435
4437
  color: $color !important;
@@ -4443,7 +4445,7 @@ $utils-border-radius: (
4443
4445
 
4444
4446
  // sass-lint:disable-block no-important
4445
4447
 
4446
- @each $name, $bg-color in $theme-colors {
4448
+ @each $name, $bg-color in $kendo-theme-colors {
4447
4449
  .k-bg-#{$name} {
4448
4450
  background-color: $bg-color !important;
4449
4451
  }
@@ -4460,7 +4462,7 @@ $utils-border-radius: (
4460
4462
 
4461
4463
  @include exports( "common/decoration/variant" ) {
4462
4464
 
4463
- @each $name, $variant in $theme-colors {
4465
+ @each $name, $variant in $kendo-theme-colors {
4464
4466
  .k-state-#{$name} {
4465
4467
  @include variant( $variant );
4466
4468
  }
@@ -5972,7 +5974,7 @@ $message-box-link-text-decoration: underline !default;
5972
5974
  // #region @import "~@progress/kendo-theme-default/scss/messagebox/_theme.scss"; -> packages/classic/node_modules/@progress/kendo-theme-default/scss/messagebox/_theme.scss
5973
5975
  @include exports("messagebox/theme") {
5974
5976
 
5975
- @each $color-name, $color in $theme-colors {
5977
+ @each $color-name, $color in $kendo-theme-colors {
5976
5978
  .k-messagebox-#{$color-name} {
5977
5979
  @include fill(
5978
5980
  color-level( $color, $message-box-text-level ),
@@ -7383,7 +7385,7 @@ $listgroup-item-border-width: 1px !default;
7383
7385
 
7384
7386
  // Component
7385
7387
  // #region @import "_variables.scss"; -> packages/classic/scss/overlay/_variables.scss
7386
- $overlay-theme-colors: $theme-colors !default;
7388
+ $overlay-theme-colors: $kendo-theme-colors !default;
7387
7389
 
7388
7390
  $overlay-bg: $black !default;
7389
7391
  $overlay-opacity: .5 !default;
@@ -7926,7 +7928,7 @@ $badge-dot-size-lg: 12px !default;
7926
7928
  @include exports( "badge/theme" ) {
7927
7929
 
7928
7930
  // Solid badges
7929
- @each $name, $color in $theme-colors {
7931
+ @each $name, $color in $kendo-theme-colors {
7930
7932
  .k-badge-solid.k-badge-#{$name} {
7931
7933
  border-color: $color;
7932
7934
  color: contrast-wcag( $color );
@@ -7940,7 +7942,7 @@ $badge-dot-size-lg: 12px !default;
7940
7942
  background-color: $component-bg;
7941
7943
  }
7942
7944
 
7943
- @each $name, $color in $theme-colors {
7945
+ @each $name, $color in $kendo-theme-colors {
7944
7946
  .k-badge-outline.k-badge-#{$name} {
7945
7947
  color: $color;
7946
7948
  }
@@ -8023,7 +8025,7 @@ $kendo-button-arrow-padding-y: $kendo-button-padding-y !default;
8023
8025
  /// Theme colors map for the button.
8024
8026
  /// @group button
8025
8027
  $kendo-button-theme-colors: map-merge(
8026
- $theme-colors,
8028
+ $kendo-theme-colors,
8027
8029
  ( "base": $base-bg )
8028
8030
  ) !default;
8029
8031
 
@@ -8937,6 +8939,12 @@ $kendo-input-focus-text: null !default;
8937
8939
  $kendo-input-focus-border: rgba(0, 0, 0, .1) !default;
8938
8940
  $kendo-input-focus-shadow: 0 2px 4px 0 rgba(0, 0, 0, .03), 0 4px 5px 0 rgba(0, 0, 0, .04) !default;
8939
8941
 
8942
+ $kendo-input-disabled-bg: null !default;
8943
+ $kendo-input-disabled-text: null !default;
8944
+ $kendo-input-disabled-border: null !default;
8945
+ $kendo-input-disabled-gradient: null !default;
8946
+ $kendo-input-disabled-shadow: null !default;
8947
+
8940
8948
  $kendo-picker-bg: $kendo-button-bg !default;
8941
8949
  $kendo-picker-text: $kendo-button-text !default;
8942
8950
  $kendo-picker-border: $kendo-button-border !default;
@@ -8955,6 +8963,12 @@ $kendo-picker-focus-border: $kendo-button-focus-border !default;
8955
8963
  $kendo-picker-focus-gradient: $kendo-button-focus-gradient !default;
8956
8964
  $kendo-picker-focus-shadow: $kendo-button-focus-shadow !default;
8957
8965
 
8966
+ $kendo-picker-disabled-bg: null !default;
8967
+ $kendo-picker-disabled-text: null !default;
8968
+ $kendo-picker-disabled-border: null !default;
8969
+ $kendo-picker-disabled-gradient: null !default;
8970
+ $kendo-picker-disabled-shadow: null !default;
8971
+
8958
8972
  $kendo-input-placeholder-text: $subtle-text !default;
8959
8973
  $kendo-input-placeholder-opacity: 1 !default;
8960
8974
 
@@ -9257,10 +9271,10 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
9257
9271
  }
9258
9272
  }
9259
9273
  .k-spinner-increase .k-icon {
9260
- bottom: -$kendo-input-spinner-icon-offset;
9274
+ bottom: if( $use-input-spinner-icon-offset, calc( -1 * #{$kendo-input-spinner-icon-offset}), auto );
9261
9275
  }
9262
9276
  .k-spinner-decrease .k-icon {
9263
- top: -$kendo-input-spinner-icon-offset;
9277
+ top: if( $use-input-spinner-icon-offset, calc( -1 * #{$kendo-input-spinner-icon-offset}), auto );
9264
9278
  }
9265
9279
  }
9266
9280
 
@@ -9448,6 +9462,19 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
9448
9462
  @include box-shadow( $kendo-input-focus-shadow );
9449
9463
  }
9450
9464
 
9465
+ //Disabled
9466
+ &:disabled,
9467
+ &[disabled],
9468
+ &.k-disabled {
9469
+ @include fill(
9470
+ $kendo-input-disabled-text,
9471
+ $kendo-input-disabled-bg,
9472
+ $kendo-input-disabled-border,
9473
+ $kendo-input-disabled-gradient
9474
+ );
9475
+ @include box-shadow( $kendo-input-disabled-shadow );
9476
+ }
9477
+
9451
9478
  // Invalid
9452
9479
  &.k-invalid,
9453
9480
  &.ng-invalid.ng-touched,
@@ -9511,6 +9538,19 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
9511
9538
  @include box-shadow( $kendo-picker-focus-shadow );
9512
9539
  }
9513
9540
 
9541
+ //Disabled
9542
+ &:disabled,
9543
+ &[disabled],
9544
+ &.k-disabled {
9545
+ @include fill(
9546
+ $kendo-picker-disabled-text,
9547
+ $kendo-picker-disabled-bg,
9548
+ $kendo-picker-disabled-border,
9549
+ $kendo-picker-disabled-gradient
9550
+ );
9551
+ @include box-shadow( $kendo-picker-disabled-shadow );
9552
+ }
9553
+
9514
9554
  // Invalid
9515
9555
  &.k-invalid,
9516
9556
  &.ng-invalid.ng-touched,
@@ -10773,7 +10813,7 @@ $kendo-avatar-sizes: (
10773
10813
 
10774
10814
  /// Theme colors map of the avatar.
10775
10815
  /// @group avatar
10776
- $kendo-avatar-theme-colors: $theme-colors !default;
10816
+ $kendo-avatar-theme-colors: $kendo-theme-colors !default;
10777
10817
 
10778
10818
  // #endregion
10779
10819
  // #region @import "_layout.scss"; -> packages/classic/scss/avatar/_layout.scss
@@ -10977,10 +11017,10 @@ $kendo-chip-base-bg: if( $dark-theme, contrast-wcag($kendo-button-text), $kendo-
10977
11017
  /// @group chip
10978
11018
  $kendo-chip-theme-colors: (
10979
11019
  "base": $kendo-chip-base-bg,
10980
- "error": map-get( $theme-colors, "error" ),
10981
- "info": map-get( $theme-colors, "info" ),
10982
- "warning": map-get( $theme-colors, "warning" ),
10983
- "success": map-get( $theme-colors, "success" )
11020
+ "error": map-get( $kendo-theme-colors, "error" ),
11021
+ "info": map-get( $kendo-theme-colors, "info" ),
11022
+ "warning": map-get( $kendo-theme-colors, "warning" ),
11023
+ "success": map-get( $kendo-theme-colors, "success" )
10984
11024
  ) !default;
10985
11025
 
10986
11026
  /// The base background color of solid chip.
@@ -12026,7 +12066,7 @@ $loader-container-font-size-lg: $font-size-lg !default;
12026
12066
  // #region @import "~@progress/kendo-theme-default/scss/loader/_theme.scss"; -> packages/classic/node_modules/@progress/kendo-theme-default/scss/loader/_theme.scss
12027
12067
  @include exports( "loader/theme" ) {
12028
12068
 
12029
- @each $name, $color in $theme-colors {
12069
+ @each $name, $color in $kendo-theme-colors {
12030
12070
  .k-loader-#{$name} {
12031
12071
  @if $name == "secondary" {
12032
12072
  color: $loader-secondary-bg;
@@ -21247,7 +21287,7 @@ $appbar-bottom-box-shadow: 0px -1px 1px rgba(0, 0, 0, .16) !default;
21247
21287
 
21248
21288
 
21249
21289
  // AppBar theme colors
21250
- @each $name, $color in $theme-colors {
21290
+ @each $name, $color in $kendo-theme-colors {
21251
21291
  .k-appbar-#{$name} {
21252
21292
  @if $name == "light" {
21253
21293
  color: $appbar-light-text;
@@ -21385,7 +21425,7 @@ $kendo-fab-item-icon-height: $kendo-fab-item-icon-width !default;
21385
21425
 
21386
21426
  /// Theme colors map for the FAB.
21387
21427
  /// @group floating-action-button
21388
- $kendo-fab-theme-colors: $theme-colors !default;
21428
+ $kendo-fab-theme-colors: $kendo-theme-colors !default;
21389
21429
 
21390
21430
  /// The base shadow of the FAB.
21391
21431
  /// @group floating-action-button
@@ -22851,7 +22891,7 @@ $notification-themes: () !default;
22851
22891
  // sass-lint:enable indentation
22852
22892
  }
22853
22893
 
22854
- @each $theme, $props in $theme-colors {
22894
+ @each $theme, $props in $kendo-theme-colors {
22855
22895
  $notification-themes: map-merge($notification-themes, ($theme: notification-theme($theme, $props)) );
22856
22896
  }
22857
22897
 
@@ -23565,7 +23605,7 @@ $card-focus-callout-box-shadow-w: 2px -1px 4px 0 rgba( black, .06) !default;
23565
23605
 
23566
23606
 
23567
23607
  // Card theme colors
23568
- @each $name, $color in $theme-colors {
23608
+ @each $name, $color in $kendo-theme-colors {
23569
23609
  .k-card-#{$name} {
23570
23610
  background-color: tint($color, 10);
23571
23611
  color: shade($color, 6);
@@ -24066,7 +24106,7 @@ $bottom-nav-flat-border: $component-border !default;
24066
24106
  @include exports("bottom-navigation/theme") {
24067
24107
 
24068
24108
  // Solid
24069
- @each $name, $color in $theme-colors {
24109
+ @each $name, $color in $kendo-theme-colors {
24070
24110
  .k-bottom-nav-solid.k-bottom-nav-#{$name} {
24071
24111
  @include fill(
24072
24112
  $color: true-mix( $color, contrast-wcag( $color ), 35%),
@@ -24099,7 +24139,7 @@ $bottom-nav-flat-border: $component-border !default;
24099
24139
  @include fill( $bg: rgba($bottom-nav-flat-text, .05) );
24100
24140
  }
24101
24141
 
24102
- @each $name, $color in $theme-colors {
24142
+ @each $name, $color in $kendo-theme-colors {
24103
24143
  &.k-bottom-nav-#{$name} .k-bottom-nav-item.k-state-selected {
24104
24144
  @if $name == "secondary" or $name == "light" {
24105
24145
  @include fill( $color: try-shade($color, 3) );
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.0",
4
+ "version": "5.1.2-dev.2",
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.0"
52
+ "@progress/kendo-theme-default": "^5.1.2-dev.2"
53
53
  },
54
- "gitHead": "279941cb925d750fc123f66c3e15ce1e2b666191"
54
+ "gitHead": "df4c6f46ad3f3c8f20146b0301c4f9c2e4b8fa26"
55
55
  }
@@ -12,6 +12,7 @@ $enable-grid-classes: true !default;
12
12
  $use-calc-badge-size: true !default;
13
13
  $use-input-button-width: false !default;
14
14
  $use-input-spinner-width: false !default;
15
+ $use-input-spinner-icon-offset: false !default;
15
16
  $use-picker-select-width: false !default;
16
17
 
17
18
 
@@ -189,7 +190,7 @@ $light: #ebebeb !default;
189
190
  $inverse: if( $dark-theme, $light, $dark ) !default;
190
191
 
191
192
 
192
- $theme-colors: (
193
+ $kendo-theme-colors: (
193
194
  "primary": $primary,
194
195
  "secondary": $secondary,
195
196
  "tertiary": $tertiary,
@@ -244,7 +245,7 @@ $base-border: try-shade( $base-bg, 2 ) !default;
244
245
  $base-gradient: rgba( white, .1 ), rgba( white, 0 ) !default;
245
246
 
246
247
  /// Background color of a component.
247
- /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !defualt;`.
248
+ /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !default;`.
248
249
  /// @group component
249
250
  $component-bg: $body-bg !default;
250
251
  /// Text color of a component.
@@ -24,4 +24,4 @@ $kendo-avatar-sizes: (
24
24
 
25
25
  /// Theme colors map of the avatar.
26
26
  /// @group avatar
27
- $kendo-avatar-theme-colors: $theme-colors !default;
27
+ $kendo-avatar-theme-colors: $kendo-theme-colors !default;
@@ -54,7 +54,7 @@ $kendo-button-arrow-padding-y: $kendo-button-padding-y !default;
54
54
  /// Theme colors map for the button.
55
55
  /// @group button
56
56
  $kendo-button-theme-colors: map-merge(
57
- $theme-colors,
57
+ $kendo-theme-colors,
58
58
  ( "base": $base-bg )
59
59
  ) !default;
60
60
 
@@ -66,10 +66,10 @@ $kendo-chip-base-bg: if( $dark-theme, contrast-wcag($kendo-button-text), $kendo-
66
66
  /// @group chip
67
67
  $kendo-chip-theme-colors: (
68
68
  "base": $kendo-chip-base-bg,
69
- "error": map-get( $theme-colors, "error" ),
70
- "info": map-get( $theme-colors, "info" ),
71
- "warning": map-get( $theme-colors, "warning" ),
72
- "success": map-get( $theme-colors, "success" )
69
+ "error": map-get( $kendo-theme-colors, "error" ),
70
+ "info": map-get( $kendo-theme-colors, "info" ),
71
+ "warning": map-get( $kendo-theme-colors, "warning" ),
72
+ "success": map-get( $kendo-theme-colors, "success" )
73
73
  ) !default;
74
74
 
75
75
  /// The base background color of solid chip.
@@ -88,7 +88,7 @@ $kendo-fab-item-icon-height: $kendo-fab-item-icon-width !default;
88
88
 
89
89
  /// Theme colors map for the FAB.
90
90
  /// @group floating-action-button
91
- $kendo-fab-theme-colors: $theme-colors !default;
91
+ $kendo-fab-theme-colors: $kendo-theme-colors !default;
92
92
 
93
93
  /// The base shadow of the FAB.
94
94
  /// @group floating-action-button
@@ -71,6 +71,12 @@ $kendo-input-focus-text: null !default;
71
71
  $kendo-input-focus-border: rgba(0, 0, 0, .1) !default;
72
72
  $kendo-input-focus-shadow: 0 2px 4px 0 rgba(0, 0, 0, .03), 0 4px 5px 0 rgba(0, 0, 0, .04) !default;
73
73
 
74
+ $kendo-input-disabled-bg: null !default;
75
+ $kendo-input-disabled-text: null !default;
76
+ $kendo-input-disabled-border: null !default;
77
+ $kendo-input-disabled-gradient: null !default;
78
+ $kendo-input-disabled-shadow: null !default;
79
+
74
80
  $kendo-picker-bg: $kendo-button-bg !default;
75
81
  $kendo-picker-text: $kendo-button-text !default;
76
82
  $kendo-picker-border: $kendo-button-border !default;
@@ -89,6 +95,12 @@ $kendo-picker-focus-border: $kendo-button-focus-border !default;
89
95
  $kendo-picker-focus-gradient: $kendo-button-focus-gradient !default;
90
96
  $kendo-picker-focus-shadow: $kendo-button-focus-shadow !default;
91
97
 
98
+ $kendo-picker-disabled-bg: null !default;
99
+ $kendo-picker-disabled-text: null !default;
100
+ $kendo-picker-disabled-border: null !default;
101
+ $kendo-picker-disabled-gradient: null !default;
102
+ $kendo-picker-disabled-shadow: null !default;
103
+
92
104
  $kendo-input-placeholder-text: $subtle-text !default;
93
105
  $kendo-input-placeholder-opacity: 1 !default;
94
106
 
@@ -29,6 +29,6 @@ $notification-themes: () !default;
29
29
  // sass-lint:enable indentation
30
30
  }
31
31
 
32
- @each $theme, $props in $theme-colors {
32
+ @each $theme, $props in $kendo-theme-colors {
33
33
  $notification-themes: map-merge($notification-themes, ($theme: notification-theme($theme, $props)) );
34
34
  }
@@ -1,4 +1,4 @@
1
- $overlay-theme-colors: $theme-colors !default;
1
+ $overlay-theme-colors: $kendo-theme-colors !default;
2
2
 
3
3
  $overlay-bg: $black !default;
4
4
  $overlay-opacity: .5 !default;