@progress/kendo-theme-default 10.1.0-dev.5 → 10.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/default-blue.css +1 -1
  3. package/dist/default-dataviz-v4.css +1 -1
  4. package/dist/default-green.css +1 -1
  5. package/dist/default-main-dark.css +1 -1
  6. package/dist/default-main.css +1 -1
  7. package/dist/default-nordic.css +1 -1
  8. package/dist/default-ocean-blue-a11y.css +1 -1
  9. package/dist/default-ocean-blue.css +1 -1
  10. package/dist/default-orange.css +1 -1
  11. package/dist/default-purple.css +1 -1
  12. package/dist/default-turquoise.css +1 -1
  13. package/dist/default-urban.css +1 -1
  14. package/dist/meta/sassdoc-data.json +6854 -1906
  15. package/dist/meta/sassdoc-raw-data.json +3375 -1175
  16. package/dist/meta/variables.json +513 -33
  17. package/lib/swatches/default-blue.json +1 -1
  18. package/lib/swatches/default-dataviz-v4.json +1 -1
  19. package/lib/swatches/default-green.json +1 -1
  20. package/lib/swatches/default-main-dark.json +1 -1
  21. package/lib/swatches/default-main.json +1 -1
  22. package/lib/swatches/default-nordic.json +1 -1
  23. package/lib/swatches/default-ocean-blue-a11y.json +1 -1
  24. package/lib/swatches/default-ocean-blue.json +1 -1
  25. package/lib/swatches/default-orange.json +1 -1
  26. package/lib/swatches/default-purple.json +1 -1
  27. package/lib/swatches/default-turquoise.json +1 -1
  28. package/lib/swatches/default-urban.json +1 -1
  29. package/package.json +4 -4
  30. package/scss/action-sheet/_layout.scss +27 -0
  31. package/scss/button/_variables.scss +8 -8
  32. package/scss/checkbox/_layout.scss +15 -3
  33. package/scss/checkbox/_variables.scss +2 -2
  34. package/scss/coloreditor/_layout.scss +50 -1
  35. package/scss/coloreditor/_variables.scss +119 -1
  36. package/scss/colorgradient/_layout.scss +39 -2
  37. package/scss/colorgradient/_variables.scss +88 -1
  38. package/scss/colorpalette/_variables.scss +36 -0
  39. package/scss/dock-manager/_layout.scss +4 -0
  40. package/scss/index.scss +3 -0
  41. package/scss/input/_layout.scss +52 -0
  42. package/scss/input/_variables.scss +7 -0
  43. package/scss/otp/_index.scss +18 -0
  44. package/scss/otp/_layout.scss +41 -0
  45. package/scss/otp/_theme.scss +12 -0
  46. package/scss/otp/_variables.scss +61 -0
  47. package/scss/radio/_layout.scss +12 -1
  48. package/scss/radio/_variables.scss +1 -1
  49. package/scss/tabstrip/_layout.scss +109 -1
  50. package/scss/tabstrip/_theme.scss +47 -0
  51. package/scss/tabstrip/_variables.scss +64 -0
  52. package/scss/toolbar/_layout.scss +99 -9
  53. package/scss/toolbar/_theme.scss +89 -8
  54. package/scss/toolbar/_variables.scss +34 -9
@@ -44,6 +44,26 @@ $kendo-color-gradient-bg: $kendo-component-bg !default;
44
44
  /// @group color-gradient
45
45
  $kendo-color-gradient-border: $kendo-component-border !default;
46
46
 
