@progress/kendo-theme-fluent 12.0.0-dev.1 → 12.0.0-dev.3

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 (191) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/fluent-1-dark.css +1 -0
  3. package/dist/fluent-1-dark.scss +157 -0
  4. package/dist/fluent-1.css +1 -0
  5. package/dist/fluent-1.scss +157 -0
  6. package/dist/fluent-main-dark.css +1 -1
  7. package/dist/fluent-main-dark.scss +145 -145
  8. package/dist/fluent-main.css +1 -1
  9. package/dist/meta/sassdoc-data.json +12553 -15657
  10. package/dist/meta/sassdoc-raw-data.json +4305 -5755
  11. package/dist/meta/variables.json +2154 -2441
  12. package/lib/swatches/all.json +1 -1
  13. package/lib/swatches/fluent-1-dark.json +757 -0
  14. package/lib/swatches/fluent-1.json +757 -0
  15. package/lib/swatches/fluent-main-dark.json +151 -151
  16. package/lib/swatches/fluent-main.json +5 -5
  17. package/package.json +4 -4
  18. package/scss/action-buttons/_variables.scss +3 -3
  19. package/scss/action-sheet/_layout.scss +4 -4
  20. package/scss/action-sheet/_theme.scss +0 -16
  21. package/scss/action-sheet/_variables.scss +12 -12
  22. package/scss/adaptive/_theme.scss +1 -1
  23. package/scss/appbar/_theme.scss +9 -1
  24. package/scss/appbar/_variables.scss +21 -3
  25. package/scss/badge/_theme.scss +6 -0
  26. package/scss/badge/_variables.scss +5 -5
  27. package/scss/bottom-navigation/_layout.scss +0 -17
  28. package/scss/bottom-navigation/_theme.scss +4 -12
  29. package/scss/bottom-navigation/_variables.scss +0 -10
  30. package/scss/breadcrumb/_layout.scss +0 -12
  31. package/scss/breadcrumb/_theme.scss +30 -17
  32. package/scss/breadcrumb/_variables.scss +31 -31
  33. package/scss/bubble/_theme.scss +2 -2
  34. package/scss/bubble/_variables.scss +2 -2
  35. package/scss/button/_layout.scss +15 -20
  36. package/scss/button/_theme.scss +100 -94
  37. package/scss/button/_variables.scss +22 -62
  38. package/scss/calendar/_layout.scss +13 -60
  39. package/scss/calendar/_theme.scss +63 -91
  40. package/scss/calendar/_variables.scss +23 -32
  41. package/scss/captcha/_variables.scss +2 -2
  42. package/scss/card/_layout.scss +6 -0
  43. package/scss/card/_theme.scss +5 -0
  44. package/scss/card/_variables.scss +8 -8
  45. package/scss/chart-wizard/_variables.scss +1 -1
  46. package/scss/chat/_layout.scss +4 -18
  47. package/scss/chat/_theme.scss +10 -2
  48. package/scss/chat/_variables.scss +4 -4
  49. package/scss/checkbox/_layout.scss +6 -3
  50. package/scss/checkbox/_theme.scss +12 -0
  51. package/scss/checkbox/_variables.scss +8 -8
  52. package/scss/chip/_layout.scss +7 -11
  53. package/scss/chip/_theme.scss +43 -25
  54. package/scss/chip/_variables.scss +15 -24
  55. package/scss/coloreditor/_layout.scss +2 -2
  56. package/scss/coloreditor/_variables.scss +14 -14
  57. package/scss/colorgradient/_layout.scss +17 -1
  58. package/scss/colorgradient/_theme.scss +21 -16
  59. package/scss/colorgradient/_variables.scss +4 -4
  60. package/scss/colorpalette/_layout.scss +0 -2
  61. package/scss/colorpalette/_theme.scss +1 -9
  62. package/scss/colorpalette/_variables.scss +3 -24
  63. package/scss/column-menu/_variables.scss +6 -6
  64. package/scss/core/border-radii/_index.scss +4 -4
  65. package/scss/core/color-system/_palettes.scss +240 -556
  66. package/scss/core/color-system/_swatch.scss +144 -144
  67. package/scss/core/elevation/_index.scss +16 -16
  68. package/scss/core/typography/_index.scss +25 -1
  69. package/scss/dialog/_layout.scss +0 -24
  70. package/scss/dialog/_variables.scss +3 -23
  71. package/scss/dock-manager/_layout.scss +14 -2
  72. package/scss/dock-manager/_theme.scss +9 -0
  73. package/scss/dock-manager/_variables.scss +9 -9
  74. package/scss/drawer/_layout.scss +8 -4
  75. package/scss/drawer/_theme.scss +4 -2
  76. package/scss/drawer/_variables.scss +33 -20
  77. package/scss/dropzone/_layout.scss +1 -0
  78. package/scss/dropzone/_variables.scss +3 -3
  79. package/scss/expansion-panel/_layout.scss +1 -10
  80. package/scss/expansion-panel/_theme.scss +7 -3
  81. package/scss/expansion-panel/_variables.scss +14 -20
  82. package/scss/fab/_layout.scss +31 -16
  83. package/scss/fab/_theme.scss +16 -9
  84. package/scss/fab/_variables.scss +47 -54
  85. package/scss/filemanager/_theme.scss +8 -0
  86. package/scss/filemanager/_variables.scss +1 -1
  87. package/scss/filter/_layout.scss +3 -22
  88. package/scss/filter/_variables.scss +4 -1
  89. package/scss/floating-label/_layout.scss +0 -4
  90. package/scss/floating-label/_variables.scss +0 -4
  91. package/scss/forms/_layout.scss +0 -7
  92. package/scss/forms/_variables.scss +1 -5
  93. package/scss/gantt/_variables.scss +21 -21
  94. package/scss/grid/_layout.scss +12 -7
  95. package/scss/grid/_theme.scss +1 -1
  96. package/scss/grid/_variables.scss +4 -3
  97. package/scss/imageeditor/_theme.scss +4 -0
  98. package/scss/input/_layout.scss +47 -40
  99. package/scss/input/_theme.scss +46 -38
  100. package/scss/input/_variables.scss +37 -37
  101. package/scss/list/_layout.scss +13 -0
  102. package/scss/list/_variables.scss +54 -42
  103. package/scss/listbox/_theme.scss +1 -1
  104. package/scss/listview/_layout.scss +0 -14
  105. package/scss/listview/_theme.scss +0 -19
  106. package/scss/listview/_variables.scss +3 -37
  107. package/scss/loader/_layout.scss +4 -0
  108. package/scss/loader/_variables.scss +7 -7
  109. package/scss/mediaplayer/_layout.scss +6 -2
  110. package/scss/mediaplayer/_variables.scss +1 -1
  111. package/scss/menu/_layout.scss +9 -2
  112. package/scss/menu/_variables.scss +4 -4
  113. package/scss/messagebox/_layout.scss +4 -0
  114. package/scss/messagebox/_theme.scss +3 -0
  115. package/scss/messagebox/_variables.scss +6 -3
  116. package/scss/notification/_functions.scss +2 -2
  117. package/scss/notification/_theme.scss +0 -4
  118. package/scss/notification/_variables.scss +8 -8
  119. package/scss/pager/_layout.scss +2 -0
  120. package/scss/pager/_variables.scss +1 -1
  121. package/scss/panelbar/_layout.scss +17 -17
  122. package/scss/panelbar/_theme.scss +1 -13
  123. package/scss/panelbar/_variables.scss +15 -18
  124. package/scss/pdf-viewer/_variables.scss +1 -1
  125. package/scss/pivotgrid/_layout.scss +10 -14
  126. package/scss/popover/_layout.scss +3 -16
  127. package/scss/popover/_variables.scss +13 -16
  128. package/scss/popup/_variables.scss +2 -2
  129. package/scss/progressbar/_variables.scss +4 -4
  130. package/scss/prompt/_variables.scss +20 -20
  131. package/scss/radio/_layout.scss +3 -0
  132. package/scss/radio/_theme.scss +8 -0
  133. package/scss/radio/_variables.scss +6 -6
  134. package/scss/rating/_layout.scss +2 -1
  135. package/scss/rating/_theme.scss +2 -13
  136. package/scss/rating/_variables.scss +3 -6
  137. package/scss/scheduler/_layout.scss +0 -10
  138. package/scss/scheduler/_variables.scss +11 -11
  139. package/scss/signature/_layout.scss +0 -8
  140. package/scss/signature/_theme.scss +1 -1
  141. package/scss/signature/_variables.scss +2 -6
  142. package/scss/skeleton/_variables.scss +1 -1
  143. package/scss/slider/_layout.scss +19 -53
  144. package/scss/slider/_theme.scss +27 -0
  145. package/scss/slider/_variables.scss +7 -7
  146. package/scss/split-button/_layout.scss +0 -48
  147. package/scss/split-button/_variables.scss +6 -16
  148. package/scss/splitter/_variables.scss +15 -15
  149. package/scss/spreadsheet/_layout.scss +2 -159
  150. package/scss/spreadsheet/_theme.scss +5 -35
  151. package/scss/spreadsheet/_variables.scss +12 -40
  152. package/scss/stepper/_layout.scss +1 -5
  153. package/scss/stepper/_theme.scss +7 -1
  154. package/scss/stepper/_variables.scss +10 -10
  155. package/scss/suggestion/_layout.scss +9 -0
  156. package/scss/suggestion/_theme.scss +3 -3
  157. package/scss/suggestion/_variables.scss +2 -2
  158. package/scss/switch/_layout.scss +2 -1
  159. package/scss/switch/_variables.scss +9 -9
  160. package/scss/table/_layout.scss +3 -17
  161. package/scss/table/_variables.scss +10 -20
  162. package/scss/tabstrip/_layout.scss +47 -5
  163. package/scss/tabstrip/_theme.scss +1 -2
  164. package/scss/tabstrip/_variables.scss +11 -11
  165. package/scss/taskboard/_layout.scss +3 -2
  166. package/scss/taskboard/_theme.scss +5 -1
  167. package/scss/taskboard/_variables.scss +9 -6
  168. package/scss/timeline/_layout.scss +0 -4
  169. package/scss/timeline/_variables.scss +2 -5
  170. package/scss/timepicker/_layout.scss +0 -3
  171. package/scss/timeselector/_layout.scss +15 -3
  172. package/scss/timeselector/_theme.scss +1 -1
  173. package/scss/timeselector/_variables.scss +16 -16
  174. package/scss/toolbar/_theme.scss +6 -0
  175. package/scss/toolbar/_variables.scss +14 -14
  176. package/scss/tooltip/_layout.scss +0 -9
  177. package/scss/tooltip/_theme.scss +5 -0
  178. package/scss/tooltip/_variables.scss +5 -5
  179. package/scss/treelist/_layout.scss +1 -1
  180. package/scss/treeview/_layout.scss +0 -5
  181. package/scss/treeview/_theme.scss +2 -26
  182. package/scss/treeview/_variables.scss +49 -29
  183. package/scss/typography/_variables.scss +21 -21
  184. package/scss/upload/_layout.scss +16 -3
  185. package/scss/upload/_theme.scss +24 -0
  186. package/scss/upload/_variables.scss +10 -10
  187. package/scss/window/_layout.scss +10 -1
  188. package/scss/window/_theme.scss +7 -0
  189. package/scss/window/_variables.scss +8 -8
  190. package/scss/wizard/_layout.scss +3 -0
  191. package/scss/wizard/_variables.scss +3 -3
