@progress/kendo-theme-material 8.0.0-dev.1 → 8.0.0-dev.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/all.css +3921 -378
  2. package/dist/all.scss +640 -208
  3. package/dist/meta/sassdoc-data.json +45882 -33780
  4. package/dist/meta/sassdoc-raw-data.json +12816 -6769
  5. package/dist/meta/variables.json +77 -73
  6. package/lib/swatches/material-aqua-dark.json +1 -1
  7. package/lib/swatches/material-arctic.json +1 -1
  8. package/lib/swatches/material-burnt-teal.json +1 -1
  9. package/lib/swatches/material-dataviz-v4.json +1 -1
  10. package/lib/swatches/material-eggplant.json +1 -1
  11. package/lib/swatches/material-lime-dark.json +1 -1
  12. package/lib/swatches/material-lime.json +1 -1
  13. package/lib/swatches/material-main-dark.json +1 -1
  14. package/lib/swatches/material-main.json +1 -1
  15. package/lib/swatches/material-nova.json +1 -1
  16. package/lib/swatches/material-pacific-dark.json +1 -1
  17. package/lib/swatches/material-pacific.json +1 -1
  18. package/lib/swatches/material-sky-dark.json +1 -1
  19. package/lib/swatches/material-sky.json +1 -1
  20. package/lib/swatches/material-smoke.json +1 -1
  21. package/package.json +6 -6
  22. package/scss/button/_layout.scss +9 -0
  23. package/scss/button/_theme.scss +20 -2
  24. package/scss/button/_variables.scss +7 -7
  25. package/scss/calendar/_variables.scss +34 -3
  26. package/scss/checkbox/_variables.scss +1 -1
  27. package/scss/chip/_theme.scss +3 -3
  28. package/scss/chip/_variables.scss +1 -1
  29. package/scss/core/border-radii/index.import.scss +26 -0
  30. package/scss/core/color-system/_swatch-legacy.scss +1 -1
  31. package/scss/core/color-system/_swatch.scss +1 -1
  32. package/scss/dataviz/_variables.scss +1 -1
  33. package/scss/drawer/_variables.scss +12 -2
  34. package/scss/scheduler/_layout.scss +1 -1
  35. package/scss/scheduler/_variables.scss +145 -1
  36. package/scss/switch/_variables.scss +1 -1
  37. package/scss/tabstrip/_variables.scss +70 -28
  38. package/scss/timeline/_variables.scss +1 -1
  39. package/scss/toolbar/_theme.scss +27 -0
  40. package/scss/tooltip/_variables.scss +1 -1
  41. package/scss/typography/_variables.scss +163 -5
@@ -3,7 +3,7 @@
3
3
  "name": "Material Sky Dark",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-material",
6
- "version": "8.0.0-dev.1",
6
+ "version": "8.0.0-dev.11",
7
7
  "api": "legacy",
8
8
  "previewColors": [
9
9
  "#121212",
@@ -3,7 +3,7 @@
3
3
  "name": "Material Sky",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-material",
6
- "version": "8.0.0-dev.1",
6
+ "version": "8.0.0-dev.11",
7
7
  "api": "legacy",
8
8
  "previewColors": [
9
9
  "#ffffff",
@@ -3,7 +3,7 @@
3
3
  "name": "Material Smoke",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-material",
6
- "version": "8.0.0-dev.1",
6
+ "version": "8.0.0-dev.11",
7
7
  "api": "legacy",
8
8
  "previewColors": [
9
9
  "#ffffff",
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": "8.0.0-dev.1",
4
+ "version": "8.0.0-dev.11",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -53,14 +53,14 @@
53
53
  "postpublish": "echo 'no postpublish for material theme'"
54
54
  },
55
55
  "dependencies": {
56
- "@progress/kendo-svg-icons": "2.1.0",
57
- "@progress/kendo-theme-core": "8.0.0-dev.1",
58
- "@progress/kendo-theme-default": "8.0.0-dev.1",
59
- "@progress/kendo-theme-utils": "8.0.0-dev.1"
56
+ "@progress/kendo-svg-icons": "2.3.0",
57
+ "@progress/kendo-theme-core": "8.0.0-dev.11",
58
+ "@progress/kendo-theme-default": "8.0.0-dev.11",
59
+ "@progress/kendo-theme-utils": "8.0.0-dev.11"
60
60
  },
61
61
  "directories": {
62
62
  "doc": "docs",
63
63
  "lib": "lib"
64
64
  },
65
- "gitHead": "798500c0cb615e834197322b581e870888968fd1"
65
+ "gitHead": "37ab24b4e2bee5705395357d867b521ccc796d02"
66
66
  }
@@ -26,6 +26,15 @@
26
26
  }