47
+ /// The width of the small ColorGradient.
48
+ /// @group color-gradient
49
+ $kendo-color-gradient-sm-width: 226px !default;
50
+ /// The width of the medium ColorGradient.
51
+ /// @group color-gradient
52
+ $kendo-color-gradient-md-width: $kendo-color-gradient-width !default;
53
+ /// The width of the large ColorGradient.
54
+ /// @group color-gradient
55
+ $kendo-color-gradient-lg-width: 324px !default;
56
+
57
+ /// The spacing between the sections of the small ColorGradient.
58
+ /// @group color-gradient
59
+ $kendo-color-gradient-sm-gap: $kendo-color-gradient-gap !default;
60
+ /// The spacing between the sections of the medium ColorGradient.
61
+ /// @group color-gradient
62
+ $kendo-color-gradient-md-gap: $kendo-color-gradient-gap !default;
63
+ /// The spacing between the sections of the large ColorGradient.
64
+ /// @group color-gradient
65
+ $kendo-color-gradient-lg-gap: k-spacing(4.5) !default;
66
+
47
67
  /// The border color of the focused ColorGradient.
48
68
  /// @group color-gradient
49
69
  $kendo-color-gradient-focus-border: null !default;
@@ -60,6 +80,25 @@ $kendo-color-gradient-canvas-gap: $kendo-color-gradient-spacer !default;
60
80
  /// The height the ColorGradient canvas hsv rectangle.
61
81
  /// @group color-gradient
62
82
  $kendo-color-gradient-canvas-rectangle-height: 180px !default;
83
+ /// The height the small ColorGradient canvas hsv rectangle.
84
+ /// @group color-gradient
85
+ $kendo-color-gradient-sm-canvas-rectangle-height: 182px !default;
86
+ /// The height the medium ColorGradient canvas hsv rectangle.
87
+ /// @group color-gradient
88
+ $kendo-color-gradient-md-canvas-rectangle-height: $kendo-color-gradient-canvas-rectangle-height !default;
89
+ /// The height the large ColorGradient canvas hsv rectangle.
90
+ /// @group color-gradient
91
+ $kendo-color-gradient-lg-canvas-rectangle-height: 268px !default;
92
+
93
+ /// The spacing between the items of the small ColorGradient canvas.
94
+ /// @group color-gradient
95
+ $kendo-color-gradient-sm-canvas-gap: $kendo-color-gradient-canvas-gap !default;
96
+ /// The spacing between the items of the medium ColorGradient canvas.
97
+ /// @group color-gradient
98
+ $kendo-color-gradient-md-canvas-gap: $kendo-color-gradient-canvas-gap !default;
99
+ /// The spacing between the items of the large ColorGradient canvas.
100
+ /// @group color-gradient
101
+ $kendo-color-gradient-lg-canvas-gap: k-spacing(4.5) !default;
63
102
 
64
103
  /// The width of the ColorGradient slider.
65
104
  /// @group color-gradient
@@ -80,6 +119,15 @@ $kendo-color-gradient-slider-horizontal-size: 100% !default;
80
119
  /// The background image of the ColorGradient alpha slider.
81
120
  /// @group color-gradient
82
121
  $kendo-color-gradient-slider-alpha-bgr: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAuSURBVHgBxYyxDQAwDMJIL+YT+DjtzFRliUfLcklqBCRT4eCTxbD6kdL2/LgYXqpvCbs3kBv/AAAAAElFTkSuQmCC" !default;
122
+ /// The height of the small ColorGradient vertical slider.
123
+ /// @group color-gradient
124
+ $kendo-color-gradient-sm-slider-vertical-size: 182px !default;
125
+ /// The height of the medium ColorGradient vertical slider.
126
+ /// @group color-gradient
127
+ $kendo-color-gradient-md-slider-vertical-size: $kendo-color-gradient-slider-vertical-size !default;
128
+ /// The height of the large ColorGradient vertical slider.
129
+ /// @group color-gradient
130
+ $kendo-color-gradient-lg-slider-vertical-size: 268px !default;
83
131
 
84
132
  /// The width of the ColorGradient canvas drag handle.
85
133
  /// @group color-gradient
