@progress/kendo-theme-material 5.0.0-alpha.3 → 5.0.0-beta.0

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 (66) hide show
  1. package/dist/all.css +4313 -5932
  2. package/dist/all.scss +4691 -5121
  3. package/package.json +3 -3
  4. package/scss/_variables.scss +0 -19
  5. package/scss/adaptive/_layout.scss +0 -11
  6. package/scss/autocomplete/_index.scss +1 -0
  7. package/scss/autocomplete/_variables.scss +0 -5
  8. package/scss/avatar/_variables.scss +18 -8
  9. package/scss/button/_index.scss +2 -0
  10. package/scss/button/_variables.scss +2 -0
  11. package/scss/calendar/_index.scss +1 -0
  12. package/scss/calendar/_variables.scss +1 -1
  13. package/scss/chat/_variables.scss +0 -8
  14. package/scss/checkbox/_index.scss +2 -1
  15. package/scss/checkbox/_variables.scss +1 -1
  16. package/scss/chip/_theme.scss +41 -0
  17. package/scss/chip/_variables.scss +127 -190
  18. package/scss/colorpicker/_variables.scss +0 -2
  19. package/scss/combobox/_index.scss +1 -0
  20. package/scss/combobox/_variables.scss +0 -2
  21. package/scss/dataviz/_index.scss +1 -0
  22. package/scss/drawer/_index.scss +1 -0
  23. package/scss/dropdownlist/_index.scss +1 -0
  24. package/scss/editor/_layout.scss +0 -1
  25. package/scss/editor/_variables.scss +1 -1
  26. package/scss/expansion-panel/_index.scss +1 -0
  27. package/scss/forms/_index.scss +1 -1
  28. package/scss/forms/_layout.scss +0 -27
  29. package/scss/grid/_index.scss +1 -0
  30. package/scss/grid/_theme.scss +4 -4
  31. package/scss/grid/_variables.scss +3 -3
  32. package/scss/index.scss +2 -2
  33. package/scss/input/_variables.scss +35 -22
  34. package/scss/list/_index.scss +11 -0
  35. package/scss/list/_layout.scss +1 -0
  36. package/scss/list/_theme.scss +16 -0
  37. package/scss/list/_variables.scss +81 -0
  38. package/scss/listbox/_index.scss +1 -0
  39. package/scss/menu/_index.scss +2 -0
  40. package/scss/menu/_theme.scss +8 -8
  41. package/scss/menu/_variables.scss +114 -34
  42. package/scss/multiselect/_index.scss +2 -0
  43. package/scss/multiselect/_layout.scss +0 -60
  44. package/scss/multiselect/_theme.scss +0 -47
  45. package/scss/multiselect/_variables.scss +0 -44
  46. package/scss/pager/_index.scss +1 -0
  47. package/scss/pager/_variables.scss +2 -2
  48. package/scss/panelbar/_index.scss +1 -0
  49. package/scss/pivotgrid/_index.scss +1 -0
  50. package/scss/pivotgrid/_layout.scss +1 -6
  51. package/scss/pivotgrid/_theme.scss +1 -2
  52. package/scss/pivotgrid/_variables.scss +1 -1
  53. package/scss/popup/_index.scss +1 -4
  54. package/scss/popup/_theme.scss +0 -47
  55. package/scss/popup/_variables.scss +0 -5
  56. package/scss/radio/_index.scss +2 -0
  57. package/scss/radio/_variables.scss +1 -1
  58. package/scss/spreadsheet/_index.scss +1 -0
  59. package/scss/spreadsheet/_layout.scss +0 -1
  60. package/scss/spreadsheet/_theme.scss +4 -4
  61. package/scss/table/_index.scss +19 -0
  62. package/scss/table/_layout.scss +23 -0
  63. package/scss/table/_theme.scss +9 -0
  64. package/scss/table/_variables.scss +74 -0
  65. package/scss/tabstrip/_index.scss +1 -0
  66. package/scss/tabstrip/_variables.scss +3 -3
@@ -1,45 +1 @@
1
1
  // Multiselect
