@progress/kendo-theme-material 11.0.0-dev.0 → 11.0.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 (184) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/material-2-dark.css +1 -0
  3. package/dist/material-2-dark.scss +137 -0
  4. package/dist/material-2.css +1 -0
  5. package/dist/material-2.scss +132 -0
  6. package/dist/material-aqua-dark.css +1 -1
  7. package/dist/material-arctic.css +1 -1
  8. package/dist/material-burnt-teal.css +1 -1
  9. package/dist/material-dataviz-v4.css +1 -1
  10. package/dist/material-eggplant.css +1 -1
  11. package/dist/material-lime-dark.css +1 -1
  12. package/dist/material-lime.css +1 -1
  13. package/dist/material-main-dark.css +1 -1
  14. package/dist/material-main-dark.scss +97 -97
  15. package/dist/material-main.css +1 -1
  16. package/dist/material-nova.css +1 -1
  17. package/dist/material-pacific-dark.css +1 -1
  18. package/dist/material-pacific.css +1 -1
  19. package/dist/material-sky-dark.css +1 -1
  20. package/dist/material-sky.css +1 -1
  21. package/dist/material-smoke.css +1 -1
  22. package/dist/meta/sassdoc-data.json +11721 -9853
  23. package/dist/meta/sassdoc-raw-data.json +3880 -3030
  24. package/dist/meta/variables.json +2515 -2282
  25. package/lib/swatches/index.js +2 -0
  26. package/lib/swatches/material-2-dark.json +657 -0
  27. package/lib/swatches/material-2.json +632 -0
  28. package/lib/swatches/material-aqua-dark.json +1 -1
  29. package/lib/swatches/material-arctic.json +1 -1
  30. package/lib/swatches/material-burnt-teal.json +1 -1
  31. package/lib/swatches/material-dataviz-v4.json +1 -1
  32. package/lib/swatches/material-eggplant.json +1 -1
  33. package/lib/swatches/material-lime-dark.json +1 -1
  34. package/lib/swatches/material-lime.json +1 -1
  35. package/lib/swatches/material-main-dark.json +103 -103
  36. package/lib/swatches/material-main.json +6 -6
  37. package/lib/swatches/material-nova.json +1 -1
  38. package/lib/swatches/material-pacific-dark.json +1 -1
  39. package/lib/swatches/material-pacific.json +1 -1
  40. package/lib/swatches/material-sky-dark.json +1 -1
  41. package/lib/swatches/material-sky.json +1 -1
  42. package/lib/swatches/material-smoke.json +1 -1
  43. package/package.json +4 -4
  44. package/scss/action-buttons/_layout.scss +0 -23
  45. package/scss/action-buttons/_theme.scss +0 -13
  46. package/scss/action-buttons/_variables.scss +3 -3
  47. package/scss/action-sheet/_layout.scss +6 -0
  48. package/scss/action-sheet/_variables.scss +21 -22
  49. package/scss/appbar/_variables.scss +3 -3
  50. package/scss/badge/_layout.scss +0 -1
  51. package/scss/badge/_variables.scss +8 -8
  52. package/scss/bottom-navigation/_theme.scss +54 -3
  53. package/scss/bottom-navigation/_variables.scss +16 -16
  54. package/scss/breadcrumb/_variables.scss +19 -19
  55. package/scss/button/_layout.scss +0 -79
  56. package/scss/button/_theme.scss +114 -29
  57. package/scss/button/_variables.scss +28 -24
  58. package/scss/calendar/_layout.scss +13 -16
  59. package/scss/calendar/_theme.scss +29 -11
  60. package/scss/calendar/_variables.scss +75 -48
  61. package/scss/captcha/_variables.scss +3 -3
  62. package/scss/card/_variables.scss +15 -15
  63. package/scss/chat/_theme.scss +4 -0
  64. package/scss/chat/_variables.scss +4 -4
  65. package/scss/checkbox/_layout.scss +35 -0
  66. package/scss/checkbox/_theme.scss +113 -4
  67. package/scss/checkbox/_variables.scss +18 -15
  68. package/scss/chip/_layout.scss +10 -0
  69. package/scss/chip/_theme.scss +41 -61
  70. package/scss/chip/_variables.scss +36 -18
  71. package/scss/coloreditor/_variables.scss +8 -8
  72. package/scss/colorgradient/_variables.scss +3 -33
  73. package/scss/column-menu/_variables.scss +1 -1
  74. package/scss/core/color-system/_palettes.scss +243 -242
  75. package/scss/core/color-system/_swatch.scss +142 -142
  76. package/scss/core/elevation/index.import.scss +18 -27
  77. package/scss/core/typography/index.import.scss +8 -8
  78. package/scss/dataviz/_variables.scss +1 -1
  79. package/scss/dialog/_variables.scss +6 -1
  80. package/scss/dock-manager/_variables.scss +14 -14
  81. package/scss/draggable/_variables.scss +1 -1
  82. package/scss/drawer/_layout.scss +2 -0
  83. package/scss/drawer/_theme.scss +0 -11
  84. package/scss/drawer/_variables.scss +48 -23
  85. package/scss/dropzone/_variables.scss +2 -2
  86. package/scss/editor/_layout.scss +2 -12
  87. package/scss/editor/_variables.scss +4 -4
  88. package/scss/expansion-panel/_layout.scss +5 -0
  89. package/scss/expansion-panel/_variables.scss +6 -6
  90. package/scss/fab/_layout.scss +1 -1
  91. package/scss/fab/_theme.scss +13 -12
  92. package/scss/fab/_variables.scss +11 -11
  93. package/scss/filemanager/_theme.scss +4 -0
  94. package/scss/filemanager/_variables.scss +1 -1
  95. package/scss/filter/_variables.scss +2 -2
  96. package/scss/forms/_variables.scss +5 -5
  97. package/scss/gantt/_variables.scss +16 -16
  98. package/scss/grid/_layout.scss +6 -21
  99. package/scss/grid/_theme.scss +12 -55
  100. package/scss/grid/_variables.scss +13 -13
  101. package/scss/imageeditor/_variables.scss +2 -2
  102. package/scss/input/_layout.scss +10 -14
  103. package/scss/input/_variables.scss +35 -34
  104. package/scss/list/_theme.scss +1 -1
  105. package/scss/list/_variables.scss +100 -22
  106. package/scss/listbox/_variables.scss +1 -1
  107. package/scss/listgroup/_variables.scss +4 -4
  108. package/scss/listview/_theme.scss +0 -13
  109. package/scss/listview/_variables.scss +5 -5
  110. package/scss/loader/_variables.scss +2 -2
  111. package/scss/map/_variables.scss +2 -2
  112. package/scss/mediaplayer/_variables.scss +2 -2
  113. package/scss/menu/_layout.scss +4 -0
  114. package/scss/menu/_theme.scss +1 -26
  115. package/scss/menu/_variables.scss +47 -39
  116. package/scss/menu-button/_variables.scss +1 -1
  117. package/scss/messagebox/_layout.scss +5 -1
  118. package/scss/messagebox/_variables.scss +1 -1
  119. package/scss/notification/_layout.scss +5 -0
  120. package/scss/notification/_theme.scss +1 -0
  121. package/scss/notification/_variables.scss +18 -8
  122. package/scss/orgchart/_variables.scss +3 -3
  123. package/scss/pager/_variables.scss +4 -4
  124. package/scss/panel/_variables.scss +3 -3
  125. package/scss/panelbar/_layout.scss +29 -1
  126. package/scss/panelbar/_theme.scss +0 -1
  127. package/scss/panelbar/_variables.scss +23 -23
  128. package/scss/pdf-viewer/_variables.scss +3 -3
  129. package/scss/pivotgrid/_theme.scss +0 -12
  130. package/scss/pivotgrid/_variables.scss +4 -4
  131. package/scss/popover/_variables.scss +3 -3
  132. package/scss/popup/_variables.scss +5 -5
  133. package/scss/progressbar/_layout.scss +11 -4
  134. package/scss/progressbar/_variables.scss +2 -2
  135. package/scss/prompt/_layout.scss +4 -0
  136. package/scss/prompt/_variables.scss +8 -8
  137. package/scss/radio/_layout.scss +35 -0
  138. package/scss/radio/_theme.scss +109 -4
  139. package/scss/radio/_variables.scss +17 -14
  140. package/scss/rating/_variables.scss +3 -3
  141. package/scss/scheduler/_layout.scss +2 -89
  142. package/scss/scheduler/_variables.scss +4 -4
  143. package/scss/scrollview/_variables.scss +1 -1
  144. package/scss/slider/_layout.scss +11 -0
  145. package/scss/slider/_theme.scss +1 -10
  146. package/scss/slider/_variables.scss +16 -7
  147. package/scss/split-button/_layout.scss +12 -0
  148. package/scss/split-button/_variables.scss +4 -4
  149. package/scss/splitter/_variables.scss +3 -3
  150. package/scss/spreadsheet/_layout.scss +0 -35
  151. package/scss/spreadsheet/_theme.scss +3 -25
  152. package/scss/spreadsheet/_variables.scss +7 -7
  153. package/scss/stepper/_layout.scss +15 -1
  154. package/scss/stepper/_theme.scss +8 -0
  155. package/scss/stepper/_variables.scss +13 -13
  156. package/scss/switch/_layout.scss +20 -5
  157. package/scss/switch/_theme.scss +2 -9
  158. package/scss/switch/_variables.scss +50 -16
  159. package/scss/table/_layout.scss +6 -0
  160. package/scss/table/_variables.scss +9 -9
  161. package/scss/tabstrip/_layout.scss +100 -4
  162. package/scss/tabstrip/_variables.scss +16 -16
  163. package/scss/taskboard/_layout.scss +4 -0
  164. package/scss/taskboard/_variables.scss +8 -8
  165. package/scss/tilelayout/_layout.scss +7 -1
  166. package/scss/tilelayout/_variables.scss +2 -2
  167. package/scss/timeline/_variables.scss +2 -2
  168. package/scss/timeselector/_layout.scss +38 -0
  169. package/scss/timeselector/_theme.scss +8 -6
  170. package/scss/timeselector/_variables.scss +29 -23
  171. package/scss/toolbar/_layout.scss +0 -47
  172. package/scss/toolbar/_theme.scss +4 -44
  173. package/scss/toolbar/_variables.scss +14 -14
  174. package/scss/tooltip/_variables.scss +6 -6
  175. package/scss/treelist/_layout.scss +0 -19
  176. package/scss/treelist/_theme.scss +10 -15
  177. package/scss/treelist/_variables.scss +1 -1
  178. package/scss/treeview/_theme.scss +2 -31
  179. package/scss/treeview/_variables.scss +24 -24
  180. package/scss/typography/_variables.scss +21 -21
  181. package/scss/upload/_variables.scss +3 -3
  182. package/scss/window/_layout.scss +14 -0
  183. package/scss/window/_variables.scss +8 -8
  184. package/scss/wizard/_variables.scss +3 -3