27
27
  }
28
28
 
29
+ // Solid button
30
+ .k-button-solid {
31
+ &::before {
32
+ @if($kendo-enable-color-system) {
33
+ display: none;
34
+ }
35
+ }
36
+ }
37
+
29
38
  // Outline button
30
39
  .k-button-outline {
31
40
  background-color: transparent !important; // stylelint-disable-line declaration-no-important
@@ -9,6 +9,9 @@
9
9
  @each $name, $color in $kendo-button-theme-colors {
10
10
  .k-button-solid-#{$name} {
11
11
  @include box-shadow( $kendo-button-shadow );
12
+
13
+ // These 3 lines can be deleted once we
14
+ // stop supporting the old color system.
12
15
  color: if( $name == "base", $kendo-button-text, if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-color( $color )) );
13
16
  background-color: if( $name == "base", $kendo-button-bg, if($kendo-enable-color-system, k-color( $name ), $color) );
14
17
  border-color: if( $name == "base", $kendo-button-bg, if($kendo-enable-color-system, k-color( $name ), $color) );
@@ -22,6 +25,8 @@
22
25
  // Focus state
23
26
  &:focus,
24
27
  &.k-focus {
28
+ background-color: if($kendo-enable-color-system, k-color( #{$name}-hover ), null);
29
+ border-color: if($kendo-enable-color-system, k-color( #{$name}-hover ), null);
25
30
  @include box-shadow( $kendo-button-focus-shadow );
26
31
  }
27
32
 
@@ -48,7 +53,14 @@
48
53
  // Outline button
49
54
  @each $name, $color in $kendo-button-theme-colors {
50
55
  .k-button-outline-#{$name} {
51
- color: if( $name == "base", $kendo-button-text, if($kendo-enable-color-system, k-color( #{$name}-on-surface ), $color) );
56
+
57
+ // The "base" case can be deleted once we
58
+ // stop supporting the old color system.
59
+ @if $name == "base" {
60
+ color: if($kendo-enable-color-system, k-color( base-on-surface ), $kendo-button-text)
61
+ } @else {
62
+ color: if($kendo-enable-color-system, k-color( #{$name}-on-surface ), $color)
63
+ }
52
64
 
53
65
  &:hover,
54
66
  &.k-hover,
@@ -57,7 +69,13 @@
57
69
  &:active,
58
70
  &.k-active,
59
71
  &.k-selected {
60
- color: if( $name == "base", $kendo-button-text, if($kendo-enable-color-system, k-color( #{$name}-on-surface ), $color) );
72
+ // The "base" case can be deleted once we
73
+ // stop supporting the old color system.
74
+ @if $name == "base" {
75
+ color: if($kendo-enable-color-system, k-color( base-on-surface ), $kendo-button-text)
76
+ } @else {
77
+ color: if($kendo-enable-color-system, k-color( #{$name}-on-surface ), $color)
78
+ }
61
79
  }
62
80
 
63
81
  // Disabled state
@@ -126,13 +126,13 @@ $kendo-button-shadow: $box-shadow-depth-2 !default;
126
126
 
127
127
  /// The base background of the hovered Button.
128
128
  /// @group button
129
- $kendo-button-hover-bg: null !default;
129
+ $kendo-button-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), null) !default;
130
130
  /// The base text color of the hovered Button.
131
131
  /// @group button
132
132
  $kendo-button-hover-text: null !default;
133
133
  /// The base border color of the hovered Button.
134
134
  /// @group button
135
- $kendo-button-hover-border: null !default;
135
+ $kendo-button-hover-border: if($kendo-enable-color-system, k-color( base-hover ), null) !default;
136
136
  /// The base background gradient of the hovered Button.
137
137
  /// @group button
138
138
  $kendo-button-hover-gradient: null !default;
@@ -142,13 +142,13 @@ $kendo-button-hover-shadow: null !default;
142
142
 
143
143
  /// The base background color of the active Button.
144
144
  /// @group button
145
- $kendo-button-active-bg: null !default;
145
+ $kendo-button-active-bg: if($kendo-enable-color-system, k-color( base-active ), null) !default;
146
146
  /// The base text color of the active Button.
147
147
  /// @group button
148
148
  $kendo-button-active-text: null !default;
149
149
  /// The base border color of the active Button.
150
150
  /// @group button
151
- $kendo-button-active-border: null !default;
151
+ $kendo-button-active-border: if($kendo-enable-color-system, k-color( base-active ), null) !default;
152
152
  /// The base background gradient of the active Button.
153
153
  /// @group button
154
154
  $kendo-button-active-gradient: null !default;
@@ -174,19 +174,19 @@ $kendo-button-selected-shadow: null !default;
174
174
 
175
175
  /// The base background of the focused Button.
176
176
  /// @group button
177
- $kendo-button-focus-bg: null !default;
177
+ $kendo-button-focus-bg: if($kendo-enable-color-system, k-color( base-hover ), null) !default;
178
178
  /// The base text color of the focused Button.
179
179
  /// @group button
180
180
  $kendo-button-focus-text: null !default;
181
181
  /// The base border color of the focused Button.
182
182
  /// @group button
183
- $kendo-button-focus-border: null !default;
183
+ $kendo-button-focus-border: if($kendo-enable-color-system, k-color( base-hover ), null) !default;
184
184
  /// The base background gradient of focused Button.
185
185
  /// @group button
186
186
  $kendo-button-focus-gradient: null !default;
187
187
  /// The base shadow of the focused Button.
188
188
  /// @group button
189
- $kendo-button-focus-shadow: null !default;
189
+ $kendo-button-focus-shadow: $box-shadow-depth-3 !default;
190
190
 
191
191
  /// The base background color of the disabled Button.
192
192
  /// @group button
@@ -3,8 +3,15 @@
3
3
  /// The width of the border around the Calendar.
4
4
  /// @group calendar
5
5
  $kendo-calendar-border-width: 1px !default;
6
+
7
+ /// The font family of the Calendar.
8
+ /// @group calendar
6
9
  $kendo-calendar-font-family: var( --kendo-font-family, inherit ) !default;
10
+ /// The font size of the Calendar.
11
+ /// @group calendar
7
12
  $kendo-calendar-font-size: var( --kendo-font-size, inherit ) !default;
13
+ /// The line height of the Calendar.
14
+ /// @group calendar
8
15
  $kendo-calendar-line-height: k-math-div( 20, 14 ) !default;
9
16
 
10
17
  /// The size of the cells in the Calendar.
@@ -74,7 +81,7 @@ $kendo-calendar-cell-line-height: $kendo-calendar-line-height !default;
74
81
  $kendo-calendar-cell-border-radius: 100px !default;
75
82
 
76
83
  /// The horizontal padding of the header cells in the Calendar.
77
- /// @group calenda
84
+ /// @group calendar
78
85
  $kendo-calendar-header-cell-padding-x: null !default;
79
86
  /// The vertical padding of the header cells in the Calendar.
80
87
  /// @group calendar
@@ -85,7 +92,11 @@ $kendo-calendar-header-cell-width: $kendo-calendar-cell-size !default;
85
92
  /// The height of the header cells in the Calendar.
86
93
  /// @group calendar
87
94
  $kendo-calendar-header-cell-height: $kendo-calendar-cell-size !default;
95
+ /// The font size of the header cells in the Calendar.
96
+ /// @group calendar
88
97
  $kendo-calendar-header-cell-font-size: var( --kendo-font-size-sm, inherit )!default;
98
+ /// The line height of the header cells in the Calendar.
99
+ /// @group calendar
89
100
  $kendo-calendar-header-cell-line-height: 2 !default;
90
101
 
91
102
  /// The background color of the header cells in the Calendar.
@@ -263,10 +274,20 @@ $kendo-infinite-calendar-view-height: ( $kendo-calendar-cell-size * 9 ) !default
263
274
 
264
275
  // Multiview calendar
265
276
 
277
+ /// The border radius of the range cells in the Multiview Calendar.
278
+ /// @group calendar
279
+ $kendo-calendar-range-cell-border-radius: k-border-radius(full) !default;
266
280
 
267
281
  // Calendar sizes
282
+
283
+ /// The font size of the small Calendar.
284
+ /// @group calendar
268
285
  $kendo-calendar-sm-font-size: var( --kendo-font-size, inherit ) !default;
286
+ /// The line height of the small Calendar.
287
+ /// @group calendar
269
288
  $kendo-calendar-sm-line-height: var( --kendo-line-height, normal ) !default;
289
+ /// The size of the cells in the small Calendar.
290
+ /// @group calendar
270
291
  $kendo-calendar-sm-cell-size: 32px !default;
271
292
  /// The horizontal padding of the cells in the small Calendar.
272
293
  /// @group calendar
@@ -275,10 +296,15 @@ $kendo-calendar-sm-cell-padding-x: k-spacing(0.5) !default;
275
296
  /// @group calendar
276
297
  $kendo-calendar-sm-cell-padding-y: k-spacing(0.5) !default;
277
298
 
299
+ /// The font size of the medium Calendar.
300
+ /// @group calendar
278
301
  $kendo-calendar-md-font-size: var( --kendo-font-size, inherit ) !default;
302
+ /// The line height of the medium Calendar.
303
+ /// @group calendar
279
304
  $kendo-calendar-md-line-height: var( --kendo-line-height, normal ) !default;
305
+ /// The size of the cells in the medium Calendar.
306
+ /// @group calendar
280
307
  $kendo-calendar-md-cell-size: 36px !default;
281
-
282
308
  /// The horizontal padding of the cells in the medium Calendar.
283
309
  /// @group calendar
284
310
  $kendo-calendar-md-cell-padding-x: k-spacing(1) !default;
@@ -286,10 +312,15 @@ $kendo-calendar-md-cell-padding-x: k-spacing(1) !default;
286
312
  /// @group calendar
287
313
  $kendo-calendar-md-cell-padding-y: k-spacing(1) !default;
288
314
 
315
+ /// The font size of the large Calendar.
316
+ /// @group calendar
289
317
  $kendo-calendar-lg-font-size: var( --kendo-font-size-lg, inherit ) !default;
318
+ /// The line height of the large Calendar.
319
+ /// @group calendar
290
320
  $kendo-calendar-lg-line-height: var( --kendo-line-height-lg, normal ) !default;
321
+ /// The size of the cells in the large Calendar.
322
+ /// @group calendar
291
323
  $kendo-calendar-lg-cell-size: 40px !default;
292
-
293
324
  /// The horizontal padding of the cells in the large Calendar.
294
325
  /// @group calendar
295
326
  $kendo-calendar-lg-cell-padding-x: k-spacing(1) !default;
@@ -64,7 +64,7 @@ $kendo-checkbox-bg: null !default;
64
64
  $kendo-checkbox-text: null !default;
65
65
  /// The border color of the CheckBox.
66
66
  /// @group checkbox
67
- $kendo-checkbox-border: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 54%, transparent), rgba( if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ), .54 )) !default;
67
+ $kendo-checkbox-border: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 44%, transparent), rgba( if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ), .54 )) !default;
68
68
 
69
69
  /// The background color of the hovered CheckBox.
70
70
  /// @group checkbox
@@ -31,7 +31,7 @@
31
31
  }
32
32
  } @else if ($name == "warning") {
33
33
  @include fill(
34
- $color: if($kendo-enable-color-system, $kendo-chip-outline-text, if( $kendo-is-dark-theme, k-try-shade( $color, 50% ), $kendo-chip-outline-text))
34
+ $color: if($kendo-enable-color-system, k-color( on-app-surface ), if( $kendo-is-dark-theme, k-try-shade( $color, 50% ), k-color( on-app-surface )))
35
35
  );
36
36
 
37
37
  &:focus,
@@ -44,14 +44,14 @@
44
44
  &.k-hover {
45
45
  @include fill(
46
46
  $bg: if($kendo-enable-color-system, k-color( #{$name}-subtle-hover ), k-try-tint( $color, 80% )),
47
- $color: if($kendo-enable-color-system, $kendo-chip-outline-text, if( $kendo-is-dark-theme, k-try-shade( $color, 50% ), $kendo-chip-outline-text))
47
+ $color: if($kendo-enable-color-system, k-color( on-app-surface ), if( $kendo-is-dark-theme, k-try-shade( $color, 50% ), k-color( on-app-surface )))
48
48
  );
49
49
  }
50
50
 
51
51
  &.k-selected {
52
52
  @include fill(
53
53
  $bg: if($kendo-enable-color-system, k-color( #{$name}-subtle-active ), k-try-tint( $color, 65% )),
54
- $color: if($kendo-enable-color-system, $kendo-chip-outline-text, if( $kendo-is-dark-theme, k-try-shade( $color, 50% ), $kendo-chip-outline-text))
54
+ $color: if($kendo-enable-color-system, k-color( on-app-surface ), if( $kendo-is-dark-theme, k-try-shade( $color, 50% ), k-color( on-app-surface )))
55
55
  );
56
56
  }
57
57
  } @else {
@@ -146,7 +146,7 @@ $kendo-chip-solid-selected-text: null !default;
146
146
  $kendo-chip-outline-bg: $kendo-component-bg !default;
147
147
  /// The base text color of the outline Chip.
148
148
  /// @group chip
149
- $kendo-chip-outline-text: $kendo-chip-solid-text !default;
149
+ $kendo-chip-outline-text: if($kendo-enable-color-system, k-color( base-on-surface ), $kendo-chip-solid-text) !default;
150
150
  /// The base border color of the outline Chip.
151
151
  /// @group chip
152
152
  $kendo-chip-outline-border: $kendo-chip-outline-text !default;
@@ -1,9 +1,35 @@
1
+ /// The none border radius used across the Components.
2
+ /// @group radii
3
+ $kendo-border-radius-none: k-map-get($kendo-spacing, 0) !default;
4
+ /// The extra small border radius used across the Components.
5
+ /// @group radii
6
+ $kendo-border-radius-xs: k-map-get($kendo-spacing, 1px) !default;
7
+ /// The small border radius used across the Components.
8
+ /// @group radii
9
+ $kendo-border-radius-sm: k-map-get($kendo-spacing, 0.5) !default;
10
+ /// The medium border radius used across the Components.
11
+ /// @group radii
12
+ $kendo-border-radius-md: k-map-get($kendo-spacing, 1) !default;
13
+ /// The large border radius used across the Components.
14
+ /// @group radii
1
15
  $kendo-border-radius-lg: k-map-get($kendo-spacing, 2) !default;
16
+ /// The extra large border radius used across the Components.
17
+ /// @group radii
2
18
  $kendo-border-radius-xl: k-map-get($kendo-spacing, 3) !default;
19
+ /// The third largest border radius used across the Components.
20
+ /// @group radii
3
21
  $kendo-border-radius-xxl: k-map-get($kendo-spacing, 4) !default;
22
+ /// The second largest border radius used across the Components.
23
+ /// @group radii
4
24
  $kendo-border-radius-xxxl: k-map-get($kendo-spacing, 5) !default;
5
25
 
26
+ /// The global radii Map.
27
+ /// @group radii
6
28
  $kendo-border-radii: (
29
+ none: $kendo-border-radius-none,
30
+ xs: $kendo-border-radius-xs,
31
+ sm: $kendo-border-radius-sm,
32
+ md: $kendo-border-radius-md,
7
33
  lg: $kendo-border-radius-lg,
8
34
  xl: $kendo-border-radius-xl,
9
35
  xxl: $kendo-border-radius-xxl,
@@ -1,6 +1,7 @@
1
1
  @if ($kendo-enable-color-system) {
2
2
  $kendo-color-primary: k-color( primary );
3
3
  $kendo-color-primary-contrast: k-color( on-primary );
4
+ $kendo-color-primary-darker: k-color( primary-active );
4
5
  $kendo-color-secondary: k-color( secondary );
5
6
  $kendo-color-secondary-contrast: k-color( on-secondary );
6
7
  $kendo-color-tertiary: k-color( tertiary );
@@ -61,5 +62,4 @@
61
62
  "inverse": $kendo-color-inverse,
62
63
  );
63
64
 
64
-
65
65
  }
@@ -114,7 +114,7 @@ $_default-colors: (
114
114
  light-emphasis: k-map-get( $kendo-palette-gray, 5 ),
115
115
  light-on-subtle: k-map-get( $kendo-palette-gray, 15 ),
116
116
  on-light: k-map-get( $kendo-palette-gray, black ),
117
- light-on-surface: k-map-get( $kendo-palette-gray, 13 ),
117
+ light-on-surface: k-map-get( $kendo-palette-gray, 4 ),
118
118
  // Dark
119
119
  dark-subtle: k-map-get( $kendo-palette-gray, 7 ),
120
120
  dark-subtle-hover: k-map-get( $kendo-palette-gray, 8 ),
@@ -92,7 +92,7 @@ $kendo-chart-line-height: var( --kendo-line-height, normal ) !default;
92
92
  $kendo-chart-sm-font-size: 11px !default;
93
93
  $kendo-chart-md-font-size: 12px !default;
94
94
  $kendo-chart-lg-font-size: 16px !default;
95
- $kendo-chart-tooltip-font-size: calc( var( --kendo-font-size, inherit ) * .929 ) !default;
95
+ $kendo-chart-tooltip-font-size: calc( #{$kendo-font-size} * .929) !default;
96
96
  $kendo-chart-label-font-size: .857em !default;
97
97
  $kendo-chart-title-font-size: 1.143em !default;
98
98
  $kendo-chart-pane-title-font-size: $kendo-chart-label-font-size !default;
@@ -12,13 +12,23 @@ $kendo-drawer-border: $kendo-component-border !default;
12
12
  /// The border width of the Drawer.
13
13
  /// @group drawer
14
14
  $kendo-drawer-border-width: 1px !default;
15
+
16
+ /// The font family of the Drawer.
17
+ /// @group drawer
15
18
  $kendo-drawer-font-family: var( --kendo-font-family, inherit ) !default;
19
+ /// The font size of the Drawer.
20
+ /// @group drawer
16
21
  $kendo-drawer-font-size: var( --kendo-font-size, inherit ) !default;
22
+ /// The line height of the Drawer.
23
+ /// @group drawer
17
24
  $kendo-drawer-line-height: var( --kendo-line-height, normal ) !default;
18
- $kendo-drawer-content-padding-x: $kendo-padding-md-x !default;
25
+
26
+ /// The horizontal padding of the Drawer content.
27
+ /// @group drawer
28
+ $kendo-drawer-content-padding-x: null !default;
19
29
  /// The vertical padding of the Drawer content.
20
30
  /// @group drawer
21
- $kendo-drawer-content-padding-y: $kendo-padding-md-y !default;
31
+ $kendo-drawer-content-padding-y: null !default;
22
32
 
23
33
  /// The width of the Drawer scrollbar.
24
34
  /// @group drawer
@@ -70,7 +70,7 @@
70
70
  line-height: normal;
71
71
 
72
72
  .k-icon {
73
- padding: calc( var( --kendo-font-size, inherit) - var( --kendo-font-size-sm, inherit) );
73
+ padding: calc( var( --kendo-font-size, .875rem) - var( --kendo-font-size-sm, .75rem) );
74
74
  box-sizing: content-box;
75
75
  vertical-align: unset;
76
76
  }