@progress/kendo-theme-material 5.0.0 → 5.0.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
@@ -11665,6 +11665,8 @@ kendo-badge-container {
11665
11665
  box-sizing: border-box;
11666
11666
  border-width: 1px;
11667
11667
  border-style: solid;
11668
+ color: inherit;
11669
+ background: none;
11668
11670
  font-family: Roboto, "Helvetica Neue", sans-serif;
11669
11671
  text-align: center;
11670
11672
  text-decoration: none;
@@ -11906,12 +11908,11 @@ kendo-badge-container {
11906
11908
  text-decoration: underline;
11907
11909
  }
11908
11910
 
11909
- .k-button-clear::before {
11910
- display: none;
11911
- }
11912
-
11913
- .k-button-clear:focus::before, .k-button-clear.k-focus::before {
11914
- display: block;
11911
+ .k-button-clear {
11912
+ border-color: transparent !important;
11913
+ color: inherit;
11914
+ background: none !important;
11915
+ box-shadow: none !important;
11915
11916
  }
11916
11917
 
11917
11918
  .k-ie .k-button-group .k-button,
@@ -12002,6 +12003,18 @@ kendo-badge-container {
12002
12003
  opacity: 0.12;
12003
12004
  }
12004
12005
 
12006
+ .k-button-clear::before,
12007
+ .k-button.k-clear::before {
12008
+ display: none;
12009
+ }
12010
+
12011
+ .k-button-clear:focus::before, .k-button-clear.k-focus::before, .k-button-clear:active::before,
12012
+ .k-button.k-clear:focus::before,
12013
+ .k-button.k-clear.k-focus::before,
12014
+ .k-button.k-clear:active::before {
12015
+ display: block;
12016
+ }
12017
+
12005
12018
  .k-overflow-button.k-button-group,
12006
12019
  .k-overflow-group.k-button-group {
12007
12020
  line-height: inherit;
@@ -12786,6 +12799,12 @@ kendo-badge-container {
12786
12799
  color: #3f51b5;
12787
12800
  }
12788
12801
 
12802
+ .k-button-clear-primary:focus::after, .k-button-clear-primary.k-focus::after, .k-button-clear-primary:active::after {
12803
+ background-color: currentColor;
12804
+ opacity: 0.155;
12805
+ display: block;
12806
+ }
12807
+
12789
12808
  .k-button-clear-primary:disabled, .k-button-clear-primary.k-disabled {
12790
12809
  color: rgba(0, 0, 0, 0.38);
12791
12810
  }
@@ -12794,6 +12813,12 @@ kendo-badge-container {
12794
12813
  color: #e51a5f;
12795
12814
  }
12796
12815
 
12816
+ .k-button-clear-secondary:focus::after, .k-button-clear-secondary.k-focus::after, .k-button-clear-secondary:active::after {
12817
+ background-color: currentColor;
12818
+ opacity: 0.155;
12819
+ display: block;
12820
+ }
12821
+
12797
12822
  .k-button-clear-secondary:disabled, .k-button-clear-secondary.k-disabled {
12798
12823
  color: rgba(0, 0, 0, 0.38);
12799
12824
  }
@@ -12802,6 +12827,12 @@ kendo-badge-container {
12802
12827
  color: #00695c;
12803
12828
  }
12804
12829
 
12830
+ .k-button-clear-tertiary:focus::after, .k-button-clear-tertiary.k-focus::after, .k-button-clear-tertiary:active::after {
12831
+ background-color: currentColor;
12832
+ opacity: 0.155;
12833
+ display: block;
12834
+ }
12835
+
12805
12836
  .k-button-clear-tertiary:disabled, .k-button-clear-tertiary.k-disabled {
12806
12837
  color: rgba(0, 0, 0, 0.38);
12807
12838
  }
@@ -12810,6 +12841,12 @@ kendo-badge-container {
12810
12841
  color: #0058e9;
12811
12842
  }
12812
12843
 
12844
+ .k-button-clear-info:focus::after, .k-button-clear-info.k-focus::after, .k-button-clear-info:active::after {
12845
+ background-color: currentColor;
12846
+ opacity: 0.155;
12847
+ display: block;
12848
+ }
12849
+
12813
12850
  .k-button-clear-info:disabled, .k-button-clear-info.k-disabled {
12814
12851
  color: rgba(0, 0, 0, 0.38);
12815
12852
  }
@@ -12818,6 +12855,12 @@ kendo-badge-container {
12818
12855
  color: #37b400;
12819
12856
  }
12820
12857
 
12858
+ .k-button-clear-success:focus::after, .k-button-clear-success.k-focus::after, .k-button-clear-success:active::after {
12859
+ background-color: currentColor;
12860
+ opacity: 0.155;
12861
+ display: block;
12862
+ }
12863
+
12821
12864
  .k-button-clear-success:disabled, .k-button-clear-success.k-disabled {
12822
12865
  color: rgba(0, 0, 0, 0.38);
12823
12866
  }
@@ -12826,6 +12869,12 @@ kendo-badge-container {
12826
12869
  color: #ffc000;
12827
12870
  }
12828
12871
 
12872
+ .k-button-clear-warning:focus::after, .k-button-clear-warning.k-focus::after, .k-button-clear-warning:active::after {
12873
+ background-color: currentColor;
12874
+ opacity: 0.155;
12875
+ display: block;
12876
+ }
12877
+
12829
12878
  .k-button-clear-warning:disabled, .k-button-clear-warning.k-disabled {
12830
12879
  color: rgba(0, 0, 0, 0.38);
12831
12880
  }
@@ -12834,6 +12883,12 @@ kendo-badge-container {
12834
12883
  color: #f31700;
12835
12884
  }
12836
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.155;
12889
+ display: block;
12890
+ }
12891
+
12837
12892
  .k-button-clear-error:disabled, .k-button-clear-error.k-disabled {
12838
12893
  color: rgba(0, 0, 0, 0.38);
12839
12894
  }
@@ -12842,6 +12897,12 @@ kendo-badge-container {
12842
12897
  color: #424242;
12843
12898
  }
12844
12899
 
12900
+ .k-button-clear-dark:focus::after, .k-button-clear-dark.k-focus::after, .k-button-clear-dark:active::after {
12901
+ background-color: currentColor;
12902
+ opacity: 0.155;
12903
+ display: block;
12904
+ }
12905
+
12845
12906
  .k-button-clear-dark:disabled, .k-button-clear-dark.k-disabled {
12846
12907
  color: rgba(0, 0, 0, 0.38);
12847
12908
  }
@@ -12850,6 +12911,12 @@ kendo-badge-container {
12850
12911
  color: #f5f5f5;
12851
12912
  }
12852
12913
 
12914
+ .k-button-clear-light:focus::after, .k-button-clear-light.k-focus::after, .k-button-clear-light:active::after {
12915
+ background-color: currentColor;
12916
+ opacity: 0.155;
12917
+ display: block;
12918
+ }
12919
+
12853
12920
  .k-button-clear-light:disabled, .k-button-clear-light.k-disabled {
12854
12921
  color: rgba(0, 0, 0, 0.38);
12855
12922
  }
@@ -12858,6 +12925,12 @@ kendo-badge-container {
12858
12925
  color: #424242;
12859
12926
  }
12860
12927
 
12928
+ .k-button-clear-inverse:focus::after, .k-button-clear-inverse.k-focus::after, .k-button-clear-inverse:active::after {
12929
+ background-color: currentColor;
12930
+ opacity: 0.155;
12931
+ display: block;
12932
+ }
12933
+
12861
12934
  .k-button-clear-inverse:disabled, .k-button-clear-inverse.k-disabled {
12862
12935
  color: rgba(0, 0, 0, 0.38);
12863
12936
  }
@@ -12866,6 +12939,12 @@ kendo-badge-container {
12866
12939
  color: rgba(0, 0, 0, 0.87);
12867
12940
  }
12868
12941
 
12942
+ .k-button-clear-base:focus::after, .k-button-clear-base.k-focus::after, .k-button-clear-base:active::after {
12943
+ background-color: currentColor;
12944
+ opacity: 0.155;
12945
+ display: block;
12946
+ }
12947
+
12869
12948
  .k-button-clear-base:disabled, .k-button-clear-base.k-disabled {
12870
12949
  color: rgba(0, 0, 0, 0.38);
12871
12950
  }
@@ -16450,7 +16529,8 @@ kendo-label > .k-label {
16450
16529
  }
16451
16530
 
16452
16531
  .k-form .k-multiselect,
16453
- .k-form .k-floating-label-container {
16532
+ .k-form .k-floating-label-container,
16533
+ .k-form .k-daterangepicker .k-dateinput {
16454
16534
  display: inline-flex;
16455
16535
  width: 100%;
16456
16536
  }
@@ -19609,6 +19689,10 @@ kendo-label > .k-label {
19609
19689
  box-sizing: border-box;
19610
19690
  }
19611
19691
 
19692
+ .k-daterange-picker .k-dateinput, .k-daterangepicker .k-dateinput {
19693
+ width: 10em;
19694
+ }
19695
+
19612
19696
  .k-daterangepicker-wrap {
19613
19697
  display: inherit;
19614
19698
  flex-flow: inherit;
@@ -25149,7 +25233,6 @@ kendo-card-footer {
25149
25233
  padding-left: 96px;
25150
25234
  }
25151
25235
 
25152
- .k-panelbar .k-content,
25153
25236
  .k-panelbar .k-panelbar-content {
25154
25237
  display: flow-root;
25155
25238
  }
package/dist/all.scss CHANGED
@@ -9022,6 +9022,9 @@ $kendo-link-button-shadow-blur: null !default;
9022
9022
  $kendo-link-button-shadow-spread: null !default;
9023
9023
  $kendo-link-button-shadow-opacity: null !default;
9024
9024
 
9025
+ // Clear button
9026
+ $kendo-clear-button-focus-opacity: .155 !default; // equal to 10% of black
9027
+
9025
9028
  /// The overlay opacity of hovered flat button. Used to create background for the flat button.
9026
9029
  /// @group button
9027
9030
  $kendo-flat-button-hover-opacity: .08 !default;
@@ -9049,6 +9052,8 @@ $kendo-button-transition: box-shadow 280ms cubic-bezier( .4, 0, .2, 1 ) !default
9049
9052
  box-sizing: border-box;
9050
9053
  border-width: $kendo-button-border-width;
9051
9054
  border-style: solid;
9055
+ color: inherit;
9056
+ background: none;
9052
9057
  font-family: $kendo-button-font-family;
9053
9058
  text-align: center;
9054
9059
  text-decoration: none;
@@ -9313,20 +9318,14 @@ $kendo-button-transition: box-shadow 280ms cubic-bezier( .4, 0, .2, 1 ) !default
9313
9318
 
9314
9319
  // Clear button
9315
9320
  .k-button-clear {
9316
- &::before {
9317
- display: none;
9318
- }
9319
-
9320
-
9321
- &:focus,
9322
- &.k-focus {
9323
- &::before {
9324
- display: block;
9325
- }
9326
- }
9321
+ border-color: transparent !important; // sass-lint:disable-line no-important
9322
+ color: inherit;
9323
+ background: none !important; // sass-lint:disable-line no-important
9324
+ box-shadow: none !important; // sass-lint:disable-line no-important
9327
9325
  }
9328
9326
 
9329
9327
 
9328
+
9330
9329
  // IE
9331
9330
  .k-ie .k-button-group,
9332
9331
  .k-ie .k-split-button {
@@ -9485,6 +9484,24 @@ $kendo-button-transition: box-shadow 280ms cubic-bezier( .4, 0, .2, 1 ) !default
9485
9484
  }
9486
9485
 
9487
9486
 
9487
+ // Clear button
9488
+ .k-button-clear,
9489
+ .k-button.k-clear {
9490
+ &::before {
9491
+ display: none;
9492
+ }
9493
+
9494
+
9495
+ &:focus,
9496
+ &.k-focus,
9497
+ &:active {
9498
+ &::before {
9499
+ display: block;
9500
+ }
9501
+ }
9502
+ }
9503
+
9504
+
9488
9505
  // Button group
9489
9506
  .k-button-group {}
9490
9507
 
@@ -9761,6 +9778,16 @@ $kendo-button-transition: box-shadow 280ms cubic-bezier( .4, 0, .2, 1 ) !default
9761
9778
  .k-button-clear-#{$name} {
9762
9779
  color: $color;
9763
9780
 
9781
+ &:focus,
9782
+ &.k-focus,
9783
+ &:active {
9784
+ &::after {
9785
+ background-color: currentColor;
9786
+ opacity: $kendo-clear-button-focus-opacity;
9787
+ display: block;
9788
+ }
9789
+ }
9790
+
9764
9791
  // Disabled state
9765
9792
  &:disabled,
9766
9793
  &.k-disabled {
@@ -14912,7 +14939,8 @@ $fieldset-legend-border: null !default;
14912
14939
 
14913
14940
 
14914
14941
  .k-multiselect,
14915
- .k-floating-label-container {
14942
+ .k-floating-label-container,
14943
+ .k-daterangepicker .k-dateinput {
14916
14944
  display: inline-flex;
14917
14945
  width: 100%;
14918
14946
  }
@@ -20062,6 +20090,7 @@ $datetime-width: calc( #{$calendar-cell-size * 8} + #{$infinite-calendar-view-pa
20062
20090
  // Component
20063
20091
  // #region @import "_variables.scss"; -> packages/material/scss/daterangepicker/_variables.scss
20064
20092
  // Daterangepicker
20093
+ $kendo-daterange-picker-input-width: 10em;
20065
20094
 
20066
20095
  // #endregion
20067
20096
  // #region @import "_layout.scss"; -> packages/material/scss/daterangepicker/_layout.scss
@@ -20081,6 +20110,10 @@ $datetime-width: calc( #{$calendar-cell-size * 8} + #{$infinite-calendar-view-pa
20081
20110
  *::after {
20082
20111
  box-sizing: border-box;
20083
20112
  }
20113
+
20114
+ .k-dateinput {
20115
+ width: $kendo-daterange-picker-input-width;
20116
+ }
20084
20117
  }
20085
20118
 
20086
20119
 
@@ -28717,7 +28750,6 @@ $panelbar-header-expanded-gradient: null !default;
28717
28750
 
28718
28751
 
28719
28752
  // Panelbar content
28720
- .k-content,
28721
28753
  .k-panelbar-content {
28722
28754
  display: flow-root;
28723
28755
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-material",
3
3
  "description": "Material theme for Kendo UI",
4
- "version": "5.0.0",
4
+ "version": "5.0.1",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -50,7 +50,7 @@
50
50
  "postpublish": "echo 'no postpublish for material theme'"
51
51
  },
52
52
  "dependencies": {
53
- "@progress/kendo-theme-default": "^5.0.0"
53
+ "@progress/kendo-theme-default": "^5.0.1"
54
54
  },
55
- "gitHead": "444e224c85edd153e7726d83c682d84e9215acd0"
55
+ "gitHead": "7d2371ce2d1bf6cb93c6514e6578965140837353"
56
56
  }
@@ -52,6 +52,24 @@
52
52
  }
53
53
 
54
54
 
55
+ // Clear button
56
+ .k-button-clear,
57
+ .k-button.k-clear {
58
+ &::before {
59
+ display: none;
60
+ }
61
+
62
+
63
+ &:focus,
64
+ &.k-focus,
65
+ &:active {
66
+ &::before {
67
+ display: block;
68
+ }
69
+ }
70
+ }
71
+
72
+
55
73
  // Button group
56
74
  .k-button-group {}
57
75
 
@@ -183,6 +183,9 @@ $kendo-link-button-shadow-blur: null !default;
183
183
  $kendo-link-button-shadow-spread: null !default;
184
184
  $kendo-link-button-shadow-opacity: null !default;
185
185
 
186
+ // Clear button
187
+ $kendo-clear-button-focus-opacity: .155 !default; // equal to 10% of black
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;
@@ -1 +1,2 @@
1
1
  // Daterangepicker
2
+ $kendo-daterange-picker-input-width: 10em;