@@ -1,4 +1,3 @@
1
- @use "../core/_index.scss" as *;
2
1
  @use "@progress/kendo-theme-core/scss/components/spreadsheet/_layout.scss" as *;
3
2
 
4
3
 
@@ -6,19 +5,6 @@
6
5
 
7
6
  @include kendo-spreadsheet--layout-base();
8
7
 
9
- // Quick access toolbar
10
- .k-spreadsheet-quick-access-toolbar {
11
- padding: k-spacing(1);
12
-
13
- .k-button {
14
- border-radius: 50%;
15
- color: inherit;
16
- background: none;
17
- box-shadow: none;
18
- }
19
-
20
- }
21
-
22
8
  // Spreadsheet tabstrip
23
9
  .k-spreadsheet-tabstrip {
24
10
  padding-top: 0;
@@ -27,25 +13,4 @@
27
13
  border-width: 0;
28
14
  }
29
15
  }
30
-
31
- // Spreadsheet footer
32
- .k-spreadsheet-sheets-bar {
33
-
34
- .k-spreadsheet-sheets-bar-add {
35
- margin: k-spacing(1);
36
- border-radius: 50%;
37
- color: inherit;
38
- background: none;
39
- box-shadow: none;
40
- }
41
-
42
- }
43
-
44
- // Selection
45
- .k-spreadsheet .k-selection-full,
46
- .k-spreadsheet .k-selection-partial {
47
- &::after {
48
- display: block;
49
- }
50
- }
51
16
  }
