@progress/kendo-theme-default 5.0.2-dev.0 → 5.1.2-dev.1

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 (41) hide show
  1. package/dist/all.css +5 -5
  2. package/dist/all.scss +67 -25
  3. package/dist/default-blue.scss +2 -2
  4. package/dist/default-green.scss +2 -2
  5. package/dist/default-main-dark.scss +2 -2
  6. package/dist/default-main.scss +2 -2
  7. package/dist/default-nordic.scss +2 -2
  8. package/dist/default-orange.scss +2 -2
  9. package/dist/default-purple.scss +2 -2
  10. package/dist/default-turquoise.scss +2 -2
  11. package/dist/default-urban.scss +2 -2
  12. package/lib/swatches/default-blue.json +2 -2
  13. package/lib/swatches/default-green.json +2 -2
  14. package/lib/swatches/default-main-dark.json +2 -2
  15. package/lib/swatches/default-main.json +2 -2
  16. package/lib/swatches/default-nordic.json +2 -2
  17. package/lib/swatches/default-orange.json +2 -2
  18. package/lib/swatches/default-purple.json +2 -2
  19. package/lib/swatches/default-turquoise.json +2 -2
  20. package/lib/swatches/default-urban.json +2 -2
  21. package/package.json +2 -2
  22. package/scss/_variables.scss +3 -2
  23. package/scss/appbar/_theme.scss +1 -1
  24. package/scss/avatar/_variables.scss +1 -1
  25. package/scss/badge/_theme.scss +2 -2
  26. package/scss/bottom-navigation/_theme.scss +2 -2
  27. package/scss/button/_variables.scss +1 -1
  28. package/scss/card/_theme.scss +1 -1
  29. package/scss/chip/_variables.scss +4 -4
  30. package/scss/core/functions/_misc.scss +1 -0
  31. package/scss/fab/_variables.scss +1 -1
  32. package/scss/input/_layout.scss +2 -2
  33. package/scss/input/_theme.scss +26 -0
  34. package/scss/input/_variables.scss +12 -0
  35. package/scss/loader/_theme.scss +1 -1
  36. package/scss/messagebox/_theme.scss +1 -1
  37. package/scss/notification/_variables.scss +1 -1
  38. package/scss/overlay/_variables.scss +1 -1
  39. package/scss/tabstrip/_theme.scss +2 -0
  40. package/scss/utils/_border.scss +1 -1
  41. package/scss/utils/_theme-colors.scss +3 -3
package/dist/all.css CHANGED
@@ -13193,11 +13193,11 @@ textarea.k-input-inner {
13193
13193
  }
13194
13194
 
13195
13195
  .k-input-spinner .k-spinner-increase .k-icon {
13196
- bottom: -;
13196
+ bottom: auto;
13197
13197
  }
13198
13198
 
13199
13199
  .k-input-spinner .k-spinner-decrease .k-icon {
13200
- top: -;
13200
+ top: auto;
13201
13201
  }
13202
13202
 
