@progress/kendo-theme-classic 4.43.1-dev.7 → 4.43.1-dev.8

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 (70) hide show
  1. package/dist/all.css +5163 -4924
  2. package/dist/all.scss +1107 -765
  3. package/modules/@progress/kendo-theme-default/package.json +2 -2
  4. package/modules/@progress/kendo-theme-default/scss/action-buttons/_layout.scss +7 -0
  5. package/modules/@progress/kendo-theme-default/scss/action-sheet/_layout.scss +6 -0
  6. package/modules/@progress/kendo-theme-default/scss/appbar/_layout.scss +6 -1
  7. package/modules/@progress/kendo-theme-default/scss/autocomplete/_layout.scss +6 -0
  8. package/modules/@progress/kendo-theme-default/scss/avatar/_layout.scss +6 -0
  9. package/modules/@progress/kendo-theme-default/scss/badge/_layout.scss +6 -0
  10. package/modules/@progress/kendo-theme-default/scss/bottom-navigation/_layout.scss +6 -0
  11. package/modules/@progress/kendo-theme-default/scss/breadcrumb/_layout.scss +6 -0
  12. package/modules/@progress/kendo-theme-default/scss/button/_layout.scss +9 -3
  13. package/modules/@progress/kendo-theme-default/scss/captcha/_layout.scss +6 -0
  14. package/modules/@progress/kendo-theme-default/scss/card/_layout.scss +6 -0
  15. package/modules/@progress/kendo-theme-default/scss/chat/_layout.scss +3 -2
  16. package/modules/@progress/kendo-theme-default/scss/chip/_layout.scss +6 -0
  17. package/modules/@progress/kendo-theme-default/scss/color-preview/_layout.scss +6 -0
  18. package/modules/@progress/kendo-theme-default/scss/coloreditor/_layout.scss +6 -0
  19. package/modules/@progress/kendo-theme-default/scss/colorgradient/_layout.scss +6 -0
  20. package/modules/@progress/kendo-theme-default/scss/colorpalette/_layout.scss +6 -0
  21. package/modules/@progress/kendo-theme-default/scss/colorpicker/_layout.scss +6 -3
  22. package/modules/@progress/kendo-theme-default/scss/combobox/_layout.scss +6 -1
  23. package/modules/@progress/kendo-theme-default/scss/dateinput/_layout.scss +7 -1
  24. package/modules/@progress/kendo-theme-default/scss/datepicker/_layout.scss +6 -0
  25. package/modules/@progress/kendo-theme-default/scss/daterangepicker/_layout.scss +6 -0
  26. package/modules/@progress/kendo-theme-default/scss/datetimepicker/_layout.scss +6 -2
  27. package/modules/@progress/kendo-theme-default/scss/drawer/_layout.scss +6 -0
  28. package/modules/@progress/kendo-theme-default/scss/dropdownlist/_layout.scss +6 -1
  29. package/modules/@progress/kendo-theme-default/scss/expansion-panel/_layout.scss +6 -1
  30. package/modules/@progress/kendo-theme-default/scss/fab/_layout.scss +6 -0
  31. package/modules/@progress/kendo-theme-default/scss/filter/_layout.scss +8 -0
  32. package/modules/@progress/kendo-theme-default/scss/floating-label/_layout.scss +7 -0
  33. package/modules/@progress/kendo-theme-default/scss/imageeditor/_layout.scss +6 -0
  34. package/modules/@progress/kendo-theme-default/scss/list/_layout.scss +10 -13
  35. package/modules/@progress/kendo-theme-default/scss/list/_theme.scss +4 -4
  36. package/modules/@progress/kendo-theme-default/scss/map/_layout.scss +7 -0
  37. package/modules/@progress/kendo-theme-default/scss/maskedtextbox/_layout.scss +6 -0
  38. package/modules/@progress/kendo-theme-default/scss/mediaplayer/_layout.scss +6 -0
  39. package/modules/@progress/kendo-theme-default/scss/multiselect/_layout.scss +6 -0
  40. package/modules/@progress/kendo-theme-default/scss/notification/_layout.scss +6 -0
  41. package/modules/@progress/kendo-theme-default/scss/numerictextbox/_layout.scss +6 -2
  42. package/modules/@progress/kendo-theme-default/scss/orgchart/_layout.scss +6 -0
  43. package/modules/@progress/kendo-theme-default/scss/pager/_layout.scss +6 -2
  44. package/modules/@progress/kendo-theme-default/scss/panelbar/_layout.scss +6 -0
  45. package/modules/@progress/kendo-theme-default/scss/pivotgrid/_layout.scss +55 -83
  46. package/modules/@progress/kendo-theme-default/scss/pivotgrid/_theme.scss +39 -73
  47. package/modules/@progress/kendo-theme-default/scss/popover/_layout.scss +6 -0
  48. package/modules/@progress/kendo-theme-default/scss/progressbar/_layout.scss +6 -0
  49. package/modules/@progress/kendo-theme-default/scss/rating/_layout.scss +6 -1
  50. package/modules/@progress/kendo-theme-default/scss/scheduler/_layout.scss +6 -0
  51. package/modules/@progress/kendo-theme-default/scss/searchbox/_layout.scss +6 -0
  52. package/modules/@progress/kendo-theme-default/scss/slider/_layout.scss +6 -2
  53. package/modules/@progress/kendo-theme-default/scss/stepper/_layout.scss +6 -1
  54. package/modules/@progress/kendo-theme-default/scss/switch/_layout.scss +14 -9
  55. package/modules/@progress/kendo-theme-default/scss/switch/_variables.scss +127 -33
  56. package/modules/@progress/kendo-theme-default/scss/tabstrip/_layout.scss +11 -3
  57. package/modules/@progress/kendo-theme-default/scss/taskboard/_layout.scss +6 -2
  58. package/modules/@progress/kendo-theme-default/scss/textarea/_layout.scss +7 -1
  59. package/modules/@progress/kendo-theme-default/scss/textbox/_layout.scss +6 -0
  60. package/modules/@progress/kendo-theme-default/scss/timeline/_layout.scss +6 -4
  61. package/modules/@progress/kendo-theme-default/scss/timepicker/_layout.scss +6 -1
  62. package/modules/@progress/kendo-theme-default/scss/toolbar/_index.scss +1 -0
  63. package/modules/@progress/kendo-theme-default/scss/tooltip/_layout.scss +6 -1
  64. package/modules/@progress/kendo-theme-default/scss/treeview/_layout.scss +7 -2
  65. package/modules/@progress/kendo-theme-default/scss/upload/_layout.scss +6 -1
  66. package/package.json +3 -3
  67. package/scss/checkbox/_variables.scss +1 -1
  68. package/scss/switch/_variables.scss +142 -48
  69. package/scss/toolbar/_index.scss +1 -0
  70. package/scss/treeview/_variables.scss +1 -1