2
- $multiselect-width: 100% !default;
3
-
4
- $multiselect-bg: $kendo-input-bg !default;
5
- $multiselect-text: $kendo-input-text !default;
6
- $multiselect-border: $kendo-input-border !default;
7
-
8
- $multiselect-hovered-bg: $kendo-input-hover-bg !default;
9
- $multiselect-hovered-text: $kendo-input-hover-text !default;
10
- $multiselect-hovered-border: $kendo-input-hover-border !default;
11
-
12
- $multiselect-focused-bg: $kendo-input-focus-bg !default;
13
- $multiselect-focused-text: $kendo-input-focus-text !default;
14
- $multiselect-focused-border: $kendo-input-focus-border !default;
15
- $multiselect-focused-shadow: $kendo-input-focus-shadow !default;
16
-
17
- $multiselect-button-focused-bg: $kendo-button-active-bg !default;
18
- $multiselect-button-focused-text: $kendo-button-active-text !default;
19
- $multiselect-button-focused-border: $kendo-button-active-border !default;
20
- $multiselect-button-focused-gradient: $kendo-button-active-gradient !default;
21
- $multiselect-button-focused-shadow: $kendo-button-active-shadow !default;
22
-
23
-
24
- // Tokens
25
- // TODO: remove once we use chips
26
- $multiselect-token-bg: $chip-solid-bg !default;
27
- $multiselect-token-text: $chip-solid-text !default;
28
- $multiselect-token-border: $chip-solid-border !default;
29
-
30
- $multiselect-token-hover-bg: $chip-solid-hover-bg !default;
31
- $multiselect-token-hover-text: null !default;
32
- $multiselect-token-hover-border: null !default;
33
-
34
- $multiselect-token-focus-bg: $chip-solid-focus-bg !default;
35
- $multiselect-token-focus-text: null !default;
36
- $multiselect-token-focus-border: null !default;
37
-
38
- $multiselect-token-selected-bg: $chip-solid-selected-bg !default;
39
- $multiselect-token-selected-text: null !default;
40
- $multiselect-token-selected-border: null !default;
41
-
42
- $multiselect-remove-token-text: $subtle-text !default;
43
- $multiselect-remove-token-hover-text: $body-text !default;
44
-
45
- $multiselect-clear-right: calc( #{$icon-size} + #{$kendo-input-padding-y} ) !default;
@@ -6,6 +6,7 @@
6
6
  @import "../dropdownlist/_index.scss";
7
7
  @import "../icons/_index.scss";
8
8
  @import "../toolbar/_variables.scss";
9
+ @import "../list/_index.scss";
9
10
 
10
11
 
11
12
  // Component
@@ -26,7 +26,7 @@ $pager-item-bg: null !default;
26
26
  $pager-item-text: null !default;
27
27
  $pager-item-border: null !default;
28
28
 
29
- $pager-item-hover-bg: $list-item-hovered-bg !default;
29
+ $pager-item-hover-bg: $kendo-list-item-hover-bg !default;
30
30
  $pager-item-hover-text: $pager-text !default;
31
31
  $pager-item-hover-border: null !default;
32
32
 
@@ -41,7 +41,7 @@ $pager-number-border-radius: $pager-item-border-radius !default;
41
41
  $pager-number-spacing: $pager-item-spacing !default;
42
42
 
43
43
  $pager-item-focus-opacity: .12 !default;
44
- $pager-item-focus-bg: rgba($list-item-hovered-bg, $pager-item-focus-opacity) !default;
44
+ $pager-item-focus-bg: rgba($kendo-list-item-hover-bg, $pager-item-focus-opacity) !default;
45
45
  $pager-item-focus-shadow: null !default;
46
46
 
47
47
  $pager-number-bg: null !default;
@@ -4,6 +4,7 @@
4
4
  // Dependencies
5
5
  @import "../common/_index.scss";
6
6
  @import "../icons/_index.scss";
7
+ @import "../list/_index.scss";
7
8
 
8
9
 
9
10
  // Component
@@ -11,6 +11,7 @@
11
11
  @import "../utils/_flex.scss";
12
12
  @import "../utils/_grid.scss";
13
13
  @import "../utils/_position.scss";
14
+ @import "../list/_index.scss";
14
15
 
15
16
 
16
17
  // Component
@@ -2,8 +2,7 @@
2
2
 
3
3
  @include exports ("pivotgrid/layout/material/legacy") {
4
4
 
5
- .k-pivot-toolbar .k-button,
6
- .k-fieldselector .k-list li.k-item {
5
+ .k-pivot-toolbar .k-button {
7
6
  @include border-radius( 16px );
8
7
 
9
8
  .k-field-actions {
@@ -28,10 +27,6 @@
28
27
  border-bottom-width: 0;
29
28
  }
30
29
 
31
- .k-fieldselector .k-list .k-item {
32
- border-width: 0;
33
- }
34
-
35
30
  .k-fieldselector p,
36
31
  .k-pivot-layout .k-button {
37
32
  text-transform: none;
@@ -74,8 +74,7 @@
74
74
  color: $pivotgrid-alt-text;
75
75
  }
76
76
 
77
- .k-pivot-toolbar .k-button,
78
- .k-fieldselector .k-list li.k-item {
77
+ .k-pivot-toolbar .k-button {
79
78
  @include fill(
80
79
  $pivotgrid-button-text,
81
80
  $pivotgrid-button-bg
@@ -36,7 +36,7 @@ $pivotgrid-selected-bg: rgba( contrast-wcag( $pivotgrid-bg ), .04 ) !default;
36
36
  $pivotgrid-selected-text: null !default;
37
37
  $pivotgrid-selected-border: null !default;
38
38
 
39
- $pivotgrid-focus-shadow: $list-item-focused-shadow !default;
39
+ $pivotgrid-focus-shadow: $kendo-list-item-focus-shadow !default;
40
40
 
41
41
  // Pivotgrid Configurator
42
42
  $pivotgrid-configurator-padding-x: null !default;
@@ -3,10 +3,7 @@
3
3
 
4
4
  // Dependencies
5
5
  @import "../common/_index.scss";
6
- @import "../icons/_index.scss";
7
- @import "../button/_index.scss";
8
- @import "../input/_index.scss";
9
- @import "../forms/_variables.scss";
6
+ @import "../list/_index.scss";
10
7
 
11
8
 
12
9
  // Component
@@ -1,48 +1 @@
1
1
  @import "~@progress/kendo-theme-default/scss/popup/_theme.scss";
2
-
3
- @include exports("popup/theme/material") {
4
-
5
- .k-list .k-item,
6
- .k-list-optionlabel {
7
-
8
- // Focused state
9
- &:focus,
10
- &.k-state-focused {
11
- background: $list-item-hovered-bg;
12
- }
13
-
14
- }
15
-
16
- .k-list-container {
17
-
18
- .k-button {
19
-
20
- // Hover state
21
- &:hover,
22
- &.k-state-hover {
23
- background: $list-item-hovered-bg;
24
- }
25
-
26
- // Active state
27
- &:active,
28
- &.k-state-active {
29
- box-shadow: none;
30
- }
31
-
32
- // Disabled state
33
- &.k-state-disabled {
34
- color: $kendo-button-disabled-text;
35
- }
36
-
37
- // Focus state
38
- &:focus,
39
- &.k-state-focused {
40
- background: $list-item-hovered-bg;
41
- }
42
-
43
- }
44
- }
45
-
46
- .k-list-filter {}
47
-
48
- }
@@ -7,11 +7,6 @@ $popup-border-radius: null !default;
7
7
  $popup-font-size: $font-size !default;
8
8
  $popup-line-height: $line-height !default;
9
9
 
10
- $popup-header-padding: $padding-y-lg $padding-x-lg !default;
11
- $popup-header-font-size: $font-size-sm !default;
12
- $popup-header-text: $subtle-text !default;
13
- $popup-filter-padding-x: $padding-x !default;
14
-
15
10
  $popup-content-padding-x: map-get( $spacing, 2 ) !default;
16
11
  $popup-content-padding-y: map-get( $spacing, 2 ) !default;
17
12
 
@@ -2,6 +2,8 @@
2
2
 
3
3
 
4
4
  // Dependencies
5
+ @import "../common/_index.scss";
6
+ @import "../list/_variables.scss";
5
7
  @import "../checkbox/_variables.scss";
6
8
 
7
9
 
@@ -143,7 +143,7 @@ $kendo-radio-list-padding: 0px !default;
143
143
  $kendo-radio-list-item-padding-x: 0px !default;
144
144
  /// The vertical list item padding of radio button.
145
145
  /// @group radio
146
- $kendo-radio-list-item-padding-y: $list-item-padding-y !default;
146
+ $kendo-radio-list-item-padding-y: $kendo-list-item-padding-y-md !default;
147
147
  /// The horizontal list item margin of radio button.
148
148
  /// @group radio
149
149
  $kendo-radio-list-horizontal-item-margin-x: 32px !default;
@@ -17,6 +17,7 @@
17
17
  @import "../tabstrip/_index.scss";
18
18
  @import "../treeview/_index.scss";
19
19
  @import "../icons/_index.scss";
20
+ @import "../list/_index.scss";
20
21
 
21
22
 
22
23
  // Component
@@ -57,7 +57,6 @@
57
57
  width: auto;
58
58
  box-sizing: border-box;
59
59
 
60
- .k-edit-buttons,
61
60
  .k-actions {
62
61
  margin: $spacer (-$window-inner-padding-x) (-$window-inner-padding-y);
63
62
  }
@@ -249,16 +249,16 @@
249
249
  .k-button:hover,
250
250
  .k-button.k-state-hover {
251
251
  @include fill(
252
- $list-item-hovered-text,
253
- $list-item-hovered-bg
252
+ $kendo-list-item-hover-text,
253
+ $kendo-list-item-hover-bg
254
254
  );
255
255
  }
256
256
  .k-button:active,
257
257
  .k-button.k-state-active,
258
258
  .k-button.k-state-selected {
259
259
  @include fill(
260
- $list-item-selected-text,
261
- $list-item-selected-bg
260
+ $kendo-list-item-selected-text,
261
+ $kendo-list-item-selected-bg
262
262
  );
263
263
  }
264
264
 
@@ -0,0 +1,19 @@
1
+ @import "../core/_index.scss";
2
+
3
+
4
+ // Dependencies
5
+ @import "../common/_index.scss";
6
+ @import "../input/_index.scss";
7
+ @import "../floating-label/_index.scss";
8
+ @import "../combobox/_index.scss";
9
+ @import "../popup/_index.scss";
10
+ @import "../toolbar/_variables.scss";
11
+ @import "../menu/_variables.scss";
12
+ @import "../grid/_variables.scss";
13
+
14
+
15
+ // Component
16
+ @import "_variables.scss";
17
+ @import "_layout.scss";
18
+ @import "_theme.scss";
19
+
@@ -0,0 +1,23 @@
1
+ @import "~@progress/kendo-theme-default/scss/table/_layout.scss";
2
+
3
+ @include exports("table/layout/material") {
4
+ .k-table .k-table-body .k-table-group-body,
5
+ .k-table .k-table-list .k-table-group-body {
6
+ border-width: 0 0 1px;
7
+ }
8
+
9
+ .k-table .k-table-body .k-table-row:last-child .k-table-cell,
10
+ .k-table .k-table-list .k-table-row:last-child .k-table-cell {
11
+ border-width: 0 0 0 1px;
12
+ }
13
+
14
+ .k-rtl,
15
+ [dir="rtl"] {
16
+ &.k-table .k-table-body .k-table-row:last-child .k-table-cell,
17
+ &.k-table .k-table-list .k-table-row:last-child .k-table-cell,
18
+ .k-table .k-table-body .k-table-row:last-child .k-table-cell,
19
+ .k-table .k-table-list .k-table-row:last-child .k-table-cell {
20
+ border-width: 0 1px 0 0;
21
+ }
22
+ }
23
+ }
@@ -0,0 +1,9 @@
1
+ @import "~@progress/kendo-theme-default/scss/table/_theme.scss";
2
+
3
+ @include exports("table/theme/material") {
4
+ .k-table-body .k-table-group-body,
5
+ .k-table-list .k-table-group-body,
6
+ .k-table-footer {
7
+ color: $kendo-table-body-grouping-text-color;
8
+ }
9
+ }
@@ -0,0 +1,74 @@
1
+ // Table
2
+
3
+ /// The sizes of the table.
4
+ /// @group table
5
+ /// The font size of the table if no size is specified.
6
+ /// @group table
7
+ $kendo-table-font-size: null !default;
8
+ /// The horizontal padding of the cells in the table if no size is specified.
9
+ /// @group table
10
+ $kendo-table-padding-x: null !default;
11
+ /// The vertical padding of the cells in the table if no size is specified.
12
+ /// @group table
13
+ $kendo-table-padding-y: null !default;
14
+ /// The sizes of the table.
15
+ /// @group table
16
+ $kendo-table-sizes: (
17
+ sm: (
18
+ font-size: map-get( $spacing, sm) + 2,
19
+ padding-y: map-get( $spacing, sm),
20
+ padding-x: map-get( $spacing, md)
21
+ ),
22
+ md: (
23
+ font-size: map-get( $spacing, md) + 2,
24
+ padding-y: map-get( $spacing, md),
25
+ padding-x: map-get( $spacing, lg)
26
+ ),
27
+ lg: (
28
+ font-size: map-get( $spacing, lg),
29
+ padding-y: map-get( $spacing, lg),
30
+ padding-x: map-get( $spacing, lg) + 4
31
+ )
32
+ ) !default;
33
+
34
+
35
+ /// The border color of the table.
36
+ /// @group table
37
+ $kendo-table-border-color: $grid-header-border !default;
38
+ /// The vertical width of the table border.
39
+ /// @group table
40
+ $kendo-table-cell-vertical-border-width: $grid-cell-vertical-border-width !default;
41
+ /// The horizontal width of the table border.
42
+ /// @group table
43
+ $kendo-table-cell-horizontal-border-width: $grid-cell-horizontal-border-width !default;
44
+
45
+
46
+ /// The inline end padding of the table.
47
+ /// @group table
48
+ $kendo-table-padding-inline-end: var(--kendo-scrollbar-width) !default;
49
+ /// The text color of the body grouping in the table.
50
+ /// @group table
51
+ $kendo-table-body-grouping-text-color: rgba(0, 0, 0, .54) !default;
52
+
53
+ /// The text color of the table.
54
+ /// @group table
55
+ $kendo-table-text-color: $grid-header-text !default;
56
+
57
+
58
+ /// The background color of the table.
59
+ /// @group table
60
+ $kendo-table-bg-color: $grid-header-bg !default;
61
+ /// The background color of the even rows in the table.
62
+ /// @group table
63
+ $kendo-table-alt-row-bg: $grid-alt-bg !default;
64
+
65
+
66
+ /// The focus state of the table.
67
+ /// @group table
68
+ $kendo-table-state-focus: $grid-focused-shadow !default;
69
+ /// The hover state of the table.
70
+ /// @group table
71
+ $kendo-table-state-hover: $grid-hovered-bg !default;
72
+ /// The selected state of the table.
73
+ /// @group table
74
+ $kendo-table-state-selected: $grid-selected-bg !default;
@@ -5,6 +5,7 @@
5
5
  @import "../common/_index.scss";
6
6
  @import "../button/_index.scss";
7
7
  @import "../icons/_index.scss";
8
+ @import "../list/_index.scss";
8
9
 
9
10
 
10
11
  // Component
@@ -77,7 +77,7 @@ $tabstrip-item-selected-border: null !default;
77
77
  /// @group tabstrip
78
78
  $tabstrip-item-selected-gradient: null !default;
79
79
 
80
- $tabstrip-item-focused-shadow: $list-item-focused-shadow !default;
80
+ $tabstrip-item-focused-shadow: $kendo-list-item-focus-shadow !default;
81
81
 
82
82
  $tabstrip-item-dragging-shadow: 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12), 0 2px 4px -1px rgba(0, 0, 0, .2) !default;
83
83
 
@@ -86,10 +86,10 @@ $tabstrip-indicator-color: $primary !default;
86
86
 
87
87
  /// Horizontal padding of tabstrip content
88
88
  /// @group tabstrip
89
- $tabstrip-content-padding-x: $tabstrip-item-padding-x !default;
89
+ $tabstrip-content-padding-x: map-get( $spacing, 4 ) !default;
90
90
  /// Vertical padding of tabstrip content
91
91
  /// @group tabstrip
92
- $tabstrip-content-padding-y: $tabstrip-item-padding-y !default;
92
+ $tabstrip-content-padding-y: map-get( $spacing, 4 ) !default;
93
93
  /// Width of border around tabstrip content
94
94
  /// @group tabstrip
95
95
  $tabstrip-content-border-width: 0px !default;