@progress/kendo-theme-default 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.
Files changed (43) hide show
  1. package/dist/all.css +81 -10
  2. package/dist/all.scss +52 -36
  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 +2 -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/_layout.scss +7 -11
  28. package/scss/button/_theme.scss +10 -0
  29. package/scss/button/_variables.scss +4 -1
  30. package/scss/card/_theme.scss +1 -1
  31. package/scss/chip/_variables.scss +4 -4
  32. package/scss/daterangepicker/_layout.scss +4 -0
  33. package/scss/daterangepicker/_variables.scss +1 -0
  34. package/scss/fab/_variables.scss +1 -1
  35. package/scss/forms/_layout.scss +2 -1
  36. package/scss/loader/_theme.scss +1 -1
  37. package/scss/messagebox/_theme.scss +1 -1
  38. package/scss/notification/_variables.scss +1 -1
  39. package/scss/overlay/_variables.scss +1 -1
  40. package/scss/panelbar/_layout.scss +0 -1
  41. package/scss/tabstrip/_theme.scss +2 -0
  42. package/scss/utils/_border.scss +1 -1
  43. package/scss/utils/_theme-colors.scss +3 -3
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,
@@ -12822,46 +12823,112 @@ kendo-badge-container {
12822
12823
  color: #ff6358;
12823
12824
  }
12824
12825
 
12826
+ .k-button-clear-primary:focus::after, .k-button-clear-primary.k-focus::after, .k-button-clear-primary:active::after {
12827
+ background-color: currentColor;
12828
+ opacity: 0.1;
12829
+ display: block;
12830
+ }
12831
+
12825
12832
  .k-button-clear-secondary {
12826
12833
  color: #666666;
12827
12834
  }
12828
12835
 
12836
+ .k-button-clear-secondary:focus::after, .k-button-clear-secondary.k-focus::after, .k-button-clear-secondary:active::after {
12837
+ background-color: currentColor;
12838
+ opacity: 0.1;
12839
+ display: block;
12840
+ }
12841
+
12829
12842
  .k-button-clear-tertiary {
12830
12843
  color: #03a9f4;
12831
12844
  }
12832
12845
 
12846
+ .k-button-clear-tertiary:focus::after, .k-button-clear-tertiary.k-focus::after, .k-button-clear-tertiary:active::after {
12847
+ background-color: currentColor;
12848
+ opacity: 0.1;
12849
+ display: block;
12850
+ }
12851
+
12833
12852
  .k-button-clear-info {
12834
12853
  color: #0058e9;
12835
12854
  }
12836
12855
 
12856
+ .k-button-clear-info:focus::after, .k-button-clear-info.k-focus::after, .k-button-clear-info:active::after {
12857
+ background-color: currentColor;
12858
+ opacity: 0.1;
12859
+ display: block;
12860
+ }
12861
+
12837
12862
  .k-button-clear-success {
12838
12863
  color: #37b400;
12839
12864
  }
12840
12865
 
12866
+ .k-button-clear-success:focus::after, .k-button-clear-success.k-focus::after, .k-button-clear-success:active::after {
12867
+ background-color: currentColor;
12868
+ opacity: 0.1;
12869
+ display: block;
12870
+ }
12871
+
12841
12872
  .k-button-clear-warning {
12842
12873
  color: #ffc000;
12843
12874
  }
12844
12875
 
12876
+ .k-button-clear-warning:focus::after, .k-button-clear-warning.k-focus::after, .k-button-clear-warning:active::after {
12877
+ background-color: currentColor;
12878
+ opacity: 0.1;
12879
+ display: block;
12880
+ }
12881
+
12845
12882
  .k-button-clear-error {
12846
12883
  color: #f31700;
12847
12884
  }
12848
12885
 
12886
+ .k-button-clear-error:focus::after, .k-button-clear-error.k-focus::after, .k-button-clear-error:active::after {
12887
+ background-color: currentColor;
12888
+ opacity: 0.1;
12889
+ display: block;
12890
+ }
12891
+
12849
12892
  .k-button-clear-dark {
12850
12893
  color: #424242;
12851
12894
  }
12852
12895
 
