@progress/kendo-theme-material 10.6.0 → 11.0.0-dev.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.
Files changed (223) 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-aqua-dark.scss +1 -1
  8. package/dist/material-arctic.css +1 -1
  9. package/dist/material-arctic.scss +1 -1
  10. package/dist/material-burnt-teal.css +1 -1
  11. package/dist/material-burnt-teal.scss +1 -1
  12. package/dist/material-dataviz-v4.css +1 -1
  13. package/dist/material-dataviz-v4.scss +1 -1
  14. package/dist/material-eggplant.css +1 -1
  15. package/dist/material-eggplant.scss +1 -1
  16. package/dist/material-lime-dark.css +1 -1
  17. package/dist/material-lime-dark.scss +1 -1
  18. package/dist/material-lime.css +1 -1
  19. package/dist/material-lime.scss +1 -1
  20. package/dist/material-main-dark.css +1 -1
  21. package/dist/material-main-dark.scss +98 -98
  22. package/dist/material-main.css +1 -1
  23. package/dist/material-main.scss +1 -5
  24. package/dist/material-nova.css +1 -1
  25. package/dist/material-nova.scss +1 -1
  26. package/dist/material-pacific-dark.css +1 -1
  27. package/dist/material-pacific-dark.scss +1 -1
  28. package/dist/material-pacific.css +1 -1
  29. package/dist/material-pacific.scss +1 -1
  30. package/dist/material-sky-dark.css +1 -1
  31. package/dist/material-sky-dark.scss +1 -1
  32. package/dist/material-sky.css +1 -1
  33. package/dist/material-sky.scss +1 -1
  34. package/dist/material-smoke.css +1 -1
  35. package/dist/material-smoke.scss +1 -1
  36. package/dist/meta/sassdoc-data.json +13278 -11518
  37. package/dist/meta/sassdoc-raw-data.json +4563 -3763
  38. package/dist/meta/variables.json +2591 -3022
  39. package/lib/swatches/index.js +2 -0
  40. package/lib/swatches/material-2-dark.json +657 -0
  41. package/lib/swatches/material-2.json +632 -0
  42. package/lib/swatches/material-aqua-dark.json +1 -243
  43. package/lib/swatches/material-arctic.json +1 -243
  44. package/lib/swatches/material-burnt-teal.json +1 -243
  45. package/lib/swatches/material-dataviz-v4.json +1 -47
  46. package/lib/swatches/material-eggplant.json +1 -243
  47. package/lib/swatches/material-lime-dark.json +1 -243
  48. package/lib/swatches/material-lime.json +1 -243
  49. package/lib/swatches/material-main-dark.json +103 -345
  50. package/lib/swatches/material-main.json +7 -250
  51. package/lib/swatches/material-nova.json +1 -243
  52. package/lib/swatches/material-pacific-dark.json +1 -243
  53. package/lib/swatches/material-pacific.json +1 -243
  54. package/lib/swatches/material-sky-dark.json +1 -243
  55. package/lib/swatches/material-sky.json +1 -243
  56. package/lib/swatches/material-smoke.json +1 -243
  57. package/package.json +4 -4
  58. package/scss/action-buttons/_layout.scss +0 -23
  59. package/scss/action-buttons/_theme.scss +0 -13
  60. package/scss/action-buttons/_variables.scss +3 -3
  61. package/scss/action-sheet/_layout.scss +6 -0
  62. package/scss/action-sheet/_variables.scss +27 -28
  63. package/scss/adaptive/_variables.scss +13 -13
  64. package/scss/appbar/_variables.scss +22 -8
  65. package/scss/avatar/_variables.scss +12 -1
  66. package/scss/badge/_layout.scss +0 -1
  67. package/scss/badge/_variables.scss +23 -9
  68. package/scss/bottom-navigation/_theme.scss +55 -4
  69. package/scss/bottom-navigation/_variables.scss +31 -17
  70. package/scss/breadcrumb/_variables.scss +21 -21
  71. package/scss/button/_layout.scss +0 -81
  72. package/scss/button/_theme.scss +110 -44
  73. package/scss/button/_variables.scss +47 -34
  74. package/scss/calendar/_layout.scss +13 -16
  75. package/scss/calendar/_theme.scss +29 -11
  76. package/scss/calendar/_variables.scss +83 -56
  77. package/scss/captcha/_variables.scss +3 -3
  78. package/scss/card/_variables.scss +34 -20
  79. package/scss/chart-wizard/_variables.scss +4 -4
  80. package/scss/chat/_theme.scss +5 -1
  81. package/scss/chat/_variables.scss +15 -15
  82. package/scss/checkbox/_layout.scss +35 -0
  83. package/scss/checkbox/_theme.scss +113 -4
  84. package/scss/checkbox/_variables.scss +23 -20
  85. package/scss/chip/_layout.scss +10 -0
  86. package/scss/chip/_theme.scss +41 -61
  87. package/scss/chip/_variables.scss +48 -30
  88. package/scss/color-preview/_variables.scss +3 -3
  89. package/scss/coloreditor/_variables.scss +11 -11
  90. package/scss/colorgradient/_variables.scss +7 -37
  91. package/scss/column-menu/_variables.scss +1 -1
  92. package/scss/core/_index.scss +8 -3
  93. package/scss/core/color-system/_palettes.scss +243 -242
  94. package/scss/core/color-system/_swatch.scss +142 -145
  95. package/scss/core/elevation/index.import.scss +18 -27
  96. package/scss/core/typography/index.import.scss +8 -8
  97. package/scss/dataviz/_variables.scss +61 -48
  98. package/scss/dialog/_theme.scss +1 -1
  99. package/scss/dialog/_variables.scss +9 -4
  100. package/scss/dock-manager/_variables.scss +18 -18
  101. package/scss/draggable/_variables.scss +4 -4
  102. package/scss/drawer/_layout.scss +2 -0
  103. package/scss/drawer/_theme.scss +0 -11
  104. package/scss/drawer/_variables.scss +49 -24
  105. package/scss/dropzone/_variables.scss +7 -7
  106. package/scss/editor/_layout.scss +2 -12
  107. package/scss/editor/_variables.scss +15 -8
  108. package/scss/expansion-panel/_layout.scss +5 -0
  109. package/scss/expansion-panel/_variables.scss +10 -10
  110. package/scss/fab/_layout.scss +1 -1
  111. package/scss/fab/_theme.scss +24 -23
  112. package/scss/fab/_variables.scss +25 -14
  113. package/scss/filemanager/_theme.scss +4 -0
  114. package/scss/filemanager/_variables.scss +6 -6
  115. package/scss/filter/_variables.scss +4 -4
  116. package/scss/floating-label/_theme.scss +1 -1
  117. package/scss/floating-label/_variables.scss +2 -2
  118. package/scss/forms/_variables.scss +6 -6
  119. package/scss/gantt/_variables.scss +27 -27
  120. package/scss/grid/_layout.scss +6 -21
  121. package/scss/grid/_theme.scss +14 -128
  122. package/scss/grid/_variables.scss +20 -20
  123. package/scss/imageeditor/_variables.scss +4 -4
  124. package/scss/index.scss +3 -0
  125. package/scss/input/_layout.scss +10 -14
  126. package/scss/input/_variables.scss +45 -44
  127. package/scss/list/_theme.scss +1 -1
  128. package/scss/list/_variables.scss +103 -25
  129. package/scss/listbox/_variables.scss +3 -3
  130. package/scss/listgroup/_variables.scss +6 -6
  131. package/scss/listview/_theme.scss +0 -13
  132. package/scss/listview/_variables.scss +7 -7
  133. package/scss/loader/_variables.scss +18 -4
  134. package/scss/map/_variables.scss +6 -6
  135. package/scss/marquee/_index.scss +16 -0
  136. package/scss/marquee/_layout.scss +6 -0
  137. package/scss/marquee/_theme.scss +6 -0
  138. package/scss/marquee/_variables.scss +11 -0
  139. package/scss/mediaplayer/_variables.scss +4 -4
  140. package/scss/menu/_layout.scss +4 -0
  141. package/scss/menu/_theme.scss +1 -26
  142. package/scss/menu/_variables.scss +49 -41
  143. package/scss/menu-button/_variables.scss +1 -1
  144. package/scss/messagebox/_layout.scss +5 -1
  145. package/scss/messagebox/_variables.scss +16 -2
  146. package/scss/no-data/_variables.scss +1 -1
  147. package/scss/notification/_functions.scss +1 -1
  148. package/scss/notification/_layout.scss +5 -0
  149. package/scss/notification/_theme.scss +1 -0
  150. package/scss/notification/_variables.scss +30 -9
  151. package/scss/orgchart/_variables.scss +10 -10
  152. package/scss/overlay/_variables.scss +12 -1
  153. package/scss/pager/_variables.scss +8 -8
  154. package/scss/panel/_variables.scss +3 -3
  155. package/scss/panelbar/_layout.scss +29 -1
  156. package/scss/panelbar/_theme.scss +0 -1
  157. package/scss/panelbar/_variables.scss +29 -29
  158. package/scss/pdf-viewer/_variables.scss +15 -15
  159. package/scss/pivotgrid/_theme.scss +0 -12
  160. package/scss/pivotgrid/_variables.scss +23 -23
  161. package/scss/popover/_variables.scss +5 -5
  162. package/scss/popup/_variables.scss +7 -7
  163. package/scss/progressbar/_layout.scss +11 -4
  164. package/scss/progressbar/_variables.scss +6 -6
  165. package/scss/prompt/_layout.scss +4 -0
  166. package/scss/prompt/_variables.scss +17 -17
  167. package/scss/radio/_layout.scss +35 -0
  168. package/scss/radio/_theme.scss +109 -4
  169. package/scss/radio/_variables.scss +19 -16
  170. package/scss/rating/_variables.scss +7 -7
  171. package/scss/scheduler/_layout.scss +2 -89
  172. package/scss/scheduler/_theme.scss +3 -3
  173. package/scss/scheduler/_variables.scss +22 -19
  174. package/scss/scrollview/_variables.scss +5 -5
  175. package/scss/signature/_variables.scss +1 -1
  176. package/scss/skeleton/_variables.scss +1 -1
  177. package/scss/slider/_layout.scss +11 -0
  178. package/scss/slider/_theme.scss +1 -10
  179. package/scss/slider/_variables.scss +25 -16
  180. package/scss/split-button/_layout.scss +12 -0
  181. package/scss/split-button/_variables.scss +4 -4
  182. package/scss/splitter/_variables.scss +9 -9
  183. package/scss/spreadsheet/_layout.scss +0 -35
  184. package/scss/spreadsheet/_theme.scss +3 -25
  185. package/scss/spreadsheet/_variables.scss +32 -31
  186. package/scss/stepper/_layout.scss +15 -1
  187. package/scss/stepper/_theme.scss +8 -0
  188. package/scss/stepper/_variables.scss +21 -21
  189. package/scss/switch/_layout.scss +20 -5
  190. package/scss/switch/_theme.scss +2 -9
  191. package/scss/switch/_variables.scss +50 -16
  192. package/scss/table/_layout.scss +22 -20
  193. package/scss/table/_theme.scss +6 -32
  194. package/scss/table/_variables.scss +13 -13
  195. package/scss/tabstrip/_layout.scss +100 -4
  196. package/scss/tabstrip/_variables.scss +20 -20
  197. package/scss/taskboard/_layout.scss +4 -0
  198. package/scss/taskboard/_variables.scss +18 -18
  199. package/scss/tilelayout/_layout.scss +7 -1
  200. package/scss/tilelayout/_variables.scss +4 -4
  201. package/scss/timeline/_variables.scss +7 -7
  202. package/scss/timeselector/_layout.scss +38 -0
  203. package/scss/timeselector/_theme.scss +8 -6
  204. package/scss/timeselector/_variables.scss +39 -28
  205. package/scss/toolbar/_layout.scss +0 -47
  206. package/scss/toolbar/_theme.scss +4 -44
  207. package/scss/toolbar/_variables.scss +17 -17
  208. package/scss/tooltip/_functions.scss +1 -1
  209. package/scss/tooltip/_variables.scss +19 -8
  210. package/scss/treelist/_layout.scss +0 -19
  211. package/scss/treelist/_theme.scss +10 -15
  212. package/scss/treelist/_variables.scss +1 -1
  213. package/scss/treeview/_theme.scss +2 -31
  214. package/scss/treeview/_variables.scss +25 -25
  215. package/scss/typography/_variables.scss +24 -24
  216. package/scss/upload/_theme.scss +1 -1
  217. package/scss/upload/_variables.scss +14 -14
  218. package/scss/window/_layout.scss +14 -0
  219. package/scss/window/_variables.scss +14 -14
  220. package/scss/wizard/_variables.scss +3 -3
  221. package/scss/core/color-system/_functions.scss +0 -104
  222. package/scss/core/color-system/_palettes-legacy.scss +0 -671
  223. package/scss/core/color-system/_swatch-legacy.scss +0 -299