@@ -5,31 +5,9 @@
5
5
  @mixin kendo-spreadsheet--theme() {
6
6
  @include kendo-spreadsheet--theme-base();
7
7
 
8
- // Spreadsheet header
9
- .k-spreadsheet > .k-tabstrip-wrapper {
10
-
11
- .k-tabstrip-items-wrapper {
12
- color: k-color(on-primary);
13
- background-color: k-color(primary);
14
- }
15
- .k-tabstrip-items .k-item {
16
- color: inherit;
17
- }
18
- .k-tabstrip-items .k-item.k-active::after {
19
- border-color: k-color(on-primary);
20
- }
21
- }
22
-
23
- // Quick access toolbar
24
- .k-spreadsheet-quick-access-toolbar {
25
- color: k-color(on-primary);
26
- background-color: k-color(primary);
27
- }
28
-
29
- // Selection
30
- .k-spreadsheet .k-selection-full,
31
- .k-spreadsheet .k-selection-partial {
32
- &::after { border-color: k-color(secondary); }
8
+ .k-spreadsheet-action-bar,
9
+ .k-spreadsheet-view {
10
+ background-color: k-color(surface-alt);
33
11
  }
34
12
 
35
13
  }
@@ -21,7 +21,7 @@ $kendo-spreadsheet-line-height: var( --kendo-line-height, normal ) !default;
21
21
 
22
22
  /// The background color of the Spreadsheet.
23
23
  /// @group spreadsheet
24
- $kendo-spreadsheet-bg: k-color(surface-alt) !default;
24
+ $kendo-spreadsheet-bg: k-color(surface) !default;
25
25
  /// The text color of the Spreadsheet.
26
26
  /// @group spreadsheet
27
27
  $kendo-spreadsheet-text: k-color(on-app-surface) !default;
@@ -31,7 +31,7 @@ $kendo-spreadsheet-border: k-color(border) !default;
31
31
 
32
32
  /// The background color of the Spreadsheet header.
33
33
  /// @group spreadsheet
34
- $kendo-spreadsheet-header-bg: k-color(surface-alt) !default;
34
+ $kendo-spreadsheet-header-bg: k-color(surface) !default;
35
35
  /// The text color of the Spreadsheet header.
36
36
  /// @group spreadsheet
37
37
  $kendo-spreadsheet-header-text: k-color(on-app-surface) !default;
@@ -101,7 +101,7 @@ $kendo-spreadsheet-view-font-size: $kendo-spreadsheet-font-size !default;
101
101
 
102
102
  /// The background color of the Spreadsheet selection.
103
103
  /// @group spreadsheet
104
- $kendo-spreadsheet-selection-bg: color-mix(in srgb, k-color(primary) 25%, transparent) !default;
104
+ $kendo-spreadsheet-selection-bg: color-mix(in srgb, k-color(secondary-emphasis) 50%, transparent) !default;
105
105
  /// The text color of the Spreadsheet selection.
106
106
  /// @group spreadsheet
107
107
  $kendo-spreadsheet-selection-text: null !default;
@@ -124,11 +124,11 @@ $kendo-spreadsheet-single-selection-border: $kendo-spreadsheet-bg !default;
124
124
 
125
125
  /// The background color of the Spreadsheet partial selection.
126
126
  /// @group spreadsheet
127
- $kendo-spreadsheet-partial-selection-bg: rgba( black, .04 ) !default;
127
+ $kendo-spreadsheet-partial-selection-bg: k-color(secondary) !default;
128
128
 
129
129
  /// The background color of the Spreadsheet active cell.
130
130
  /// @group spreadsheet
131
- $kendo-spreadsheet-active-cell-bg: k-color(surface-alt) !default;
131
+ $kendo-spreadsheet-active-cell-bg: k-color(surface) !default;
132
132
  /// The shadow of the Spreadsheet active cell.
133
133
  /// @group spreadsheet
134
134
  $kendo-spreadsheet-active-cell-shadow: inset 0 0 0 1px k-color(primary) !default;
@@ -229,7 +229,7 @@ $kendo-spreadsheet-insert-image-dialog-preview-overlay-shadow: inset 0 0 0 2000p
229
229
  $kendo-spreadsheet-insert-image-dialog-preview-overlay-border-radius: k-border-radius(md) !default;
230
230
  /// The text color of the hovered Spreadsheet image Dialog preview.
231
231
  /// @group spreadsheet
232
- $kendo-spreadsheet-insert-image-dialog-overlay-hover-text: k-color(surface-alt) !default;
232
+ $kendo-spreadsheet-insert-image-dialog-overlay-hover-text: k-color(surface) !default;
233
233
 
234
234
  /// The width of the Spreadsheet drawing handle.
235
235
  /// @group spreadsheet
@@ -275,7 +275,7 @@ $kendo-spreadsheet-dropzone-spacing-y: k-spacing(2) !default;
275
275
  /// @group spreadsheet
276
276
  $kendo-spreadsheet-filter-padding: k-spacing(1) !default;
277
277
 
278
- $kendo-spreadsheet-filter-menu-link-padding-x: calc( #{$kendo-icon-size} + calc( 2 * #{k-spacing(1)} ) ) !default;
278
+ $kendo-spreadsheet-filter-menu-link-padding-x: calc( #{$kendo-icon-size} + k-spacing(2) ) !default;
279
279
 
280
280
  $kendo-spreadsheet-filter-menu-icon-margin: 0 k-spacing(1) 0 calc(-1 * ( #{$kendo-icon-size} + #{k-spacing(1)} ) ) !default;
281
281
 
@@ -1,4 +1,5 @@
1
1
  @use "@progress/kendo-theme-core/scss/components/stepper/_layout.scss" as *;
2
+ @use "./variables.scss" as *;
2
3
 
3
4
 
4
5
  @mixin kendo-stepper--layout() {
@@ -8,11 +9,24 @@
8
9
  // Stepper
9
10
  .k-stepper {}
10
11
 
12
+ .k-step-list-horizontal {
13
+ & ~ .k-progressbar {
14
+ top: calc( (#{$kendo-stepper-indicator-height} / 2 ) - (#{$kendo-stepper-progressbar-size} / 2 ) + $kendo-stepper-indicator-focus-offset ) ;
15
+ }
16
+ }
17
+
18
+
19
+ .k-step-list-vertical {
20
+ & ~ .k-progressbar {
21
+ left: calc( (#{$kendo-stepper-indicator-height} / 2 ) - (#{$kendo-stepper-progressbar-size} / 2 ) + $kendo-stepper-indicator-focus-offset ) ;
22
+ }
23
+ }
24
+
11
25
 
12
26
  // Selected step
13
27
  .k-step-current {
14
28
  .k-step-label {
15
- font-weight: 400;
29
+ font-weight: var( --kendo-font-weight-semibold, 600 );
16
30
  }
17
31
  }
18
32
 
@@ -1,6 +1,14 @@
1
1
  @use "@progress/kendo-theme-core/scss/components/stepper/_theme.scss" as *;
2
+ @use "../core/_index.scss" as *;
3
+ @use "./variables.scss" as *;
2
4
 
3
5
 
4
6
  @mixin kendo-stepper--theme() {
5
7
  @include kendo-stepper--theme-base();
8
+
9
+ .k-stepper {
10
+ .k-step-label:only-child {
11
+ background-color: k-color(app-surface);
12
+ }
13
+ }
6
14
  }
@@ -46,7 +46,7 @@ $kendo-stepper-inline-content-padding-y: k-spacing(2.5) !default;
46
46
  $kendo-stepper-font-size: var( --kendo-font-size, inherit ) !default;
47
47
  // The line height of the Stepper.
48
48
  /// @group stepper
49
- $kendo-stepper-line-height: math.div( 20, 14 ) !default;
49
+ $kendo-stepper-line-height: var( --kendo-line-height, inherit ) !default;
50
50
  // The font family of the Stepper.
51
51
  /// @group stepper
52
52
  $kendo-stepper-font-family: var( --kendo-font-family, inherit ) !default;
@@ -89,17 +89,17 @@ $kendo-stepper-indicator-focus-calc-offset: calc( #{$kendo-stepper-indicator-foc
89
89
 
90
90
  /// The background color of the Stepper indicator.
91
91
  /// @group stepper
92
- $kendo-stepper-indicator-bg: k-color(surface-alt) !default;
92
+ $kendo-stepper-indicator-bg: k-color(primary-subtle) !default;
93
93
  /// The text color of the Stepper indicator.
94
94
  /// @group stepper
95
- $kendo-stepper-indicator-text: k-color(on-app-surface) !default;
95
+ $kendo-stepper-indicator-text: k-color(primary-on-subtle) !default;
96
96
  /// The border color of the Stepper indicator.
97
97
  /// @group stepper
98
- $kendo-stepper-indicator-border: k-color(border) !default;
98
+ $kendo-stepper-indicator-border: k-color(primary-emphasis) !default;
99
99
 
100
100
  /// The background color of the hovered Stepper indicator.
101
101
  /// @group stepper
102
- $kendo-stepper-indicator-hover-bg: k-color(base-hover) !default;
102
+ $kendo-stepper-indicator-hover-bg: k-color(primary-subtle-hover) !default;
103
103
  /// The text color of the hovered Stepper indicator.
104
104
  /// @group stepper
105
105
  $kendo-stepper-indicator-hover-text: null !default;
@@ -109,13 +109,13 @@ $kendo-stepper-indicator-hover-border: null !default;
109
109
 
110
110
  /// The background color of the disabled Stepper indicator.
111
111
  /// @group stepper
112
- $kendo-stepper-indicator-disabled-bg: null !default;
112
+ $kendo-stepper-indicator-disabled-bg: color-mix(in srgb, k-color(primary-subtle), k-color(surface)) !default;
113
113
  /// The text color of the disabled Stepper indicator.
114
114
  /// @group stepper
115
- $kendo-stepper-indicator-disabled-text: color-mix(in srgb, k-color(on-app-surface) 32%, transparent) !default;
115
+ $kendo-stepper-indicator-disabled-text: color-mix(in srgb, $kendo-stepper-indicator-text 38%, transparent) !default;
116
116
  /// The border color of the disabled Stepper indicator.
117
117
  /// @group stepper
118
- $kendo-stepper-indicator-disabled-border: null !default;
118
+ $kendo-stepper-indicator-disabled-border: color-mix(in srgb, $kendo-stepper-indicator-border 38%, transparent) !default;
119
119
 
120
120
  /// The background color of the Stepper's done indicator.
121
121
  /// @group stepper
@@ -139,7 +139,7 @@ $kendo-stepper-indicator-done-hover-border: null !default;
139
139
 
140
140
  /// The background color of the Stepper's disabled done indicator.
141
141
  /// @group stepper
142
- $kendo-stepper-indicator-done-disabled-bg: color-mix(in srgb, k-color(primary) 60%, transparent) !default;
142
+ $kendo-stepper-indicator-done-disabled-bg: color-mix(in srgb, k-color(primary) 38%, transparent) !default;
143
143
  /// The text color of the Stepper's disabled done indicator.
144
144
  /// @group stepper
145
145
  $kendo-stepper-indicator-done-disabled-text: k-color(on-primary) !default;
@@ -155,7 +155,7 @@ $kendo-stepper-indicator-current-bg: $kendo-stepper-indicator-done-bg !default;
155
155
  $kendo-stepper-indicator-current-text: $kendo-stepper-indicator-done-text !default;
156
156
  /// The border color of the Stepper current indicator.
157
157
  /// @group stepper
158
- $kendo-stepper-indicator-current-border: $kendo-stepper-indicator-done-border !default;
158
+ $kendo-stepper-indicator-current-border: k-color(primary) !default;
159
159
 
160
160
  /// The background color of the Stepper's hovered current indicator.
161
161
  /// @group stepper
@@ -188,10 +188,10 @@ $kendo-stepper-label-success-text: k-color(success) !default;
188
188
  $kendo-stepper-label-error-text: k-color(error) !default;
189
189
  /// The text color of the hovered Stepper label.
190
190
  /// @group stepper
191
- $kendo-stepper-label-hover-text: unset !default;
191
+ $kendo-stepper-label-hover-text: inherit !default;
192
192
  /// The text color of the disabled Stepper label.
193
193
  /// @group stepper
194
- $kendo-stepper-label-disabled-text: color-mix(in srgb, k-color(on-app-surface) 32%, transparent) !default;
194
+ $kendo-stepper-label-disabled-text: color-mix(in srgb, k-color(on-app-surface) 38%, transparent) !default;
195
195
 
196
196
  /// The text color of the optional Stepper label.
197
197
  /// @group stepper
@@ -208,7 +208,7 @@ $kendo-stepper-optional-label-font-style: unset !default;
208
208
 
209
209
  /// The size of the Stepper ProgressBar.
210
210
  /// @group stepper
211
- $kendo-stepper-progressbar-size: 2px !default;
211
+ $kendo-stepper-progressbar-size: 4px !default;
212
212
  /// The background color of the Stepper ProgressBar.
213
213
  /// @group stepper
214
214
  $kendo-stepper-progressbar-bg: null !default;
@@ -1,6 +1,7 @@
1
+ @use "sass:map";
2
+ @use "./variables.scss" as *;
1
3
  @use "@progress/kendo-theme-core/scss/components/switch/_layout.scss" as *;
2
4
 
3
-
4
5
  @mixin kendo-switch--layout() {
5
6
 
6
7
  @include kendo-switch--layout-base();
@@ -11,8 +12,6 @@
11
12
  // Thumb ripple
12
13
  .k-switch-thumb::before {
13
14
  content: "";
14
- width: 200%;
15
- height: 200%;
16
15
  border-radius: 100%;
17
16
  display: none;
18
17
  opacity: 0;
@@ -29,7 +28,7 @@
29
28
  &.k-hover {
30
29
  .k-switch-thumb::before {
31
30
  display: block;
32
- opacity: .04;
31
+ opacity: .08;
33
32
  }
34
33
  }
35
34
 
@@ -38,8 +37,24 @@
38
37
  &.k-focus {
39
38
  .k-switch-thumb::before {
40
39
  display: block;
41
- opacity: .12;
40
+ opacity: .2;
42
41
  }
43
42
  }
43
+
44
+ &:disabled,
45
+ &.k-disabled {
46
+ opacity: 1;
47
+ }
48
+ }
49
+
50
+ // Switch sizes
51
+ @each $size, $size-props in $kendo-switch-sizes {
52
+
53
+ $_thumb-indicator-size: map.get( $size-props, thumb-indicator-size );
54
+
55
+ .k-switch-#{$size} .k-switch-thumb::before {
56
+ width: $_thumb-indicator-size;
57
+ height: $_thumb-indicator-size;
58
+ }
44
59
  }
45
60
  }
@@ -9,16 +9,9 @@
9
9
  // Switch
10
10
  .k-switch {
11
11
 
12
- .k-switch-thumb {
13
- box-shadow: k-elevation(2);
14
- }
15
-
16
12
  // Thumb ripple
17
- &.k-switch-on .k-switch-thumb::before {
18
- background-color: inherit;
19
- }
20
- &.k-switch-off .k-switch-thumb::before {
21
- background-color: k-color(on-app-surface);
13
+ .k-switch-thumb::before {
14
+ background-color: k-color(primary);
22
15
  }
23
16
  }
24
17
 
@@ -8,7 +8,7 @@ $kendo-switch-font-family: null !default;
8
8
 
9
9
  /// The border width of the Switch track.
10
10
  /// @group switch
11
- $kendo-switch-track-border-width: 0px !default;
11
+ $kendo-switch-track-border-width: 2px !default;
12
12
 
13
13
  /// The border width of the Switch thumb.
14
14
  /// @group switch
@@ -25,20 +25,20 @@ $kendo-switch-label-display: none !default;
25
25
  /// The map with the different Switch sizes.
26
26
  /// @group switch
27
27
  $kendo-switch-sizes: (
28
- sm: ( font-size: null, track-width: 26px, track-height: 12px, thumb-width: 16px, thumb-height: 16px, thumb-offset: -2px, label-offset: 0px ),
29
- md: ( font-size: null, track-width: 32px, track-height: 14px, thumb-width: 20px, thumb-height: 20px, thumb-offset: -3px, label-offset: 0px ),
30
- lg: ( font-size: null, track-width: 38px, track-height: 16px, thumb-width: 24px, thumb-height: 24px, thumb-offset: -4px, label-offset: 0px )
28
+ sm: ( font-size: null, track-width: 52px, track-height: 28px, thumb-width: 20px, thumb-height: 20px, thumb-offset: 4px, label-offset: 0px, thumb-indicator-size: 36px ),
29
+ md: ( font-size: null, track-width: 52px, track-height: 32px, thumb-width: 24px, thumb-height: 24px, thumb-offset: 4px, label-offset: 0px, thumb-indicator-size: 40px ),
30
+ lg: ( font-size: null, track-width: 60px, track-height: 36px, thumb-width: 28px, thumb-height: 28px, thumb-offset: 4px, label-offset: 0px, thumb-indicator-size: 44px )
31
31
  ) !default;
32
32
 
33
33
  /// The background of the track when the Switch is not checked.
34
34
  /// @group switch
35
- $kendo-switch-off-track-bg: color-mix(in srgb, k-color(on-app-surface) 38%, transparent) !default;
35
+ $kendo-switch-off-track-bg: k-color(base) !default;
36
36
  /// The text color of the track when the Switch is not checked.
37
37
  /// @group switch
38
38
  $kendo-switch-off-track-text: unset !default;
39
39
  /// The border color of the track when the Switch is not checked
40
40
  /// @group switch
41
- $kendo-switch-off-track-border: unset !default;
41
+ $kendo-switch-off-track-border: k-color(base-emphasis) !default;
42
42
  /// The background gradient of the track when the Switch is not checked.
43
43
  /// @group switch
44
44
  $kendo-switch-off-track-gradient: null !default;
@@ -74,20 +74,20 @@ $kendo-switch-off-track-focus-ring: unset !default;
74
74
 
75
75
  /// The background of the track when the disabled Switch is not checked.
76
76
  /// @group switch
77
- $kendo-switch-off-track-disabled-bg: null !default;
77
+ $kendo-switch-off-track-disabled-bg: color-mix(in srgb, k-color(base) 38%, transparent) !default;
78
78
  /// The text color of the track when the disabled Switch is not checked.
79
79
  /// @group switch
80
- $kendo-switch-off-track-disabled-text: null !default;
80
+ $kendo-switch-off-track-disabled-text: color-mix(in srgb, k-color(on-app-surface) 38%, transparent) !default;
81
81
  /// The border color of the track when the disabled Switch is not checked.
82
82
  /// @group switch
83
- $kendo-switch-off-track-disabled-border: null !default;
83
+ $kendo-switch-off-track-disabled-border: color-mix(in srgb, k-color(base-emphasis) 38%, transparent) !default;
84
84
  /// The background gradient of the track when the disabled Switch is not checked.
85
85
  /// @group switch
86
86
  $kendo-switch-off-track-disabled-gradient: null !default;
87
87
 
88
88
  /// The background of the thumb when the Switch is not checked.
89
89
  /// @group switch
90
- $kendo-switch-off-thumb-bg: k-color(app-surface) !default;
90
+ $kendo-switch-off-thumb-bg: k-color(base-emphasis) !default;
91
91
  /// The text color of the thumb when the Switch is not checked.
92
92
  /// @group switch
93
93
  $kendo-switch-off-thumb-text: unset !default;
@@ -111,16 +111,29 @@ $kendo-switch-off-thumb-hover-border: null !default;
111
111
  /// @group switch
112
112
  $kendo-switch-off-thumb-hover-gradient: null !default;
113
113
 
114
+ /// The background of the thumb when the disabled Switch is not checked.
115
+ /// @group switch
116
+ $kendo-switch-off-thumb-disabled-bg: color-mix(in srgb, k-color(base-emphasis) 38%, transparent) !default;
117
+ /// The text color of the thumb when the disabled Switch is not checked.
118
+ /// @group switch
119
+ $kendo-switch-off-thumb-disabled-text: null !default;
120
+ /// The border color of the thumb when the disabled Switch is not checked.
121
+ /// @group switch
122
+ $kendo-switch-off-thumb-disabled-border: null !default;
123
+ /// The background gradient of the thumb when the disabled Switch is not checked.
124
+ /// @group switch
125
+ $kendo-switch-off-thumb-disabled-gradient: null !default;
126
+
114
127
 
115
128
  /// The background of the track when the Switch is checked.
116
129
  /// @group switch
117
- $kendo-switch-on-track-bg: color-mix(in srgb, k-color(primary) 44%, transparent) !default;
130
+ $kendo-switch-on-track-bg: k-color(primary) !default;
118
131
  /// The text color of the track when the Switch is checked.
119
132
  /// @group switch
120
133
  $kendo-switch-on-track-text: unset !default;
121
134
  /// The border color of the track when the Switch is checked.
122
135
  /// @group switch
123
- $kendo-switch-on-track-border: unset !default;
136
+ $kendo-switch-on-track-border: k-color(primary) !default;
124
137
  /// The background gradient of the track when the Switch is checked.
125
138
  /// @group switch
126
139
  $kendo-switch-on-track-gradient: null !default;
@@ -156,20 +169,20 @@ $kendo-switch-on-track-focus-ring: unset !default;
156
169
 
157
170
  /// The background of the track when the disabled Switch is checked.
158
171
  /// @group switch
159
- $kendo-switch-on-track-disabled-bg: null !default;
172
+ $kendo-switch-on-track-disabled-bg: color-mix(in srgb, k-color(on-app-surface) 12%, transparent) !default;
160
173
  /// The text color of the track when the disabled Switch is checked.
161
174
  /// @group switch
162
175
  $kendo-switch-on-track-disabled-text: null !default;
163
176
  /// The border color of the track when the disabled Switch is checked.
164
177
  /// @group switch
165
- $kendo-switch-on-track-disabled-border: null !default;
178
+ $kendo-switch-on-track-disabled-border: transparent !default;
166
179
  /// The background gradient of the track when the disabled Switch is checked.
167
180
  /// @group switch
168
181
  $kendo-switch-on-track-disabled-gradient: null !default;
169
182
 
170
183
  /// The background of the thumb when the Switch is checked.
171
184
  /// @group switch
172
- $kendo-switch-on-thumb-bg: k-color(primary) !default;
185
+ $kendo-switch-on-thumb-bg: k-color(primary-subtle) !default;
173
186
  /// The text color of the thumb when the Switch is checked.
174
187
  /// @group switch
175
188
  $kendo-switch-on-thumb-text: unset !default;
@@ -193,6 +206,19 @@ $kendo-switch-on-thumb-hover-border: null !default;
193
206
  /// @group switch
194
207
  $kendo-switch-on-thumb-hover-gradient: null !default;
195
208
 
209
+ /// The background of the thumb when the disabled Switch is checked.
210
+ /// @group switch
211
+ $kendo-switch-on-thumb-disabled-bg: k-color(app-surface) !default;
212
+ /// The text color of the thumb when the disabled Switch is checked.
213
+ /// @group switch
214
+ $kendo-switch-on-thumb-disabled-text: null !default;
215
+ /// The border color of the thumb when the disabled Switch is checked.
216
+ /// @group switch
217
+ $kendo-switch-on-thumb-disabled-border: null !default;
218
+ /// The background gradient of the thumb when the disabled Switch is checked.
219
+ /// @group switch
220
+ $kendo-switch-on-thumb-disabled-gradient: null !default;
221
+
196
222
  @forward "@progress/kendo-theme-core/scss/components/switch/_variables.scss" with (
197
223
  $kendo-switch-font-family: $kendo-switch-font-family,
198
224
  $kendo-switch-track-border-width: $kendo-switch-track-border-width,
@@ -225,6 +251,10 @@ $kendo-switch-on-thumb-hover-gradient: null !default;
225
251
  $kendo-switch-off-thumb-hover-text: $kendo-switch-off-thumb-hover-text,
226
252
  $kendo-switch-off-thumb-hover-border: $kendo-switch-off-thumb-hover-border,
227
253
  $kendo-switch-off-thumb-hover-gradient: $kendo-switch-off-thumb-hover-gradient,
254
+ $kendo-switch-off-thumb-disabled-bg: $kendo-switch-off-thumb-disabled-bg,
255
+ $kendo-switch-off-thumb-disabled-text: $kendo-switch-off-thumb-disabled-text,
256
+ $kendo-switch-off-thumb-disabled-border: $kendo-switch-off-track-disabled-border,
257
+ $kendo-switch-off-thumb-disabled-gradient: $kendo-switch-off-thumb-disabled-gradient,
228
258
  $kendo-switch-on-track-bg: $kendo-switch-on-track-bg,
229
259
  $kendo-switch-on-track-text: $kendo-switch-on-track-text,
230
260
  $kendo-switch-on-track-border: $kendo-switch-on-track-border,
@@ -249,5 +279,9 @@ $kendo-switch-on-thumb-hover-gradient: null !default;
249
279
  $kendo-switch-on-thumb-hover-bg: $kendo-switch-on-thumb-hover-bg,
250
280
  $kendo-switch-on-thumb-hover-text: $kendo-switch-on-thumb-hover-text,
251
281
  $kendo-switch-on-thumb-hover-border: $kendo-switch-on-thumb-hover-border,
252
- $kendo-switch-on-thumb-hover-gradient: $kendo-switch-on-thumb-hover-gradient
282
+ $kendo-switch-on-thumb-hover-gradient: $kendo-switch-on-thumb-hover-gradient,
283
+ $kendo-switch-on-thumb-disabled-bg: $kendo-switch-on-thumb-disabled-bg,
284
+ $kendo-switch-on-thumb-disabled-text: $kendo-switch-on-thumb-disabled-text,
285
+ $kendo-switch-on-thumb-disabled-border: $kendo-switch-on-track-disabled-border,
286
+ $kendo-switch-on-thumb-disabled-gradient: $kendo-switch-on-thumb-disabled-gradient,
253
287
  );
@@ -6,6 +6,12 @@
6
6
  @include kendo-table--layout-base();
7
7
 
8
8
  .k-table {
9
+
10
+ th,
11
+ .k-table-th{
12
+ font-weight: var( --kendo-font-weight-semibold, 600 );
13
+ }
14
+
9
15
  td:focus,
10
16
  td.k-focus,
11
17
  th:focus,
@@ -31,14 +31,14 @@ $kendo-table-cell-padding-x: null !default;
31
31
  /// @group table
32
32
  $kendo-table-cell-padding-y: null !default;
33
33
 
34
- $kendo-table-sm-cell-padding-x: k-spacing(2.5) !default;
35
- $kendo-table-sm-cell-padding-y: k-spacing(1) !default;
34
+ $kendo-table-sm-cell-padding-x: k-spacing(2) !default;
35
+ $kendo-table-sm-cell-padding-y: k-spacing(2) !default;
36
36
 
37
- $kendo-table-md-cell-padding-x: k-spacing(6) !default;
38
- $kendo-table-md-cell-padding-y: k-spacing(2.5) !default;
37
+ $kendo-table-md-cell-padding-x: k-spacing(3) !default;
38
+ $kendo-table-md-cell-padding-y: k-spacing(3) !default;
39
39
 
40
- $kendo-table-lg-cell-padding-x: k-spacing(6) !default;
41
- $kendo-table-lg-cell-padding-y: k-spacing(2.5) !default;
40
+ $kendo-table-lg-cell-padding-x: k-spacing(4) !default;
41
+ $kendo-table-lg-cell-padding-y: k-spacing(4) !default;
42
42
 
43
43
  /// The sizes of the table.
44
44
  /// @group table
@@ -77,10 +77,10 @@ $kendo-table-border: k-color(border) !default;
77
77
 
78
78
  /// Background color of table headers.
79
79
  /// @group table
80
- $kendo-table-header-bg: $kendo-table-bg !default;
80
+ $kendo-table-header-bg: k-color(surface) !default;
81
81
  /// Text color of table headers.
82
82
  /// @group table
83
- $kendo-table-header-text: k-color(subtle) !default;
83
+ $kendo-table-header-text: k-color(on-app-surface) !default;
84
84
  /// Border color of table headers.
85
85
  /// @group table
86
86
  $kendo-table-header-border: $kendo-table-border !default;
@@ -149,7 +149,7 @@ $kendo-table-focus-shadow: $kendo-list-item-focus-shadow !default;
149
149
 
150
150
  /// Background color of selected rows in table.
151
151
  /// @group table
152
- $kendo-table-selected-bg: color-mix(in srgb, k-color(primary) 12%, transparent) !default;
152
+ $kendo-table-selected-bg: color-mix(in srgb, k-color(primary) 20%, transparent) !default;
153
153
  /// Text color of selected rows in table.
154
154
  /// @group table
155
155
  $kendo-table-selected-text: null !default;