@progress/kendo-theme-classic 5.0.0 → 5.1.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.
package/dist/all.css CHANGED
@@ -11649,6 +11649,8 @@ kendo-badge-container {
11649
11649
  box-sizing: border-box;
11650
11650
  border-width: 1px;
11651
11651
  border-style: solid;
11652
+ color: inherit;
11653
+ background: none;
11652
11654
  font-family: inherit;
11653
11655
  text-align: center;
11654
11656
  text-decoration: none;
@@ -11890,12 +11892,11 @@ kendo-badge-container {
11890
11892
  text-decoration: underline;
11891
11893
  }
11892
11894
 
11893
- .k-button-clear::before {
11894
- display: none;
11895
- }
11896
-
11897
- .k-button-clear:focus::before, .k-button-clear.k-focus::before {
11898
- display: block;
11895
+ .k-button-clear {
11896
+ border-color: transparent !important;
11897
+ color: inherit;
11898
+ background: none !important;
11899
+ box-shadow: none !important;
11899
11900
  }
11900
11901
 
11901
11902
  .k-ie .k-button-group .k-button,
@@ -12828,46 +12829,112 @@ kendo-badge-container {
12828
12829
  color: #f35800;
12829
12830
  }
12830
12831
 
12832
+ .k-button-clear-primary:focus::after, .k-button-clear-primary.k-focus::after, .k-button-clear-primary:active::after {
12833
+ background-color: currentColor;
12834
+ opacity: 0.1;
12835
+ display: block;
12836
+ }
12837
+
12831
12838
  .k-button-clear-secondary {
12832
12839
  color: #e9e9e9;
12833
12840
  }
12834
12841
 
12842
+ .k-button-clear-secondary:focus::after, .k-button-clear-secondary.k-focus::after, .k-button-clear-secondary:active::after {
12843
+ background-color: currentColor;
12844
+ opacity: 0.1;
12845
+ display: block;
12846
+ }
12847
+
12835
12848
  .k-button-clear-tertiary {
12836
12849
  color: #03a9f4;
12837
12850
  }
12838
12851
 
12852
+ .k-button-clear-tertiary:focus::after, .k-button-clear-tertiary.k-focus::after, .k-button-clear-tertiary:active::after {
12853
+ background-color: currentColor;
12854
+ opacity: 0.1;
12855
+ display: block;
12856
+ }
12857
+
12839
12858
  .k-button-clear-info {
12840
12859
  color: #2498bc;
12841
12860
  }
12842
12861
 
12862
+ .k-button-clear-info:focus::after, .k-button-clear-info.k-focus::after, .k-button-clear-info:active::after {
12863
+ background-color: currentColor;
12864
+ opacity: 0.1;
12865
+ display: block;
12866
+ }
12867
+
12843
12868
  .k-button-clear-success {
12844
12869
  color: #3ea44e;
12845
12870
  }
12846
12871
 
12872
+ .k-button-clear-success:focus::after, .k-button-clear-success.k-focus::after, .k-button-clear-success:active::after {
12873
+ background-color: currentColor;
12874
+ opacity: 0.1;
12875
+ display: block;
12876
+ }
12877
+
12847
12878
  .k-button-clear-warning {
12848
12879
  color: #ff9800;
12849
12880
  }
12850
12881
 
12882
+ .k-button-clear-warning:focus::after, .k-button-clear-warning.k-focus::after, .k-button-clear-warning:active::after {
12883
+ background-color: currentColor;
12884
+ opacity: 0.1;
12885
+ display: block;
12886
+ }
12887
+
12851
12888
  .k-button-clear-error {
12852
12889
  color: #d92800;
12853
12890
  }
12854
12891
 
12892
+ .k-button-clear-error:focus::after, .k-button-clear-error.k-focus::after, .k-button-clear-error:active::after {
12893
+ background-color: currentColor;
12894
+ opacity: 0.1;
12895
+ display: block;
12896
+ }
12897
+
12855
12898
  .k-button-clear-dark {
12856
12899
  color: #404040;
12857
12900
  }
12858
12901
 
12902
+ .k-button-clear-dark:focus::after, .k-button-clear-dark.k-focus::after, .k-button-clear-dark:active::after {
12903
+ background-color: currentColor;
12904
+ opacity: 0.1;
12905
+ display: block;
12906
+ }
12907
+
12859
12908
  .k-button-clear-light {
12860
12909
  color: #ebebeb;
12861
12910
  }
12862
12911
 
12912
+ .k-button-clear-light:focus::after, .k-button-clear-light.k-focus::after, .k-button-clear-light:active::after {
12913
+ background-color: currentColor;
12914
+ opacity: 0.1;
12915
+ display: block;
12916
+ }
12917
+
12863
12918
  .k-button-clear-inverse {
12864
12919
  color: #404040;
12865
12920
  }
12866
12921
 
12922
+ .k-button-clear-inverse:focus::after, .k-button-clear-inverse.k-focus::after, .k-button-clear-inverse:active::after {
12923
+ background-color: currentColor;
12924
+ opacity: 0.1;
12925
+ display: block;
12926
+ }
12927
+
12867
12928
  .k-button-clear-base {
12868
12929
  color: #272727;
12869
12930
  }
12870
12931
 
12932
+ .k-button-clear-base:focus::after, .k-button-clear-base.k-focus::after, .k-button-clear-base:active::after {
12933
+ background-color: currentColor;
12934
+ opacity: 0.1;
12935
+ display: block;
12936
+ }
12937
+
12871
12938
  .k-split-button:focus,
12872
12939
  .k-split-button.k-focus {
12873
12940
  box-shadow: 0 0 4px 0 rgba(202, 202, 202, 0.75);
@@ -15853,7 +15920,8 @@ kendo-label > .k-label {
15853
15920
  }
15854
15921
 
15855
15922
  .k-form .k-multiselect,
15856
- .k-form .k-floating-label-container {
15923
+ .k-form .k-floating-label-container,
15924
+ .k-form .k-daterangepicker .k-dateinput {
15857
15925
  display: inline-flex;
15858
15926
  width: 100%;
15859
15927
  }
@@ -18763,6 +18831,10 @@ kendo-label > .k-label {
18763
18831
  box-sizing: border-box;
18764
18832
  }
18765
18833
 
18834
+ .k-daterange-picker .k-dateinput, .k-daterangepicker .k-dateinput {
18835
+ width: 10em;
18836
+ }
18837
+
18766
18838
  .k-daterangepicker-wrap {
18767
18839
  display: inherit;
18768
18840
  flex-flow: inherit;
@@ -23837,13 +23909,13 @@ kendo-card-footer {
23837
23909
  background-color: #dddddd;
23838
23910
  }
23839
23911
 
23840
- .k-tabstrip-items-wrapper .k-item.k-state-active, .k-tabstrip-items-wrapper .k-item.k-state-selected {
23912
+ .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 {
23841
23913
  border-color: #cacaca;
23842
23914
  color: #272727;
23843
23915
  background-color: #ffffff;
23844
23916
  }
23845
23917
 
23846
- .k-tabstrip-items-wrapper .k-item.k-state-focused {
23918
+ .k-tabstrip-items-wrapper .k-item:focus, .k-tabstrip-items-wrapper .k-item.k-state-focused {
23847
23919
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.12);
23848
23920
  }
23849
23921
 
@@ -24183,7 +24255,6 @@ kendo-card-footer {
24183
24255
  padding-left: 32px;
24184
24256
  }
24185
24257
 
24186
- .k-panelbar .k-content,
24187
24258
  .k-panelbar .k-panelbar-content {
24188
24259
  display: flow-root;
24189
24260
  }
package/dist/all.scss CHANGED
@@ -1120,7 +1120,7 @@ $light: #ebebeb !default;
1120
1120
  $inverse: if( $dark-theme, $light, $dark ) !default;
1121
1121
 
1122
1122
 
1123
- $theme-colors: (
1123
+ $kendo-theme-colors: (
1124
1124
  "primary": $primary,
1125
1125
  "secondary": $secondary,
1126
1126
  "tertiary": $tertiary,
@@ -1175,7 +1175,7 @@ $base-border: try-shade( $base-bg, 2 ) !default;
1175
1175
  $base-gradient: rgba( white, .1 ), rgba( white, 0 ) !default;
1176
1176
 
1177
1177
  /// 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;`.
1178
+ /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !default;`.
1179
1179
  /// @group component
1180
1180
  $component-bg: $body-bg !default;
1181
1181
  /// Text color of a component.
@@ -3331,7 +3331,7 @@ $utils-border-radius: (
3331
3331
  0: 0
3332
3332
  ) !default;
3333
3333
 
3334
- $utils-border-color: $theme-colors !default;
3334
+ $utils-border-color: $kendo-theme-colors !default;
3335
3335
 
3336
3336
  $utils-border-radius-sides: (
3337
3337
  default: border-radius,
@@ -4429,7 +4429,7 @@ $utils-border-radius: (
4429
4429
 
4430
4430
  .k-color-inherit { color: inherit; }
4431
4431
 
4432
- @each $name, $color in $theme-colors {
4432
+ @each $name, $color in $kendo-theme-colors {
4433
4433
  .k-text-#{$name},
4434
4434
  .k-color-#{$name} {
4435
4435
  color: $color !important;
@@ -4443,7 +4443,7 @@ $utils-border-radius: (
4443
4443
 
4444
4444
  // sass-lint:disable-block no-important
4445
4445
 
4446
- @each $name, $bg-color in $theme-colors {
4446
+ @each $name, $bg-color in $kendo-theme-colors {
4447
4447
  .k-bg-#{$name} {
4448
4448
  background-color: $bg-color !important;
4449
4449
  }
@@ -4460,7 +4460,7 @@ $utils-border-radius: (
4460
4460
 
4461
4461
  @include exports( "common/decoration/variant" ) {
4462
4462
 
4463
- @each $name, $variant in $theme-colors {
4463
+ @each $name, $variant in $kendo-theme-colors {
4464
4464
  .k-state-#{$name} {
4465
4465
  @include variant( $variant );
4466
4466
  }
@@ -5972,7 +5972,7 @@ $message-box-link-text-decoration: underline !default;
5972
5972
  // #region @import "~@progress/kendo-theme-default/scss/messagebox/_theme.scss"; -> packages/classic/node_modules/@progress/kendo-theme-default/scss/messagebox/_theme.scss
5973
5973
  @include exports("messagebox/theme") {
5974
5974
 
5975
- @each $color-name, $color in $theme-colors {
5975
+ @each $color-name, $color in $kendo-theme-colors {
5976
5976
  .k-messagebox-#{$color-name} {
5977
5977
  @include fill(
5978
5978
  color-level( $color, $message-box-text-level ),
@@ -7383,7 +7383,7 @@ $listgroup-item-border-width: 1px !default;
7383
7383
 
7384
7384
  // Component
7385
7385
  // #region @import "_variables.scss"; -> packages/classic/scss/overlay/_variables.scss
7386
- $overlay-theme-colors: $theme-colors !default;
7386
+ $overlay-theme-colors: $kendo-theme-colors !default;
7387
7387
 
7388
7388
  $overlay-bg: $black !default;
7389
7389
  $overlay-opacity: .5 !default;
@@ -7926,7 +7926,7 @@ $badge-dot-size-lg: 12px !default;
7926
7926
  @include exports( "badge/theme" ) {
7927
7927
 
7928
7928
  // Solid badges
7929
- @each $name, $color in $theme-colors {
7929
+ @each $name, $color in $kendo-theme-colors {
7930
7930
  .k-badge-solid.k-badge-#{$name} {
7931
7931
  border-color: $color;
7932
7932
  color: contrast-wcag( $color );
@@ -7940,7 +7940,7 @@ $badge-dot-size-lg: 12px !default;
7940
7940
  background-color: $component-bg;
7941
7941
  }
7942
7942
 
7943
- @each $name, $color in $theme-colors {
7943
+ @each $name, $color in $kendo-theme-colors {
7944
7944
  .k-badge-outline.k-badge-#{$name} {
7945
7945
  color: $color;
7946
7946
  }
@@ -8023,7 +8023,7 @@ $kendo-button-arrow-padding-y: $kendo-button-padding-y !default;
8023
8023
  /// Theme colors map for the button.
8024
8024
  /// @group button
8025
8025
  $kendo-button-theme-colors: map-merge(
8026
- $theme-colors,
8026
+ $kendo-theme-colors,
8027
8027
  ( "base": $base-bg )
8028
8028
  ) !default;
8029
8029
 
@@ -8152,6 +8152,9 @@ $kendo-link-button-shadow-blur: 4px !default;
8152
8152
  $kendo-link-button-shadow-spread: 0px !default;
8153
8153
  $kendo-link-button-shadow-opacity: .75 !default;
8154
8154
 
8155
+ // Clear button
8156
+ $kendo-clear-button-focus-opacity: .1 !default;
8157
+
8155
8158
  /// The overlay opacity of hovered flat button. Used to create background for the flat button.
8156
8159
  /// @group button
8157
8160
  $kendo-flat-button-hover-opacity: .08 !default;
@@ -8179,6 +8182,8 @@ $kendo-button-transition: color .2s ease-in-out !default;
8179
8182
  box-sizing: border-box;
8180
8183
  border-width: $kendo-button-border-width;
8181
8184
  border-style: solid;
8185
+ color: inherit;
8186
+ background: none;
8182
8187
  font-family: $kendo-button-font-family;
8183
8188
  text-align: center;
8184
8189
  text-decoration: none;
@@ -8443,20 +8448,14 @@ $kendo-button-transition: color .2s ease-in-out !default;
8443
8448
 
8444
8449
  // Clear button
8445
8450
  .k-button-clear {
8446
- &::before {
8447
- display: none;
8448
- }
8449
-
8450
-
8451
- &:focus,
8452
- &.k-focus {
8453
- &::before {
8454
- display: block;
8455
- }
8456
- }
8451
+ border-color: transparent !important; // sass-lint:disable-line no-important
8452
+ color: inherit;
8453
+ background: none !important; // sass-lint:disable-line no-important
8454
+ box-shadow: none !important; // sass-lint:disable-line no-important
8457
8455
  }
8458
8456
 
8459
8457
 
8458
+
8460
8459
  // IE
8461
8460
  .k-ie .k-button-group,
8462
8461
  .k-ie .k-split-button {
@@ -8821,6 +8820,16 @@ $kendo-button-transition: color .2s ease-in-out !default;
8821
8820
  .k-button-clear-#{$name} {
8822
8821
  color: $color;
8823
8822
 
8823
+ &:focus,
8824
+ &.k-focus,
8825
+ &:active {
8826
+ &::after {
8827
+ background-color: currentColor;
8828
+ opacity: $kendo-clear-button-focus-opacity;
8829
+ display: block;
8830
+ }
8831
+ }
8832
+
8824
8833
  // Disabled state
8825
8834
  &:disabled,
8826
8835
  &.k-disabled {
@@ -10764,7 +10773,7 @@ $kendo-avatar-sizes: (
10764
10773
 
10765
10774
  /// Theme colors map of the avatar.
10766
10775
  /// @group avatar
10767
- $kendo-avatar-theme-colors: $theme-colors !default;
10776
+ $kendo-avatar-theme-colors: $kendo-theme-colors !default;
10768
10777
 
10769
10778
  // #endregion
10770
10779
  // #region @import "_layout.scss"; -> packages/classic/scss/avatar/_layout.scss
@@ -10968,10 +10977,10 @@ $kendo-chip-base-bg: if( $dark-theme, contrast-wcag($kendo-button-text), $kendo-
10968
10977
  /// @group chip
10969
10978
  $kendo-chip-theme-colors: (
10970
10979
  "base": $kendo-chip-base-bg,
10971
- "error": map-get( $theme-colors, "error" ),
10972
- "info": map-get( $theme-colors, "info" ),
10973
- "warning": map-get( $theme-colors, "warning" ),
10974
- "success": map-get( $theme-colors, "success" )
10980
+ "error": map-get( $kendo-theme-colors, "error" ),
10981
+ "info": map-get( $kendo-theme-colors, "info" ),
10982
+ "warning": map-get( $kendo-theme-colors, "warning" ),
10983
+ "success": map-get( $kendo-theme-colors, "success" )
10975
10984
  ) !default;
10976
10985
 
10977
10986
  /// The base background color of solid chip.
@@ -12017,7 +12026,7 @@ $loader-container-font-size-lg: $font-size-lg !default;
12017
12026
  // #region @import "~@progress/kendo-theme-default/scss/loader/_theme.scss"; -> packages/classic/node_modules/@progress/kendo-theme-default/scss/loader/_theme.scss
12018
12027
  @include exports( "loader/theme" ) {
12019
12028
 
12020
- @each $name, $color in $theme-colors {
12029
+ @each $name, $color in $kendo-theme-colors {
12021
12030
  .k-loader-#{$name} {
12022
12031
  @if $name == "secondary" {
12023
12032
  color: $loader-secondary-bg;
@@ -13552,7 +13561,8 @@ $fieldset-legend-border: null !default;
13552
13561
 
13553
13562
 
13554
13563
  .k-multiselect,
13555
- .k-floating-label-container {
13564
+ .k-floating-label-container,
13565
+ .k-daterangepicker .k-dateinput {
13556
13566
  display: inline-flex;
13557
13567
  width: 100%;
13558
13568
  }
@@ -18370,6 +18380,7 @@ $datetime-width: calc( #{$calendar-cell-size * 8} + #{$infinite-calendar-view-pa
18370
18380
  // Component
18371
18381
  // #region @import "_variables.scss"; -> packages/classic/scss/daterangepicker/_variables.scss
18372
18382
  // Daterangepicker
18383
+ $kendo-daterange-picker-input-width: 10em;
18373
18384
 
18374
18385
  // #endregion
18375
18386
  // #region @import "_layout.scss"; -> packages/classic/scss/daterangepicker/_layout.scss
@@ -18389,6 +18400,10 @@ $datetime-width: calc( #{$calendar-cell-size * 8} + #{$infinite-calendar-view-pa
18389
18400
  *::after {
18390
18401
  box-sizing: border-box;
18391
18402
  }
18403
+
18404
+ .k-dateinput {
18405
+ width: $kendo-daterange-picker-input-width;
18406
+ }
18392
18407
  }
18393
18408
 
18394
18409
 
@@ -21232,7 +21247,7 @@ $appbar-bottom-box-shadow: 0px -1px 1px rgba(0, 0, 0, .16) !default;
21232
21247
 
21233
21248
 
21234
21249
  // AppBar theme colors
21235
- @each $name, $color in $theme-colors {
21250
+ @each $name, $color in $kendo-theme-colors {
21236
21251
  .k-appbar-#{$name} {
21237
21252
  @if $name == "light" {
21238
21253
  color: $appbar-light-text;
@@ -21370,7 +21385,7 @@ $kendo-fab-item-icon-height: $kendo-fab-item-icon-width !default;
21370
21385
 
21371
21386
  /// Theme colors map for the FAB.
21372
21387
  /// @group floating-action-button
21373
- $kendo-fab-theme-colors: $theme-colors !default;
21388
+ $kendo-fab-theme-colors: $kendo-theme-colors !default;
21374
21389
 
21375
21390
  /// The base shadow of the FAB.
21376
21391
  /// @group floating-action-button
@@ -22836,7 +22851,7 @@ $notification-themes: () !default;
22836
22851
  // sass-lint:enable indentation
22837
22852
  }
22838
22853
 
22839
- @each $theme, $props in $theme-colors {
22854
+ @each $theme, $props in $kendo-theme-colors {
22840
22855
  $notification-themes: map-merge($notification-themes, ($theme: notification-theme($theme, $props)) );
22841
22856
  }
22842
22857
 
@@ -23550,7 +23565,7 @@ $card-focus-callout-box-shadow-w: 2px -1px 4px 0 rgba( black, .06) !default;
23550
23565
 
23551
23566
 
23552
23567
  // Card theme colors
23553
- @each $name, $color in $theme-colors {
23568
+ @each $name, $color in $kendo-theme-colors {
23554
23569
  .k-card-#{$name} {
23555
23570
  background-color: tint($color, 10);
23556
23571
  color: shade($color, 6);
@@ -24051,7 +24066,7 @@ $bottom-nav-flat-border: $component-border !default;
24051
24066
  @include exports("bottom-navigation/theme") {
24052
24067
 
24053
24068
  // Solid
24054
- @each $name, $color in $theme-colors {
24069
+ @each $name, $color in $kendo-theme-colors {
24055
24070
  .k-bottom-nav-solid.k-bottom-nav-#{$name} {
24056
24071
  @include fill(
24057
24072
  $color: true-mix( $color, contrast-wcag( $color ), 35%),
@@ -24084,7 +24099,7 @@ $bottom-nav-flat-border: $component-border !default;
24084
24099
  @include fill( $bg: rgba($bottom-nav-flat-text, .05) );
24085
24100
  }
24086
24101
 
24087
- @each $name, $color in $theme-colors {
24102
+ @each $name, $color in $kendo-theme-colors {
24088
24103
  &.k-bottom-nav-#{$name} .k-bottom-nav-item.k-state-selected {
24089
24104
  @if $name == "secondary" or $name == "light" {
24090
24105
  @include fill( $color: try-shade($color, 3) );
@@ -26071,6 +26086,7 @@ $tabstrip-content-border-focused: $component-text !default;
26071
26086
  );
26072
26087
  }
26073
26088
 
26089
+ &:active,
26074
26090
  &.k-state-active,
26075
26091
  &.k-state-selected {
26076
26092
  @include fill(
@@ -26081,6 +26097,7 @@ $tabstrip-content-border-focused: $component-text !default;
26081
26097
  );
26082
26098
  }
26083
26099
 
26100
+ &:focus,
26084
26101
  &.k-state-focused {
26085
26102
  @include box-shadow( $tabstrip-item-focused-shadow );
26086
26103
  }
@@ -26741,7 +26758,6 @@ $panelbar-header-expanded-gradient: null !default;
26741
26758
 
26742
26759
 
26743
26760
  // Panelbar content
26744
- .k-content,
26745
26761
  .k-panelbar-content {
26746
26762
  display: flow-root;
26747
26763
  }
@@ -19,8 +19,8 @@ $hovered-text: #ffffff;
19
19
  $hovered-bg: #262726;
20
20
  $selected-text: #ffffff;
21
21
  $selected-bg: #3ea44e;
22
- $button-text: #ffffff;
23
- $button-bg: #131413;
22
+ $kendo-button-text: #ffffff;
23
+ $kendo-button-bg: #131413;
24
24
  $link-text: #3ea44e;
25
25
  $link-hover-text: #348a42;
26
26
  $series-a: #007bc3;
@@ -18,8 +18,8 @@ $hovered-text: #272727;
18
18
  $hovered-bg: #e0e0e0;
19
19
  $selected-text: #ffffff;
20
20
  $selected-bg: #3ea44e;
21
- $button-text: #272727;
22
- $button-bg: #f3f4f3;
21
+ $kendo-button-text: #272727;
22
+ $kendo-button-bg: #f3f4f3;
23
23
  $link-text: #3ea44e;
24
24
  $link-hover-text: #348a42;
25
25
  $series-a: #007bc3;
@@ -19,8 +19,8 @@ $hovered-text: #ffffff;
19
19
  $hovered-bg: #232323;
20
20
  $selected-text: #ffffff;
21
21
  $selected-bg: #ff6358;
22
- $button-text: #ffffff;
23
- $button-bg: #101010;
22
+ $kendo-button-text: #ffffff;
23
+ $kendo-button-bg: #101010;
24
24
  $link-text: #f35800;
25
25
  $link-hover-text: #cc4a00;
26
26
  $series-a: #007bc3;
@@ -18,8 +18,8 @@ $hovered-text: #272727;
18
18
  $hovered-bg: #bababa;
19
19
  $selected-text: #ffffff;
20
20
  $selected-bg: #ff6358;
21
- $button-text: #272727;
22
- $button-bg: #f0f0f0;
21
+ $kendo-button-text: #272727;
22
+ $kendo-button-bg: #f0f0f0;
23
23
  $link-text: #f35800;
24
24
  $link-hover-text: #cc4a00;
25
25
  $series-a: #007bc3;
@@ -19,8 +19,8 @@ $hovered-text: #ffffff;
19
19
  $hovered-bg: #30363e;
20
20
  $selected-text: #000000;
21
21
  $selected-bg: #7bd2f6;
22
- $button-text: #ffffff;
23
- $button-bg: #1e242d;
22
+ $kendo-button-text: #ffffff;
23
+ $kendo-button-bg: #1e242d;
24
24
  $link-text: #375d6d;
25
25
  $link-hover-text: #2e4e5c;
26
26
  $series-a: #007bc3;
@@ -18,8 +18,8 @@ $hovered-text: #003f59;
18
18
  $hovered-bg: #a3d0e4;
19
19
  $selected-text: #000000;
20
20
  $selected-bg: #7bd2f6;
21
- $button-text: #003f59;
22
- $button-bg: #def4fd;
21
+ $kendo-button-text: #003f59;
22
+ $kendo-button-bg: #def4fd;
23
23
  $link-text: #375d6d;
24
24
  $link-hover-text: #2e4e5c;
25
25
  $series-a: #007bc3;
@@ -19,8 +19,8 @@ $hovered-text: #ffffff;
19
19
  $hovered-bg: #262627;
20
20
  $selected-text: #ffffff;
21
21
  $selected-bg: #1984c8;
22
- $button-text: #ffffff;
23
- $button-bg: #131314;
22
+ $kendo-button-text: #ffffff;
23
+ $kendo-button-bg: #131314;
24
24
  $link-text: #1984c8;
25
25
  $link-hover-text: #156fa8;
26
26
  $series-a: #007bc3;
@@ -18,8 +18,8 @@ $hovered-text: #263248;
18
18
  $hovered-bg: #dbdee5;
19
19
  $selected-text: #ffffff;
20
20
  $selected-bg: #1984c8;
21
- $button-text: #515967;
22
- $button-bg: #f3f3f4;
21
+ $kendo-button-text: #515967;
22
+ $kendo-button-bg: #f3f3f4;
23
23
  $link-text: #1984c8;
24
24
  $link-hover-text: #156fa8;
25
25
  $series-a: #007bc3;
@@ -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": "#131413"
@@ -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": "#272727"
141
141
  },
142
- "button-bg": {
142
+ "kendo-button-bg": {
143
143
  "name": "Button background",
144
144
  "type": "color",
145
145
  "value": "#f3f4f3"
@@ -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": "#101010"
@@ -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": "#272727"
141
141
  },
142
- "button-bg": {
142
+ "kendo-button-bg": {
143
143
  "name": "Button background",
144
144
  "type": "color",
145
145
  "value": "#f0f0f0"
@@ -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": "#1e242d"
@@ -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": "#003f59"
141
141
  },
142
- "button-bg": {
142
+ "kendo-button-bg": {
143
143
  "name": "Button background",
144
144
  "type": "color",
145
145
  "value": "#def4fd"
@@ -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": "#131314"
@@ -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": "#515967"
141
141
  },
142
- "button-bg": {
142
+ "kendo-button-bg": {
143
143
  "name": "Button background",
144
144
  "type": "color",
145
145
  "value": "#f3f3f4"
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.0.0",
4
+ "version": "5.1.1",
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.0.0"
52
+ "@progress/kendo-theme-default": "^5.1.1"
53
53
  },
54
- "gitHead": "444e224c85edd153e7726d83c682d84e9215acd0"
54
+ "gitHead": "798d6d06021f47b42f71b16530f96ab23d2b9c04"
55
55
  }
@@ -189,7 +189,7 @@ $light: #ebebeb !default;
189
189
  $inverse: if( $dark-theme, $light, $dark ) !default;
190
190
 
191
191
 
192
- $theme-colors: (
192
+ $kendo-theme-colors: (
193
193
  "primary": $primary,
194
194
  "secondary": $secondary,
195
195
  "tertiary": $tertiary,
@@ -244,7 +244,7 @@ $base-border: try-shade( $base-bg, 2 ) !default;
244
244
  $base-gradient: rgba( white, .1 ), rgba( white, 0 ) !default;
245
245
 
246
246
  /// 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;`.
247
+ /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !default;`.
248
248
  /// @group component
249
249
  $component-bg: $body-bg !default;
250
250
  /// 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
 
@@ -183,6 +183,9 @@ $kendo-link-button-shadow-blur: 4px !default;
183
183
  $kendo-link-button-shadow-spread: 0px !default;
184
184
  $kendo-link-button-shadow-opacity: .75 !default;
185
185
 
186
+ // Clear button
187
+ $kendo-clear-button-focus-opacity: .1 !default;
188
+
186
189
  /// The overlay opacity of hovered flat button. Used to create background for the flat button.
187
190
  /// @group button
188
191
  $kendo-flat-button-hover-opacity: .08 !default;
@@ -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 +1,2 @@
1
1
  // Daterangepicker
2
+ $kendo-daterange-picker-input-width: 10em;
@@ -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
@@ -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;