@@ -4,42 +4,42 @@
4
4
 
5
5
  /// The text color of the AIPrompt.
6
6
  /// @group prompt
7
- $kendo-prompt-text: $kendo-component-text !default;
7
+ $kendo-prompt-text: k-color(on-app-surface) !default;
8
8
  /// The background color of the AIPrompt.
9
9
  /// @group prompt
10
- $kendo-prompt-bg: $kendo-component-bg !default;
10
+ $kendo-prompt-bg: k-color(surface) !default;
11
11
  /// The border color of the AIPrompt.
12
12
  /// @group prompt
13
- $kendo-prompt-border: $kendo-component-border !default;
13
+ $kendo-prompt-border: k-color(border) !default;
14
14
 
15
15
  /// The text color of the AIPrompt header.
16
16
  /// @group prompt
17
- $kendo-prompt-header-text: $kendo-component-header-text !default;
17
+ $kendo-prompt-header-text: k-color(on-app-surface) !default;
18
18
  /// The background color of the AIPrompt header.
19
19
  /// @group prompt
20
- $kendo-prompt-header-bg: $kendo-component-bg !default;
20
+ $kendo-prompt-header-bg: k-color(surface) !default;
21
21
  /// The border color of the AIPrompt header.
22
22
  /// @group prompt
