@progress/kendo-theme-classic 4.43.1-dev.4 → 4.43.1-dev.5

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 (93) hide show
  1. package/dist/all.css +746 -799
  2. package/dist/all.scss +1296 -1170
  3. package/modules/@progress/kendo-theme-default/package.json +2 -2
  4. package/modules/@progress/kendo-theme-default/scss/adaptive/_layout.scss +40 -86
  5. package/modules/@progress/kendo-theme-default/scss/adaptive/_theme.scss +0 -9
  6. package/modules/@progress/kendo-theme-default/scss/appbar/_variables.scss +1 -1
  7. package/modules/@progress/kendo-theme-default/scss/autocomplete/_theme.scss +20 -39
  8. package/modules/@progress/kendo-theme-default/scss/autocomplete/_variables.scss +0 -19
  9. package/modules/@progress/kendo-theme-default/scss/avatar/_variables.scss +11 -1
  10. package/modules/@progress/kendo-theme-default/scss/button/_layout.scss +2 -2
  11. package/modules/@progress/kendo-theme-default/scss/button/_variables.scss +3 -3
  12. package/modules/@progress/kendo-theme-default/scss/calendar/_layout.scss +2 -14
  13. package/modules/@progress/kendo-theme-default/scss/card/_variables.scss +4 -4
  14. package/modules/@progress/kendo-theme-default/scss/chat/_layout.scss +3 -9
  15. package/modules/@progress/kendo-theme-default/scss/chat/_theme.scss +0 -21
  16. package/modules/@progress/kendo-theme-default/scss/chat/_variables.scss +0 -7
  17. package/modules/@progress/kendo-theme-default/scss/checkbox/_layout.scss +78 -145
  18. package/modules/@progress/kendo-theme-default/scss/checkbox/_theme.scss +6 -2
  19. package/modules/@progress/kendo-theme-default/scss/checkbox/_variables.scss +87 -18
  20. package/modules/@progress/kendo-theme-default/scss/daterangepicker/_index.scss +10 -0
  21. package/modules/@progress/kendo-theme-default/scss/daterangepicker/_layout.scss +27 -0
  22. package/modules/@progress/kendo-theme-default/scss/daterangepicker/_theme.scss +3 -0
  23. package/modules/@progress/kendo-theme-default/scss/daterangepicker/_variables.scss +1 -0
  24. package/modules/@progress/kendo-theme-default/scss/editor/_layout.scss +2 -10
  25. package/modules/@progress/kendo-theme-default/scss/forms/_layout.scss +7 -9
  26. package/modules/@progress/kendo-theme-default/scss/gantt/_layout.scss +1 -1
  27. package/modules/@progress/kendo-theme-default/scss/grid/_layout.scss +128 -97
  28. package/modules/@progress/kendo-theme-default/scss/grid/_variables.scss +1 -3
  29. package/modules/@progress/kendo-theme-default/scss/index.scss +1 -0
  30. package/modules/@progress/kendo-theme-default/scss/input/_layout.scss +1 -1
  31. package/modules/@progress/kendo-theme-default/scss/input/_variables.scss +5 -5
  32. package/modules/@progress/kendo-theme-default/scss/list/_layout.scss +9 -41
  33. package/modules/@progress/kendo-theme-default/scss/list/_theme.scss +4 -3
  34. package/modules/@progress/kendo-theme-default/scss/list/_variables.scss +64 -8
  35. package/modules/@progress/kendo-theme-default/scss/listbox/_variables.scss +1 -1
  36. package/modules/@progress/kendo-theme-default/scss/listview/_layout.scss +2 -9
  37. package/modules/@progress/kendo-theme-default/scss/map/_layout.scss +5 -0
  38. package/modules/@progress/kendo-theme-default/scss/menu/_layout.scss +48 -5
  39. package/modules/@progress/kendo-theme-default/scss/menu/_theme.scss +6 -2
  40. package/modules/@progress/kendo-theme-default/scss/menu/_variables.scss +1 -1
  41. package/modules/@progress/kendo-theme-default/scss/numerictextbox/_layout.scss +9 -27
  42. package/modules/@progress/kendo-theme-default/scss/numerictextbox/_theme.scss +64 -84
  43. package/modules/@progress/kendo-theme-default/scss/numerictextbox/_variables.scss +0 -27
  44. package/modules/@progress/kendo-theme-default/scss/orgchart/_variables.scss +2 -2
  45. package/modules/@progress/kendo-theme-default/scss/pager/_variables.scss +1 -1
  46. package/modules/@progress/kendo-theme-default/scss/pdf-viewer/_layout.scss +20 -29
  47. package/modules/@progress/kendo-theme-default/scss/pdf-viewer/_variables.scss +2 -5
  48. package/modules/@progress/kendo-theme-default/scss/radio/_layout.scss +89 -136
  49. package/modules/@progress/kendo-theme-default/scss/radio/_theme.scss +2 -2
  50. package/modules/@progress/kendo-theme-default/scss/radio/_variables.scss +88 -26
  51. package/modules/@progress/kendo-theme-default/scss/scheduler/_layout.scss +25 -12
  52. package/modules/@progress/kendo-theme-default/scss/searchbox/_layout.scss +22 -8
  53. package/modules/@progress/kendo-theme-default/scss/searchbox/_theme.scss +16 -25
  54. package/modules/@progress/kendo-theme-default/scss/searchbox/_variables.scss +0 -20
  55. package/modules/@progress/kendo-theme-default/scss/skeleton/_layout.scss +1 -1
  56. package/modules/@progress/kendo-theme-default/scss/spreadsheet/_layout.scss +27 -15
  57. package/modules/@progress/kendo-theme-default/scss/table/_layout.scss +29 -6
  58. package/modules/@progress/kendo-theme-default/scss/table/_theme.scss +3 -2
  59. package/modules/@progress/kendo-theme-default/scss/table/_variables.scss +3 -3
  60. package/modules/@progress/kendo-theme-default/scss/timeselector/_layout.scss +2 -2
  61. package/modules/@progress/kendo-theme-default/scss/toolbar/_layout.scss +21 -2
  62. package/modules/@progress/kendo-theme-default/scss/toolbar/_theme.scss +35 -7
  63. package/modules/@progress/kendo-theme-default/scss/treeview/_layout.scss +130 -110
  64. package/modules/@progress/kendo-theme-default/scss/treeview/_theme.scss +36 -25
  65. package/modules/@progress/kendo-theme-default/scss/treeview/_variables.scss +67 -13
  66. package/modules/@progress/kendo-theme-default/scss/typography/_variables.scss +3 -3
  67. package/modules/@progress/kendo-theme-default/scss/window/_variables.scss +1 -1
  68. package/package.json +3 -3
  69. package/scss/appbar/_variables.scss +1 -1
  70. package/scss/autocomplete/_variables.scss +0 -19
  71. package/scss/avatar/_variables.scss +13 -2
  72. package/scss/card/_variables.scss +4 -4
  73. package/scss/chat/_variables.scss +0 -7
  74. package/scss/checkbox/_variables.scss +88 -19
  75. package/scss/daterangepicker/_index.scss +10 -0
  76. package/scss/daterangepicker/_layout.scss +1 -0
  77. package/scss/daterangepicker/_theme.scss +1 -0
  78. package/scss/daterangepicker/_variables.scss +1 -0
  79. package/scss/grid/_variables.scss +1 -3
  80. package/scss/index.scss +1 -0
  81. package/scss/input/_variables.scss +5 -5
  82. package/scss/list/_variables.scss +64 -8
  83. package/scss/listbox/_variables.scss +1 -1
  84. package/scss/menu/_variables.scss +1 -1
  85. package/scss/numerictextbox/_variables.scss +0 -27
  86. package/scss/orgchart/_variables.scss +2 -2
  87. package/scss/pager/_variables.scss +1 -1
  88. package/scss/pdf-viewer/_variables.scss +2 -5
  89. package/scss/radio/_variables.scss +86 -27
  90. package/scss/searchbox/_variables.scss +0 -20
  91. package/scss/table/_variables.scss +3 -3
  92. package/scss/treeview/_variables.scss +70 -16
  93. package/scss/typography/_variables.scss +3 -3