@@ -15,13 +15,6 @@
15
15
  @include fill(
16
16
  $color: $kendo-rating-item-selected-text
17
17
  );
18
-
19
- &:hover,
20
- &.k-hover {
21
- @include fill(
22
- $color: $kendo-rating-item-selected-hover-text
23
- );
24
- }
25
18
  }
26
19
 
27
20
  &:hover,
@@ -37,12 +30,8 @@
37
30
  outline-color: $kendo-rating-item-focus-outline;
38
31
  }
39
32
 
40
- &.k-disabled {
41
- @include disabled(
42
- color-mix(in srgb, k-color(on-app-surface) 46%, transparent),
43
- inherit,
44
- transparent
45
- );
33
+ .k-disabled & {
34
+ opacity: .3;
46
35
  }
47
36
  }
48
37
  }
@@ -23,13 +23,13 @@ $kendo-rating-item-padding-x: var( --kendo-rating-item-padding-x, #{k-spacing(0.
23
23
  $kendo-rating-item-padding-y: var( --kendo-rating-item-padding-y, #{k-spacing(2)} ) !default;
24
24
  /// The text color of the Rating item.
25
25
  /// @group rating
26
- $kendo-rating-item-text: var( --kendo-rating-item-text, #{k-color(subtle)} ) !default;
26
+ $kendo-rating-item-text: var( --kendo-rating-item-text, #{k-color(on-app-surface)} ) !default;
27
27
  /// The text color of the hovered Rating item.
28
28
  /// @group rating
29
- $kendo-rating-item-hover-text: var( --kendo-rating-item-hover-text, #{k-color(primary)} ) !default;
29
+ $kendo-rating-item-hover-text: var( --kendo-rating-item-hover-text, #{k-color(on-app-surface)} ) !default;
30
30
  /// The outline width of the focused Rating item.
31
31
  /// @group rating
32
- $kendo-rating-item-focus-outline-width: var( --kendo-rating-item-focus-outline-width, 1px ) !default;
32
+ $kendo-rating-item-focus-outline-width: var( --kendo-rating-item-focus-outline-width, 2px ) !default;
33
33
  /// The outline style of the focused Rating item.
34
34
  /// @group rating
35
35
  $kendo-rating-item-focus-outline-style: var( --kendo-rating-item-focus-outline-style, solid ) !default;
@@ -39,9 +39,6 @@ $kendo-rating-item-focus-outline: var( --kendo-rating-item-focus-outline, curren
39
39
  /// The text color of the selected Rating item.
40
40
  /// @group rating
41
41
  $kendo-rating-item-selected-text: var( --kendo-rating-item-selected-text, #{k-color(on-app-surface)} ) !default;
42
- /// The text color of the selected and hovered Rating item.
43
- /// @group rating
44
- $kendo-rating-item-selected-hover-text: var( --kendo-rating-item-selected-hover-text, #{k-color(primary-active)} ) !default;
45
42
 
46
43
  @forward "@progress/kendo-theme-core/scss/components/rating/_variables.scss" with (
47
44
  $kendo-rating-font-family: $kendo-rating-font-family,
@@ -155,16 +155,6 @@
155
155
  }
156
156
  }
157
157
 
158
- .k-rtl {
159
- .k-scheduler,
160
- &.k-scheduler {
161
- .k-scheduler-agendaday {
162
- float: right;
163
- margin: 0 0 0 .2em;
164
- }
165
- }
166
- }
167
-
168
158
  .k-safari {
169
159
  .k-scheduler-yearview .k-calendar-view .k-month {
170
160
  margin-inline: calc( #{$kendo-scheduler-yearview-calendar-gap} / 2);
@@ -18,17 +18,17 @@ $kendo-scheduler-line-height: var( --kendo-scheduler-line-height, var( --kendo-l
18
18
 
19
19
  /// The background color of the Scheduler.
20
20
  /// @group scheduler
21
- $kendo-scheduler-bg: var( --kendo-scheduler-bg, k-color(surface-alt) ) !default;
21
+ $kendo-scheduler-bg: var( --kendo-scheduler-bg, k-color(app-surface) ) !default;
22
22
  /// The text color of the Scheduler.
23
23
  /// @group scheduler
24
24
  $kendo-scheduler-text: var( --kendo-scheduler-text, k-color(on-app-surface) ) !default;
25
25
  /// The border color of the Scheduler.
26
26
  /// @group scheduler
27
- $kendo-scheduler-border: var( --kendo-scheduler-border, color-mix(in srgb, k-color(border) 16%, transparent) ) !default;
27
+ $kendo-scheduler-border: var( --kendo-scheduler-border, color-mix(in srgb, k-color(border) 26%, transparent) ) !default;
28
28
 
29
29
  /// The background color of the selected row in Scheduler.
30
30
  /// @group scheduler
31
- $kendo-scheduler-selected-bg: var( --kendo-scheduler-selected-bg, k-color(primary-subtle) ) !default;
31
+ $kendo-scheduler-selected-bg: var( --kendo-scheduler-selected-bg, k-color(primary-active) ) !default;
32
32
  /// The text color of the selected row in Scheduler.
33
33
  /// @group scheduler
34
34
  $kendo-scheduler-selected-text: var( --kendo-scheduler-selected-text, $kendo-scheduler-text ) !default;
@@ -38,20 +38,20 @@ $kendo-scheduler-selected-border: var( --kendo-scheduler-selected-border, $kendo
38
38
 
39
39
  /// The background color of the Scheduler ToolBar.
40
40
  /// @group scheduler
41
- $kendo-scheduler-toolbar-bg: var( --kendo-scheduler-toolbar-bg, var( --kendo-toolbar-bg, $kendo-toolbar-bg ) ) !default;
41
+ $kendo-scheduler-toolbar-bg: var( --kendo-scheduler-toolbar-bg, k-color(app-surface) ) !default;
42
42
  /// The text color of the Scheduler ToolBar.
43
43
  /// @group scheduler
44
- $kendo-scheduler-toolbar-text: var( --kendo-scheduler-toolbar-text, var( --kendo-toolbar-text, $kendo-toolbar-text ) ) !default;
44
+ $kendo-scheduler-toolbar-text: var( --kendo-scheduler-toolbar-text, k-color(on-app-surface) ) !default;
45
45
  /// The border color of the Scheduler ToolBar.
46
46
  /// @group scheduler
47
- $kendo-scheduler-toolbar-border: var( --kendo-scheduler-toolbar-border, var( --kendo-toolbar-border, $kendo-toolbar-border ) ) !default;
47
+ $kendo-scheduler-toolbar-border: var( --kendo-scheduler-toolbar-border, k-color(border) ) !default;
48
48
  /// The gradient of the Scheduler ToolBar.
49
49
  /// @group scheduler
50
50
  $kendo-scheduler-toolbar-gradient: var( --kendo-scheduler-toolbar-gradient, null ) !default; // $kendo-toolbar-gradient
51
51
 
52
52
  /// The background color of the Scheduler footer.
53
- /// @group scheduler
54
- $kendo-scheduler-footer-bg: var( --kendo-scheduler-footer-bg, var( --kendo-toolbar-bg, $kendo-toolbar-bg ) ) !default;
53
+ /// @group schedulers
54
+ $kendo-scheduler-footer-bg: var( --kendo-scheduler-footer-bg, k-color(app-surface) ) !default;
55
55
  /// The text color of the Scheduler footer.
56
56
  /// @group scheduler
57
57
  $kendo-scheduler-footer-text: var( --kendo-scheduler-footer-text, var( --kendo-toolbar-text, $kendo-toolbar-text ) ) !default;
@@ -83,7 +83,7 @@ $kendo-scheduler-event-min-height: var( --kendo-scheduler-event-min-height, calc
83
83
  $kendo-scheduler-event-bg: var( --kendo-scheduler-event-bg, k-color(primary) ) !default;
84
84
  /// The text color of the Scheduler event.
85
85
  /// @group scheduler
86
- $kendo-scheduler-event-text: var( --kendo-scheduler-event-text, k-color(app-surface) ) !default;
86
+ $kendo-scheduler-event-text: var( --kendo-scheduler-event-text, k-color(on-primary) ) !default;
87
87
  /// The border color of the Scheduler event.
88
88
  /// @group scheduler
89
89
  $kendo-scheduler-event-border: var( --kendo-scheduler-event-border, $kendo-scheduler-event-bg ) !default;
@@ -96,10 +96,10 @@ $kendo-scheduler-event-shadow: var( --kendo-scheduler-event-shadow, null ) !defa
96
96
 
97
97
  /// The background color of the hovered Scheduler event.
98
98
  /// @group scheduler
99
- $kendo-scheduler-event-hover-bg: var( --kendo-scheduler-event-hover-bg, k-color(base-hover) ) !default;
99
+ $kendo-scheduler-event-hover-bg: var( --kendo-scheduler-event-hover-bg, k-color(primary-hover) ) !default;
100
100
  /// The text color of the hovered Scheduler event.
101
101
  /// @group scheduler
102
- $kendo-scheduler-event-hover-text: var( --kendo-scheduler-event-hover-text, k-color(on-base) ) !default;
102
+ $kendo-scheduler-event-hover-text: var( --kendo-scheduler-event-hover-text, k-color(on-primary) ) !default;
103
103
  /// The border color of the hovered Scheduler event.
104
104
  /// @group scheduler
105
105
  $kendo-scheduler-event-hover-border: var( --kendo-scheduler-event-hover-border, color-mix(in srgb, k-color(border) 10%, transparent) ) !default;
@@ -4,12 +4,4 @@
4
4
 
5
5
  @mixin kendo-signature--layout() {
6
6
  @include kendo-signature--layout-base();
7
-
8
- .k-signature {
9
- &:disabled,
10
- &[disabled],
11
- &.k-disabled {
12
- opacity: $kendo-signature-disabled-opacity;
13
- }
14
- }
15
7
  }
@@ -9,7 +9,7 @@
9
9
  &[disabled],
10
10
  &.k-disabled {
11
11
  .k-signature-line {
12
- border-bottom-color: $kendo-signature-line-disabled-color;
12
+ border-block-end-color: $kendo-signature-line-disabled-color;
13
13
  }
14
14
  }
15
15
  }
@@ -24,10 +24,6 @@ $kendo-signature-sm-padding-y: var( --kendo-signature-sm-padding-y, k-spacing(0.
24
24
  $kendo-signature-md-padding-y: var( --kendo-signature-md-padding-y, k-spacing(1) ) !default;
25
25
  $kendo-signature-lg-padding-y: var( --kendo-signature-lg-padding-y, k-spacing(1.5) ) !default;
26
26
 
27
- /// The opacity of the disabled signature component.
28
- /// @group signature
29
- $kendo-signature-disabled-opacity: var( --kendo-signature-disabled-opacity, .3 ) !default;
30
-
31
27
  /// The bottom-border width of the row line of the signature component.
32
28
  /// @group signature
33
29
  $kendo-signature-line-width: var( --kendo-signature-line-width, 1px ) !default;
@@ -36,10 +32,10 @@ $kendo-signature-line-width: var( --kendo-signature-line-width, 1px ) !default;
36
32
  $kendo-signature-line-style: var( --kendo-signature-line-style, dashed ) !default;
37
33
  /// The color of the row line of the signature component.
38
34
  /// @group signature
39
- $kendo-signature-line-color: var( --kendo-signature-line-color, color-mix(in srgb, k-color(info) 40%, transparent) ) !default;
35
+ $kendo-signature-line-color: var( --kendo-signature-line-color, k-color(info-emphasis) ) !default;
40
36
  /// The color of the row line of the disabled signature component.
41
37
  /// @group signature
42
- $kendo-signature-line-disabled-color: var( --kendo-signature-line-disabled-color, color-mix(in srgb, k-color(on-app-surface) 28%, transparent) ) !default;
38
+ $kendo-signature-line-disabled-color: var( --kendo-signature-line-disabled-color, color-mix(in srgb, k-color(on-app-surface) 30%, transparent) ) !default;
43
39
  /// The width of the row line of the signature component.
44
40
  /// @group signature
45
41
  $kendo-signature-sm-line-size: var( --kendo-signature-sm-line-size, calc( 100% - 2 * #{$kendo-signature-sm-padding-x} ) ) !default;
@@ -17,7 +17,7 @@ $kendo-skeleton-circle-border-radius: var( --kendo-skeleton-circle-border-radius
17
17
 
18
18
  /// The background color of the Skeleton item.
19
19
  /// @group skeleton
20
- $kendo-skeleton-item-bg: var( --kendo-skeleton-item-bg, color-mix(in srgb, k-color(on-app-surface) 23%, transparent) ) !default;
20
+ $kendo-skeleton-item-bg: var( --kendo-skeleton-item-bg, color-mix(in srgb, k-color(on-app-surface) 9%, transparent) ) !default;
21
21
  /// The background color of the Skeleton wave animation.
22
22
  /// @group skeleton
23
23
  $kendo-skeleton-wave-bg: var( --kendo-skeleton-wave-bg, k-color(base) ) !default;
@@ -8,12 +8,10 @@
8
8
  @include kendo-slider--layout-base();
9
9
 
10
10
  .k-slider {
11
- width: min-content;
12
- height: min-content;
13
11
  gap: $kendo-slider-spacing;
14
12
 
15
13
  .k-label {
16
- font-size: .875em;
14
+ font-size: var(--kendo-font-size-sm, inherit);
17
15
  pointer-events: all;
18
16
  }
19
17
 
@@ -25,6 +23,21 @@
25
23
  cursor: default;
26
24
  }
27
25
  }
26
+
27
+ .k-draghandle {
28
+
29
+ &::after {
30
+ content: "";
31
+ display: block;
32
+ position: absolute;
33
+ top: 50%;
34
+ left: 50%;
35
+ transform: translate(-50%, -50%);
36
+ width: 12px;
37
+ height: 12px;
38
+ border-radius: k-border-radius(full);
39
+ }
40
+ }
28
41
  }
29
42
 
30
43
  // Fluent uses k-slider-thumb instead of k-draghandle
@@ -44,6 +57,7 @@
44
57
  transition: none;
45
58
  }
46
59
  }
60
+
47
61
  .k-slider-thumb {
48
62
  width: $kendo-slider-thumb-size;
49
63
  height: $kendo-slider-thumb-size;
@@ -68,6 +82,7 @@
68
82
  display: contents;
69
83
  pointer-events: none;
70
84
  }
85
+
71
86
  .k-slider-tick {
72
87
  background-color: transparent;
73
88
  background-position: center center;
@@ -90,14 +105,13 @@
90
105
 
91
106
  // Horizontal slider
92
107
  .k-horizontal-slider {
93
- width: $kendo-slider-size;
94
108
 
95
109
  .k-slider-track-wrap {
96
110
  height: $kendo-slider-alt-size;
97
111
  }
98
112
 
99
113
  .k-slider-thumb {
100
- top: 50%;
114
+ inset-block-start: 50%;
101
115
  transform: translate(-50%, -50%);
102
116
  }
103
117
  .k-slider-thumb:focus,
@@ -122,60 +136,12 @@
122
136
  }
123
137
  }
124
138
 
125
- // Vertical slider
126
- .k-vertical-slider {
127
- height: $kendo-slider-size;
128
-
129
- .k-slider-track-wrap {
130
- width: $kendo-slider-alt-size;
131
- }
132
- .k-slider-thumb {
133
- left: 50%;
134
- transform: translate(-50%, 50%);
135
- }
136
- .k-slider-thumb:focus,
137
- .k-slider-thumb:active {
138
- transform: if( $kendo-slider-thumb-active-scale, translate(-50%, 50%) scale($kendo-slider-thumb-active-scale), null );
139
- }
140
- .k-slider-thumb-start {
141
- bottom: calc( var( --kendo-slider-start, 0) * 1% );
142
- }
143
- .k-slider-thumb-end {
144
- bottom: calc( var( --kendo-slider-end, 0) * 1% );
145
- }
146
-
147
- // Transitions
148
- &.k-slider-transitions {
149
- .k-slider-selection {
150
- transition: height $kendo-slider-transition-speed $kendo-slider-transition-function;
151
- }
152
- .k-slider-thumb {
153
- transition: bottom $kendo-slider-transition-speed $kendo-slider-transition-function, background-color $kendo-slider-transition-speed $kendo-slider-transition-function, transform $kendo-slider-thumb-transition-speed $kendo-slider-thumb-transition-function;
154
- }
155
- }
156
- }
157
-
158
- // RTL specific for fluent thumb classes
159
- .k-slider-rtl {
160
- &.k-horizontal-slider {
161
- .k-slider-thumb {
162
- transform: translate(50%, -50%);
163
- }
164
- .k-slider-thumb:focus,
165
- .k-slider-thumb:active {
166
- transform: if( $kendo-slider-thumb-active-scale, translate(50%, -50%) scale($kendo-slider-thumb-active-scale), null );
167
- }
168
- }
169
- }
170
-
171
139
  // Aliases - fluent specific thumb classes
172
- .k-slider .k-button { @extend .k-slider-button !optional; }
173
140
  .k-tick { @extend .k-slider-tick !optional; }
174
141
  .k-draghandle { @extend .k-slider-thumb !optional; }
175
142
  .k-draghandle-start { @extend .k-slider-thumb-start !optional; }
176
143
  .k-draghandle-end { @extend .k-slider-thumb-end !optional; }
177
144
  .k-slider-horizontal { @extend .k-horizontal-slider !optional; }
178
- .k-slider-vertical { @extend .k-vertical-slider !optional; }
179
145
  .k-tick-horizontal { @extend .k-slider-tick-vertical !optional; }
180
146
  .k-tick-vertical { @extend .k-slider-tick-horizontal !optional; }
181
147
 
@@ -10,6 +10,28 @@
10
10
  .k-slider {
11
11
  color: $kendo-slider-text;
12
12
 
13
+ .k-slider-thumb {
14
+
15
+ &::after {
16
+ background: k-color(primary);
17
+ }
18
+
19
+ &:hover::after,
20
+ &.k-hover::after {
21
+ background: k-color(primary-hover);
22
+ }
23
+
24
+ &:active::after,
25
+ &.k-active::after,
26
+ &.k-selected::after {
27
+ background: k-color(primary-active);
28
+ }
29
+ }
30
+
31
+ .k-label {
32
+ color: k-color(subtle);
33
+ }
34
+
13
35
  &.k-disabled {
14
36
  color: $kendo-slider-disabled-text;
15
37
 
@@ -23,8 +45,13 @@
23
45
 
24
46
  .k-slider-thumb {
25
47
  border-color: $kendo-slider-thumb-disabled-border;
48
+
49
+ &::after {
50
+ background: color-mix(in srgb, k-color(on-app-surface) 30%, transparent);
51
+ }
26
52
  }
27
53
  }
54
+
28
55
  }
29
56
 
30
57
 
@@ -33,7 +33,7 @@ $kendo-slider-track-size: var( --kendo-slider-track-size, #{k-spacing(1)} ) !def
33
33
  $kendo-slider-track-border-radius: var( --kendo-slider-track-border-radius, #{k-spacing(0.5)} ) !default;
34
34
  /// The background color of the Slider track.
35
35
  /// @group slider
36
- $kendo-slider-track-bg: var( --kendo-slider-track-bg, #{k-color(base-emphasis)} ) !default;
36
+ $kendo-slider-track-bg: var( --kendo-slider-track-bg, #{k-color(border)} ) !default;
37
37
  /// The border color of the Slider track.
38
38
  /// @group slider
39
39
  $kendo-slider-track-border: var( --kendo-slider-track-border, inherit ) !default;
@@ -44,10 +44,10 @@ $kendo-slider-selection-bg: var( --kendo-slider-selection-bg, #{k-color(primary)
44
44
 
45
45
  /// The default size of the Slider thumb.
46
46
  /// @group slider
47
- $kendo-slider-thumb-size: var( --kendo-slider-thumb-size, 16px ) !default;
47
+ $kendo-slider-thumb-size: var( --kendo-slider-thumb-size, 18px ) !default;
48
48
  /// The default border width of the Slider thumb.
49
49
  /// @group slider
50
- $kendo-slider-thumb-border-width: var( --kendo-slider-thumb-border-width, #{k-spacing(0.5)} ) !default;
50
+ $kendo-slider-thumb-border-width: var( --kendo-slider-thumb-border-width, 1px ) !default;
51
51
  /// The border radius of the Slider thumb.
52
52
  /// @group slider
53
53
  $kendo-slider-thumb-border-radius: var( --kendo-slider-thumb-border-radius, 999em ) !default;
@@ -63,7 +63,7 @@ $kendo-slider-thumb-bg: var( --kendo-slider-thumb-bg, #{k-color(surface-alt)} )
63
63
  $kendo-slider-thumb-text: var( --kendo-slider-thumb-text, inherit ) !default;
64
64
  /// The border color of the Slider thumb.
65
65
  /// @group slider
66
- $kendo-slider-thumb-border: var( --kendo-slider-thumb-border, #{k-color(primary)} ) !default;
66
+ $kendo-slider-thumb-border: var( --kendo-slider-thumb-border, color-mix(in srgb, k-color(border) 26%, transparent) ) !default;
67
67
  /// The gradient of the Slider thumb.
68
68
  /// @group slider
69
69
  $kendo-slider-thumb-gradient: var( --kendo-slider-thumb-gradient, transparent ) !default;
@@ -76,7 +76,7 @@ $kendo-slider-thumb-hover-bg: var( --kendo-slider-thumb-hover-bg, #{$kendo-slide
76
76
  $kendo-slider-thumb-hover-text: var( --kendo-slider-thumb-hover-text, inherit ) !default;
77
77
  /// The border color of the hovered Slider thumb.
78
78
  /// @group slider
79
- $kendo-slider-thumb-hover-border: var( --kendo-slider-thumb-hover-border, #{k-color(primary-hover)} ) !default;
79
+ $kendo-slider-thumb-hover-border: var( --kendo-slider-thumb-hover-border, color-mix( in srgb, k-color(border) 34%, transparent ) ) !default;
80
80
  /// The gradient of the hovered Slider thumb.
81
81
  /// @group slider
82
82
  $kendo-slider-thumb-hover-gradient: var( --kendo-slider-thumb-hover-gradient, transparent ) !default;
@@ -112,10 +112,10 @@ $kendo-slider-thumb-focus-gradient: var( --kendo-slider-thumb-focus-gradient, tr
112
112
  $kendo-slider-disabled-text: var( --kendo-slider-disabled-text, #{color-mix(in srgb, k-color(on-app-surface) 70%, transparent)} ) !default;
113
113
  /// The background color of the disabled Slider track.
114
114
  /// @group slider
115
- $kendo-slider-track-disabled-bg: var( --kendo-slider-track-disabled-bg, #{color-mix(in srgb, k-color(on-app-surface) 6%, transparent)} ) !default;
115
+ $kendo-slider-track-disabled-bg: var( --kendo-slider-track-disabled-bg, #{color-mix(in srgb, k-color(on-app-surface) 14%, transparent)} ) !default;
116
116
  /// The background color of the disabled Slider's track selection.
117
117
  /// @group slider
118
- $kendo-slider-selection-disabled-bg: var( --kendo-slider-selection-disabled-bg, #{color-mix(in srgb, k-color(on-app-surface) 46%, transparent)} ) !default;
118
+ $kendo-slider-selection-disabled-bg: var( --kendo-slider-selection-disabled-bg, #{color-mix(in srgb, k-color(on-app-surface) 30%, transparent)} ) !default;
119
119
  /// The background color of the disabled Slider thumb.
120
120
  /// @group slider
121
121
  $kendo-slider-thumb-disabled-border: var( --kendo-slider-thumb-disabled-border, #{color-mix(in srgb, k-color(on-app-surface) 28%, transparent)} ) !default;
@@ -5,52 +5,4 @@
5
5
 
6
6
  @mixin kendo-split-button--layout() {
7
7
  @include kendo-split-button--layout-base();
8
-
9
- .k-split-button {
10
- > .k-button:first-child {
11
- border-inline-end-width: 0;
12
- }
13
-
14
- > .k-button:last-child {
15
- border-inline-start-width: 0;
16
- }
17
- }
18
-
19
- .k-split-button-arrow {
20
- .k-button-icon {
21
- &::after {
22
- content:"";
23
- width: $kendo-split-button-arrow-delimiter-line-size;
24
- height: $kendo-split-button-arrow-delimiter-size;
25
- position: absolute;
26
- top: calc( ( 100% - #{$kendo-split-button-arrow-delimiter-size} ) / 2 );
27
- background: $kendo-split-button-arrow-delimiter-bg;
28
- z-index: 2;
29
- }
30
- }
31
-
32
- @each $size, $size-props in $kendo-split-button-sizes {
33
- &.k-button-#{$size} {
34
- .k-button-icon {
35
- &::after {
36
- inset-inline-start: calc( #{$size-props} * -1 );
37
- }
38
- }
39
- }
40
- }
41
- }
42
-
43
- // Sizes
44
- @each $size, $size-props in $kendo-button-sizes {
45
- $_font-size: map.get( $size-props, font-size );
46
- $_line-height: map.get( $size-props, line-height );
47
-
48
- .k-button-#{$size}.k-split-button-arrow {
49
- .k-button-icon {
50
- min-width: calc( #{$_font-size} * #{$_line-height} );
51
- }
52
- }
53
- }
54
8
  }
55
-
56
-
@@ -3,33 +3,23 @@
3
3
 
4
4
  /// The vertical padding of the small arrow Button.
5
5
  /// @group split-button
6
- $kendo-split-button-sm-arrow-padding-y: var( --kendo-split-button-sm-arrow-padding-y, #{k-spacing(1)} ) !default;
6
+ $kendo-split-button-sm-arrow-padding-y: var( --kendo-split-button-sm-arrow-padding-y, calc( #{k-spacing(0.5)} + 1px ) ) !default;
7
7
  /// The vertical padding of the medium arrow Button.
8
8
  /// @group split-button
9
- $kendo-split-button-md-arrow-padding-y: var( --kendo-split-button-md-arrow-padding-y, #{k-spacing(1.5)} ) !default;
9
+ $kendo-split-button-md-arrow-padding-y: var( --kendo-split-button-md-arrow-padding-y, calc( #{k-spacing(1)} + 1px ) ) !default;
10
10
  /// The vertical padding of the large arrow Button.
11
11
  /// @group split-button
12
- $kendo-split-button-lg-arrow-padding-y: var( --kendo-split-button-lg-arrow-padding-y, #{k-spacing(2)} ) !default;
12
+ $kendo-split-button-lg-arrow-padding-y: var( --kendo-split-button-lg-arrow-padding-y, calc( #{k-spacing(2)} + 1px ) ) !default;
13
13
 
14
14
  /// The horizontal padding of the small arrow Button.
15
15
  /// @group split-button
16
- $kendo-split-button-sm-arrow-padding-x: var( --kendo-split-button-sm-arrow-padding-x, #{k-spacing(1)} ) !default;
16
+ $kendo-split-button-sm-arrow-padding-x: var( --kendo-split-button-sm-arrow-padding-x, calc( #{k-spacing(0.5)} + 1px ) ) !default;
17
17
  /// The horizontal padding of the medium arrow Button.
18
18
  /// @group split-button
19
- $kendo-split-button-md-arrow-padding-x: var( --kendo-split-button-md-arrow-padding-x, #{k-spacing(1.5)} ) !default;
19
+ $kendo-split-button-md-arrow-padding-x: var( --kendo-split-button-md-arrow-padding-x, calc( #{k-spacing(0.5)} + 1px ) ) !default;
20
20
  /// The horizontal padding of the large arrow Button.
21
21
  /// @group split-button
22
- $kendo-split-button-lg-arrow-padding-x: var( --kendo-split-button-lg-arrow-padding-x, #{k-spacing(2)} ) !default;
23
-
24
- /// The height of the SplitButton arrow delimiter.
25
- /// @group split-button
26
- $kendo-split-button-arrow-delimiter-size: calc( #{$kendo-button-inner-calc-size} / 2 ) !default;
27
- /// The width of the SplitButton arrow delimiter.
28
- /// @group split-button
29
- $kendo-split-button-arrow-delimiter-line-size: var( --kendo-split-button-arrow-delimiter-line-size, 1px ) !default;
30
- /// The background color of the SplitButton arrow delimiter.
31
- /// @group split-button
32
- $kendo-split-button-arrow-delimiter-bg: var( --kendo-split-button-arrow-delimiter-bg, #{color-mix(in srgb, k-color(on-app-surface) 28%, transparent)} ) !default;
22
+ $kendo-split-button-lg-arrow-padding-x: var( --kendo-split-button-lg-arrow-padding-x, calc( #{k-spacing(1.5)} + 1px ) ) !default;
33
23
 
34
24
  /// The sizes map for the SplitButton.
35
25
  /// @group split-button
@@ -16,58 +16,58 @@ $kendo-splitter-font-family: var( --kendo-splitter-font-family, var( --kendo-fon
16
16
 
17
17
  /// The background color of the Splitter.
18
18
  /// @group splitter
19
- $kendo-splitter-bg: var( --kendo-splitter-bg, #{k-color(surface-alt)} ) !default;
19
+ $kendo-splitter-bg: var( --kendo-splitter-bg, k-color(surface-alt) ) !default;
20
20
  /// The text color of the Splitter.
21
21
  /// @group splitter
22
- $kendo-splitter-text: var( --kendo-splitter-text, #{k-color(on-app-surface)} ) !default;
22
+ $kendo-splitter-text: var( --kendo-splitter-text, k-color(base-on-surface) ) !default;
23
23
  /// The border color of the Splitter.
24
24
  /// @group splitter
25
- $kendo-splitter-border: var( --kendo-splitter-border, #{color-mix(in srgb, k-color(border) 16%, transparent)} ) !default;
25
+ $kendo-splitter-border: var( --kendo-splitter-border, color-mix(in srgb, k-color(border) 26%, transparent) ) !default;
26
26
 
27
27
  /// The size of the Splitter split bar.
28
28
  /// @group splitter
29
- $kendo-splitter-splitbar-size: var( --kendo-splitter-splitbar-size, #{k-spacing(3)} ) !default;
29
+ $kendo-splitter-splitbar-size: var( --kendo-splitter-splitbar-size, k-spacing(3) ) !default;
30
30
  /// The length of the Splitter drag handle.
31
31
  /// @group splitter
32
- $kendo-splitter-drag-handle-length: var( --kendo-splitter-drag-handle-length, #{k-spacing(5)} ) !default;
32
+ $kendo-splitter-drag-handle-length: var( --kendo-splitter-drag-handle-length, k-spacing(5) ) !default;
33
33
  /// The thickness of the Splitter drag handle.
34
34
  /// @group splitter
35
- $kendo-splitter-drag-handle-thickness: var( --kendo-splitter-drag-handle-thickness, #{k-spacing(0.5)} ) !default;
35
+ $kendo-splitter-drag-handle-thickness: var( --kendo-splitter-drag-handle-thickness, k-spacing(0.5) ) !default;
36
36
  /// The margin of the Splitter drag handle icon.
37
37
  /// @group splitter
38
- $kendo-splitter-drag-icon-margin: var( --kendo-splitter-drag-icon-margin, #{k-spacing(2)} ) !default;
38
+ $kendo-splitter-drag-icon-margin: var( --kendo-splitter-drag-icon-margin, k-spacing(2) ) !default;
39
39
 
40
40
  /// The horizontal padding of the collapse icon in the Splitter.
41
41
  /// @group splitter
42
42
  $kendo-splitter-collapse-icon-padding-x: var( --kendo-splitter-collapse-icon-padding-x, null ) !default;
43
43
  /// The vertical padding of the collapse icon in the Splitter.
44
44
  /// @group splitter
45
- $kendo-splitter-collapse-icon-padding-y: var( --kendo-splitter-collapse-icon-padding-y, #{k-spacing(.5)} ) !default;
45
+ $kendo-splitter-collapse-icon-padding-y: var( --kendo-splitter-collapse-icon-padding-y, k-spacing(.5) ) !default;
46
46
 
47
47
  /// The background color of the Splitter split bar.
48
48
  /// @group splitter
49
- $kendo-splitbar-bg: var( --kendo-splitbar-bg, #{k-color(surface)} ) !default;
49
+ $kendo-splitbar-bg: var( --kendo-splitbar-bg, color-mix(in srgb, k-color(border) 26%, transparent) ) !default;
50
50
  /// The text color of the Splitter split bar.
51
51
  /// @group splitter
52
- $kendo-splitbar-text: var( --kendo-splitbar-text, #{k-color(on-app-surface)} ) !default;
52
+ $kendo-splitbar-text: var( --kendo-splitbar-text, k-color(base-on-subtle) ) !default;
53
53
 
54
54
  /// The hover background color of the Splitter split bar.
55
55
  /// @group splitter
56
- $kendo-splitbar-hover-bg: var( --kendo-splitbar-hover-bg, #{k-color(base-hover)} ) !default;
56
+ $kendo-splitbar-hover-bg: var( --kendo-splitbar-hover-bg, color-mix( in srgb, k-color(border) 34%, transparent ) ) !default;
57
57
  /// The hover text color of the Splitter split bar.
58
58
  /// @group splitter
59
- $kendo-splitbar-hover-text: var( --kendo-splitbar-hover-text, #{$kendo-splitbar-text} ) !default;
59
+ $kendo-splitbar-hover-text: var( --kendo-splitbar-hover-text, $kendo-splitbar-text ) !default;
60
60
 
61
61
  /// The selected background color of the Splitter split bar.
62
62
  /// @group splitter
63
- $kendo-splitbar-selected-bg: var( --kendo-splitbar-selected-bg, #{k-color(primary)} ) !default;
63
+ $kendo-splitbar-selected-bg: var( --kendo-splitbar-selected-bg, k-color(primary) ) !default;
64
64
  /// The selected text color of the Splitter split bar.
65
65
  /// @group splitter
66
- $kendo-splitbar-selected-text: var( --kendo-splitbar-selected-text, #{k-color(surface-alt)} ) !default;
66
+ $kendo-splitbar-selected-text: var( --kendo-splitbar-selected-text, k-color(on-primary) ) !default;
67
67
 
68
68
  /// The size of the Splitter static split bar.
69
69
  /// @group splitter
70
- $kendo-splitter-splitbar-static-size: var( --kendo-splitter-splitbar-static-size, #{k-spacing(0.5)} ) !default;
70
+ $kendo-splitter-splitbar-static-size: var( --kendo-splitter-splitbar-static-size, k-spacing(0.5) ) !default;
71
71
 
72
72
  @forward "@progress/kendo-theme-core/scss/components/splitter/_variables.scss" with (
73
73
  $kendo-splitter-border-width: $kendo-splitter-border-width,