23
- $kendo-prompt-header-border: $kendo-component-header-border !default;
23
+ $kendo-prompt-header-border: k-color(border) !default;
24
24
 
25
25
  /// The vertical padding of the AIPrompt content.
26
26
  /// @group prompt
27
- $kendo-prompt-content-padding-y: k-spacing(4) !default;
27
+ $kendo-prompt-content-padding-y: k-spacing(2) !default;
28
28
  /// The horizontal padding of the AIPrompt content.
29
29
  /// @group prompt
30
- $kendo-prompt-content-padding-x: k-spacing(4) !default;
30
+ $kendo-prompt-content-padding-x: k-spacing(6) !default;
31
31
  /// The spacing between the items of the AIPrompt content.
32
32
  /// @group prompt
33
- $kendo-prompt-content-spacing: k-spacing(4) !default;
33
+ $kendo-prompt-content-spacing: k-spacing(2) !default;
34
34
  /// The text color of the AIPrompt content.
35
35
  /// @group prompt
36
- $kendo-prompt-content-text: $kendo-component-header-text !default;
36
+ $kendo-prompt-content-text: k-color(on-app-surface) !default;
37
37
  /// The background color of the AIPrompt content.
38
38
  /// @group prompt
39
- $kendo-prompt-content-bg: $kendo-component-header-bg !default;
39
+ $kendo-prompt-content-bg: k-color(app-surface) !default;
40
40
  /// The text border of the AIPrompt content.
