@progress/kendo-theme-material 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 +92 -9
- package/dist/all.scss +71 -37
- package/package.json +3 -3
- package/scss/_variables.scss +3 -3
- package/scss/avatar/_variables.scss +1 -1
- package/scss/button/_layout.scss +18 -0
- package/scss/button/_variables.scss +4 -1
- package/scss/chip/_variables.scss +4 -4
- package/scss/daterangepicker/_variables.scss +1 -0
- package/scss/fab/_variables.scss +1 -1
- package/scss/notification/_variables.scss +1 -1
- package/scss/overlay/_variables.scss +1 -1
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
|
|
11910
|
-
|
|
11911
|
-
|
|
11912
|
-
|
|
11913
|
-
|
|
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;
|
|
@@ -24802,7 +24886,7 @@ kendo-card-footer {
|
|
|
24802
24886
|
background-color: rgba(0, 0, 0, 0.04);
|
|
24803
24887
|
}
|
|
24804
24888
|
|
|
24805
|
-
.k-tabstrip-items-wrapper .k-item.k-state-active, .k-tabstrip-items-wrapper .k-item.k-state-selected {
|
|
24889
|
+
.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 {
|
|
24806
24890
|
color: rgba(0, 0, 0, 0.87);
|
|
24807
24891
|
}
|
|
24808
24892
|
|
|
@@ -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
|
@@ -1968,12 +1968,12 @@ $dark: get-base-hue( gray, 800 ) !default;
|
|
|
1968
1968
|
/// @type Color
|
|
1969
1969
|
$light: get-base-hue( gray, 100 ) !default;
|
|
1970
1970
|
|
|
1971
|
-
/// Inverse color of the theme. Depending on the theme luminance dark or
|
|
1971
|
+
/// Inverse color of the theme. Depending on the theme luminance dark or light, it will be light or dark
|
|
1972
1972
|
/// @group color-system
|
|
1973
1973
|
$inverse: if( $dark-theme, $light, $dark ) !default;
|
|
1974
1974
|
|
|
1975
1975
|
|
|
1976
|
-
$theme-colors: (
|
|
1976
|
+
$kendo-theme-colors: (
|
|
1977
1977
|
"primary": $primary,
|
|
1978
1978
|
"secondary": $secondary,
|
|
1979
1979
|
"tertiary": $tertiary,
|
|
@@ -2009,7 +2009,7 @@ $app-border: map-get($theme, component-border) !default;
|
|
|
2009
2009
|
|
|
2010
2010
|
// Component
|
|
2011
2011
|
/// Background color of a component.
|
|
2012
|
-
/// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !
|
|
2012
|
+
/// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !default;`.
|
|
2013
2013
|
/// @group component
|
|
2014
2014
|
$component-bg: map-get($theme, component-bg) !default;
|
|
2015
2015
|
/// Text color of a component.
|
|
@@ -4183,7 +4183,7 @@ $utils-border-radius: (
|
|
|
4183
4183
|
0: 0
|
|
4184
4184
|
) !default;
|
|
4185
4185
|
|
|
4186
|
-
$utils-border-color: $theme-colors !default;
|
|
4186
|
+
$utils-border-color: $kendo-theme-colors !default;
|
|
4187
4187
|
|
|
4188
4188
|
$utils-border-radius-sides: (
|
|
4189
4189
|
default: border-radius,
|
|
@@ -5281,7 +5281,7 @@ $utils-border-radius: (
|
|
|
5281
5281
|
|
|
5282
5282
|
.k-color-inherit { color: inherit; }
|
|
5283
5283
|
|
|
5284
|
-
@each $name, $color in $theme-colors {
|
|
5284
|
+
@each $name, $color in $kendo-theme-colors {
|
|
5285
5285
|
.k-text-#{$name},
|
|
5286
5286
|
.k-color-#{$name} {
|
|
5287
5287
|
color: $color !important;
|
|
@@ -5295,7 +5295,7 @@ $utils-border-radius: (
|
|
|
5295
5295
|
|
|
5296
5296
|
// sass-lint:disable-block no-important
|
|
5297
5297
|
|
|
5298
|
-
@each $name, $bg-color in $theme-colors {
|
|
5298
|
+
@each $name, $bg-color in $kendo-theme-colors {
|
|
5299
5299
|
.k-bg-#{$name} {
|
|
5300
5300
|
background-color: $bg-color !important;
|
|
5301
5301
|
}
|
|
@@ -5312,7 +5312,7 @@ $utils-border-radius: (
|
|
|
5312
5312
|
|
|
5313
5313
|
@include exports( "common/decoration/variant" ) {
|
|
5314
5314
|
|
|
5315
|
-
@each $name, $variant in $theme-colors {
|
|
5315
|
+
@each $name, $variant in $kendo-theme-colors {
|
|
5316
5316
|
.k-state-#{$name} {
|
|
5317
5317
|
@include variant( $variant );
|
|
5318
5318
|
}
|
|
@@ -6824,7 +6824,7 @@ $message-box-link-text-decoration: underline !default;
|
|
|
6824
6824
|
// #region @import "~@progress/kendo-theme-default/scss/messagebox/_theme.scss"; -> packages/material/node_modules/@progress/kendo-theme-default/scss/messagebox/_theme.scss
|
|
6825
6825
|
@include exports("messagebox/theme") {
|
|
6826
6826
|
|
|
6827
|
-
@each $color-name, $color in $theme-colors {
|
|
6827
|
+
@each $color-name, $color in $kendo-theme-colors {
|
|
6828
6828
|
.k-messagebox-#{$color-name} {
|
|
6829
6829
|
@include fill(
|
|
6830
6830
|
color-level( $color, $message-box-text-level ),
|
|
@@ -8252,7 +8252,7 @@ $listgroup-item-border-width: 1px !default;
|
|
|
8252
8252
|
|
|
8253
8253
|
// Component
|
|
8254
8254
|
// #region @import "_variables.scss"; -> packages/material/scss/overlay/_variables.scss
|
|
8255
|
-
$overlay-theme-colors: $theme-colors !default;
|
|
8255
|
+
$overlay-theme-colors: $kendo-theme-colors !default;
|
|
8256
8256
|
|
|
8257
8257
|
$overlay-bg: $black !default;
|
|
8258
8258
|
$overlay-opacity: .32 !default;
|
|
@@ -8795,7 +8795,7 @@ $badge-dot-size-lg: 12px !default;
|
|
|
8795
8795
|
@include exports( "badge/theme" ) {
|
|
8796
8796
|
|
|
8797
8797
|
// Solid badges
|
|
8798
|
-
@each $name, $color in $theme-colors {
|
|
8798
|
+
@each $name, $color in $kendo-theme-colors {
|
|
8799
8799
|
.k-badge-solid.k-badge-#{$name} {
|
|
8800
8800
|
border-color: $color;
|
|
8801
8801
|
color: contrast-wcag( $color );
|
|
@@ -8809,7 +8809,7 @@ $badge-dot-size-lg: 12px !default;
|
|
|
8809
8809
|
background-color: $component-bg;
|
|
8810
8810
|
}
|
|
8811
8811
|
|
|
8812
|
-
@each $name, $color in $theme-colors {
|
|
8812
|
+
@each $name, $color in $kendo-theme-colors {
|
|
8813
8813
|
.k-badge-outline.k-badge-#{$name} {
|
|
8814
8814
|
color: $color;
|
|
8815
8815
|
}
|
|
@@ -8893,7 +8893,7 @@ $kendo-button-arrow-padding-y: $kendo-button-padding-y !default;
|
|
|
8893
8893
|
/// Theme colors map for the button.
|
|
8894
8894
|
/// @group button
|
|
8895
8895
|
$kendo-button-theme-colors: map-merge(
|
|
8896
|
-
$theme-colors,
|
|
8896
|
+
$kendo-theme-colors,
|
|
8897
8897
|
( "base": $base-bg )
|
|
8898
8898
|
) !default;
|
|
8899
8899
|
|
|
@@ -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
|
-
|
|
9317
|
-
|
|
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 {
|
|
@@ -11899,7 +11926,7 @@ $kendo-avatar-sizes: (
|
|
|
11899
11926
|
|
|
11900
11927
|
/// Theme colors map of the avatar.
|
|
11901
11928
|
/// @group avatar
|
|
11902
|
-
$kendo-avatar-theme-colors: $theme-colors !default;
|
|
11929
|
+
$kendo-avatar-theme-colors: $kendo-theme-colors !default;
|
|
11903
11930
|
|
|
11904
11931
|
// #endregion
|
|
11905
11932
|
// #region @import "_layout.scss"; -> packages/material/scss/avatar/_layout.scss
|
|
@@ -12103,10 +12130,10 @@ $kendo-chip-base-bg: if( $dark-theme, $white, $kendo-button-text ) !default;
|
|
|
12103
12130
|
/// @group chip
|
|
12104
12131
|
$kendo-chip-theme-colors: (
|
|
12105
12132
|
"base": $kendo-chip-base-bg,
|
|
12106
|
-
"error": map-get( $theme-colors, "error" ),
|
|
12107
|
-
"info": map-get( $theme-colors, "info" ),
|
|
12108
|
-
"warning": map-get( $theme-colors, "warning" ),
|
|
12109
|
-
"success": map-get( $theme-colors, "success" )
|
|
12133
|
+
"error": map-get( $kendo-theme-colors, "error" ),
|
|
12134
|
+
"info": map-get( $kendo-theme-colors, "info" ),
|
|
12135
|
+
"warning": map-get( $kendo-theme-colors, "warning" ),
|
|
12136
|
+
"success": map-get( $kendo-theme-colors, "success" )
|
|
12110
12137
|
) !default;
|
|
12111
12138
|
|
|
12112
12139
|
/// The base background color of solid chip.
|
|
@@ -13195,7 +13222,7 @@ $loader-container-font-size-lg: $font-size-lg !default;
|
|
|
13195
13222
|
// #region @import "~@progress/kendo-theme-default/scss/loader/_theme.scss"; -> packages/material/node_modules/@progress/kendo-theme-default/scss/loader/_theme.scss
|
|
13196
13223
|
@include exports( "loader/theme" ) {
|
|
13197
13224
|
|
|
13198
|
-
@each $name, $color in $theme-colors {
|
|
13225
|
+
@each $name, $color in $kendo-theme-colors {
|
|
13199
13226
|
.k-loader-#{$name} {
|
|
13200
13227
|
@if $name == "secondary" {
|
|
13201
13228
|
color: $loader-secondary-bg;
|
|
@@ -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
|
|
|
@@ -23049,7 +23082,7 @@ $appbar-bottom-box-shadow: 0px -2px 3px rgba(0, 0, 0, .24) !default;
|
|
|
23049
23082
|
|
|
23050
23083
|
|
|
23051
23084
|
// AppBar theme colors
|
|
23052
|
-
@each $name, $color in $theme-colors {
|
|
23085
|
+
@each $name, $color in $kendo-theme-colors {
|
|
23053
23086
|
.k-appbar-#{$name} {
|
|
23054
23087
|
@if $name == "light" {
|
|
23055
23088
|
color: $appbar-light-text;
|
|
@@ -23188,7 +23221,7 @@ $kendo-fab-item-icon-height: $kendo-fab-item-icon-width !default;
|
|
|
23188
23221
|
|
|
23189
23222
|
/// Theme colors map for the FAB.
|
|
23190
23223
|
/// @group floating-action-button
|
|
23191
|
-
$kendo-fab-theme-colors: $theme-colors !default;
|
|
23224
|
+
$kendo-fab-theme-colors: $kendo-theme-colors !default;
|
|
23192
23225
|
|
|
23193
23226
|
/// The base shadow of the FAB.
|
|
23194
23227
|
/// @group floating-action-button
|
|
@@ -24730,7 +24763,7 @@ $notification-themes: () !default;
|
|
|
24730
24763
|
// sass-lint:enable indentation
|
|
24731
24764
|
}
|
|
24732
24765
|
|
|
24733
|
-
@each $theme, $props in $theme-colors {
|
|
24766
|
+
@each $theme, $props in $kendo-theme-colors {
|
|
24734
24767
|
$notification-themes: map-merge($notification-themes, ($theme: notification-theme($theme, $props)) );
|
|
24735
24768
|
}
|
|
24736
24769
|
|
|
@@ -25444,7 +25477,7 @@ $card-focus-callout-box-shadow-w: null !default;
|
|
|
25444
25477
|
|
|
25445
25478
|
|
|
25446
25479
|
// Card theme colors
|
|
25447
|
-
@each $name, $color in $theme-colors {
|
|
25480
|
+
@each $name, $color in $kendo-theme-colors {
|
|
25448
25481
|
.k-card-#{$name} {
|
|
25449
25482
|
background-color: tint($color, 10);
|
|
25450
25483
|
color: shade($color, 6);
|
|
@@ -25945,7 +25978,7 @@ $bottom-nav-flat-border: $component-border !default;
|
|
|
25945
25978
|
@include exports("bottom-navigation/theme") {
|
|
25946
25979
|
|
|
25947
25980
|
// Solid
|
|
25948
|
-
@each $name, $color in $theme-colors {
|
|
25981
|
+
@each $name, $color in $kendo-theme-colors {
|
|
25949
25982
|
.k-bottom-nav-solid.k-bottom-nav-#{$name} {
|
|
25950
25983
|
@include fill(
|
|
25951
25984
|
$color: true-mix( $color, contrast-wcag( $color ), 35%),
|
|
@@ -25978,7 +26011,7 @@ $bottom-nav-flat-border: $component-border !default;
|
|
|
25978
26011
|
@include fill( $bg: rgba($bottom-nav-flat-text, .05) );
|
|
25979
26012
|
}
|
|
25980
26013
|
|
|
25981
|
-
@each $name, $color in $theme-colors {
|
|
26014
|
+
@each $name, $color in $kendo-theme-colors {
|
|
25982
26015
|
&.k-bottom-nav-#{$name} .k-bottom-nav-item.k-state-selected {
|
|
25983
26016
|
@if $name == "secondary" or $name == "light" {
|
|
25984
26017
|
@include fill( $color: try-shade($color, 3) );
|
|
@@ -28035,6 +28068,7 @@ $tabstrip-content-border-focused: $component-text !default;
|
|
|
28035
28068
|
);
|
|
28036
28069
|
}
|
|
28037
28070
|
|
|
28071
|
+
&:active,
|
|
28038
28072
|
&.k-state-active,
|
|
28039
28073
|
&.k-state-selected {
|
|
28040
28074
|
@include fill(
|
|
@@ -28045,6 +28079,7 @@ $tabstrip-content-border-focused: $component-text !default;
|
|
|
28045
28079
|
);
|
|
28046
28080
|
}
|
|
28047
28081
|
|
|
28082
|
+
&:focus,
|
|
28048
28083
|
&.k-state-focused {
|
|
28049
28084
|
@include box-shadow( $tabstrip-item-focused-shadow );
|
|
28050
28085
|
}
|
|
@@ -28717,7 +28752,6 @@ $panelbar-header-expanded-gradient: null !default;
|
|
|
28717
28752
|
|
|
28718
28753
|
|
|
28719
28754
|
// Panelbar content
|
|
28720
|
-
.k-content,
|
|
28721
28755
|
.k-panelbar-content {
|
|
28722
28756
|
display: flow-root;
|
|
28723
28757
|
}
|
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.
|
|
4
|
+
"version": "5.1.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.
|
|
53
|
+
"@progress/kendo-theme-default": "^5.1.1"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "798d6d06021f47b42f71b16530f96ab23d2b9c04"
|
|
56
56
|
}
|
package/scss/_variables.scss
CHANGED
|
@@ -230,12 +230,12 @@ $dark: get-base-hue( gray, 800 ) !default;
|
|
|
230
230
|
/// @type Color
|
|
231
231
|
$light: get-base-hue( gray, 100 ) !default;
|
|
232
232
|
|
|
233
|
-
/// Inverse color of the theme. Depending on the theme luminance dark or
|
|
233
|
+
/// Inverse color of the theme. Depending on the theme luminance dark or light, it will be light or dark
|
|
234
234
|
/// @group color-system
|
|
235
235
|
$inverse: if( $dark-theme, $light, $dark ) !default;
|
|
236
236
|
|
|
237
237
|
|
|
238
|
-
$theme-colors: (
|
|
238
|
+
$kendo-theme-colors: (
|
|
239
239
|
"primary": $primary,
|
|
240
240
|
"secondary": $secondary,
|
|
241
241
|
"tertiary": $tertiary,
|
|
@@ -271,7 +271,7 @@ $app-border: map-get($theme, component-border) !default;
|
|
|
271
271
|
|
|
272
272
|
// Component
|
|
273
273
|
/// Background color of a component.
|
|
274
|
-
/// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !
|
|
274
|
+
/// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !default;`.
|
|
275
275
|
/// @group component
|
|
276
276
|
$component-bg: map-get($theme, component-bg) !default;
|
|
277
277
|
/// Text color of a component.
|
package/scss/button/_layout.scss
CHANGED
|
@@ -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
|
|
|
@@ -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: 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;
|
|
@@ -66,10 +66,10 @@ $kendo-chip-base-bg: if( $dark-theme, $white, $kendo-button-text ) !default;
|
|
|
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.
|
package/scss/fab/_variables.scss
CHANGED
|
@@ -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
|
}
|