@@ -127,7 +175,7 @@ $kendo-color-gradient-canvas-draghandle-margin-x: - math.div( $kendo-color-gradi
127
175
  $kendo-color-gradient-input-width: 46px !default;
128
176
  /// The spacing between the ColorGradient inputs.
129
177
  /// @group color-gradient
130
- $kendo-color-gradient-input-gap: calc( #{$kendo-color-gradient-spacer} / 1.5 ) !default;
178
+ $kendo-color-gradient-input-gap: k-spacing(2) !default;
131
179
  /// The spacing between the ColorGradient inputs and their labels.
132
180
  /// @group color-gradient
133
181
  $kendo-color-gradient-input-label-gap: calc( #{$kendo-color-gradient-spacer} / 3 ) !default;
@@ -135,9 +183,48 @@ $kendo-color-gradient-input-label-gap: calc( #{$kendo-color-gradient-spacer} / 3
135
183
  /// @group color-gradient
136
184
  $kendo-color-gradient-input-label-text: $kendo-subtle-text !default;
137
185
 
186
+ /// The width of the small ColorGradient input.
187
+ /// @group color-gradient
188
+ $kendo-color-gradient-sm-input-width: 42px !default;
189
+ /// The width of the medium ColorGradient input.
190
+ /// @group color-gradient
191
+ $kendo-color-gradient-md-input-width: $kendo-color-gradient-input-width !default;
192
+ /// The width of the large ColorGradient input.
193
+ /// @group color-gradient
194
+ $kendo-color-gradient-lg-input-width: 62.5px !default;
195
+
138
196
  /// The font weight of the ColorGradient contrast ratio text.
139
197
  /// @group color-gradient
140
198
  $kendo-color-gradient-contrast-ratio-font-weight: var( --kendo-font-weight-bold, normal ) !default;
141
199
  /// The spacing between the items in the ColorGradient contrast tool.
142
200
  /// @group color-gradient
143
201
  $kendo-color-gradient-contrast-spacer: calc( #{$kendo-color-gradient-spacer} / 1.5 ) !default;
202
+
203
+ /// The size map of the ColorGradient.
204
+ /// @group color-gradient
205
+ $kendo-color-gradient-sizes: (
206
+ sm: (
207
+ width: $kendo-color-gradient-sm-width,
208
+ vertical-slider-height: $kendo-color-gradient-sm-slider-vertical-size,
209
+ rectangle-height: $kendo-color-gradient-sm-canvas-rectangle-height,
210
+ input-width: $kendo-color-gradient-sm-input-width,
211
+ gap: $kendo-color-gradient-sm-gap,
212
+ canvas-gap: $kendo-color-gradient-sm-canvas-gap
213
+ ),
214
+ md: (
215
+ width: $kendo-color-gradient-md-width,
216
+ vertical-slider-height: $kendo-color-gradient-md-slider-vertical-size,
217
+ rectangle-height: $kendo-color-gradient-md-canvas-rectangle-height,
218
+ input-width: $kendo-color-gradient-md-input-width,
219
+ gap: $kendo-color-gradient-md-gap,
220
+ canvas-gap: $kendo-color-gradient-md-canvas-gap
221
+ ),
222
+ lg: (
223
+ width: $kendo-color-gradient-lg-width,
224
+ vertical-slider-height: $kendo-color-gradient-lg-slider-vertical-size,
225
+ rectangle-height: $kendo-color-gradient-lg-canvas-rectangle-height,
226
+ input-width: $kendo-color-gradient-lg-input-width,
227
+ gap: $kendo-color-gradient-lg-gap,
228
+ canvas-gap: $kendo-color-gradient-lg-canvas-gap
229
+ )
230
+ ) !default;
@@ -18,6 +18,25 @@ $kendo-color-palette-tile-width: k-spacing(6) !default;
18
18
  /// The height of the ColorPalette tile.
19
19
  /// @group color-palette
20
20
  $kendo-color-palette-tile-height: $kendo-color-palette-tile-width !default;
21
+ /// The width of the small ColorPalette tile.
22
+ /// @group color-palette
23
+ $kendo-color-palette-tile-sm-width: k-spacing(5.5) !default;
24
+ /// The height of the small ColorPalette tile.
25
+ /// @group color-palette
26
+ $kendo-color-palette-tile-sm-height: $kendo-color-palette-tile-sm-width !default;
27
+ /// The width of the medium ColorPalette tile.
28
+ /// @group color-palette
29
+ $kendo-color-palette-tile-md-width: $kendo-color-palette-tile-width !default;
30
+ /// The height of the medium ColorPalette tile.
31
+ /// @group color-palette
32
+ $kendo-color-palette-tile-md-height: $kendo-color-palette-tile-height !default;
33
+ /// The width of the large ColorPalette tile.
34
+ /// @group color-palette
35
+ $kendo-color-palette-tile-lg-width: k-spacing(8) !default;
36
+ /// The height of the large ColorPalette tile.
37
+ /// @group color-palette
38
+ $kendo-color-palette-tile-lg-height: $kendo-color-palette-tile-lg-width !default;
39
+
21
40
  /// The shadow of the ColorPalette focused tile.
22
41
  /// @group color-palette
23
42
  $kendo-color-palette-tile-focus-shadow: 0 0 3px 1px rgba( black, .3 ), inset 0 0 0 1px rgba( white, .5 ) !default;
@@ -27,3 +46,20 @@ $kendo-color-palette-tile-hover-shadow: 0 0 3px 1px rgba( black, .3 ), inset 0 0
27
46
  /// The shadow of the ColorPalette selected tile.
28
47
  /// @group color-palette
29
48
  $kendo-color-palette-tile-selected-shadow: 0 1px 3px 1px rgba( black, .3 ), inset 0 0 0 1px rgba( white, 1 ) !default;
49
+
50
+ /// The size map of the ColorPalette.
51
+ /// @group color-palette
52
+ $kendo-color-palette-sizes: (
53
+ sm: (
54
+ width: $kendo-color-palette-tile-sm-width,
55
+ height: $kendo-color-palette-tile-sm-height
56
+ ),
57
+ md: (
58
+ width: $kendo-color-palette-tile-md-width,
59
+ height: $kendo-color-palette-tile-md-height
60
+ ),
61
+ lg: (
62
+ width: $kendo-color-palette-tile-lg-width,
63
+ height: $kendo-color-palette-tile-lg-height
64
+ )
65
+ ) !default;
@@ -157,6 +157,10 @@
157
157
  z-index: 10;
158
158
  }
159
159
 
160
+ .k-dock-manager-window:has(.k-pane) .k-window-content {
161
+ padding: 0;
162
+ }
163
+
160
164
  }
161
165
 
162
166
  @mixin kendo-dock-navigator--layout() {
package/scss/index.scss CHANGED
@@ -114,6 +114,7 @@
114
114
  @forward "./map/_index.scss";
115
115
  @forward "./orgchart/_index.scss";
116
116
  @forward "./signature/_index.scss";
117
+ @forward "./otp/_index.scss";
117
118
 
118
119
 
119
120
  // Use component modules
@@ -200,6 +201,7 @@
200
201
  @use "./switch/_index.scss" as *;
201
202
  @use "./upload/_index.scss" as *;
202
203
  @use "./dropzone/_index.scss" as *;
204
+ @use "./otp/_index.scss" as *;
203
205
 
204
206
 
205
207
  // Command interfaces
@@ -372,6 +374,7 @@
372
374
  @include kendo-switch--styles();
373
375
  @include kendo-upload--styles();
374
376
  @include kendo-dropzone--styles();
377
+ @include kendo-otp--styles();
375
378
 
376
379
 
377
380
  // Command interfaces
@@ -237,6 +237,58 @@
237
237
  }
238
238
  }
239
239
 
240
+ // Input group
241
+ .k-input-group {
242
+ margin: 0;
243
+ padding: 0;
244
+ border-width: 0;
245
+ box-sizing: border-box;
246
+ list-style: none;
247
+ outline: 0;
248
+ display: inline-flex;
249
+ flex-flow: row nowrap;
250
+ vertical-align: middle;
251
+ position: relative;
252
+ -webkit-touch-callout: none;
253
+ -webkit-tap-highlight-color: $kendo-color-rgba-transparent;
254
+
255
+ > .k-input + .k-input {
256
+ margin-inline-start: if( $kendo-input-border-width == 0, null, -$kendo-input-border-width );
257
+ }
258
+
259
+ > .k-input:hover,
260
+ > .k-input.k-hover,
261
+ > .k-input:focus,
262
+ > .k-input:focus-within,
263
+ > .k-input.k-focus,
264
+ > .k-input:active,
265
+ > .k-input.k-active,
266
+ > .k-input.k-selected {
267
+ z-index: 2;
268
+ }
269
+
270
+ .k-input:not(:first-child):not(:last-child) {
271
+ border-start-end-radius: 0;
272
+ border-end-end-radius: 0;
273
+ border-start-start-radius: 0;
274
+ border-end-start-radius: 0;
275
+ }
276
+ > .k-input:first-child:not(:only-child) {
277
+ border-start-end-radius: 0;
278
+ border-end-end-radius: 0;
279
+ }
280
+ > .k-input:last-child:not(:only-child) {
281
+ border-start-start-radius: 0;
282
+ border-end-start-radius: 0;
283
+ }
284
+
285
+ &:disabled,
286
+ &[disabled],
287
+ &.k-disabled {
288
+ opacity: 1;
289
+ filter: none;
290
+ }
291
+ }
240
292
 
241
293
  // Input with icon styles
242
294
  .k-input-icon,
@@ -72,6 +72,13 @@ $kendo-input-md-line-height: $kendo-input-line-height !default;
72
72
  /// @group input
73
73
  $kendo-input-lg-line-height: var( --kendo-line-height-lg, normal ) !default;
74
74
 
75
+ /// The calculated height of the Input.
76
+ /// @group input
77
+ $kendo-input-calc-size: calc( ( #{$kendo-input-line-height} * 1em ) + ( #{$kendo-input-padding-y} * 2 ) + ( #{$kendo-input-border-width * 2} ) ) !default;
78
+ $kendo-input-sm-calc-size: calc( ( #{$kendo-input-sm-line-height} * 1em ) + ( #{$kendo-input-sm-padding-y} * 2 ) + ( #{$kendo-input-border-width * 2} ) ) !default;
79
+ $kendo-input-md-calc-size: calc( ( #{$kendo-input-md-line-height} * 1em ) + ( #{$kendo-input-md-padding-y} * 2 ) + ( #{$kendo-input-border-width * 2} ) ) !default;
80
+ $kendo-input-lg-calc-size: calc( ( #{$kendo-input-lg-line-height} * 1em ) + ( #{$kendo-input-lg-padding-y} * 2 ) + ( #{$kendo-input-border-width * 2} ) ) !default;
81
+
75
82
  /// The sizes map for the Input components.
76
83
  /// @group input
77
84
  $kendo-input-sizes: (
@@ -0,0 +1,18 @@
1
+ // Dependencies
2
+ @use "../core/_index.scss" as *;
3
+ @use "../input/_index.scss" as *;
4
+
5
+ // Component
6
+ @forward "./_variables.scss";
7
+ @use "./_layout.scss" as *;
8
+ @use "./_theme.scss" as *;
9
+
10
+ // Expose
11
+ @mixin kendo-otp--styles() {
12
+ @include import-once( "otp" ) {
13
+ @include core-styles();
14
+ @include kendo-input--styles();
15
+ @include kendo-otp--layout();
16
+ @include kendo-otp--theme();
17
+ }
18
+ }
@@ -0,0 +1,41 @@
1
+ @use "sass:map";
2
+ @use "./_variables.scss" as *;
3
+ @use "../core/_index.scss" as *;
4
+ @use "../input/_variables.scss" as *;
5
+
6
+ @mixin kendo-otp--layout-base() {
7
+ // OTP
8
+ .k-otp {
9
+ display: flex;
10
+ width: min-content;
11
+ align-items: center;
12
+ flex-direction: row;
13
+
14
+ .k-otp-input > .k-input-inner {
15
+ text-align: center;
16
+ padding-inline: 0;
17
+ }
18
+ }
19
+
20
+ @each $size, $size-props in $kendo-otp-sizes {
21
+ $_gap: map.get($size-props, gap);
22
+ $_separator-padding-x: map.get($size-props, separator-padding-x);
23
+ $_input-width: map.get($size-props, input-width);
24
+
25
+ .k-otp-#{$size} {
26
+ gap: $_gap;
27
+
28
+ .k-otp-input {
29
+ min-width: $_input-width;
30
+ }
31
+
32
+ .k-otp-separator:not(:empty) {
33
+ padding-inline: $_separator-padding-x;
34
+ }
35
+ }
36
+ }
37
+ }
38
+
39
+ @mixin kendo-otp--layout() {
40
+ @include kendo-otp--layout-base();
41
+ }
@@ -0,0 +1,12 @@
1
+ @use "sass:map";
2
+
3
+ @mixin kendo-otp--theme-base() {
4
+
5
+ // OTP
6
+ .k-otp {};
7
+
8
+ }
9
+
10
+ @mixin kendo-otp--theme() {
11
+ @include kendo-otp--theme-base();
12
+ }
@@ -0,0 +1,61 @@
1
+ @use "../core/_index.scss" as *;
2
+ @use "../input/_variables.scss" as *;
3
+
4
+ // OTP
5
+
6
+ /// The gap between the items in the OTP.
7
+ /// @group one-time-password
8
+ $kendo-otp-gap: k-spacing(1.5) !default;
9
+ /// The gap between the items in the small OTP.
10
+ /// @group one-time-password
11
+ $kendo-otp-sm-gap: k-spacing(1) !default;
12
+ /// The gap between the items in the medium OTP.
13
+ /// @group one-time-password
14
+ $kendo-otp-md-gap: $kendo-otp-gap !default;
15
+ /// The gap between the items in the large OTP.
16
+ /// @group one-time-password
17
+ $kendo-otp-lg-gap: k-spacing(2) !default;
18
+
19
+ /// The horizontal padding of the OTP separator.
20
+ /// @group one-time-password
21
+ $kendo-otp-separator-padding-x: $kendo-otp-gap !default;
22
+ /// The horizontal padding of the small OTP separator.
23
+ /// @group one-time-password
24
+ $kendo-otp-sm-separator-padding-x: $kendo-otp-sm-gap !default;
25
+ /// The horizontal padding of the medium OTP separator.
26
+ /// @group one-time-password
27
+ $kendo-otp-md-separator-padding-x: $kendo-otp-separator-padding-x !default;
28
+ /// The horizontal padding of the large OTP separator.
29
+ /// @group one-time-password
30
+ $kendo-otp-lg-separator-padding-x: $kendo-otp-lg-gap !default;
31
+
32
+ /// The horizontal padding of the OTP separator.
33
+ /// @group one-time-password
34
+ $kendo-otp-input-width: $kendo-input-calc-size !default;
35
+ /// The horizontal padding of the small OTP separator.
36
+ /// @group one-time-password
37
+ $kendo-otp-sm-input-width: $kendo-input-sm-calc-size !default;
38
+ /// The horizontal padding of the medium OTP separator.
39
+ /// @group one-time-password
40
+ $kendo-otp-md-input-width: $kendo-otp-input-width !default;
41
+ /// The horizontal padding of the large OTP separator.
42
+ /// @group one-time-password
43
+ $kendo-otp-lg-input-width: $kendo-input-lg-calc-size !default;
44
+
45
+ $kendo-otp-sizes: (
46
+ sm: (
47
+ gap: $kendo-otp-sm-gap,
48
+ separator-padding-x: $kendo-otp-sm-separator-padding-x,
49
+ input-width: $kendo-otp-sm-input-width
50
+ ),
51
+ md: (
52
+ gap: $kendo-otp-md-gap,
53
+ separator-padding-x: $kendo-otp-md-separator-padding-x,
54
+ input-width: $kendo-otp-md-input-width
55
+ ),
56
+ lg: (
57
+ gap: $kendo-otp-lg-gap,
58
+ separator-padding-x: $kendo-otp-lg-separator-padding-x,
59
+ input-width: $kendo-otp-lg-input-width
60
+ )
61
+ ) !default;
@@ -40,6 +40,14 @@
40
40
  top: 50%;
41
41
  left: 50%;
42
42
  }
43
+
44
+ @if $kendo-radio-indicator-type == "image" {
45
+ content: "";
46
+ display: block;
47
+ width: 100%;
48
+ height: 100%;
49
+ mask-repeat: no-repeat;
50
+ }
43
51
  }
44
52
 
45
53
 
@@ -47,7 +55,10 @@
47
55
  .k-radio:checked,
48
56
  .k-radio.k-checked {
49
57
  @if $kendo-radio-indicator-type == "image" {
50
- background-image: $kendo-radio-checked-image;
58
+ &::before {
59
+ background-color: currentColor;
60
+ mask-image: $kendo-radio-checked-image;
61
+ }
51
62
  }
52
63
 
53
64
  @if $kendo-radio-indicator-type == "glyph" {
@@ -153,7 +153,7 @@ $kendo-radio-checked-glyph: "\e308" !default;
153
153
 
154
154
  /// The image of the checked RadioButton indicator.
155
155
  /// @group radio
156
- $kendo-radio-checked-image: k-escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><circle cx='50%' cy='50%' r='4' fill='#{$kendo-radio-checked-text}'/></svg>") ) !default;
156
+ $kendo-radio-checked-image: k-escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><circle cx='50%' cy='50%' r='4' fill='#ffffff'/></svg>") ) !default;
157
157
  /// The image of the disabled and checked RadioButton indicator.
158
158
  /// @group radio
159
159
  $kendo-radio-disabled-checked-image: null !default;
@@ -1,3 +1,4 @@
1
+ @use "sass:map";
1
2
  @use "../core/_index.scss" as *;
2
3
  @use "../icons/_variables.scss" as *;
3
4
  @use "./variables.scss" as *;
@@ -169,11 +170,94 @@
169
170
  // Scrolling
170
171
  .k-tabstrip-scrollable {
171
172
  > .k-tabstrip-items-wrapper {
172
-
173
173
  > .k-tabstrip-items {
174
174
  flex-wrap: nowrap;
175
175
  white-space: nowrap;
176
176
  overflow: hidden;
177
+
178
+ &.k-tabstrip-items-scroll {
179
+ scrollbar-width: none;
180
+
181
+ &::-webkit-scrollbar {
182
+ display: none;
183
+ }
184
+ }
185
+ }
186
+ }
187
+
188
+ &.k-tabstrip-top,
189
+ &.k-tabstrip-bottom {
190
+ .k-tabstrip-items.k-tabstrip-items-scroll {
191
+ overflow-x: auto;
192
+ }
193
+ }
194
+
195
+ &.k-tabstrip-left,
196
+ &.k-tabstrip-right {
197
+ .k-tabstrip-items.k-tabstrip-items-scroll {
198
+ overflow-y: auto;
199
+ }
200
+ }
201
+ }
202
+
203
+ .k-tabstrip-scrollable-overlay {
204
+ .k-tabstrip-items-wrapper {
205
+ &::before,
206
+ &::after {
207
+ content: '';
208
+ position: absolute;
209
+ z-index: 3;
210
+ }
211
+ }
212
+
213
+ &.k-tabstrip-top,
214
+ &.k-tabstrip-bottom {
215
+ .k-tabstrip-items-wrapper {
216
+ &::before,
217
+ &::after {
218
+ height: 100%;
219
+ aspect-ratio: 1;
220
+ }
221
+ &::before {
222
+ inset-inline-start: 0;
223
+ }
224
+
225
+ &::after {
226
+ inset-inline-end: 0;
227
+ }
228
+ }
229
+ }
230
+
231
+ &.k-tabstrip-left,
232
+ &.k-tabstrip-right {
233
+ .k-tabstrip-items-wrapper {
234
+ &::before,
235
+ &::after {
236
+ width: 100%;
237
+ }
238
+ &::before {
239
+ inset-block-start: 0;
240
+ }
241
+
242
+ &::after {
243
+ inset-block-end: 0;
244
+ }
245
+ }
246
+ }
247
+
248
+ &.k-tabstrip-scrollable-start {
249
+ .k-tabstrip-items-wrapper {
250
+ &::before {
251
+ display: none;
252
+ }
253
+ }
254
+ }
255
+
256
+ &.k-tabstrip-scrollable-end {
257
+ .k-tabstrip-items-wrapper {
258
+ &::after {
259
+ display: none;
260
+ }
177
261
  }
178
262
  }
179
263
  }
@@ -375,6 +459,30 @@
375
459
 
376
460
  }
377
461
 
462
+ // TabStrip sizes
463
+ @each $size, $size-props in $kendo-tabstrip-sizes {
464
+ $_font-size: map.get( $size-props, font-size );
465
+ $_line-height: map.get( $size-props, line-height );
466
+ $_item-padding-x: map.get( $size-props, item-padding-x );
467
+ $_item-padding-y: map.get( $size-props, item-padding-y );
468
+
469
+ .k-tabstrip-#{$size} {
470
+ .k-tabstrip-items .k-link {
471
+ font-size: $_font-size;
472
+ line-height: $_line-height;
473
+ padding-block: $_item-padding-y;
474
+ padding-inline: $_item-padding-x;
475
+ }
476
+
477
+ :is(&.k-tabstrip-left, &.k-tabstrip-right):is(.k-tabstrip-scrollable-overlay) :is(.k-tabstrip-items-wrapper){
478
+ &::before,
479
+ &::after {
480
+ height: calc( ($_line-height * 1em) + ($kendo-tabstrip-border-width * 2) + ($_item-padding-y * 2) );
481
+ }
482
+ }
483
+ }
484
+ }
485
+
378
486
  }
379
487
 
380
488
 
@@ -101,6 +101,53 @@
101
101
  }
102
102
  }
103
103
 
104
+ // Scrolling
105
+ .k-tabstrip-scrollable-overlay {
106
+ &.k-tabstrip-top,
107
+ &.k-tabstrip-bottom {
108
+ .k-tabstrip-items-wrapper {
109
+ &::before {
110
+ background: linear-gradient(90deg, $kendo-tabstrip-scroll-overlay);
111
+ }
112
+
113
+ &::after {
114
+ background: linear-gradient(270deg, $kendo-tabstrip-scroll-overlay);
115
+ }
116
+ }
117
+ }
118
+
119
+ &.k-tabstrip-left,
120
+ &.k-tabstrip-right {
121
+ .k-tabstrip-items-wrapper {
122
+ &::before {
123
+ background: linear-gradient(180deg, $kendo-tabstrip-scroll-overlay);
124
+ }
125
+
126
+ &::after {
127
+ background: linear-gradient(360deg, $kendo-tabstrip-scroll-overlay);
128
+ }
129
+ }
130
+ }
131
+ }
132
+ }
133
+
134
+ // RTL
135
+ .k-rtl,
136
+ [dir="rtl"] {
137
+ &.k-tabstrip-scrollable-overlay {
138
+ &.k-tabstrip-top,
139
+ &.k-tabstrip-bottom {
140
+ .k-tabstrip-items-wrapper {
141
+ &::before {
142
+ background: linear-gradient(270deg, $kendo-tabstrip-scroll-overlay);
143
+ }
144
+
145
+ &::after {
146
+ background: linear-gradient(90deg, $kendo-tabstrip-scroll-overlay);
147
+ }
148
+ }
149
+ }
150
+ }
104
151
  }
105
152
 
106
153