41
41
  /// @group prompt
42
- $kendo-prompt-content-border: $kendo-component-header-border !default;
42
+ $kendo-prompt-content-border: k-color(border) !default;
43
43
 
44
44
  /// The spacing between the items of the AIPrompt content expander.
45
45
  /// @group prompt
@@ -50,19 +50,19 @@ $kendo-prompt-expander-spacing: k-spacing(2) !default;
50
50
  $kendo-prompt-suggestion-padding-y: k-spacing(2) !default;
51
51
  /// The horizontal padding of the AIPrompt suggestion container.
52
52
  /// @group prompt
53
- $kendo-prompt-suggestion-padding-x: k-spacing(2) !default;
53
+ $kendo-prompt-suggestion-padding-x: k-spacing(3) !default;
54
54
  /// The border radius of the AIPrompt suggestion container.
55
55
  /// @group prompt
56
- $kendo-prompt-suggestion-border-radius: k-border-radius(md) !default;
56
+ $kendo-prompt-suggestion-border-radius: k-border-radius(xl) !default;
57
57
  /// The text color of the AIPrompt suggestion container.
58
58
  /// @group prompt
59
- $kendo-prompt-suggestion-text: $kendo-component-text !default;
59
+ $kendo-prompt-suggestion-text: k-color(on-app-surface) !default;
60
60
  /// The background color of the AIPrompt suggestion container.
61
61
  /// @group prompt
62
- $kendo-prompt-suggestion-bg: $kendo-body-bg !default;
62
+ $kendo-prompt-suggestion-bg: k-color(surface-alt) !default;
63
63
  /// The border color of the AIPrompt suggestion container.
64
64
  /// @group prompt
65
- $kendo-prompt-suggestion-border: $kendo-component-border !default;
65
+ $kendo-prompt-suggestion-border: k-color(border) !default;
66
66
  /// The elevation of the AIPrompt suggestion container.
67
67
  /// @group prompt
68
68
  $kendo-prompt-suggestion-shadow: k-elevation(1) !default;
@@ -1,3 +1,5 @@
1
+ @use "sass:map";
2
+ @use "./_variables.scss" as *;
1
3
  @use "@progress/kendo-theme-core/scss/components/radio/_layout.scss" as *;
2
4
 
3
5
 
@@ -5,6 +7,39 @@
5
7
 
6
8
  @include kendo-radio--layout-base();
7
9
 