@@ -1,18 +1,23 @@
1
1
  // Switch
2
- $switch-size: 60px !default;
2
+ $switch-size: 56px !default;
3
3
  $switch-border-radius: 9999px !default;
4
4
 
5
+ /// Font family of the switch.
6
+ /// @group switch
5
7
  $switch-font-family: $font-family !default;
6
- $switch-font-size: $font-size-xs !default;
7
- $switch-line-height: $line-height !default;
8
+ $switch-font-size: $font-size-sm !default;
8
9
 
9
10
  $switch-track-size: null !default;
10
- $switch-container-border-width: 0px !default;
11
- $switch-container-padding-x: 0px !default;
11
+ /// Border width of the switch track.
12
+ /// @group switch
13
+ $switch-container-border-width: 1px !default;
14
+ $switch-container-padding-x: 2px !default;
12
15
  $switch-container-padding-y: $switch-container-padding-x !default;
13
16
 
14
- $switch-handle-size: 30px !default;
17
+ $switch-handle-size: 24px !default;
15
18
  $switch-handle-border-radius: 9999px !default;
19
+ /// Border width of the switch thumb.
20
+ /// @group switch
16
21
  $switch-handle-border-width: 1px !default;
17
22
  $switch-thumb-start-x: 0px !default;
18
23
  // TODO: Remove width property from jQuery and Blazor, and do not use 100% for thumb X calc