13203
13203
  .k-searchbar {
@@ -16747,7 +16747,7 @@ kendo-label > .k-label {
16747
16747
 
16748
16748
  .k-radio:checked,
16749
16749
  .k-radio.k-checked {
16750
- 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");
16750
+ 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");
16751
16751
  }
16752
16752
 
16753
16753
  .k-radio:disabled,
@@ -23911,13 +23911,13 @@ kendo-card-footer {
23911
23911
  color: #d6534a;
23912
23912
  }
23913
23913
 
23914
- .k-tabstrip-items-wrapper .k-item.k-state-active, .k-tabstrip-items-wrapper .k-item.k-state-selected {
23914
+ .k-tabstrip-items-wrapper .k-item:active, .k-tabstrip-items-wrapper .k-item.k-state-active, .k-tabstrip-items-wrapper .k-item.k-state-selected {
23915
23915
  border-color: rgba(0, 0, 0, 0.08);
23916
23916
  color: #424242;
23917
23917
  background-color: #ffffff;
23918
23918
  }
23919
23919
 
23920
- .k-tabstrip-items-wrapper .k-item.k-state-focused {
23920
+ .k-tabstrip-items-wrapper .k-item:focus, .k-tabstrip-items-wrapper .k-item.k-state-focused {
23921
23921
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.12);
23922
23922
  }
23923
23923
 
package/dist/all.scss CHANGED
@@ -457,6 +457,7 @@ $wcag-light: white !default;
457
457
  // #endregion
458
458
  // #region @import "_misc.scss"; -> packages/default/scss/core/functions/_misc.scss
459
459
  $svg-escaped-characters: (
460
+ ("%", "%25"),
460
461
  ("<", "%3c"),
461
462
  (">", "%3e"),
462
463
  ("#", "%23"),
@@ -996,6 +997,7 @@ $enable-grid-classes: true !default;
996
997
  $use-calc-badge-size: true !default;
997
998
  $use-input-button-width: true !default;
998
999
  $use-input-spinner-width: true !default;
1000
+ $use-input-spinner-icon-offset: false !default;
999
1001
  $use-picker-select-width: true !default;
1000
1002
 
1001
1003
 
@@ -1186,7 +1188,7 @@ $light: #ebebeb !default;
1186
1188
  $inverse: if( $dark-theme, $light, $dark ) !default;
1187
1189
 
1188
1190
 
1189
- $theme-colors: (
1191
+ $kendo-theme-colors: (
1190
1192
  "primary": $primary,
1191
1193
  "secondary": $secondary,
1192
1194
  "tertiary": $tertiary,
@@ -1223,7 +1225,7 @@ $app-border: rgba( $black, .08 ) !default;
1223
1225
 
1224
1226
  // Component
1225
1227
  /// Background color of a component.
1226
- /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !defualt;`.
1228
+ /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !default;`.
1227
1229
  /// @group component
1228
1230
  $component-bg: $body-bg !default;
1229
1231
  /// Text color of a component.
@@ -3320,7 +3322,7 @@ $display4-letter-spacing: null !default;
3320
3322
  0: 0
3321
3323
  ) !default;
3322
3324
 
3323
- $utils-border-color: $theme-colors !default;
3325
+ $utils-border-color: $kendo-theme-colors !default;
3324
3326
 
3325
3327
  $utils-border-radius-sides: (
3326
3328
  default: border-radius,
@@ -4376,7 +4378,7 @@ $display4-letter-spacing: null !default;
4376
4378
 
4377
4379
  .k-color-inherit { color: inherit; }
4378
4380
 
4379
- @each $name, $color in $theme-colors {
4381
+ @each $name, $color in $kendo-theme-colors {
4380
4382
  .k-text-#{$name},
4381
4383
  .k-color-#{$name} {
4382
4384
  color: $color !important;
@@ -4390,7 +4392,7 @@ $display4-letter-spacing: null !default;
4390
4392
 
4391
4393
  // sass-lint:disable-block no-important
4392
4394
 
4393
- @each $name, $bg-color in $theme-colors {
4395
+ @each $name, $bg-color in $kendo-theme-colors {
4394
4396
  .k-bg-#{$name} {
4395
4397
  background-color: $bg-color !important;
4396
4398
  }
@@ -4407,7 +4409,7 @@ $display4-letter-spacing: null !default;
4407
4409
 
4408
4410
  @include exports( "common/decoration/variant" ) {
4409
4411
 
4410
- @each $name, $variant in $theme-colors {
4412
+ @each $name, $variant in $kendo-theme-colors {
4411
4413
  .k-state-#{$name} {
4412
4414
  @include variant( $variant );
4413
4415
  }
@@ -5895,7 +5897,7 @@ $message-box-link-text-decoration: underline !default;
5895
5897
  // #region @import "_theme.scss"; -> packages/default/scss/messagebox/_theme.scss
5896
5898
  @include exports("messagebox/theme") {
5897
5899
 
5898
- @each $color-name, $color in $theme-colors {
5900
+ @each $color-name, $color in $kendo-theme-colors {
5899
5901
  .k-messagebox-#{$color-name} {
5900
5902
  @include fill(
5901
5903
  color-level( $color, $message-box-text-level ),
@@ -7286,7 +7288,7 @@ $listgroup-item-border-width: 1px !default;
7286
7288
 
7287
7289
  // Component
7288
7290
  // #region @import "_variables.scss"; -> packages/default/scss/overlay/_variables.scss
7289
- $overlay-theme-colors: $theme-colors !default;
7291
+ $overlay-theme-colors: $kendo-theme-colors !default;
7290
7292
 
7291
7293
  $overlay-bg: $black !default;
7292
7294
  $overlay-opacity: .5 !default;
@@ -7807,7 +7809,7 @@ $badge-dot-size-lg: 12px !default;
7807
7809
  @include exports( "badge/theme" ) {
7808
7810
 
7809
7811
  // Solid badges
7810
- @each $name, $color in $theme-colors {
7812
+ @each $name, $color in $kendo-theme-colors {
7811
7813
  .k-badge-solid.k-badge-#{$name} {
7812
7814
  border-color: $color;
7813
7815
  color: contrast-wcag( $color );
@@ -7821,7 +7823,7 @@ $badge-dot-size-lg: 12px !default;
7821
7823
  background-color: $component-bg;
7822
7824
  }
7823
7825
 
7824
- @each $name, $color in $theme-colors {
7826
+ @each $name, $color in $kendo-theme-colors {
7825
7827
  .k-badge-outline.k-badge-#{$name} {
7826
7828
  color: $color;
7827
7829
  }
@@ -7903,7 +7905,7 @@ $kendo-button-arrow-padding-y: $kendo-button-padding-y !default;
7903
7905
  /// Theme colors map for the button.
7904
7906
  /// @group button
7905
7907
  $kendo-button-theme-colors: map-merge(
7906
- $theme-colors,
7908
+ $kendo-theme-colors,
7907
7909
  ( "base": #f5f5f5 )
7908
7910
  ) !default;
7909
7911
 
@@ -8811,6 +8813,12 @@ $kendo-input-focus-text: null !default;
8811
8813
  $kendo-input-focus-border: $kendo-input-hover-border !default;
8812
8814
  $kendo-input-focus-shadow: 0 0 0 2px rgba( $kendo-input-focus-border, .08 ) !default;
8813
8815
 
8816
+ $kendo-input-disabled-bg: null !default;
8817
+ $kendo-input-disabled-text: null !default;
8818
+ $kendo-input-disabled-border: null !default;
8819
+ $kendo-input-disabled-gradient: null !default;
8820
+ $kendo-input-disabled-shadow: null !default;
8821
+
8814
8822
  $kendo-picker-bg: $kendo-button-bg !default;
8815
8823
  $kendo-picker-text: $kendo-button-text !default;
8816
8824
  $kendo-picker-border: $kendo-button-border !default;
@@ -8829,6 +8837,12 @@ $kendo-picker-focus-border: $kendo-button-focus-border !default;
8829
8837
  $kendo-picker-focus-gradient: $kendo-button-focus-gradient !default;
8830
8838
  $kendo-picker-focus-shadow: $kendo-button-focus-shadow !default;
8831
8839
 
8840
+ $kendo-picker-disabled-bg: null !default;
8841
+ $kendo-picker-disabled-text: null !default;
8842
+ $kendo-picker-disabled-border: null !default;
8843
+ $kendo-picker-disabled-gradient: null !default;
8844
+ $kendo-picker-disabled-shadow: null !default;
8845
+
8832
8846
  $kendo-input-placeholder-text: $subtle-text !default;
8833
8847
  $kendo-input-placeholder-opacity: 1 !default;
8834
8848
 
@@ -9130,10 +9144,10 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
9130
9144
  }
9131
9145
  }
9132
9146
  .k-spinner-increase .k-icon {
9133
- bottom: -$kendo-input-spinner-icon-offset;
9147
+ bottom: if( $use-input-spinner-icon-offset, calc( -1 * #{$kendo-input-spinner-icon-offset}), auto );
9134
9148
  }
9135
9149
  .k-spinner-decrease .k-icon {
9136
- top: -$kendo-input-spinner-icon-offset;
9150
+ top: if( $use-input-spinner-icon-offset, calc( -1 * #{$kendo-input-spinner-icon-offset}), auto );
9137
9151
  }
9138
9152
  }
9139
9153
 
@@ -9318,6 +9332,19 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
9318
9332
  @include box-shadow( $kendo-input-focus-shadow );
9319
9333
  }
9320
9334
 
9335
+ //Disabled
9336
+ &:disabled,
9337
+ &[disabled],
9338
+ &.k-disabled {
9339
+ @include fill(
9340
+ $kendo-input-disabled-text,
9341
+ $kendo-input-disabled-bg,
9342
+ $kendo-input-disabled-border,
9343
+ $kendo-input-disabled-gradient
9344
+ );
9345
+ @include box-shadow( $kendo-input-disabled-shadow );
9346
+ }
9347
+
9321
9348
  // Invalid
9322
9349
  &.k-invalid,
9323
9350
  &.ng-invalid.ng-touched,
@@ -9381,6 +9408,19 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
9381
9408
  @include box-shadow( $kendo-picker-focus-shadow );
9382
9409
  }
9383
9410
 
9411
+ //Disabled
9412
+ &:disabled,
9413
+ &[disabled],
9414
+ &.k-disabled {
9415
+ @include fill(
9416
+ $kendo-picker-disabled-text,
9417
+ $kendo-picker-disabled-bg,
9418
+ $kendo-picker-disabled-border,
9419
+ $kendo-picker-disabled-gradient
9420
+ );
9421
+ @include box-shadow( $kendo-picker-disabled-shadow );
9422
+ }
9423
+
9384
9424
  // Invalid
9385
9425
  &.k-invalid,
9386
9426
  &.ng-invalid.ng-touched,
@@ -10617,7 +10657,7 @@ $kendo-avatar-sizes: (
10617
10657
 
10618
10658
  /// Theme colors map of the avatar.
10619
10659
  /// @group avatar
10620
- $kendo-avatar-theme-colors: $theme-colors !default;
10660
+ $kendo-avatar-theme-colors: $kendo-theme-colors !default;
10621
10661
 
10622
10662
  // #endregion
10623
10663
  // #region @import "_layout.scss"; -> packages/default/scss/avatar/_layout.scss
@@ -10815,10 +10855,10 @@ $kendo-chip-base-bg: if( $dark-theme, contrast-wcag($kendo-button-text), $kendo-
10815
10855
  /// @group chip
10816
10856
  $kendo-chip-theme-colors: (
10817
10857
  "base": $kendo-chip-base-bg,
10818
- "error": map-get($theme-colors, "error"),
10819
- "info": map-get($theme-colors, "info"),
10820
- "warning": map-get($theme-colors, "warning"),
10821
- "success": map-get($theme-colors, "success")
10858
+ "error": map-get($kendo-theme-colors, "error"),
10859
+ "info": map-get($kendo-theme-colors, "info"),
10860
+ "warning": map-get($kendo-theme-colors, "warning"),
10861
+ "success": map-get($kendo-theme-colors, "success")
10822
10862
  ) !default;
10823
10863
 
10824
10864
  /// The base background color of solid chip.
@@ -11847,7 +11887,7 @@ $loader-container-font-size-lg: $font-size-lg !default;
11847
11887
  // #region @import "_theme.scss"; -> packages/default/scss/loader/_theme.scss
11848
11888
  @include exports( "loader/theme" ) {
11849
11889
 
11850
- @each $name, $color in $theme-colors {
11890
+ @each $name, $color in $kendo-theme-colors {
11851
11891
  .k-loader-#{$name} {
11852
11892
  @if $name == "secondary" {
11853
11893
  color: $loader-secondary-bg;
@@ -20832,7 +20872,7 @@ $appbar-bottom-box-shadow: 0px -1px 1px rgba(0, 0, 0, .16) !default;
20832
20872
 
20833
20873
 
20834
20874
  // AppBar theme colors
20835
- @each $name, $color in $theme-colors {
20875
+ @each $name, $color in $kendo-theme-colors {
20836
20876
  .k-appbar-#{$name} {
20837
20877
  @if $name == "light" {
20838
20878
  color: $appbar-light-text;
@@ -20968,7 +21008,7 @@ $kendo-fab-item-icon-height: $kendo-fab-item-icon-width !default;
20968
21008
 
20969
21009
  /// Theme colors map for the FAB.
20970
21010
  /// @group floating-action-button
20971
- $kendo-fab-theme-colors: $theme-colors !default;
21011
+ $kendo-fab-theme-colors: $kendo-theme-colors !default;
20972
21012
 
20973
21013
  /// The base shadow of the FAB.
20974
21014
  /// @group floating-action-button
@@ -22404,7 +22444,7 @@ $notification-themes: () !default;
22404
22444
  // sass-lint:enable indentation
22405
22445
  }
22406
22446
 
22407
- @each $theme, $props in $theme-colors {
22447
+ @each $theme, $props in $kendo-theme-colors {
22408
22448
  $notification-themes: map-merge($notification-themes, ($theme: notification-theme($theme, $props)) );
22409
22449
  }
22410
22450
 
@@ -23105,7 +23145,7 @@ $card-focus-callout-box-shadow-w: 2px -1px 4px 0 rgba( black, .06) !default;
23105
23145
 
23106
23146
 
23107
23147
  // Card theme colors
23108
- @each $name, $color in $theme-colors {
23148
+ @each $name, $color in $kendo-theme-colors {
23109
23149
  .k-card-#{$name} {
23110
23150
  background-color: tint($color, 10);
23111
23151
  color: shade($color, 6);
@@ -23593,7 +23633,7 @@ $bottom-nav-flat-border: $component-border !default;
23593
23633
  @include exports("bottom-navigation/theme") {
23594
23634
 
23595
23635
  // Solid
23596
- @each $name, $color in $theme-colors {
23636
+ @each $name, $color in $kendo-theme-colors {
23597
23637
  .k-bottom-nav-solid.k-bottom-nav-#{$name} {
23598
23638
  @include fill(
23599
23639
  $color: true-mix( $color, contrast-wcag( $color ), 35%),
@@ -23626,7 +23666,7 @@ $bottom-nav-flat-border: $component-border !default;
23626
23666
  @include fill( $bg: rgba($bottom-nav-flat-text, .05) );
23627
23667
  }
23628
23668
 
23629
- @each $name, $color in $theme-colors {
23669
+ @each $name, $color in $kendo-theme-colors {
23630
23670
  &.k-bottom-nav-#{$name} .k-bottom-nav-item.k-state-selected {
23631
23671
  @if $name == "secondary" or $name == "light" {
23632
23672
  @include fill( $color: try-shade($color, 3) );
@@ -25589,6 +25629,7 @@ $tabstrip-content-border-focused: $component-text !default;
25589
25629
  );
25590
25630
  }
25591
25631
 
25632
+ &:active,
25592
25633
  &.k-state-active,
25593
25634
  &.k-state-selected {
25594
25635
  @include fill(
@@ -25599,6 +25640,7 @@ $tabstrip-content-border-focused: $component-text !default;
25599
25640
  );
25600
25641
  }
25601
25642
 
25643
+ &:focus,
25602
25644
  &.k-state-focused {
25603
25645
  @include box-shadow( $tabstrip-item-focused-shadow );
25604
25646
  }
@@ -18,8 +18,8 @@ $hovered-text: #424242;
18
18
  $hovered-bg: #ececec;
19
19
  $selected-text: #ffffff;
20
20
  $selected-bg: #23bde0;
21
- $button-text: #424242;
22
- $button-bg: #f5f5f5;
21
+ $kendo-button-text: #424242;
22
+ $kendo-button-bg: #f5f5f5;
23
23
  $link-text: #23bde0;
24
24
  $link-hover-text: #1d9fbc;
25
25
  $series-a: #23bde0;
@@ -18,8 +18,8 @@ $hovered-text: #424242;
18
18
  $hovered-bg: #ececec;
19
19
  $selected-text: #ffffff;
20
20
  $selected-bg: #53b827;
21
- $button-text: #424242;
22
- $button-bg: #f5f5f5;
21
+ $kendo-button-text: #424242;
22
+ $kendo-button-bg: #f5f5f5;
23
23
  $link-text: #53b827;
24
24
  $link-hover-text: #469b21;
25
25
  $series-a: #53b827;
@@ -19,8 +19,8 @@ $hovered-text: #ffffff;
19
19
  $hovered-bg: #202020;
20
20
  $selected-text: #ffffff;
21
21
  $selected-bg: #ff6358;
22
- $button-text: #ffffff;
23
- $button-bg: #404040;
22
+ $kendo-button-text: #ffffff;
23
+ $kendo-button-bg: #404040;
24
24
  $link-text: #ff6358;
25
25
  $link-hover-text: #d6534a;
26
26
  $series-a: #ff6358;
@@ -18,8 +18,8 @@ $hovered-text: #424242;
18
18
  $hovered-bg: #ececec;
19
19
  $selected-text: #ffffff;
20
20
  $selected-bg: #ff6358;
21
- $button-text: #424242;
22
- $button-bg: #f5f5f5;
21
+ $kendo-button-text: #424242;
22
+ $kendo-button-bg: #f5f5f5;
23
23
  $link-text: #ff6358;
24
24
  $link-hover-text: #d6534a;
25
25
  $series-a: #ff6358;
@@ -18,8 +18,8 @@ $hovered-text: #212529;
18
18
  $hovered-bg: #e4e7eb;
19
19
  $selected-text: #ffffff;
20
20
  $selected-bg: #e7607b;
21
- $button-text: #212529;
22
- $button-bg: #d6e5e9;
21
+ $kendo-button-text: #212529;
22
+ $kendo-button-bg: #d6e5e9;
23
23
  $link-text: #e7607b;
24
24
  $link-hover-text: #da2146;
25
25
  $series-a: #e7607b;
@@ -18,8 +18,8 @@ $hovered-text: #424242;
18
18
  $hovered-bg: #ececec;
19
19
  $selected-text: #ffffff;
20
20
  $selected-bg: #ff9411;
21
- $button-text: #424242;
22
- $button-bg: #f5f5f5;
21
+ $kendo-button-text: #424242;
22
+ $kendo-button-bg: #f5f5f5;
23
23
  $link-text: #ff9411;
24
24
  $link-hover-text: #d67c0e;
25
25
  $series-a: #ff9411;
@@ -18,8 +18,8 @@ $hovered-text: #424242;
18
18
  $hovered-bg: #ececec;
19
19
  $selected-text: #ffffff;
20
20
  $selected-bg: #bf70cc;
21
- $button-text: #424242;
22
- $button-bg: #f5f5f5;
21
+ $kendo-button-text: #424242;
22
+ $kendo-button-bg: #f5f5f5;
23
23
  $link-text: #bf70cc;
24
24
  $link-hover-text: #a05eab;
25
25
  $series-a: #bf70cc;
@@ -18,8 +18,8 @@ $hovered-text: #424242;
18
18
  $hovered-bg: #ececec;
19
19
  $selected-text: #ffffff;
20
20
  $selected-bg: #28bfba;
21
- $button-text: #424242;
22
- $button-bg: #f5f5f5;
21
+ $kendo-button-text: #424242;
22
+ $kendo-button-bg: #f5f5f5;
23
23
  $link-text: #28bfba;
24
24
  $link-hover-text: #22a09c;
25
25
  $series-a: #28bfba;
@@ -18,8 +18,8 @@ $hovered-text: #16181b;
18
18
  $hovered-bg: #cfdee6;
19
19
  $selected-text: #ffffff;
20
20
  $selected-bg: #ff5c1a;
21
- $button-text: #ffffff;
22
- $button-bg: #5798be;
21
+ $kendo-button-text: #ffffff;
22
+ $kendo-button-bg: #5798be;
23
23
  $link-text: #ff5c1a;
24
24
  $link-hover-text: #e65317;
25
25
  $series-a: #ff7943;
@@ -134,12 +134,12 @@
134
134
  {
135
135
  "name": "Button",
136
136
  "variables": {
137
- "button-text": {
137
+ "kendo-button-text": {
138
138
  "name": "Button text color",
139
139
  "type": "color",
140
140
  "value": "#424242"
141
141
  },
142
- "button-bg": {
142
+ "kendo-button-bg": {
143
143
  "name": "Button background",
144
144
  "type": "color",
145
145
  "value": "#f5f5f5"
@@ -134,12 +134,12 @@
134
134
  {
135
135
  "name": "Button",
136
136
  "variables": {
137
- "button-text": {
137
+ "kendo-button-text": {
138
138
  "name": "Button text color",
139
139
  "type": "color",
140
140
  "value": "#424242"
141
141
  },
142
- "button-bg": {
142
+ "kendo-button-bg": {
143
143
  "name": "Button background",
144
144
  "type": "color",
145
145
  "value": "#f5f5f5"
@@ -144,12 +144,12 @@
144
144
  {
145
145
  "name": "Button",
146
146
  "variables": {
147
- "button-text": {
147
+ "kendo-button-text": {
148
148
  "name": "Button text color",
149
149
  "type": "color",
150
150
  "value": "#ffffff"
151
151
  },
152
- "button-bg": {
152
+ "kendo-button-bg": {
153
153
  "name": "Button background",
154
154
  "type": "color",
155
155
  "value": "#404040"
@@ -134,12 +134,12 @@
134
134
  {
135
135
  "name": "Button",
136
136
  "variables": {
137
- "button-text": {
137
+ "kendo-button-text": {
138
138
  "name": "Button text color",
139
139
  "type": "color",
140
140
  "value": "#424242"
141
141
  },
142
- "button-bg": {
142
+ "kendo-button-bg": {
143
143
  "name": "Button background",
144
144
  "type": "color",
145
145
  "value": "#f5f5f5"
@@ -134,12 +134,12 @@
134
134
  {
135
135
  "name": "Button",
136
136
  "variables": {
137
- "button-text": {
137
+ "kendo-button-text": {
138
138
  "name": "Button text color",
139
139
  "type": "color",
140
140
  "value": "#212529"
141
141
  },
142
- "button-bg": {
142
+ "kendo-button-bg": {
143
143
  "name": "Button background",
144
144
  "type": "color",
145
145
  "value": "#d6e5e9"
@@ -134,12 +134,12 @@
134
134
  {
135
135
  "name": "Button",
136
136
  "variables": {
137
- "button-text": {
137
+ "kendo-button-text": {
138
138
  "name": "Button text color",
139
139
  "type": "color",
140
140
  "value": "#424242"
141
141
  },
142
- "button-bg": {
142
+ "kendo-button-bg": {
143
143
  "name": "Button background",
144
144
  "type": "color",
145
145
  "value": "#f5f5f5"
@@ -134,12 +134,12 @@
134
134
  {
135
135
  "name": "Button",
136
136
  "variables": {
137
- "button-text": {
137
+ "kendo-button-text": {
138
138
  "name": "Button text color",
139
139
  "type": "color",
140
140
  "value": "#424242"
141
141
  },
142
- "button-bg": {
142
+ "kendo-button-bg": {
143
143
  "name": "Button background",
144
144
  "type": "color",
145
145
  "value": "#f5f5f5"
@@ -134,12 +134,12 @@
134
134
  {
135
135
  "name": "Button",
136
136
  "variables": {
137
- "button-text": {
137
+ "kendo-button-text": {
138
138
  "name": "Button text color",
139
139
  "type": "color",
140
140
  "value": "#424242"
141
141
  },
142
- "button-bg": {
142
+ "kendo-button-bg": {
143
143
  "name": "Button background",
144
144
  "type": "color",
145
145
  "value": "#f5f5f5"
@@ -134,12 +134,12 @@
134
134
  {
135
135
  "name": "Button",
136
136
  "variables": {
137
- "button-text": {
137
+ "kendo-button-text": {
138
138
  "name": "Button text color",
139
139
  "type": "color",
140
140
  "value": "#ffffff"
141
141
  },
142
- "button-bg": {
142
+ "kendo-button-bg": {
143
143
  "name": "Button background",
144
144
  "type": "color",
145
145
  "value": "#5798be"
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.0.2-dev.0",
4
+ "version": "5.1.2-dev.1",
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": "aa428c88a51a5b5462ad9d55a3e5c94646d1b386"
50
+ "gitHead": "9adacd86a177c1376aba105dd03af3f38a4dcaff"
51
51
  }
@@ -13,6 +13,7 @@ $enable-grid-classes: true !default;
13
13
  $use-calc-badge-size: true !default;
14
14
  $use-input-button-width: true !default;
15
15
  $use-input-spinner-width: true !default;
16
+ $use-input-spinner-icon-offset: false !default;
16
17
  $use-picker-select-width: true !default;
17
18
 
18
19
 
@@ -203,7 +204,7 @@ $light: #ebebeb !default;
203
204
  $inverse: if( $dark-theme, $light, $dark ) !default;
204
205
 
205
206
 
206
- $theme-colors: (
207
+ $kendo-theme-colors: (
207
208
  "primary": $primary,
208
209
  "secondary": $secondary,
209
210
  "tertiary": $tertiary,
@@ -240,7 +241,7 @@ $app-border: rgba( $black, .08 ) !default;
240
241
 
241
242
  // Component
242
243
  /// Background color of a component.
243
- /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !defualt;`.
244
+ /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !default;`.
244
245
  /// @group component
245
246
  $component-bg: $body-bg !default;
246
247
  /// Text color of a component.
@@ -9,7 +9,7 @@
9
9
 
10
10
 
11
11
  // AppBar theme colors
12
- @each $name, $color in $theme-colors {
12
+ @each $name, $color in $kendo-theme-colors {
13
13
  .k-appbar-#{$name} {
14
14
  @if $name == "light" {
15
15
  color: $appbar-light-text;
@@ -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;
@@ -1,7 +1,7 @@
1
1
  @include exports( "badge/theme" ) {
2
2
 
3
3
  // Solid badges
4
- @each $name, $color in $theme-colors {
4
+ @each $name, $color in $kendo-theme-colors {
5
5
  .k-badge-solid.k-badge-#{$name} {
6
6
  border-color: $color;
7
7
  color: contrast-wcag( $color );
@@ -15,7 +15,7 @@
15
15
  background-color: $component-bg;
16
16
  }
17
17
 
18
- @each $name, $color in $theme-colors {
18
+ @each $name, $color in $kendo-theme-colors {
19
19
  .k-badge-outline.k-badge-#{$name} {
20
20
  color: $color;
21
21
  }
@@ -1,7 +1,7 @@
1
1
  @include exports("bottom-navigation/theme") {
2
2
 
3
3
  // Solid
4
- @each $name, $color in $theme-colors {
4
+ @each $name, $color in $kendo-theme-colors {
5
5
  .k-bottom-nav-solid.k-bottom-nav-#{$name} {
6
6
  @include fill(
7
7
  $color: true-mix( $color, contrast-wcag( $color ), 35%),
@@ -34,7 +34,7 @@
34
34
  @include fill( $bg: rgba($bottom-nav-flat-text, .05) );
35
35
  }
36
36
 
37
- @each $name, $color in $theme-colors {
37
+ @each $name, $color in $kendo-theme-colors {
38
38
  &.k-bottom-nav-#{$name} .k-bottom-nav-item.k-state-selected {
39
39
  @if $name == "secondary" or $name == "light" {
40
40
  @include fill( $color: try-shade($color, 3) );
@@ -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": #f5f5f5 )
59
59
  ) !default;
60
60
 
@@ -53,7 +53,7 @@
53
53
 
54
54
 
55
55
  // Card theme colors
56
- @each $name, $color in $theme-colors {
56
+ @each $name, $color in $kendo-theme-colors {
57
57
  .k-card-#{$name} {
58
58
  background-color: tint($color, 10);
59
59
  color: shade($color, 6);
@@ -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.
@@ -1,4 +1,5 @@
1
1
  $svg-escaped-characters: (
2
+ ("%", "%25"),
2
3
  ("<", "%3c"),
3
4
  (">", "%3e"),
4
5
  ("#", "%23"),
@@ -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
@@ -266,10 +266,10 @@
266
266
  }
267
267
  }
268
268
  .k-spinner-increase .k-icon {
269
- bottom: -$kendo-input-spinner-icon-offset;
269
+ bottom: if( $use-input-spinner-icon-offset, calc( -1 * #{$kendo-input-spinner-icon-offset}), auto );
270
270
  }
271
271
  .k-spinner-decrease .k-icon {
272
- top: -$kendo-input-spinner-icon-offset;
272
+ top: if( $use-input-spinner-icon-offset, calc( -1 * #{$kendo-input-spinner-icon-offset}), auto );
273
273
  }
274
274
  }
275
275
 
@@ -37,6 +37,19 @@
37
37
  @include box-shadow( $kendo-input-focus-shadow );
38
38
  }
39
39
 
40
+ //Disabled
41
+ &:disabled,
42
+ &[disabled],
43
+ &.k-disabled {
44
+ @include fill(
45
+ $kendo-input-disabled-text,
46
+ $kendo-input-disabled-bg,
47
+ $kendo-input-disabled-border,
48
+ $kendo-input-disabled-gradient
49
+ );
50
+ @include box-shadow( $kendo-input-disabled-shadow );
51
+ }
52
+
40
53
  // Invalid
41
54
  &.k-invalid,
42
55
  &.ng-invalid.ng-touched,
@@ -100,6 +113,19 @@
100
113
  @include box-shadow( $kendo-picker-focus-shadow );
101
114
  }
102
115
 
116
+ //Disabled
117
+ &:disabled,
118
+ &[disabled],
119
+ &.k-disabled {
120
+ @include fill(
121
+ $kendo-picker-disabled-text,
122
+ $kendo-picker-disabled-bg,
123
+ $kendo-picker-disabled-border,
124
+ $kendo-picker-disabled-gradient
125
+ );
126
+ @include box-shadow( $kendo-picker-disabled-shadow );
127
+ }
128
+
103
129
  // Invalid
104
130
  &.k-invalid,
105
131
  &.ng-invalid.ng-touched,
@@ -71,6 +71,12 @@ $kendo-input-focus-text: null !default;
71
71
  $kendo-input-focus-border: $kendo-input-hover-border !default;
72
72
  $kendo-input-focus-shadow: 0 0 0 2px rgba( $kendo-input-focus-border, .08 ) !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
 
@@ -1,6 +1,6 @@
1
1
  @include exports( "loader/theme" ) {
2
2
 
3
- @each $name, $color in $theme-colors {
3
+ @each $name, $color in $kendo-theme-colors {
4
4
  .k-loader-#{$name} {
5
5
  @if $name == "secondary" {
6
6
  color: $loader-secondary-bg;
@@ -1,6 +1,6 @@
1
1
  @include exports("messagebox/theme") {
2
2
 
3
- @each $color-name, $color in $theme-colors {
3
+ @each $color-name, $color in $kendo-theme-colors {
4
4
  .k-messagebox-#{$color-name} {
5
5
  @include fill(
6
6
  color-level( $color, $message-box-text-level ),
@@ -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;
@@ -36,6 +36,7 @@
36
36
  );
37
37
  }
38
38
 
39
+ &:active,
39
40
  &.k-state-active,
40
41
  &.k-state-selected {
41
42
  @include fill(
@@ -46,6 +47,7 @@
46
47
  );
47
48
  }
48
49
 
50
+ &:focus,
49
51
  &.k-state-focused {
50
52
  @include box-shadow( $tabstrip-item-focused-shadow );
51
53
  }
@@ -26,7 +26,7 @@
26
26
  0: 0
27
27
  ) !default;
28
28
 
29
- $utils-border-color: $theme-colors !default;
29
+ $utils-border-color: $kendo-theme-colors !default;
30
30
 
31
31
  $utils-border-radius-sides: (
32
32
  default: border-radius,
@@ -10,7 +10,7 @@
10
10
 
11
11
  .k-color-inherit { color: inherit; }
12
12
 
13
- @each $name, $color in $theme-colors {
13
+ @each $name, $color in $kendo-theme-colors {
14
14
  .k-text-#{$name},
15
15
  .k-color-#{$name} {
16
16
  color: $color !important;
@@ -24,7 +24,7 @@
24
24
 
25
25
  // sass-lint:disable-block no-important
26
26
 
27
- @each $name, $bg-color in $theme-colors {
27
+ @each $name, $bg-color in $kendo-theme-colors {
28
28
  .k-bg-#{$name} {
29
29
  background-color: $bg-color !important;
30
30
  }
@@ -41,7 +41,7 @@
41
41
 
42
42
  @include exports( "common/decoration/variant" ) {
43
43
 
44
- @each $name, $variant in $theme-colors {
44
+ @each $name, $variant in $kendo-theme-colors {
45
45
  .k-state-#{$name} {
46
46
  @include variant( $variant );
47
47
  }