10
+ // RadioButton
11
+ // Hover and Focus indicator
12
+ .k-radio {
13
+ &:hover,
14
+ &.k-hover,
15
+ &:focus,
16
+ &.k-focus,
17
+ &.k-invalid {
18
+ position: relative;
19
+
20
+ &::after {
21
+ content: "";
22
+ display: block;
23
+ position: absolute;
24
+ left: 50%;
25
+ top: 50%;
26
+ border-radius: 100%;
27
+ z-index: -1;
28
+ transform: translate(-50%, -50%);
29
+ }
30
+ }
31
+ }
32
+
33
+ @each $size, $size-props in $kendo-radio-sizes {
34
+ $_size: map.get( $size-props, size );
35
+ $_indicator-size: map.get( $size-props, indicator-size );
36
+
37
+ .k-radio-#{$size}::after {
38
+ width: $_indicator-size;
39
+ height: $_indicator-size;
40
+ }
41
+ }
42
+
8
43
  .k-radio::before {
9
44
  transition: transform linear 280ms;
10
45
  transform-origin: 0 0;
@@ -1,3 +1,4 @@
1
+ @use "./_variables.scss" as *;
1
2
  @use "../core/_index.scss" as *;
2
3
  @use "@progress/kendo-theme-core/scss/components/radio/_theme.scss" as *;
3
4
 
@@ -6,12 +7,116 @@
6
7
 
7
8
  @include kendo-radio--theme-base();
8
9
 
10
+ .k-radio {
11
+ &:hover,
12
+ &.k-hover {
13
+ &::after {
14
+ opacity: .08;
15
+ background-color: k-color(on-app-surface);
16
+ }
17
+
18
+ &:checked,
19
+ &.k-checked {
20
+ &::after {
21
+ background-color: k-color(primary);
22
+ }
23
+ }
24
+
25
+ &.k-invalid::after {
26
+ background-color: k-color(error);
27
+ }
28
+ }
29
+
30
+ &:focus,
31
+ &.k-focus {
32
+ &::after {
33
+ opacity: .12;
34
+ background-color: k-color(on-app-surface);
35
+ }
36
+
37
+ &:checked,
38
+ &.k-checked {
39
+ &::after {
40
+ background-color: k-color(primary);
41
+ }
42
+ }
43
+
44
+ &.k-invalid::after {
45
+ background-color: k-color(error);
46
+ }
47
+ }
48
+
49
+ }
50
+
51
+ .k-ripple-focus.k-radio {
52
+
53
+ &:hover,
54
+ &.k-hover,
55
+ &:focus,
56
+ &.k-focus {
57
+ &::after,
58
+ &:checked::after,
59
+ &.k-checked::after,
60
+ &.k-invalid::after {
61
+ background: $kendo-radio-ripple-bg;
62
+ opacity: $kendo-radio-ripple-opacity;
63
+ }
64
+ }
65
+
66
+ /* Radio Ripple animation */
67
+
68
+ &::after {
69
+ animation: ripple-radio 225ms cubic-bezier(0, 0, 0.2, 1);
70
+ }
71
+
72
+ &:checked,
73
+ &.k-checked {
74
+ &::after {
75
+ animation: ripple-radio-checked 225ms cubic-bezier(0, 0, 0.2, 1);
76
+ }
77
+ }
78
+
79
+
80
+ @keyframes ripple-radio {
81
+ 0% {
82
+ background: radial-gradient(circle, $kendo-radio-ripple-bg 0%, k-color(primary) 50%);
83
+ opacity: 0.08;
84
+ }
85
+ 50% {
86
+ background: radial-gradient(circle, $kendo-radio-ripple-bg 50%, k-color(primary) 100%);
87
+ opacity: $kendo-radio-ripple-opacity;
88
+ }
89
+ 100% {
90
+ background: radial-gradient(circle, k-color(primary) 0%, k-color(primary) 100%);
91
+ opacity: .12;
92
+ }
93
+ }
94
+
95
+ @keyframes ripple-radio-checked {
96
+ 0% {
97
+ background: radial-gradient(circle, $kendo-radio-ripple-bg 0%, k-color(on-app-surface) 50%);
98
+ opacity: 0.08;
99
+ }
100
+ 50% {
101
+ background: radial-gradient(circle, $kendo-radio-ripple-bg 50%, k-color(on-app-surface) 100%);
102
+ opacity: $kendo-radio-ripple-opacity;
103
+ }
104
+ 100% {
105
+ background: radial-gradient(circle, k-color(on-app-surface) 0%, k-color(on-app-surface) 100%);
106
+ opacity: .12;
107
+ }
108
+ }
109
+ }
110
+
9
111
  // Radio
10
112
  // Disabled state
11
- .k-radio:disabled + .k-radio-label {
12
- color: if($kendo-enable-color-system, k-color( subtle ), if( $kendo-is-dark-theme, $light-secondary-text, $dark-secondary-text ));
13
- opacity: 1;
14
- filter: none;
113
+ .k-radio {
114
+ &:disabled,
115
+ &.k-disabled {
116
+ &.k-invalid {
117
+ border-color: $kendo-radio-disabled-border;
118
+ }
119
+ }
15
120
  }
16
121
 
17
122
  }
@@ -15,7 +15,7 @@ $kendo-radio-border-width: 2px !default;
15
15
 
16
16
  /// The size of a small RadioButton.
17
17
  /// @group radio
18
- $kendo-radio-sm-size: k-spacing(3) !default;
18
+ $kendo-radio-sm-size: k-spacing(4) !default;
19
19
  /// The size of a medium RadioButton.
20
20
  /// @group radio
21
21
  $kendo-radio-md-size: k-spacing(4) !default;
@@ -35,13 +35,14 @@ $kendo-radio-lg-glyph-size: k-spacing(4.5) !default;
35
35
 
36
36
  /// The ripple size of a small RadioButton.
37
37
  /// @group radio
38
- $kendo-radio-sm-ripple-size: 300% !default;
38
+ $kendo-radio-sm-ripple-size: k-spacing(8) !default;
39
39
  /// The ripple size of a medium RadioButton.
40
40
  /// @group radio
41
- $kendo-radio-md-ripple-size: 300% !default;
41
+ $kendo-radio-md-ripple-size: k-spacing(10) !default;
42
42
  /// The ripple size of a large RadioButton.
43
43
  /// @group radio
44
- $kendo-radio-lg-ripple-size: 300% !default;
44
+ $kendo-radio-lg-ripple-size: k-spacing(12) !default;
45
+
45
46
 
46
47
  /// The map with the different RadioButton sizes.
47
48
  /// @group radio
@@ -49,17 +50,20 @@ $kendo-radio-sizes: (
49
50
  sm: (
50
51
  size: $kendo-radio-sm-size,
51
52
  glyph-size: $kendo-radio-sm-glyph-size,
52
- ripple-size: $kendo-radio-sm-ripple-size
53
+ ripple-size: $kendo-radio-sm-ripple-size,
54
+ indicator-size: k-spacing(8)
53
55
  ),
54
56
  md: (
55
57
  size: $kendo-radio-md-size,
56
58
  glyph-size: $kendo-radio-md-glyph-size,
57
- ripple-size: $kendo-radio-md-ripple-size
59
+ ripple-size: $kendo-radio-md-ripple-size,
60
+ indicator-size: k-spacing(10)
58
61
  ),
59
62
  lg: (
60
63
  size: $kendo-radio-lg-size,
61
64
  glyph-size: $kendo-radio-lg-glyph-size,
62
- ripple-size: $kendo-radio-lg-ripple-size
65
+ ripple-size: $kendo-radio-lg-ripple-size,
66
+ indicator-size: k-spacing(12)
63
67
  )
64
68
  ) !default;
65
69
 
@@ -88,7 +92,7 @@ $kendo-radio-hover-border: $kendo-checkbox-border !default;
88
92
  $kendo-radio-checked-bg: unset !default;
89
93
  /// The color of the checked RadioButton.
90
94
  /// @group radio
91
- $kendo-radio-checked-text: $kendo-color-primary !default;
95
+ $kendo-radio-checked-text: k-color(primary) !default;
92
96
  /// The border color of the checked RadioButton.
93
97
  /// @group radio
94
98
  $kendo-radio-checked-border: $kendo-radio-checked-text !default;
@@ -99,7 +103,6 @@ $kendo-radio-focus-border: $kendo-checkbox-focus-border !default;
99
103
  /// The box shadow of the focused RadioButton.
100
104
  /// @group radio
101
105
  $kendo-radio-focus-shadow: $kendo-checkbox-focus-shadow !default;
102
-
103
106
  /// The border color of the focused and checked RadioButton.
104
107
  /// @group radio
105
108
  $kendo-radio-focus-checked-border: $kendo-checkbox-focus-checked-border !default;
@@ -109,20 +112,20 @@ $kendo-radio-focus-checked-shadow: $kendo-checkbox-focus-checked-shadow !default
109
112
 
110
113
  /// The background color of the disabled RadioButton.
111
114
  /// @group radio
112
- $kendo-radio-disabled-bg: unset !default;
115
+ $kendo-radio-disabled-bg: null !default;
113
116
  /// The color of the disabled RadioButton.
114
117
  /// @group radio
115
- $kendo-radio-disabled-text: unset !default;
118
+ $kendo-radio-disabled-text: k-color(on-app-surface) !default;
116
119
  /// The border color of the disabled RadioButton.
117
120
  /// @group radio
118
- $kendo-radio-disabled-border: $kendo-checkbox-disabled-border !default;
121
+ $kendo-radio-disabled-border: k-color(on-app-surface) !default;
119
122
 
120
123
  /// The background color of the disabled and checked RadioButton.
121
124
  /// @group radio
122
- $kendo-radio-disabled-checked-bg: unset !default;
125
+ $kendo-radio-disabled-checked-bg: $kendo-radio-disabled-bg !default;
123
126
  /// The color of the disabled and checked RadioButton.
124
127
  /// @group radio
125
- $kendo-radio-disabled-checked-text: $kendo-radio-disabled-border !default;
128
+ $kendo-radio-disabled-checked-text: $kendo-radio-disabled-text !default;
126
129
  /// The border color of disabled and checked RadioButton.
127
130
  /// @group radio
128
131
  $kendo-radio-disabled-checked-border: $kendo-radio-disabled-border !default;
@@ -163,7 +166,7 @@ $kendo-radio-disabled-checked-image: k-escape-svg( url("data:image/svg+xml,<svg
163
166
 
164
167
  /// The horizontal margin of the RadioButton inside of a label.
165
168
  /// @group radio
166
- $kendo-radio-label-margin-x: k-spacing(1) !default;
169
+ $kendo-radio-label-margin-x: k-spacing(4) !default;
167
170
 
168
171
 
169
172
  // Radio list
@@ -183,7 +186,7 @@ $kendo-radio-list-item-padding-y: $kendo-list-md-item-padding-y !default;
183
186
 
184
187
  /// The background color of the RadioButton ripple..
185
188
  /// @group radio
186
- $kendo-radio-ripple-bg: $kendo-color-primary !default;
189
+ $kendo-radio-ripple-bg: k-color(primary) !default;
187
190
  /// The opacity of the RadioButton ripple.
188
191
  /// @group radio
189
192
  $kendo-radio-ripple-opacity: .2 !default;
@@ -14,11 +14,11 @@ $kendo-rating-line-height: var( --kendo-line-height, normal ) !default;
14
14
 
15
15
  /// The horizontal margin of the Rating container.
16
16
  /// @group rating
17
- $kendo-rating-container-margin-x: calc( #{k-spacing(2)} / 2 ) !default;
17
+ $kendo-rating-container-margin-x: k-spacing(1) !default;
18
18
 
19
19
  /// The horizontal padding of the Rating item.
20
20
  /// @group rating
21
- $kendo-rating-item-padding-x: calc( #{k-spacing(2)} / 2 ) !default;
21
+ $kendo-rating-item-padding-x: k-spacing(1) !default;
22
22
  /// The vertical padding of the Rating item.
23
23
  /// @group rating
24
24
  $kendo-rating-item-padding-y: k-spacing(1) !default;
@@ -31,20 +31,20 @@ $kendo-rating-label-margin-x: k-spacing(2) !default;
31
31
  $kendo-rating-label-margin-y: k-spacing(1) !default;
32
32
  /// The line height of the Rating label.
33
33
  /// @group rating
34
- $kendo-rating-label-line-height: $kendo-line-height-lg !default;
34
+ $kendo-rating-label-line-height: var( --kendo-line-height-lg, normal ) !default;
35
35
 
36
36
  /// The text color of the Rating icon.
37
37
  /// @group rating
38
- $kendo-rating-icon-text: $kendo-subtle-text !default;
38
+ $kendo-rating-icon-text: k-color(subtle) !default;
39
39
  /// The text color of the selected Rating icon.
40
40
  /// @group rating
41
- $kendo-rating-icon-selected-text: $kendo-color-primary-darker !default;
41
+ $kendo-rating-icon-selected-text: k-color(primary-active) !default;
42
42
  /// The text color of the hovered Rating icon.
43
43
  /// @group rating
44
- $kendo-rating-icon-hover-text: $kendo-color-primary-darker !default;
44
+ $kendo-rating-icon-hover-text: k-color(primary-active) !default;
45
45
  /// The text color of the focused Rating icon.
46
46
  /// @group rating
47
- $kendo-rating-icon-focus-text: $kendo-color-primary-darker !default;
47
+ $kendo-rating-icon-focus-text: k-color(primary-active) !default;
48
48
 
49
49
  /// The shadow of the focused Rating icon.
50
50
  /// @group rating
@@ -7,51 +7,13 @@
7
7
 
8
8
  @include kendo-scheduler--layout-base();
9
9
 
10
-
11
- .k-scheduler-footer {
12
- border-top-width: 1px;
13
- }
14
-
15
-
16
- // Scheduler navigation
17
- .k-scheduler-navigation {}
18
-
19
-
20
- // View switcher
21
- .k-scheduler-views {}
22
-
23
-
24
- // View header
25
- .k-scheduler-header {
26
- text-align: start;
27
-
28
- th,
29
- td {
30
- font-size: var( --kendo-font-size-sm, inherit );
31
- }
32
- }
33
-
34
-
35
- // Times header
36
- .k-scheduler-times {
37
- font-size: var( --kendo-font-size-sm, inherit );
38
- }
39
-
40
-
41
10
  // Appointments
42
11
  kendo-scheduler .k-event,
43
12
  .k-event {
44
13
 
45
- &.k-selected {
46
- &::before {
47
- display: block;
48
- }
49
- }
50
-
51
14
  // Angular fix for stronger selector and smaller padding
52
15
  .k-event-template {
53
16
  & { // stylelint-disable-line
54
- padding-block: k-spacing(0.5);
55
17
  padding-inline: k-spacing(2);
56
18
  }
57
19
  }
@@ -66,16 +28,9 @@
66
28
 
67
29
  .k-event {
68
30
  .k-event-delete {
31
+ margin-block-start: k-spacing(1);
69
32
  border-radius: 50%;
70
- display: inline-block;
71
- font-size: var( --kendo-font-size-sm, inherit );
72
- line-height: normal;
73
-
74
- .k-icon {
75
- padding: calc( var( --kendo-font-size, .875rem) - var( --kendo-font-size-sm, .75rem) );
76
- box-sizing: content-box;
77
- vertical-align: unset;
78
- }
33
+ display: flex;
79
34
  }
80
35
 
81
36
  .k-resize-handle {
@@ -108,52 +63,10 @@
108
63
 
109
64
  .k-more-events {
110
65
  border-width: 0;
111
- box-shadow: none;
112
66
  }
113
67
 
114
68
  .k-scheduler-layout-flex .k-scheduler-cell {
115
69
  min-height: $kendo-line-height-em;
116
70
  }
117
71
 
118
- // Month view
119
- .k-scheduler-monthview {
120
- .k-scheduler-table td {
121
- height: 85px;
122
- }
123
- }
124
-
125
-
126
- .k-scheduler-edit-form {
127
-
128
- .k-edit-label {
129
- width: auto;
130
- margin-bottom: .5em;
131
-
132
- label { margin-bottom: 0; }
133
- }
134
-
135
- .k-edit-field {
136
- width: auto;
137
- align-items: center;
138
- }
139
-
140
- }
141
-
142
- .k-edit-field .k-reset {
143
- width: 100%;
144
- }
145
- .k-edit-field .k-widget {
146
- font-size: inherit;
147
- }
148
- .k-edit-field .k-reset .k-widget {
149
- margin-right: 0;
150
- }
151
-
152
- .k-scheduler-timezones .k-edit-field > div {
153
- width: 100%;
154
- }
155
- .k-scheduler-timezones .k-edit-field .k-widget {
156
- width: 45%;
157
- }
158
-
159
72
  }
@@ -10,13 +10,13 @@
10
10
 
11
11
  .k-scheduler-layout td.k-selected,
12
12
  .k-scheduler-layout .k-scheduler-cell.k-selected {
13
- background-color: if($kendo-enable-color-system, color-mix(in srgb, k-color( secondary ) 25%, transparent), rgba($kendo-selected-bg, .25));
13
+ background-color: color-mix(in srgb, k-color(secondary) 25%, transparent);
14
14
  }
15
15
 
16
16
  // Agenda view
17
17
  .k-scheduler-agendaview {
18
18
  .k-scheduler-content tr.k-selected {
19
- background-color: if($kendo-enable-color-system, color-mix(in srgb, k-color( secondary ) 25%, transparent), rgba($kendo-selected-bg, .25));
19
+ background-color: color-mix(in srgb, k-color(secondary) 25%, transparent);
20
20
  }
21
21
  }
22
22
 
@@ -32,7 +32,7 @@
32
32
 
33
33
  .k-resize-handle::before {
34
34
  // TODO: $kendo-scheduler-content-area-bg
35
- background-color: $kendo-color-primary-contrast;
35
+ background-color: k-color(on-primary);
36
36
  }
37
37
  }
38
38