12896
+ .k-button-clear-dark:focus::after, .k-button-clear-dark.k-focus::after, .k-button-clear-dark:active::after {
12897
+ background-color: currentColor;
12898
+ opacity: 0.1;
12899
+ display: block;
12900
+ }
12901
+
12853
12902
  .k-button-clear-light {
12854
12903
  color: #ebebeb;
12855
12904
  }
12856
12905
 
12906
+ .k-button-clear-light:focus::after, .k-button-clear-light.k-focus::after, .k-button-clear-light:active::after {
12907
+ background-color: currentColor;
12908
+ opacity: 0.1;
12909
+ display: block;
12910
+ }
12911
+
12857
12912
  .k-button-clear-inverse {
12858
12913
  color: #424242;
12859
12914
  }
12860
12915
 
12916
+ .k-button-clear-inverse:focus::after, .k-button-clear-inverse.k-focus::after, .k-button-clear-inverse:active::after {
12917
+ background-color: currentColor;
12918
+ opacity: 0.1;
12919
+ display: block;
12920
+ }
12921
+
12861
12922
  .k-button-clear-base {
12862
12923
  color: #424242;
12863
12924
  }
12864
12925
 
12926
+ .k-button-clear-base:focus::after, .k-button-clear-base.k-focus::after, .k-button-clear-base:active::after {
12927
+ background-color: currentColor;
12928
+ opacity: 0.1;
12929
+ display: block;
12930
+ }
12931
+
12865
12932
  .k-split-button:focus,