@@ -20,65 +25,154 @@ $switch-thumb-end-x: calc( 100% - #{$switch-handle-size}) !default;
20
25
 
21
26
  $switch-label-offset: 8px !default;
22
27
  $switch-label-width: calc( 100% - (#{$switch-handle-size} + #{$switch-label-offset} + #{$switch-container-padding-x} ) ) !default;
23
- $switch-label-text-transform: uppercase !default;
28
+ /// Text transform of the switch label.
29
+ /// @group switch
30
+ $switch-label-text-transform: null !default;
31
+ /// Display of the switch label.
32
+ /// @group switch
24
33
  $switch-label-display: inline !default;
25
34
 
26
- $switch-container-shadow: inset 0 0 0 1px $base-border !default;
27
- $switch-container-hovered-shadow: inset 0 0 0 1px $hovered-border !default;
28
- $switch-container-focused-shadow: inset 0 0 0 3px rgba( black, .06) !default;
29
-
30
- $switch-on-bg: $primary !default;
31
- $switch-on-text: contrast-wcag( $switch-on-bg ) !default;
32
- $switch-on-border: null !default;
33
- $switch-on-gradient: null !default;
34
- $switch-on-shadow: null !default;
35
-
36
- $switch-on-hovered-bg: shade( $switch-on-bg ) !default;
37
- $switch-on-hovered-text: $switch-on-text !default;
38
- $switch-on-hovered-border: null !default;
39
- $switch-on-hovered-gradient: null !default;
40
-
41
- $switch-on-focused-bg: null !default;
42
- $switch-on-focused-text: null !default;
43
- $switch-on-focused-border: null !default;
44
- $switch-on-focused-gradient: null !default;
45
- $switch-on-focused-shadow: null !default;
46
-
47
- $switch-on-handle-bg: darken( white, 5 ) !default;
48
- $switch-on-handle-text: $switch-on-text !default;
49
- $switch-on-handle-border: $base-border !default;
50
- $switch-on-handle-gradient: null !default;
51
- $switch-on-handle-shadow: null !default;
52
-
53
- $switch-on-handle-hovered-bg: darken( white, 7 ) !default;
54
- $switch-on-handle-hovered-text: $switch-on-text !default;
55
- $switch-on-handle-hovered-border: $hovered-border !default;
56
- $switch-on-handle-hovered-gradient: null !default;
35
+ $switch-container-shadow: null !default;
36
+ $switch-container-hovered-shadow: null !default;
37
+ $switch-container-focused-shadow: 0 0 3px 1px rgba( if($dark-theme, $white, $black), .25 ) !default;
57
38
 
39
+ /// The background of the track when the switch is not checked.
40
+ /// @group switch
58
41
  $switch-off-bg: $component-bg !default;
42
+ /// The text color of the track when the switch is not checked.
43
+ /// @group switch
59
44
  $switch-off-text: $component-text !default;
60
- $switch-off-border: null !default;
45
+ /// The border color of the track when the switch is not checked.
46
+ /// @group switch
47
+ $switch-off-border: $component-border !default;
48
+ /// The background gradient of the track when the switch is not checked.
49
+ /// @group switch
61
50
  $switch-off-gradient: null !default;
62
51
  $switch-off-shadow: null !default;
63
52
 
64
- $switch-off-hovered-bg: $switch-off-bg !default;
65
- $switch-off-hovered-text: $switch-off-text !default;
53
+ /// The background of the track when the hovered switch is not checked.
54
+ /// @group switch
55
+ $switch-off-hovered-bg: null !default;
56
+ /// The text color of the track when the hovered switch is not checked.
57
+ /// @group switch
58
+ $switch-off-hovered-text: null !default;
59
+ /// The border color of the track when the hovered switch is not checked.
60
+ /// @group switch
66
61
  $switch-off-hovered-border: null !default;
62
+ /// The background gradient of the track when the hovered switch is not checked.
63
+ /// @group switch
67
64
  $switch-off-hovered-gradient: null !default;
68
65
 
66
+ /// The background of the track when the focused switch is not checked.
67
+ /// @group switch
69
68
  $switch-off-focused-bg: null !default;
69
+ /// The text color of the track when the focused switch is not checked.
70
+ /// @group switch
70
71
  $switch-off-focused-text: null !default;
72
+ /// The border color of the track when the focused switch is not checked.
73
+ /// @group switch
71
74
  $switch-off-focused-border: null !default;
75
+ /// The background gradient of the track when the focused switch is not checked.
76
+ /// @group switch
72
77
  $switch-off-focused-gradient: null !default;
78
+ /// The ring around the track when the focused switch is not checked.
79
+ /// @group switch
73
80
  $switch-off-focused-shadow: null !default;
74
81
 
75
- $switch-off-handle-bg: $switch-on-handle-bg !default;
76
- $switch-off-handle-text: $switch-off-text !default;
77
- $switch-off-handle-border: $switch-on-handle-border !default;
78
- $switch-off-handle-gradient: null !default;
82
+ /// The background of the thumb when the switch is not checked.
83
+ /// @group switch
84
+ $switch-off-handle-bg: try-shade( $switch-off-bg ) !default;
85
+ /// The text color of the thumb when the switch is not checked.
86
+ /// @group switch
87
+ $switch-off-handle-text: null !default;
88
+ /// The border color of the thumb when the switch is not checked.
89
+ /// @group switch
90
+ $switch-off-handle-border: $switch-off-border !default;
91
+ /// The background gradient of the thumb when the switch is not checked.
92
+ /// @group switch
93
+ $switch-off-handle-gradient: $base-gradient !default;
79
94
  $switch-off-handle-shadow: null !default;
80
95
 
81
- $switch-off-handle-hovered-bg: $switch-on-handle-hovered-bg !default;
82
- $switch-off-handle-hovered-text: $switch-off-text !default;
83
- $switch-off-handle-hovered-border: $switch-on-handle-hovered-border !default;
96
+ /// The background of the thumb when the hovered switch is not checked.
97
+ /// @group switch
98
+ $switch-off-handle-hovered-bg: try-shade( $switch-off-handle-bg ) !default;
99
+ /// The text color of the thumb when the hovered switch is not checked.
100
+ /// @group switch
101
+ $switch-off-handle-hovered-text: null !default;
102
+ /// The border color of the thumb when the hovered switch is not checked.
103
+ /// @group switch
104
+ $switch-off-handle-hovered-border: $switch-off-border !default;
105
+ /// The background gradient of the thumb when the hovered switch is not checked.
106
+ /// @group switch
84
107
  $switch-off-handle-hovered-gradient: null !default;
108
+
109
+
110
+ /// The background of the track when the switch is checked.
111
+ /// @group switch
112
+ $switch-on-bg: $component-bg !default;
113
+ /// The text color of the track when the switch is checked.
114
+ /// @group switch
115
+ $switch-on-text: $primary !default;
116
+ /// The border color of the track when the switch is checked.
117
+ /// @group switch
118
+ $switch-on-border: $component-border !default;
119
+ /// The background gradient of the track when the switch is checked.
120
+ /// @group switch
121
+ $switch-on-gradient: null !default;
122
+ $switch-on-shadow: null !default;
123
+
124
+ /// The background of the track wen the hovered switch is checked.
125
+ /// @group switch
126
+ $switch-on-hovered-bg: null !default;
127
+ /// The text color of the track wen the hovered switch is checked.
128
+ /// @group switch
129
+ $switch-on-hovered-text: null !default;
130
+ /// The border color of the track wen the hovered switch is checked.
131
+ /// @group switch
132
+ $switch-on-hovered-border: null !default;
133
+ /// The background gradient of the track wen the hovered switch is checked.
134
+ /// @group switch
135
+ $switch-on-hovered-gradient: null !default;
136
+
137
+ /// The background of the track wen the focused switch is checked.
138
+ /// @group switch
139
+ $switch-on-focused-bg: null !default;
140
+ /// The text color of the track wen the focused switch is checked.
141
+ /// @group switch
142
+ $switch-on-focused-text: null !default;
143
+ /// The border color of the track wen the focused switch is checked.
144
+ /// @group switch
145
+ $switch-on-focused-border: null !default;
146
+ /// The background gradient of the track wen the focused switch is checked.
147
+ /// @group switch
148
+ $switch-on-focused-gradient: null !default;
149
+ /// The ring around the track wen the focused switch is checked.
150
+ /// @group switch
151
+ $switch-on-focused-shadow: null !default;
152
+
153
+ /// The background of the thumb when the switch is checked.
154
+ /// @group switch
155
+ $switch-on-handle-bg: $primary !default;
156
+ /// The text color of the thumb when the switch is checked.
157
+ /// @group switch
158
+ $switch-on-handle-text: null !default;
159
+ /// The border color of the thumb when the switch is checked.
160
+ /// @group switch
161
+ $switch-on-handle-border: try-shade( $switch-on-handle-bg ) !default;
162
+ /// The background gradient of the thumb when the switch is checked.
163
+ /// @group switch
164
+ $switch-on-handle-gradient: $base-gradient !default;
165
+ $switch-on-handle-shadow: null !default;
166
+
167
+ /// The background of the thumb when the hovered switch is checked.
168
+ /// @group switch
169
+ $switch-on-handle-hovered-bg: try-shade( $switch-on-handle-bg ) !default;
170
+ /// The text color of the thumb when the hovered switch is checked.
171
+ /// @group switch
172
+ $switch-on-handle-hovered-text: null !default;
173
+ /// The border color of the thumb when the hovered switch is checked.
174
+ /// @group switch
175
+ $switch-on-handle-hovered-border: try-shade( $switch-on-handle-hovered-bg ) !default;
176
+ /// The background gradient of the thumb when the hovered switch is checked.
177
+ /// @group switch
178
+ $switch-on-handle-hovered-gradient: null !default;
@@ -5,6 +5,7 @@
5
5
  @import "../common/_index.scss";
6
6
  @import "../button/_index.scss";
7
7
  @import "../popup/_index.scss";
8
+ @import "../menu/_index.scss";
8
9
  @import "../icons/_index.scss";
9
10
 
10
11
 
@@ -1,4 +1,4 @@
1
- // TreeviewTreeview
1
+ // Treeview
2
2
 
3
3
  /// Font family of the treeview component.
4
4
  /// @group treeview