@@ -23,28 +23,17 @@
23
23
  -webkit-appearance: none;
24
24
  }
25
25
 
26
+
26
27
  // Checkbox indicator
27
28
  .k-checkbox::before {
28
- @if $checkbox-icon-type == "glyph" {
29
+ @if $checkbox-indicator-type == "glyph" {
29
30
  content: $checkbox-checked-glyph;
30
31
  width: $checkbox-glyph-size;
31
32
  height: $checkbox-glyph-size;
32
33
  font-size: $checkbox-glyph-size;
33
34
  font-family: $checkbox-glyph-font-family;
34
35
  line-height: 1;
35
- transform: scale(0) translate(-50%, -50%);
36
- overflow: hidden;
37
- position: absolute;
38
- top: 50%;
39
- left: 50%;
40
- }
41
-
42
- @if $checkbox-icon-type == "marker" {
43
- content: "";
44
- width: $checkbox-marker-checked-width;
45
- height: $checkbox-marker-checked-height;
46
- background-color: currentColor;
47
- transform: scale(0) translate(-50%, -50%);
36
+ transform: translate(-50%, -50%) scale(0);
48
37
  overflow: hidden;
49
38
  position: absolute;
50
39
  top: 50%;
@@ -56,19 +45,13 @@
56
45
  // Checked state
57
46
  .k-checkbox:checked,
58
47
  .k-checkbox.k-checked {
59
- @if $checkbox-icon-type == "image" {
48
+ @if $checkbox-indicator-type == "image" {
60
49
  background-image: $checkbox-checked-image;
61
50
  }
62
51
 
63
- @if $checkbox-icon-type == "glyph" {
64
- &::before {
65
- transform: scale(1) translate(-50%, -50%);
66
- }
67
- }
68
-
69
- @if $checkbox-icon-type == "marker" {
52
+ @if $checkbox-indicator-type == "glyph" {
70
53
  &::before {
71
- transform: scale(1) translate(-50%, -50%);
54
+ transform: translate(-50%, -50%) scale(1);
72
55
  }
73
56
  }
74
57
  }
@@ -78,22 +61,14 @@
78
61
  .k-checkbox:indeterminate,
79
62
  .k-checkbox.k-indeterminate,
80
63
  .k-checkbox.k-state-indeterminate {
81
- @if $checkbox-icon-type == "image" {
64
+ @if $checkbox-indicator-type == "image" {
82
65
  background-image: $checkbox-indeterminate-image;
83
66
  }
84
67
 
85
- @if $checkbox-icon-type == "glyph" {
68
+ @if $checkbox-indicator-type == "glyph" {
86
69
  &::before {
87
70
  content: $checkbox-indeterminate-glyph;
88
- transform: scale(1) translate(-50%, -50%);
89
- }
90
- }
91
-
92
- @if $checkbox-icon-type == "marker" {
93
- &::before {
94
- width: $checkbox-maker-indeterminate-width;
95
- height: $checkbox-marker-indeterminate-height;
96
- transform: scale(1) translate(-50%, -50%);
71
+ transform: translate(-50%, -50%) scale(1);
97
72
  }
98
73
  }
99
74
  }
@@ -101,69 +76,55 @@
101
76
 
102
77
  // Disabled state
103
78
  .k-checkbox:disabled,
104
- .k-checkbox.k-disabled,
105
- .k-checkbox:disabled + .k-checkbox-label,
106
- .k-checkbox.k-disabled + .k-checkbox-label {
79
+ .k-checkbox.k-disabled {
107
80
  @include disabled( $disabled-styling );
108
81
  }
109
82
 
83
+
84
+ // Checkbox wrap
85
+ .k-checkbox-wrap {
86
+ flex: none;
87
+ display: inline-flex;
88
+ flex-flow: row nowrap;
89
+ gap: 0;
90
+ align-items: center;
91
+ align-self: flex-start;
92
+ vertical-align: middle;
93
+ position: relative;
94
+
95
+ &::before {
96
+ content: "\200b";
97
+ width: 0px;
98
+ overflow: hidden;
99
+ flex: none;
100
+ display: inline-block;
101
+ vertical-align: top;
102
+ }
103
+ }
104
+
105
+
110
106
  // Checkbox label
111
107
  .k-checkbox-label {
112
108
  margin: 0;
113
109
  padding: 0;
114
- line-height: $checkbox-line-height;
115
110
  display: inline-flex;
116
111
  align-items: flex-start;
112
+ gap: $checkbox-label-margin-x;
117
113
  vertical-align: middle;
118
114
  position: relative;
119
115
  cursor: pointer;
120
116
 
121
- .k-label {
122
- cursor: pointer;
123
- }
124
-
125
117
  .k-ripple {
126
- top: $checkbox-size / 2;
127
- left: $checkbox-size / 2;
128
- right: auto;
129
- bottom: auto;
130
- width: $checkbox-size * 5 / 2;
131
- height: $checkbox-size * 5 / 2;
132
- transform: translate(-50%, -50%);
133
- border-radius: 50%;
134
-
135
118
  // Hide ripple temporarily
136
119
  visibility: hidden !important; // sass-lint:disable-line no-important
137
120
  }
138
-
139
- .k-ripple-blob {
140
- // sass-lint:disable-block no-important
141
- // use !important until ripple can apply these styles from the script
142
- top: 50% !important;
143
- left: 50% !important;
144
- width: 200% !important;
145
- height: 200% !important;
146
- }
147
- }
148
- .k-checkbox + .k-checkbox-label {
149
- display: inline;
150
121
  }
122
+ .k-checkbox + .k-label,
123
+ .k-checkbox-wrap + .k-label,
151
124
  .k-checkbox + .k-checkbox-label,
152
- .k-checkbox-label + .k-checkbox {
153
- margin-left: $checkbox-label-margin-x;
154
- }
155
- .k-checkbox-label > .k-checkbox {
156
- margin-right: $checkbox-label-margin-x;
157
- flex-shrink: 0;
158
- }
159
- kendo-label.k-checkbox-label > .k-checkbox:last-child {
160
- margin-right: 0;
161
- }
162
- kendo-label.k-checkbox-label > .k-label:first-child {
163
- margin-right: $checkbox-label-margin-x;
164
- }
165
- kendo-label.k-checkbox-label > .k-label {
125
+ .k-checkbox-wrap + .k-checkbox-label {
166
126
  display: inline;
127
+ margin-inline-start: $checkbox-label-margin-x;
167
128
  }
168
129
 
169
130
 
@@ -171,9 +132,6 @@
171
132
  .k-checkbox-label:empty {
172
133
  display: none !important; // sass-lint:disable-line no-important
173
134
  }
174
-
175
-
176
- // Label with no text
177
135
  .k-checkbox-label.k-no-text {
178
136
  min-width: 1px;
179
137
  }
@@ -181,73 +139,62 @@
181
139
 
182
140
  // Checkbox list
183
141
  .k-checkbox-list {
184
- margin: $checkbox-list-margin;
185
- padding: $checkbox-list-padding;
142
+ margin: 0;
143
+ padding: 0;
144
+ display: flex;
145
+ flex-flow: column nowrap;
146
+ gap: 0;
186
147
  list-style: none;
187
-
188
- .k-checkbox-item {
189
- padding: $checkbox-list-item-padding-y $checkbox-list-item-padding-x;
190
- }
191
148
  }
149
+ .k-checkbox-item,
150
+ .k-checkbox-list-item {
151
+ padding: $checkbox-list-item-padding-y $checkbox-list-item-padding-x;
152
+ display: flex;
153
+ flex-flow: row nowrap;
154
+ align-items: center;
155
+ align-content: center;
156
+ gap: map-get( $spacing, 1 );
192
157
 
193
- .k-list-horizontal {
194
- .k-checkbox-item {
195
- display: inline-block;
196
- margin: 0 $checkbox-list-horizontal-item-margin-x 0 0;
197
-
198
- &:last-child {
199
- margin-right: 0;
200
- }
158
+ .k-checkbox-label {
159
+ margin: 0;
201
160
  }
202
161
  }
162
+ .k-checkbox-list-horizontal,
163
+ .k-checkbox-list.k-list-horizontal {
164
+ display: flex;
165
+ flex-flow: row wrap;
166
+ gap: $checkbox-list-spacing;
167
+ }
203
168
 
204
169
 
205
- // RTL
206
- .k-rtl,
207
- [dir="rtl"] {
208
- .k-checkbox + .k-checkbox-label,
209
- .k-checkbox-label + .k-checkbox {
210
- margin-left: 0;
211
- margin-right: $checkbox-label-margin-x;
212
- }
213
- .k-checkbox-label > .k-checkbox {
214
- margin-right: 0;
215
- margin-left: $checkbox-label-margin-x;
216
- }
217
- kendo-label.k-checkbox-label > .k-checkbox:last-child {
218
- margin-left: 0;
219
- }
220
- kendo-label.k-checkbox-label > .k-label:first-child {
221
- margin-right: 0;
222
- margin-left: $checkbox-label-margin-x;
223
- }
224
-
225
- .k-list-horizontal {
226
- .k-checkbox-item {
227
- margin-right: 0;
228
- margin-left: $checkbox-list-horizontal-item-margin-x;
229
-
230
- &:last-child {
231
- margin-left: 0;
232
- }
233
- }
234
- }
170
+ // Ripple
171
+ .k-checkbox-wrap .k-ripple-blob {
172
+ width: $checkbox-ripple-size;
173
+ height: $checkbox-ripple-size;
235
174
  }
236
-
237
175
  .k-ripple-container {
238
176
  .k-checkbox::after {
239
177
  content: "";
240
178
  display: block;
241
179
  position: absolute;
242
- left: 0;
243
- top: 0;
180
+ left: 50%;
181
+ top: 50%;
244
182
  width: $checkbox-ripple-size;
245
183
  height: $checkbox-ripple-size;
246
- margin-left: $checkbox-ripple-margin;
247
- margin-top: $checkbox-ripple-margin;
248
184
  border-radius: 100%;
249
- z-index: 1;
250
- transform: scale(0);
185
+ z-index: -1;
186
+ transition: opacity 100ms linear, transform 150ms cubic-bezier(.4, 0, .2, 1);
187
+ transform: translate(-50%, -50%) scale(0);
188
+ transform-origin: center center;
189
+ }
190
+
191
+ .k-checkbox:focus,
192
+ .k-checkbox.k-state-focus {
193
+ box-shadow: none !important; // sass-lint:disable-line no-important
194
+
195
+ &::after {
196
+ transform: translate(-50%, -50%) scale(1);
197
+ }
251
198
  }
252
199
 
253
200
  .k-checkbox:disabled::after,
@@ -257,17 +204,3 @@
257
204
  }
258
205
 
259
206
  }
260
-
261
-
262
-
263
-
264
- @include exports( "checkbox/layout/edge" ) {
265
-
266
- .k-checkbox::-ms-check {
267
- border-width: 1px;
268
- border-color: inherit;
269
- color: inherit;
270
- background-color: inherit;
271
- }
272
-
273
- }
@@ -1,4 +1,4 @@
1
- @include exports("checkbox/theme") {
1
+ @include exports( "checkbox/theme" ) {
2
2
 
3
3
  // Checkbox
4
4
  .k-checkbox {
@@ -95,9 +95,13 @@
95
95
 
96
96
 
97
97
  // Ripple
98
+ .k-checkbox-wrap .k-ripple-blob {
99
+ color: $checkbox-ripple-bg;
100
+ opacity: $checkbox-ripple-opacity;
101
+ }
98
102
  .k-ripple-container {
99
103
  .k-checkbox::after {
100
- background: $checkbox-checked-bg;
104
+ background: $checkbox-ripple-bg;
101
105
  opacity: $checkbox-ripple-opacity;
102
106
  }
103
107
  }
@@ -1,58 +1,118 @@
1
1
  // Checkbox
2
+
2
3
  $checkbox-size: map-get( $spacing, 4 ) !default;
3
4
  $checkbox-radius: map-get( $spacing, thin ) !default;
5
+ /// Border width of checkbox.
6
+ /// @group checkbox
4
7
  $checkbox-border-width: 1px !default;
5
- $checkbox-line-height: calc( #{$checkbox-size} + #{$checkbox-border-width} ) !default;
6
-
7
- $checkbox-bg: $white !default;
8
- $checkbox-text: transparent !default;
9
- $checkbox-border: $base-border !default;
10
8
 
9
+ /// Background color of checkbox.
10
+ /// @group checkbox
11
+ $checkbox-bg: $component-bg !default;
12
+ /// Color of checkbox.
13
+ /// @group checkbox
14
+ $checkbox-text: null !default;
15
+ /// Border color of checkbox.
16
+ /// @group checkbox
17
+ $checkbox-border: $component-border !default;
18
+
19
+ /// Background color of hovered checkbox.
20
+ /// @group checkbox
11
21
  $checkbox-hovered-bg: null !default;
22
+ /// Color of hovered checkbox.
23
+ /// @group checkbox
12
24
  $checkbox-hovered-text: null !default;
25
+ /// Border color of hovered checkbox.
26
+ /// @group checkbox
13
27
  $checkbox-hovered-border: null !default;
14
28
 
29
+ /// Background color of checked checkbox.
30
+ /// @group checkbox
15
31
  $checkbox-checked-bg: $primary !default;
32
+ /// Color of checked checkbox.
33
+ /// @group checkbox
16
34
  $checkbox-checked-text: contrast-wcag( $checkbox-checked-bg ) !default;
35
+ /// Border color of checked checkbox.
36
+ /// @group checkbox
17
37
  $checkbox-checked-border: $checkbox-checked-bg !default;
18
38
 
39
+ /// Background color of indeterminate checkbox.
40
+ /// @group checkbox
19
41
  $checkbox-indeterminate-bg: $checkbox-bg !default;
42
+ /// Color of indeterminate checkbox.
43
+ /// @group checkbox
20
44
  $checkbox-indeterminate-text: $checkbox-checked-bg !default;
45
+ /// Border color of indeterminate checkbox.
46
+ /// @group checkbox
21
47
  $checkbox-indeterminate-border: $checkbox-border !default;
22
48
 
49
+ /// Border color of focused checkbox.
50
+ /// @group checkbox
23
51
  $checkbox-focused-border: null !default;
52
+ /// Box shadow of focused checkbox.
53
+ /// @group checkbox
24
54
  $checkbox-focused-shadow: 0 0 0 2px rgba(0, 0, 0, .06) !default;
55
+ /// Border color of focused and checked checkbox.
56
+ /// @group checkbox
25
57
  $checkbox-focused-checked-border: null !default;
58
+ /// Box shadow of focused and checked checkbox.
59
+ /// @group checkbox
26
60
  $checkbox-focused-checked-shadow: 0 0 0 2px rgba( $primary, .3 ) !default;
27
61
 
62
+ /// Background color of disabled checkbox.
63
+ /// @group checkbox
28
64
  $checkbox-disabled-bg: null !default;
65
+ /// Color of disabled checkbox.
66
+ /// @group checkbox
29
67
  $checkbox-disabled-text: null !default;
68
+ /// Border color of disabled checkbox.
69
+ /// @group checkbox
30
70
  $checkbox-disabled-border: null !default;
31
71
 
72
+ /// Background color of disabled and checked checkbox.
73
+ /// @group checkbox
32
74
  $checkbox-disabled-checked-bg: null !default;
75
+ /// Color of disabled and checked checkbox.
76
+ /// @group checkbox
33
77
  $checkbox-disabled-checked-text: null !default;
78
+ /// Border color of disabled and checked checkbox.
79
+ /// @group checkbox
34
80
  $checkbox-disabled-checked-border: null !default;
35
81
 
82
+ /// Background color of invalid checkbox.
83
+ /// @group checkbox
36
84
  $checkbox-invalid-bg: null !default;
85
+ /// Color of invalid checkbox.
86
+ /// @group checkbox
37
87
  $checkbox-invalid-text: $invalid-text !default;
88
+ /// Border color of invalid checkbox.
89
+ /// @group checkbox
38
90
  $checkbox-invalid-border: $invalid-border !default;
39
91
 
40
92
 
41
93
  // Checkbox indicator
42
- $checkbox-icon-type: glyph !default;
43
94
 
95
+ /// Type of checkbox indicator.
96
+ /// @group checkbox
97
+ $checkbox-indicator-type: image !default;
98
+
99
+ /// Glyph font family of checkbox indicator.
100
+ /// @group checkbox
44
101
  $checkbox-glyph-font-family: "WebComponentsIcons", monospace !default;
45
102
  $checkbox-glyph-size: 12px !default;
103
+ /// Glyph of checkbox indicator.
104
+ /// @group checkbox
46
105
  $checkbox-checked-glyph: "\e118" !default;
106
+ /// Glyph of indeterminate checkbox indicator.
107
+ /// @group checkbox
47
108
  $checkbox-indeterminate-glyph: "\e121" !default;
48
109
 
49
- $checkbox-checked-image: null !default;
50
- $checkbox-indeterminate-image: null !default;
51
-
52
- $checkbox-marker-checked-width: ( $checkbox-size / 2 ) !default;
53
- $checkbox-marker-checked-height: ( $checkbox-size / 2 ) !default;
54
- $checkbox-marker-indeterminate-width: ( $checkbox-size / 2 ) !default;
55
- $checkbox-marker-indeterminate-height: ( $checkbox-size / 2 ) !default;
110
+ /// Image of checked checkbox indicator.
111
+ /// @group checkbox
112
+ $checkbox-checked-image: escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#{$checkbox-checked-text}' stroke-linecap='square' stroke-linejoin='square' stroke-width='2' d='M3,8 l3,3 l7-7'/></svg>") ) !default;
113
+ /// Image image of checked checkbox indicator.
114
+ /// @group checkbox
115
+ $checkbox-indeterminate-image: escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#{$checkbox-indeterminate-text}' stroke-linecap='square' stroke-linejoin='square' stroke-width='2' d='M4,8 h8'/></svg>") ) !default;
56
116
 
57
117
 
58
118
  // Checkbox label
@@ -60,14 +120,23 @@ $checkbox-label-margin-x: map-get( $spacing, 1 ) !default;
60
120
 
61
121
 
62
122
  // Checkbox list
63
- $checkbox-list-margin: 0px !default;
64
- $checkbox-list-padding: 0px !default;
123
+
124
+ /// Spacing between items of horizontal checkbox list.
125
+ /// @group checkbox
126
+ $checkbox-list-spacing: map-get( $spacing, 4 ) !default;
127
+ /// Horizontal padding of checkbox list items.
128
+ /// @group checkbox
65
129
  $checkbox-list-item-padding-x: 0px !default;
130
+ /// Vertical padding of checkbox list items.
131
+ /// @group checkbox
66
132
  $checkbox-list-item-padding-y: $list-item-padding-y !default;
67
- $checkbox-list-horizontal-item-margin-x: 32px !default;
68
133
 
69
134
 
70
135
  // Checkbox ripple
71
136
  $checkbox-ripple-size: $checkbox-size * 3 !default;
72
- $checkbox-ripple-margin: calc(-1 * (#{$checkbox-size} + 2 * #{$checkbox-border-width})) !default;
73
- $checkbox-ripple-opacity: .3 !default;
137
+ /// Background color of checkbox ripple.
138
+ /// @group checkbox
139
+ $checkbox-ripple-bg: $checkbox-checked-bg !default;
140
+ /// Opacity of checkbox ripple.
141
+ /// @group checkbox
142
+ $checkbox-ripple-opacity: .25 !default;
@@ -0,0 +1,10 @@
1
+ @import "../core/_index.scss";
2
+
3
+
4
+ // Dependencies
5
+
6
+
7
+ // Component
8
+ @import "_variables.scss";
9
+ @import "_layout.scss";
10
+ @import "_theme.scss";
@@ -0,0 +1,27 @@
1
+ @include exports( "daterangepicker/layout" ) {
2
+
3
+ // Daterange picker
4
+ .k-daterangepicker {
5
+ border: 0;
6
+ display: inline-flex;
7
+ flex-flow: row nowrap;
8
+ align-items: flex-start;
9
+ gap: map-get( $spacing, 2 );
10
+ }
11
+
12
+
13
+ // Angular specific
14
+ kendo-daterange {
15
+ // @extend .k-daterangepicker;
16
+ }
17
+
18
+
19
+ // React specific
20
+ .k-daterangepicker-wrap {
21
+ display: inherit;
22
+ flex-flow: inherit;
23
+ align-items: inherit;
24
+ gap: inherit;
25
+ }
26
+
27
+ }
@@ -0,0 +1,3 @@
1
+ @include exports("daterangepicker/theme") {
2
+
3
+ }
@@ -183,10 +183,6 @@
183
183
  visibility: hidden;
184
184
 
185
185
  .k-overflow-anchor {
186
- border-width: 0;
187
- padding: $toolbar-padding-y;
188
- width: $toolbar-inner-calc-size;
189
- height: $toolbar-inner-calc-size;
190
186
  position: relative;
191
187
  }
192
188
  }
@@ -329,10 +325,6 @@
329
325
  display: flex;
330
326
  flex-direction: column;
331
327
  padding: 10px 0 40px;
332
-
333
- > span {
334
- padding-bottom: $padding-y;
335
- }
336
328
  }
337
329
 
338
330
  .k-matches-container {
@@ -568,12 +560,12 @@
568
560
  width: 10em;
569
561
 
570
562
  & + .k-dropdown {
571
- width: 4em;
563
+ width: 5em;
572
564
  }
573
565
 
574
566
  & + .k-colorpicker,
575
567
  & + .k-dropdown {
576
- margin-left: $padding-x-sm;
568
+ margin-left: map-get( $spacing, 2 );
577
569
  }
578
570
  }
579
571
 
@@ -68,10 +68,6 @@
68
68
  display: flex;
69
69
  flex-flow: row nowrap;
70
70
  }
71
- .k-checkbox-label,
72
- .k-radio-label {
73
- display: inline-flex;
74
- }
75
71
 
76
72
  .k-label + .k-radio {
77
73
  margin-left: 0;
@@ -106,13 +102,11 @@
106
102
  padding: 0;
107
103
  }
108
104
 
109
- .k-form-field,
110
- .k-daterangepicker .k-textbox-container {
105
+ .k-form-field {
111
106
  margin-top: $form-field-margin-top;
112
107
  }
113
108
 
114
- > *,
115
- .k-daterangepicker .k-textbox-container {
109
+ > * {
116
110
  &:not(.k-hidden):first-child,
117
111
  &.k-hidden + :not(.k-hidden) {
118
112
  margin-top: 0;
@@ -154,7 +148,6 @@
154
148
  .k-dateinput,
155
149
  .k-datepicker,
156
150
  .k-datetimepicker,
157
- .k-daterangepicker-wrap,
158
151
  .k-timepicker,
159
152
  .k-numerictextbox,
160
153
  .k-maskedtextbox,
@@ -163,6 +156,11 @@
163
156
  display: inline-flex;
164
157
  width: 100%;
165
158
  }
159
+ .k-daterangepicker {
160
+ width: 100%;
161
+ flex-flow: column nowrap;
162
+ gap: 0;
163
+ }
166
164
  }
167
165
 
168
166
  // Form Buttons Container
@@ -378,7 +378,7 @@
378
378
  position: relative;
379
379
  vertical-align: middle;
380
380
  }
381
- td::after { content: "\a0"; }
381
+ td::after { content: "\200b"; }
382
382
  }
383
383
  .k-task-wrap {
384
384
  margin: 0 -21px;