12866
12933
  .k-split-button.k-focus {
12867
12934
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
@@ -15850,7 +15917,8 @@ kendo-label > .k-label {
15850
15917
  }
15851
15918
 
15852
15919
  .k-form .k-multiselect,
15853
- .k-form .k-floating-label-container {
15920
+ .k-form .k-floating-label-container,
15921
+ .k-form .k-daterangepicker .k-dateinput {
15854
15922
  display: inline-flex;
15855
15923
  width: 100%;
15856
15924
  }
@@ -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;
@@ -23839,13 +23911,13 @@ kendo-card-footer {
23839
23911
  color: #d6534a;
23840
23912
  }
23841
23913
 
23842
- .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 {
23843
23915
  border-color: rgba(0, 0, 0, 0.08);
23844
23916
  color: #424242;
23845
23917
  background-color: #ffffff;
23846
23918
  }
23847
23919
 
23848
- .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 {
23849
23921
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.12);
23850
23922
  }
23851
23923
 
@@ -24185,7 +24257,6 @@ kendo-card-footer {
24185
24257
  padding-left: 64px;
24186
24258
  }
24187
24259
 
24188
- .k-panelbar .k-content,
24189
24260
  .k-panelbar .k-panelbar-content {
24190
24261
  display: flow-root;
24191
24262
  }
package/dist/all.scss CHANGED
@@ -1186,7 +1186,7 @@ $light: #ebebeb !default;
1186
1186
  $inverse: if( $dark-theme, $light, $dark ) !default;
1187
1187
 
1188
1188
 
1189
- $theme-colors: (
1189
+ $kendo-theme-colors: (
1190
1190
  "primary": $primary,
1191
1191
  "secondary": $secondary,
1192
1192
  "tertiary": $tertiary,
@@ -1223,7 +1223,7 @@ $app-border: rgba( $black, .08 ) !default;
1223
1223
 
1224
1224
  // Component
1225
1225
  /// 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;`.
1226
+ /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !default;`.
1227
1227
  /// @group component
1228
1228
  $component-bg: $body-bg !default;
1229
1229
  /// Text color of a component.
@@ -3320,7 +3320,7 @@ $display4-letter-spacing: null !default;
3320
3320
  0: 0
3321
3321
  ) !default;
3322
3322
 
3323
- $utils-border-color: $theme-colors !default;
3323
+ $utils-border-color: $kendo-theme-colors !default;
3324
3324
 
3325
3325
  $utils-border-radius-sides: (
3326
3326
  default: border-radius,
@@ -4376,7 +4376,7 @@ $display4-letter-spacing: null !default;
4376
4376
 
4377
4377
  .k-color-inherit { color: inherit; }
4378
4378
 
4379
- @each $name, $color in $theme-colors {
4379
+ @each $name, $color in $kendo-theme-colors {
4380
4380
  .k-text-#{$name},
4381
4381
  .k-color-#{$name} {
4382
4382
  color: $color !important;
@@ -4390,7 +4390,7 @@ $display4-letter-spacing: null !default;
4390
4390
 
4391
4391
  // sass-lint:disable-block no-important
4392
4392
 
4393
- @each $name, $bg-color in $theme-colors {
4393
+ @each $name, $bg-color in $kendo-theme-colors {
4394
4394
  .k-bg-#{$name} {
4395
4395
  background-color: $bg-color !important;
4396
4396
  }
@@ -4407,7 +4407,7 @@ $display4-letter-spacing: null !default;
4407
4407
 
4408
4408
  @include exports( "common/decoration/variant" ) {
4409
4409
 
4410
- @each $name, $variant in $theme-colors {
4410
+ @each $name, $variant in $kendo-theme-colors {
4411
4411
  .k-state-#{$name} {
4412
4412
  @include variant( $variant );
4413
4413
  }
@@ -5895,7 +5895,7 @@ $message-box-link-text-decoration: underline !default;
5895
5895
  // #region @import "_theme.scss"; -> packages/default/scss/messagebox/_theme.scss
5896
5896
  @include exports("messagebox/theme") {
5897
5897
 
5898
- @each $color-name, $color in $theme-colors {
5898
+ @each $color-name, $color in $kendo-theme-colors {
5899
5899
  .k-messagebox-#{$color-name} {
5900
5900
  @include fill(
5901
5901
  color-level( $color, $message-box-text-level ),
@@ -7286,7 +7286,7 @@ $listgroup-item-border-width: 1px !default;
7286
7286
 
7287
7287
  // Component
7288
7288
  // #region @import "_variables.scss"; -> packages/default/scss/overlay/_variables.scss
7289
- $overlay-theme-colors: $theme-colors !default;
7289
+ $overlay-theme-colors: $kendo-theme-colors !default;
7290
7290
 
7291
7291
  $overlay-bg: $black !default;
7292
7292
  $overlay-opacity: .5 !default;
@@ -7807,7 +7807,7 @@ $badge-dot-size-lg: 12px !default;
7807
7807
  @include exports( "badge/theme" ) {
7808
7808
 
7809
7809
  // Solid badges
7810
- @each $name, $color in $theme-colors {
7810
+ @each $name, $color in $kendo-theme-colors {
7811
7811
  .k-badge-solid.k-badge-#{$name} {
7812
7812
  border-color: $color;
7813
7813
  color: contrast-wcag( $color );
@@ -7821,7 +7821,7 @@ $badge-dot-size-lg: 12px !default;
7821
7821
  background-color: $component-bg;
7822
7822
  }
7823
7823
 
7824
- @each $name, $color in $theme-colors {
7824
+ @each $name, $color in $kendo-theme-colors {
7825
7825
  .k-badge-outline.k-badge-#{$name} {
7826
7826
  color: $color;
7827
7827
  }
@@ -7903,7 +7903,7 @@ $kendo-button-arrow-padding-y: $kendo-button-padding-y !default;
7903
7903
  /// Theme colors map for the button.
7904
7904
  /// @group button
7905
7905
  $kendo-button-theme-colors: map-merge(
7906
- $theme-colors,
7906
+ $kendo-theme-colors,
7907
7907
  ( "base": #f5f5f5 )
7908
7908
  ) !default;
7909
7909
 
@@ -8032,6 +8032,9 @@ $kendo-link-button-shadow-blur: 0px !default;
8032
8032
  $kendo-link-button-shadow-spread: 2px !default;
8033
8033
  $kendo-link-button-shadow-opacity: .3 !default;
8034
8034
 
8035
+ // Clear button
8036
+ $kendo-clear-button-focus-opacity: .1 !default;
8037
+
8035
8038
  /// The overlay opacity of hovered flat button. Used to create background for the flat button.
8036
8039
  /// @group button
8037
8040
  $kendo-flat-button-hover-opacity: .04 !default;
@@ -8058,6 +8061,8 @@ $kendo-button-transition: color .2s ease-in-out !default;
8058
8061
  box-sizing: border-box;
8059
8062
  border-width: $kendo-button-border-width;
8060
8063
  border-style: solid;
8064
+ color: inherit;
8065
+ background: none;
8061
8066
  font-family: $kendo-button-font-family;
8062
8067
  text-align: center;
8063
8068
  text-decoration: none;
@@ -8322,20 +8327,14 @@ $kendo-button-transition: color .2s ease-in-out !default;
8322
8327
 
8323
8328
  // Clear button
8324
8329
  .k-button-clear {
8325
- &::before {
8326
- display: none;
8327
- }
8328
-
8329
-
8330
- &:focus,
8331
- &.k-focus {
8332
- &::before {
8333
- display: block;
8334
- }
8335
- }
8330
+ border-color: transparent !important; // sass-lint:disable-line no-important
8331
+ color: inherit;
8332
+ background: none !important; // sass-lint:disable-line no-important
8333
+ box-shadow: none !important; // sass-lint:disable-line no-important
8336
8334
  }
8337
8335
 
8338
8336
 
8337
+
8339
8338
  // IE
8340
8339
  .k-ie .k-button-group,
8341
8340
  .k-ie .k-split-button {
@@ -8697,6 +8696,16 @@ $kendo-button-transition: color .2s ease-in-out !default;
8697
8696
  .k-button-clear-#{$name} {
8698
8697
  color: $color;
8699
8698
 
8699
+ &:focus,
8700
+ &.k-focus,
8701
+ &:active {
8702
+ &::after {
8703
+ background-color: currentColor;
8704
+ opacity: $kendo-clear-button-focus-opacity;
8705
+ display: block;
8706
+ }
8707
+ }
8708
+
8700
8709
  // Disabled state
8701
8710
  &:disabled,
8702
8711
  &.k-disabled {
@@ -10608,7 +10617,7 @@ $kendo-avatar-sizes: (
10608
10617
 
10609
10618
  /// Theme colors map of the avatar.
10610
10619
  /// @group avatar
10611
- $kendo-avatar-theme-colors: $theme-colors !default;
10620
+ $kendo-avatar-theme-colors: $kendo-theme-colors !default;
10612
10621
 
10613
10622
  // #endregion
10614
10623
  // #region @import "_layout.scss"; -> packages/default/scss/avatar/_layout.scss
@@ -10806,10 +10815,10 @@ $kendo-chip-base-bg: if( $dark-theme, contrast-wcag($kendo-button-text), $kendo-
10806
10815
  /// @group chip
10807
10816
  $kendo-chip-theme-colors: (
10808
10817
  "base": $kendo-chip-base-bg,
10809
- "error": map-get($theme-colors, "error"),
10810
- "info": map-get($theme-colors, "info"),
10811
- "warning": map-get($theme-colors, "warning"),
10812
- "success": map-get($theme-colors, "success")
10818
+ "error": map-get($kendo-theme-colors, "error"),
10819
+ "info": map-get($kendo-theme-colors, "info"),
10820
+ "warning": map-get($kendo-theme-colors, "warning"),
10821
+ "success": map-get($kendo-theme-colors, "success")
10813
10822
  ) !default;
10814
10823
 
10815
10824
  /// The base background color of solid chip.
@@ -11838,7 +11847,7 @@ $loader-container-font-size-lg: $font-size-lg !default;
11838
11847
  // #region @import "_theme.scss"; -> packages/default/scss/loader/_theme.scss
11839
11848
  @include exports( "loader/theme" ) {
11840
11849
 
11841
- @each $name, $color in $theme-colors {
11850
+ @each $name, $color in $kendo-theme-colors {
11842
11851
  .k-loader-#{$name} {
11843
11852
  @if $name == "secondary" {
11844
11853
  color: $loader-secondary-bg;
@@ -13346,7 +13355,8 @@ $fieldset-legend-border: null !default;
13346
13355
 
13347
13356
 
13348
13357
  .k-multiselect,
13349
- .k-floating-label-container {
13358
+ .k-floating-label-container,
13359
+ .k-daterangepicker .k-dateinput {
13350
13360
  display: inline-flex;
13351
13361
  width: 100%;
13352
13362
  }
@@ -18031,6 +18041,7 @@ $datetime-width: calc( #{$calendar-cell-size * 8} + #{$infinite-calendar-view-pa
18031
18041
  // Component
18032
18042
  // #region @import "_variables.scss"; -> packages/default/scss/daterangepicker/_variables.scss
18033
18043
  // Daterangepicker
18044
+ $kendo-daterange-picker-input-width: 10em;
18034
18045
 
18035
18046
  // #endregion
18036
18047
  // #region @import "_layout.scss"; -> packages/default/scss/daterangepicker/_layout.scss
@@ -18049,6 +18060,10 @@ $datetime-width: calc( #{$calendar-cell-size * 8} + #{$infinite-calendar-view-pa
18049
18060
  *::after {
18050
18061
  box-sizing: border-box;
18051
18062
  }
18063
+
18064
+ .k-dateinput {
18065
+ width: $kendo-daterange-picker-input-width;
18066
+ }
18052
18067
  }
18053
18068
 
18054
18069
 
@@ -20817,7 +20832,7 @@ $appbar-bottom-box-shadow: 0px -1px 1px rgba(0, 0, 0, .16) !default;
20817
20832
 
20818
20833
 
20819
20834
  // AppBar theme colors
20820
- @each $name, $color in $theme-colors {
20835
+ @each $name, $color in $kendo-theme-colors {
20821
20836
  .k-appbar-#{$name} {
20822
20837
  @if $name == "light" {
20823
20838
  color: $appbar-light-text;
@@ -20953,7 +20968,7 @@ $kendo-fab-item-icon-height: $kendo-fab-item-icon-width !default;
20953
20968
 
20954
20969
  /// Theme colors map for the FAB.
20955
20970
  /// @group floating-action-button
20956
- $kendo-fab-theme-colors: $theme-colors !default;
20971
+ $kendo-fab-theme-colors: $kendo-theme-colors !default;
20957
20972
 
20958
20973
  /// The base shadow of the FAB.
20959
20974
  /// @group floating-action-button
@@ -22389,7 +22404,7 @@ $notification-themes: () !default;
22389
22404
  // sass-lint:enable indentation
22390
22405
  }
22391
22406
 
22392
- @each $theme, $props in $theme-colors {
22407
+ @each $theme, $props in $kendo-theme-colors {
22393
22408
  $notification-themes: map-merge($notification-themes, ($theme: notification-theme($theme, $props)) );
22394
22409
  }
22395
22410
 
@@ -23090,7 +23105,7 @@ $card-focus-callout-box-shadow-w: 2px -1px 4px 0 rgba( black, .06) !default;
23090
23105
 
23091
23106
 
23092
23107
  // Card theme colors
23093
- @each $name, $color in $theme-colors {
23108
+ @each $name, $color in $kendo-theme-colors {
23094
23109
  .k-card-#{$name} {
23095
23110
  background-color: tint($color, 10);
23096
23111
  color: shade($color, 6);
@@ -23578,7 +23593,7 @@ $bottom-nav-flat-border: $component-border !default;
23578
23593
  @include exports("bottom-navigation/theme") {
23579
23594
 
23580
23595
  // Solid
23581
- @each $name, $color in $theme-colors {
23596
+ @each $name, $color in $kendo-theme-colors {
23582
23597
  .k-bottom-nav-solid.k-bottom-nav-#{$name} {
23583
23598
  @include fill(
23584
23599
  $color: true-mix( $color, contrast-wcag( $color ), 35%),
@@ -23611,7 +23626,7 @@ $bottom-nav-flat-border: $component-border !default;
23611
23626
  @include fill( $bg: rgba($bottom-nav-flat-text, .05) );
23612
23627
  }
23613
23628
 
23614
- @each $name, $color in $theme-colors {
23629
+ @each $name, $color in $kendo-theme-colors {
23615
23630
  &.k-bottom-nav-#{$name} .k-bottom-nav-item.k-state-selected {
23616
23631
  @if $name == "secondary" or $name == "light" {
23617
23632
  @include fill( $color: try-shade($color, 3) );
@@ -25574,6 +25589,7 @@ $tabstrip-content-border-focused: $component-text !default;
25574
25589
  );
25575
25590
  }
25576
25591
 
25592
+ &:active,
25577
25593
  &.k-state-active,
25578
25594
  &.k-state-selected {
25579
25595
  @include fill(
@@ -25584,6 +25600,7 @@ $tabstrip-content-border-focused: $component-text !default;
25584
25600
  );
25585
25601
  }
25586
25602
 
25603
+ &:focus,
25587
25604
  &.k-state-focused {
25588
25605
  @include box-shadow( $tabstrip-item-focused-shadow );
25589
25606
  }
@@ -26228,7 +26245,6 @@ $panelbar-header-expanded-gradient: null !default;
26228
26245
 
26229
26246
 
26230
26247
  // Panelbar content
26231
- .k-content,
26232
26248
  .k-panelbar-content {
26233
26249
  display: flow-root;
26234
26250
  }
@@ -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.0",
4
+ "version": "5.1.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": "444e224c85edd153e7726d83c682d84e9215acd0"
50
+ "gitHead": "798d6d06021f47b42f71b16530f96ab23d2b9c04"
51
51
  }
@@ -203,7 +203,7 @@ $light: #ebebeb !default;
203
203
  $inverse: if( $dark-theme, $light, $dark ) !default;
204
204
 
205
205
 
206
- $theme-colors: (
206
+ $kendo-theme-colors: (
207
207
  "primary": $primary,
208
208
  "secondary": $secondary,
209
209
  "tertiary": $tertiary,
@@ -240,7 +240,7 @@ $app-border: rgba( $black, .08 ) !default;
240
240
 
241
241
  // Component
242
242
  /// 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;`.
243
+ /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !default;`.
244
244
  /// @group component
245
245
  $component-bg: $body-bg !default;
246
246
  /// 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) );
@@ -5,6 +5,8 @@
5
5
  box-sizing: border-box;
6
6
  border-width: $kendo-button-border-width;
7
7
  border-style: solid;
8
+ color: inherit;
9
+ background: none;
8
10
  font-family: $kendo-button-font-family;
9
11
  text-align: center;
10
12
  text-decoration: none;
@@ -269,20 +271,14 @@
269
271
 
270
272
  // Clear button
271
273
  .k-button-clear {
272
- &::before {
273
- display: none;
274
- }
275
-
276
-
277
- &:focus,
278
- &.k-focus {
279
- &::before {
280
- display: block;
281
- }
282
- }
274
+ border-color: transparent !important; // sass-lint:disable-line no-important
275
+ color: inherit;
276
+ background: none !important; // sass-lint:disable-line no-important
277
+ box-shadow: none !important; // sass-lint:disable-line no-important
283
278
  }
284
279
 
285
280
 
281
+
286
282
  // IE
287
283
  .k-ie .k-button-group,
288
284
  .k-ie .k-split-button {
@@ -253,6 +253,16 @@
253
253
  .k-button-clear-#{$name} {
254
254
  color: $color;
255
255
 
256
+ &:focus,
257
+ &.k-focus,
258
+ &:active {
259
+ &::after {
260
+ background-color: currentColor;
261
+ opacity: $kendo-clear-button-focus-opacity;
262
+ display: block;
263
+ }
264
+ }
265
+
256
266
  // Disabled state
257
267
  &:disabled,
258
268
  &.k-disabled {
@@ -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
 
@@ -183,6 +183,9 @@ $kendo-link-button-shadow-blur: 0px !default;
183
183
  $kendo-link-button-shadow-spread: 2px !default;
184
184
  $kendo-link-button-shadow-opacity: .3 !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: .04 !default;
@@ -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.
@@ -13,6 +13,10 @@
13
13
  *::after {
14
14
  box-sizing: border-box;
15
15
  }
16
+
17
+ .k-dateinput {
18
+ width: $kendo-daterange-picker-input-width;
19
+ }
16
20
  }
17
21
 
18
22
 
@@ -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
@@ -141,7 +141,8 @@
141
141
 
142
142
 
143
143
  .k-multiselect,
144
- .k-floating-label-container {
144
+ .k-floating-label-container,
145
+ .k-daterangepicker .k-dateinput {
145
146
  display: inline-flex;
146
147
  width: 100%;
147
148
  }
@@ -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;
@@ -97,7 +97,6 @@
97
97
 
98
98
 
99
99
  // Panelbar content
100
- .k-content,
101
100
  .k-panelbar-content {
102
101
  display: flow-root;
103
102
  }
@@ -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
  }