@progress/kendo-theme-classic 13.0.0-dev.0 → 13.0.0-dev.2

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 (62) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/classic-green-dark.css +1 -1
  3. package/dist/classic-green.css +1 -1
  4. package/dist/classic-lavender-dark.css +1 -1
  5. package/dist/classic-lavender.css +1 -1
  6. package/dist/classic-main-dark.css +1 -1
  7. package/dist/classic-main.css +1 -1
  8. package/dist/classic-metro-dark.css +1 -1
  9. package/dist/classic-metro.css +1 -1
  10. package/dist/classic-moonlight.css +1 -1
  11. package/dist/classic-opal-dark.css +1 -1
  12. package/dist/classic-opal.css +1 -1
  13. package/dist/classic-silver-dark.css +1 -1
  14. package/dist/classic-silver.css +1 -1
  15. package/dist/classic-uniform.css +1 -1
  16. package/dist/meta/sassdoc-data.json +7178 -2740
  17. package/dist/meta/sassdoc-raw-data.json +3466 -1457
  18. package/dist/meta/variables.json +476 -121
  19. package/lib/swatches/classic-green-dark.json +1 -1
  20. package/lib/swatches/classic-green.json +1 -1
  21. package/lib/swatches/classic-lavender-dark.json +1 -1
  22. package/lib/swatches/classic-lavender.json +1 -1
  23. package/lib/swatches/classic-main-dark.json +1 -1
  24. package/lib/swatches/classic-main.json +1 -1
  25. package/lib/swatches/classic-metro-dark.json +1 -1
  26. package/lib/swatches/classic-metro.json +1 -1
  27. package/lib/swatches/classic-moonlight.json +1 -1
  28. package/lib/swatches/classic-opal-dark.json +1 -1
  29. package/lib/swatches/classic-opal.json +1 -1
  30. package/lib/swatches/classic-silver-dark.json +1 -1
  31. package/lib/swatches/classic-silver.json +1 -1
  32. package/lib/swatches/classic-uniform.json +1 -1
  33. package/package.json +5 -5
  34. package/scss/bubble/_variables.scss +1 -1
  35. package/scss/chat/_index.scss +2 -0
  36. package/scss/chat/_variables.scss +33 -60
  37. package/scss/core/motion/index.scss +1 -0
  38. package/scss/dropdowntree/_variables.scss +10 -1
  39. package/scss/file-box/_index.scss +16 -0
  40. package/scss/file-box/_layout.scss +6 -0
  41. package/scss/file-box/_theme.scss +6 -0
  42. package/scss/file-box/_variables.scss +73 -0
  43. package/scss/grid/_index.scss +2 -0
  44. package/scss/grid/_variables.scss +11 -1
  45. package/scss/icons/_variables.scss +5 -1
  46. package/scss/index.scss +12 -0
  47. package/scss/list/_variables.scss +55 -20
  48. package/scss/prompt-box/_index.scss +16 -0
  49. package/scss/prompt-box/_layout.scss +6 -0
  50. package/scss/prompt-box/_theme.scss +6 -0
  51. package/scss/prompt-box/_variables.scss +34 -0
  52. package/scss/segmented-control/_index.scss +16 -0
  53. package/scss/segmented-control/_layout.scss +6 -0
  54. package/scss/segmented-control/_theme.scss +6 -0
  55. package/scss/segmented-control/_variables.scss +142 -0
  56. package/scss/smart-box/_index.scss +24 -0
  57. package/scss/smart-box/_layout.scss +6 -0
  58. package/scss/smart-box/_theme.scss +6 -0
  59. package/scss/smart-box/_variables.scss +71 -0
  60. package/scss/suggestion/_variables.scss +14 -4
  61. package/scss/toolbar/_variables.scss +4 -0
  62. package/scss/treeview/_variables.scss +16 -3
@@ -11,6 +11,13 @@ $kendo-list-default-size: "md" !default;
11
11
  /// @group list
12
12
  $kendo-list-font-family: var( --kendo-font-family, inherit ) !default;
13
13
 
14
+ /// The horizontal padding of the List container.
15
+ /// @group list
16
+ $kendo-list-container-padding-inline: k-spacing(2) !default;
17
+ /// The vertical padding of the List container.
18
+ /// @group list
19
+ $kendo-list-container-padding-block: k-spacing(2) !default;
20
+
14
21
  /// The font size of the List component, if no size is set.
15
22
  /// @group list
16
23
  $kendo-list-font-size: null !default;
@@ -157,6 +164,14 @@ $kendo-list-md-item-line-height: null !default;
157
164
  /// @group list
158
165
  $kendo-list-lg-item-line-height: null !default;
159
166
 
167
+ /// The gap of the List item components.
168
+ /// @group list
169
+ $kendo-list-item-gap: k-spacing(2) !default;
170
+
171
+ /// The spacing between the List items.
172
+ /// @group list
173
+ $kendo-list-item-spacing: k-spacing(0.5) !default;
174
+
160
175
  /// The horizontal padding of the small List group item.
161
176
  /// @group list
162
177
  $kendo-list-sm-group-item-padding-x: k-spacing(2) !default;
@@ -169,43 +184,43 @@ $kendo-list-lg-group-item-padding-x: k-spacing(2) !default;
169
184
 
170
185
  /// The vertical padding of the small List group item.
171
186
  /// @group list
172
- $kendo-list-sm-group-item-padding-y: k-spacing(0.5) !default;
187
+ $kendo-list-sm-group-item-padding-y: calc( #{k-spacing(.5)} + 1px ) !default;
173
188
  /// The vertical padding of the medium List group item.
174
189
  /// @group list
175
- $kendo-list-md-group-item-padding-y: k-spacing(1) !default;
190
+ $kendo-list-md-group-item-padding-y: calc( #{k-spacing(1)} + 1px ) !default;
176
191
  /// The vertical padding of the large List group item.
177
192
  /// @group list
178
- $kendo-list-lg-group-item-padding-y: k-spacing(1.5) !default;
193
+ $kendo-list-lg-group-item-padding-y: calc( #{k-spacing(1.5)} + 1px ) !default;
179
194
 
180
195
  /// The border width of the List group items.
181
196
  /// @group list
182
- $kendo-list-group-item-border-width: 1px 0 0 !default;
197
+ $kendo-list-group-item-border-width: 0 !default;
183
198
 
184
199
  /// The font size of the List group items, if no size is set.
185
200
  /// @group list
186
- $kendo-list-group-item-font-size: null !default;
201
+ $kendo-list-group-item-font-size: var( --kendo-font-size-sm, inherit ) !default;
187
202
  /// The font size of the small List group item.
188
203
  /// @group list
189
- $kendo-list-sm-group-item-font-size: null !default;
204
+ $kendo-list-sm-group-item-font-size: var( --kendo-font-size-sm, inherit ) !default;
190
205
  /// The font size of the medium List group item.
191
206
  /// @group list
192
- $kendo-list-md-group-item-font-size: null !default;
207
+ $kendo-list-md-group-item-font-size: var( --kendo-font-size-sm, inherit ) !default;
193
208
  /// The font size of the large List group item.
194
209
  /// @group list
195
- $kendo-list-lg-group-item-font-size: null !default;
210
+ $kendo-list-lg-group-item-font-size: var( --kendo-font-size-sm, inherit ) !default;
196
211
 
197
212
  /// The line height of the List group items, if no size is set.
198
213
  /// @group list
199
- $kendo-list-group-item-line-height: null !default;
214
+ $kendo-list-group-item-line-height: var( --kendo-line-height-lg, normal ) !default;
200
215
  /// The line height of the small List group item.
201
216
  /// @group list
202
- $kendo-list-sm-group-item-line-height: null !default;
217
+ $kendo-list-sm-group-item-line-height: var( --kendo-line-height-lg, normal ) !default;
203
218
  /// The line height of the medium List group item.
204
219
  /// @group list
205
- $kendo-list-md-group-item-line-height: null !default;
220
+ $kendo-list-md-group-item-line-height: var( --kendo-line-height-lg, normal ) !default;
206
221
  /// The line height of the large List group item.
207
222
  /// @group list
208
- $kendo-list-lg-group-item-line-height: null !default;
223
+ $kendo-list-lg-group-item-line-height: var( --kendo-line-height-lg, normal ) !default;
209
224
 
210
225
  /// The font weight of a List group item.
211
226
  /// @group list
@@ -282,10 +297,13 @@ $kendo-list-item-bg: null !default;
282
297
  /// The text color of the List items.
283
298
  /// @group list
284
299
  $kendo-list-item-text: null !default;
300
+ /// The border-radius of the List items.
301
+ /// @group list
302
+ $kendo-list-item-border-radius: k-border-radius(md) !default;
285
303
 
286
304
  /// The background color of the hovered List items.
287
305
  /// @group list
288
- $kendo-list-item-hover-bg: color-mix(in srgb, k-color(on-app-surface) 8%, transparent ) !default;
306
+ $kendo-list-item-hover-bg: color-mix(in srgb, k-color(on-app-surface) 6%, transparent ) !default;
289
307
  /// The text color of the hovered List items.
290
308
  /// @group list
291
309
  $kendo-list-item-hover-text: k-color(on-app-surface) !default;
@@ -302,39 +320,50 @@ $kendo-list-item-focus-shadow: inset 0 0 0 2px k-color(border-alt) !default;
302
320
 
303
321
  /// The background color of the selected List items.
304
322
  /// @group list
305
- $kendo-list-item-selected-bg: k-color(primary) !default;
323
+ $kendo-list-item-selected-bg: color-mix(in srgb, k-color(on-app-surface) 12%, transparent ) !default;
306
324
  /// The text color of the selected List items.
307
325
  /// @group list
308
- $kendo-list-item-selected-text: k-color(on-primary) !default;
326
+ $kendo-list-item-selected-text: k-color(on-app-surface) !default;
309
327
 
310
328
  /// The background color of the selected hovered List items.
311
329
  /// @group list
312
- $kendo-list-item-selected-hover-bg: k-color(primary-hover) !default;
330
+ $kendo-list-item-selected-hover-bg: color-mix(in srgb, k-color(on-app-surface) 18%, transparent ) !default;
313
331
  /// The text color of the selected hovered List items.
314
332
  /// @group list
315
- $kendo-list-item-selected-hover-text: k-color(on-primary) !default;
333
+ $kendo-list-item-selected-hover-text: k-color(on-app-surface) !default;
316
334
 
317
335
  /// The background color of the List group items.
318
336
  /// @group list
319
337
  $kendo-list-group-item-bg: null !default;
320
338
  /// The text color of the List group items.
321
339
  /// @group list
322
- $kendo-list-group-item-text: null !default;
340
+ $kendo-list-group-item-text: k-color(subtle) !default;
323
341
  /// The border color of the List group items.
324
342
  /// @group list
325
343
  $kendo-list-group-item-border: inherit !default;
326
344
  /// The base shadow of the List group items.
327
345
  /// @group list
328
- $kendo-list-group-item-shadow: null !default;
346
+ $kendo-list-group-item-shadow: inset 0 1px 0 k-color(border) !default;
329
347
 
330
348
  /// The color of the 'Option Label' text.
331
349
  /// @group list
332
350
  $kendo-list-option-label-text: k-color(subtle) !default;
333
351
 
352
+ /// The font size of the List item description.
353
+ /// @group list
354
+ $kendo-list-item-description-font-size: var( --kendo-font-size-sm, inherit ) !default;
355
+ /// The line of the list item description.
356
+ /// @group list
357
+ $kendo-list-item-description-line-height: var( --kendo-line-height-lg, normal ) !default;
358
+ /// The text color of the list item description.
359
+ /// @group list
360
+ $kendo-list-item-description-text: k-color(subtle) !default;
334
361
 
335
362
  @forward "@progress/kendo-theme-core/scss/components/list/_variables.scss" with (
336
363
  $kendo-list-default-size: $kendo-list-default-size,
337
364
  $kendo-list-font-family: $kendo-list-font-family,
365
+ $kendo-list-container-padding-inline: $kendo-list-container-padding-inline,
366
+ $kendo-list-container-padding-block: $kendo-list-container-padding-block,
338
367
  $kendo-list-font-size: $kendo-list-font-size,
339
368
  $kendo-list-sm-font-size: $kendo-list-sm-font-size,
340
369
  $kendo-list-md-font-size: $kendo-list-md-font-size,
@@ -373,6 +402,8 @@ $kendo-list-option-label-text: k-color(subtle) !default;
373
402
  $kendo-list-sm-item-line-height: $kendo-list-sm-item-line-height,
374
403
  $kendo-list-md-item-line-height: $kendo-list-md-item-line-height,
375
404
  $kendo-list-lg-item-line-height: $kendo-list-lg-item-line-height,
405
+ $kendo-list-item-gap: $kendo-list-item-gap,
406
+ $kendo-list-item-spacing: $kendo-list-item-spacing,
376
407
  $kendo-list-sm-group-item-padding-x: $kendo-list-sm-group-item-padding-x,
377
408
  $kendo-list-md-group-item-padding-x: $kendo-list-md-group-item-padding-x,
378
409
  $kendo-list-lg-group-item-padding-x: $kendo-list-lg-group-item-padding-x,
@@ -416,6 +447,7 @@ $kendo-list-option-label-text: k-color(subtle) !default;
416
447
  $kendo-list-header-shadow: $kendo-list-header-shadow,
417
448
  $kendo-list-item-bg: $kendo-list-item-bg,
418
449
  $kendo-list-item-text: $kendo-list-item-text,
450
+ $kendo-list-item-border-radius: $kendo-list-item-border-radius,
419
451
  $kendo-list-item-hover-bg: $kendo-list-item-hover-bg,
420
452
  $kendo-list-item-hover-text: $kendo-list-item-hover-text,
421
453
  $kendo-list-item-focus-bg: $kendo-list-item-focus-bg,
@@ -429,5 +461,8 @@ $kendo-list-option-label-text: k-color(subtle) !default;
429
461
  $kendo-list-group-item-text: $kendo-list-group-item-text,
430
462
  $kendo-list-group-item-border: $kendo-list-group-item-border,
431
463
  $kendo-list-group-item-shadow: $kendo-list-group-item-shadow,
432
- $kendo-list-option-label-text: $kendo-list-option-label-text
464
+ $kendo-list-option-label-text: $kendo-list-option-label-text,
465
+ $kendo-list-item-description-text: $kendo-list-item-description-text,
466
+ $kendo-list-item-description-font-size: $kendo-list-item-description-font-size,
467
+ $kendo-list-item-description-line-height: $kendo-list-item-description-line-height
433
468
  );
@@ -0,0 +1,16 @@
1
+ // Dependencies
2
+ @use "../core/_index.scss" as *;
3
+
4
+ // Component
5
+ @forward "./_variables.scss";
6
+ @use "./_layout.scss" as *;
7
+ @use "./_theme.scss" as *;
8
+
9
+ // Expose
10
+ @mixin kendo-prompt-box--styles() {
11
+ @include import-once( "prompt-box" ) {
12
+ @include core-styles();
13
+ @include kendo-prompt-box--layout();
14
+ @include kendo-prompt-box--theme();
15
+ }
16
+ }
@@ -0,0 +1,6 @@
1
+ @use "@progress/kendo-theme-core/scss/components/prompt-box/_layout.scss" as *;
2
+
3
+
4
+ @mixin kendo-prompt-box--layout() {
5
+ @include kendo-prompt-box--layout-base();
6
+ }
@@ -0,0 +1,6 @@
1
+ @use "@progress/kendo-theme-core/scss/components/prompt-box/_theme.scss" as *;
2
+
3
+
4
+ @mixin kendo-prompt-box--theme() {
5
+ @include kendo-prompt-box--theme-base();
6
+ }
@@ -0,0 +1,34 @@
1
+ @use "../core/_index.scss" as *;
2
+
3
+ // Prompt box
4
+
5
+ /// The border radius of the PromptBox.
6
+ /// @group prompt-box
7
+ $kendo-prompt-box-border-radius: k-border-radius(xxl) !default;
8
+
9
+ /// The box shadow of the PromptBox.
10
+ /// @group prompt-box
11
+ $kendo-prompt-box-box-shadow: k-elevation(1) !default;
12
+
13
+ /// The padding of the PromptBox header.
14
+ /// @group prompt-box
15
+ $kendo-prompt-box-header-padding: k-spacing(2) !default;
16
+ /// The inner padding of the PromptBox input.
17
+ /// @group prompt-box
18
+ $kendo-prompt-box-input-inner-padding: k-spacing(3) !default;
19
+ /// The padding of the PromptBox affix.
20
+ /// @group prompt-box
21
+ $kendo-prompt-box-affix-padding: k-spacing(2) !default;
22
+
23
+ /// The spacing between the PromptBox affixes.
24
+ /// @group prompt-box
25
+ $kendo-prompt-box-affix-spacing: k-spacing(1) !default;
26
+
27
+ @forward "@progress/kendo-theme-core/scss/components/prompt-box/_variables.scss" with (
28
+ $kendo-prompt-box-border-radius: $kendo-prompt-box-border-radius,
29
+ $kendo-prompt-box-box-shadow: $kendo-prompt-box-box-shadow,
30
+ $kendo-prompt-box-header-padding: $kendo-prompt-box-header-padding,
31
+ $kendo-prompt-box-input-inner-padding: $kendo-prompt-box-input-inner-padding,
32
+ $kendo-prompt-box-affix-padding: $kendo-prompt-box-affix-padding,
33
+ $kendo-prompt-box-affix-spacing: $kendo-prompt-box-affix-spacing
34
+ );
@@ -0,0 +1,16 @@
1
+ // Dependencies
2
+ @use "../core/_index.scss" as *;
3
+
4
+ // Component
5
+ @forward "./_variables.scss";
6
+ @use "./_layout.scss" as *;
7
+ @use "./_theme.scss" as *;
8
+
9
+ // Expose
10
+ @mixin kendo-segmented-control--styles() {
11
+ @include import-once( "segmented-control" ) {
12
+ @include core-styles();
13
+ @include kendo-segmented-control--layout();
14
+ @include kendo-segmented-control--theme();
15
+ }
16
+ }
@@ -0,0 +1,6 @@
1
+ @use "@progress/kendo-theme-core/scss/components/segmented-control/_layout.scss" as *;
2
+
3
+
4
+ @mixin kendo-segmented-control--layout() {
5
+ @include kendo-segmented-control--layout-base();
6
+ }
@@ -0,0 +1,6 @@
1
+ @use "@progress/kendo-theme-core/scss/components/segmented-control/_theme.scss" as *;
2
+
3
+
4
+ @mixin kendo-segmented-control--theme() {
5
+ @include kendo-segmented-control--theme-base();
6
+ }
@@ -0,0 +1,142 @@
1
+ @use "sass:map";
2
+ @use "../core/_index.scss" as *;
3
+
4
+
5
+ // Segmented control
6
+
7
+ /// The default size of the Segmented control.
8
+ /// @group segmented-control
9
+ /// @role default
10
+ $kendo-segmented-control-default-size: "md" !default;
11
+
12
+ /// The horizontal padding of the Segmented Control.
13
+ /// @group segmented-control
14
+ $kendo-segmented-control-padding-x: k-spacing(0.5) !default;
15
+ /// The vertical padding of the Segmented Control.
16
+ /// @group segmented-control
17
+ $kendo-segmented-control-padding-y: k-spacing(0.5) !default;
18
+ /// The border radius of the Segmented Control.
19
+ /// @group segmented-control
20
+ $kendo-segmented-control-border-radius: k-border-radius(full) !default;
21
+
22
+ /// The background color of the Segmented Control.
23
+ /// @group segmented-control
24
+ $kendo-segmented-control-bg: k-color(base-subtle) !default;
25
+ /// The text color of the Segmented Control.
26
+ /// @group segmented-control
27
+ $kendo-segmented-control-text: k-color(on-app-surface) !default;
28
+
29
+ /// The font size of the small Segmented Control.
30
+ /// @group segmented-control
31
+ $kendo-segmented-control-sm-font-size: var( --kendo-font-size, inherit ) !default;
32
+ /// The font size of the medium Segmented Control.
33
+ /// @group segmented-control
34
+ $kendo-segmented-control-md-font-size: var( --kendo-font-size, inherit ) !default;
35
+ /// The font size of the large Segmented Control.
36
+ /// @group segmented-control
37
+ $kendo-segmented-control-lg-font-size: var( --kendo-font-size-lg, inherit ) !default;
38
+
39
+ /// The font family of the Segmented Control.
40
+ /// @group segmented-control
41
+ $kendo-segmented-control-font-family: var( --kendo-font-family, inherit ) !default;
42
+
43
+ /// The line height of the small Segmented Control.
44
+ /// @group segmented-control
45
+ $kendo-segmented-control-sm-line-height: var( --kendo-line-height, normal ) !default;
46
+ /// The line height of the medium Segmented Control.
47
+ /// @group segmented-control
48
+ $kendo-segmented-control-md-line-height: var( --kendo-line-height, normal ) !default;
49
+ /// The line height of the large Segmented Control.
50
+ /// @group segmented-control
51
+ $kendo-segmented-control-lg-line-height: var( --kendo-line-height, normal ) !default;
52
+
53
+ /// The border radius of the Segmented Control thumb.
54
+ /// @group segmented-control
55
+ $kendo-segmented-control-thumb-border-radius: $kendo-segmented-control-border-radius !default;
56
+ /// The box shadow of the Segmented Control thumb.
57
+ /// @group segmented-control
58
+ $kendo-segmented-control-thumb-shadow: none !default;
59
+ /// The background of the Segmented Control thumb.
60
+ /// @group segmented-control
61
+ $kendo-segmented-control-thumb-bg: k-color(surface-alt) !default;
62
+ /// The text color of the Segmented Control thumb.
63
+ /// @group segmented-control
64
+ $kendo-segmented-control-thumb-text: $kendo-segmented-control-text !default;
65
+
66
+ /// The horizontal padding of the small Segmented Control button.
67
+ /// @group segmented-control
68
+ $kendo-segmented-control-sm-button-padding-x: k-spacing(3) !default;
69
+ /// The horizontal padding of the medium Segmented Control button.
70
+ /// @group segmented-control
71
+ $kendo-segmented-control-md-button-padding-x: k-spacing(3) !default;
72
+ /// The horizontal padding of the large Segmented Control button.
73
+ /// @group segmented-control
74
+ $kendo-segmented-control-lg-button-padding-x: k-spacing(3) !default;
75
+
76
+ /// The vertical padding of the small Segmented Control button.
77
+ /// @group segmented-control
78
+ $kendo-segmented-control-sm-button-padding-y: k-spacing(1px) !default;
79
+ /// The vertical padding of the medium Segmented Control button.
80
+ /// @group segmented-control
81
+ $kendo-segmented-control-md-button-padding-y: calc( #{k-spacing(.5)} + 1px ) !default;
82
+ /// The vertical padding of the large Segmented Control button.
83
+ /// @group segmented-control
84
+ $kendo-segmented-control-lg-button-padding-y: calc( #{k-spacing(1.5)} + 1px ) !default;
85
+
86
+ /// The width of the border around the Segmented Control button.
87
+ /// @group segmented-control
88
+ $kendo-segmented-control-button-border-width: 0px !default;
89
+ /// The border radius of the Segmented Control button.
90
+ /// @group segmented-control
91
+ $kendo-segmented-control-button-border-radius: $kendo-segmented-control-thumb-border-radius !default;
92
+
93
+ /// The gap of the items inside the small Segmented Control buttons.
94
+ /// @group segmented-control
95
+ $kendo-segmented-control-sm-button-gap: k-spacing(1.5) !default;
96
+ /// The gap of the items inside the medium Segmented Control buttons.
97
+ /// @group segmented-control
98
+ $kendo-segmented-control-md-button-gap: k-spacing(1.5) !default;
99
+ /// The gap of the items inside the large Segmented Control buttons.
100
+ /// @group segmented-control
101
+ $kendo-segmented-control-lg-button-gap: k-spacing(2) !default;
102
+
103
+ /// The background color of the hovered button inside Segmented Control.
104
+ /// @group segmented-control
105
+ $kendo-segmented-control-button-hover-bg: k-color(base-hover) !default;
106
+ /// The indication of the focused button inside Segmented Control.
107
+ /// @group segmented-control
108
+ $kendo-segmented-control-button-focus-indicator: inset 0 0 0 2px color-mix(in srgb, currentColor 25%, transparent) !default;
109
+
110
+
111
+ @forward "@progress/kendo-theme-core/scss/components/segmented-control/_variables.scss" with (
112
+ $kendo-segmented-control-default-size: $kendo-segmented-control-default-size,
113
+ $kendo-segmented-control-padding-x: $kendo-segmented-control-padding-x,
114
+ $kendo-segmented-control-padding-y: $kendo-segmented-control-padding-y,
115
+ $kendo-segmented-control-border-radius: $kendo-segmented-control-border-radius,
116
+ $kendo-segmented-control-bg: $kendo-segmented-control-bg,
117
+ $kendo-segmented-control-text: $kendo-segmented-control-text,
118
+ $kendo-segmented-control-sm-font-size: $kendo-segmented-control-sm-font-size,
119
+ $kendo-segmented-control-md-font-size: $kendo-segmented-control-md-font-size,
120
+ $kendo-segmented-control-lg-font-size: $kendo-segmented-control-lg-font-size,
121
+ $kendo-segmented-control-font-family: $kendo-segmented-control-font-family,
122
+ $kendo-segmented-control-sm-line-height: $kendo-segmented-control-sm-line-height,
123
+ $kendo-segmented-control-md-line-height: $kendo-segmented-control-md-line-height,
124
+ $kendo-segmented-control-lg-line-height: $kendo-segmented-control-lg-line-height,
125
+ $kendo-segmented-control-thumb-border-radius: $kendo-segmented-control-thumb-border-radius,
126
+ $kendo-segmented-control-thumb-shadow: $kendo-segmented-control-thumb-shadow,
127
+ $kendo-segmented-control-thumb-bg: $kendo-segmented-control-thumb-bg,
128
+ $kendo-segmented-control-thumb-text: $kendo-segmented-control-thumb-text,
129
+ $kendo-segmented-control-sm-button-padding-x: $kendo-segmented-control-sm-button-padding-x,
130
+ $kendo-segmented-control-md-button-padding-x: $kendo-segmented-control-md-button-padding-x,
131
+ $kendo-segmented-control-lg-button-padding-x: $kendo-segmented-control-lg-button-padding-x,
132
+ $kendo-segmented-control-sm-button-padding-y: $kendo-segmented-control-sm-button-padding-y,
133
+ $kendo-segmented-control-md-button-padding-y: $kendo-segmented-control-md-button-padding-y,
134
+ $kendo-segmented-control-lg-button-padding-y: $kendo-segmented-control-lg-button-padding-y,
135
+ $kendo-segmented-control-button-border-width: $kendo-segmented-control-button-border-width,
136
+ $kendo-segmented-control-button-border-radius: $kendo-segmented-control-button-border-radius,
137
+ $kendo-segmented-control-sm-button-gap: $kendo-segmented-control-sm-button-gap,
138
+ $kendo-segmented-control-md-button-gap: $kendo-segmented-control-md-button-gap,
139
+ $kendo-segmented-control-lg-button-gap: $kendo-segmented-control-lg-button-gap,
140
+ $kendo-segmented-control-button-hover-bg: $kendo-segmented-control-button-hover-bg,
141
+ $kendo-segmented-control-button-focus-indicator: $kendo-segmented-control-button-focus-indicator,
142
+ );
@@ -0,0 +1,24 @@
1
+ // Dependencies
2
+ @use "../core/_index.scss" as *;
3
+ @use "../input/_index.scss" as *;
4
+ @use "../popup/_index.scss" as *;
5
+ @use "../list/_index.scss" as *;
6
+ @use "../segmented-control/_index.scss" as *;
7
+
8
+ // Component
9
+ @forward "./_variables.scss";
10
+ @use "./_layout.scss" as *;
11
+ @use "./_theme.scss" as *;
12
+
13
+ // Expose
14
+ @mixin kendo-smart-box--styles() {
15
+ @include import-once( "smart-box" ) {
16
+ @include core-styles();
17
+ @include kendo-input--styles();
18
+ @include kendo-popup--styles();
19
+ @include kendo-list--styles();
20
+ @include kendo-segmented-control--styles();
21
+ @include kendo-smart-box--layout();
22
+ @include kendo-smart-box--theme();
23
+ }
24
+ }
@@ -0,0 +1,6 @@
1
+ @use "@progress/kendo-theme-core/scss/components/smart-box/_layout.scss" as *;
2
+
3
+
4
+ @mixin kendo-smart-box--layout() {
5
+ @include kendo-smart-box--layout-base();
6
+ }
@@ -0,0 +1,6 @@
1
+ @use "@progress/kendo-theme-core/scss/components/smart-box/_theme.scss" as *;
2
+
3
+
4
+ @mixin kendo-smart-box--theme() {
5
+ @include kendo-smart-box--theme-base();
6
+ }
@@ -0,0 +1,71 @@
1
+ @use "sass:map";
2
+ @use "../core/_index.scss" as *;
3
+
4
+ // Smart box
5
+
6
+ /// The default size of the SmartBox.
7
+ /// @group smart-box
8
+ /// @role default
9
+ $kendo-smart-box-default-size: "md" !default;
10
+ /// The default roundness of the SmartBox.
11
+ /// @group smart-box
12
+ /// @role default
13
+ $kendo-smart-box-default-roundness: "full" !default;
14
+
15
+ /// The spacing between elements in the suffix of the Smart box.
16
+ /// @group smart-box
17
+ $kendo-smart-box-suffix-spacing: k-spacing(1) !default;
18
+
19
+ /// The horizontal padding of the small Smart box.
20
+ /// @group smart-box
21
+ $kendo-smart-box-sm-padding-x: k-spacing(0) !default;
22
+ /// The horizontal padding of the medium Smart box.
23
+ /// @group smart-box
24
+ $kendo-smart-box-md-padding-x: k-spacing(.5) !default;
25
+ /// The horizontal padding of the large Smart box.
26
+ /// @group smart-box
27
+ $kendo-smart-box-lg-padding-x: k-spacing(2) !default;
28
+
29
+ /// The horizontal margin of the prefix icon in the small Smart box.
30
+ /// @group smart-box
31
+ $kendo-smart-box-sm-prefix-margin-x: k-spacing(1) !default;
32
+ /// The horizontal margin of the prefix icon in the medium Smart box.
33
+ /// @group smart-box
34
+ $kendo-smart-box-md-prefix-margin-x: k-spacing(1) !default;
35
+ /// The horizontal margin of the prefix icon in the large Smart box.
36
+ /// @group smart-box
37
+ $kendo-smart-box-lg-prefix-margin-x: k-spacing(0) !default;
38
+
39
+ /// The inline padding of the popup of the Smart box.
40
+ /// @group smart-box
41
+ $kendo-smart-box-popup-padding-inline: k-spacing(2) !default;
42
+ /// The block padding of the popup of the Smart box.
43
+ /// @group smart-box
44
+ $kendo-smart-box-popup-padding-block: k-spacing(2) !default;
45
+ /// The border radius of the popup of the Smart box.
46
+ /// @group smart-box
47
+ $kendo-smart-box-popup-border-radius: k-border-radius(xxl) !default;
48
+ /// The spacing of the popup of the Smart box.
49
+ /// @group smart-box
50
+ $kendo-smart-box-popup-spacing: k-spacing(2) !default;
51
+ /// The margin of the segmented control in the popup of the Smart box.
52
+ /// @group smart-box
53
+ $kendo-smart-box-popup-segmented-control-margin: k-spacing(2) !default;
54
+
55
+
56
+ @forward "@progress/kendo-theme-core/scss/components/smart-box/_variables.scss" with (
57
+ $kendo-smart-box-default-size: $kendo-smart-box-default-size,
58
+ $kendo-smart-box-default-roundness: $kendo-smart-box-default-roundness,
59
+ $kendo-smart-box-suffix-spacing: $kendo-smart-box-suffix-spacing,
60
+ $kendo-smart-box-sm-padding-x: $kendo-smart-box-sm-padding-x,
61
+ $kendo-smart-box-md-padding-x: $kendo-smart-box-md-padding-x,
62
+ $kendo-smart-box-lg-padding-x: $kendo-smart-box-lg-padding-x,
63
+ $kendo-smart-box-sm-prefix-margin-x: $kendo-smart-box-sm-prefix-margin-x,
64
+ $kendo-smart-box-md-prefix-margin-x: $kendo-smart-box-md-prefix-margin-x,
65
+ $kendo-smart-box-lg-prefix-margin-x: $kendo-smart-box-lg-prefix-margin-x,
66
+ $kendo-smart-box-popup-padding-inline: $kendo-smart-box-popup-padding-inline,
67
+ $kendo-smart-box-popup-padding-block: $kendo-smart-box-popup-padding-block,
68
+ $kendo-smart-box-popup-border-radius: $kendo-smart-box-popup-border-radius,
69
+ $kendo-smart-box-popup-spacing: $kendo-smart-box-popup-spacing,
70
+ $kendo-smart-box-popup-segmented-control-margin: $kendo-smart-box-popup-segmented-control-margin,
71
+ );
@@ -3,7 +3,7 @@
3
3
 
4
4
  /// The vertical padding of the Suggestion wrapper.
5
5
  /// @group suggestion
6
- $kendo-suggestion-padding-y: k-spacing(2) !default;
6
+ $kendo-suggestion-padding-y: k-spacing(1.5) !default;
7
7
  /// The horizontal padding of the Suggestion wrapper.
8
8
  /// @group suggestion
9
9
  $kendo-suggestion-padding-x: k-spacing(3) !default;
@@ -17,12 +17,16 @@ $kendo-suggestion-border-width: 1px !default;
17
17
  /// @group suggestion
18
18
  $kendo-suggestion-border-style: solid !default;
19
19
 
20
+ /// The font size of the Suggestion.
21
+ /// @group suggestion
22
+ $kendo-suggestion-font-size: var( --kendo-font-size, inherit ) !default;
23
+
20
24
  /// The line height of the Suggestion.
21
25
  /// @group suggestion
22
26
  $kendo-suggestion-line-height: var( --kendo-line-height, normal ) !default;
23
27
  /// The border radius of the Suggestion.
24
28
  /// @group suggestion
25
- $kendo-suggestion-border-radius: k-border-radius(xxl) !default;
29
+ $kendo-suggestion-border-radius: k-border-radius(full) !default;
26
30
 
27
31
  /// The shadow blur of the focused Suggestion.
28
32
  /// @group suggestion
@@ -32,23 +36,29 @@ $kendo-suggestion-focus-shadow-blur: 0 !default;
32
36
  $kendo-suggestion-focus-shadow-spread: 2px !default;
33
37
  /// The shadow color of the focused Suggestion.
34
38
  /// @group suggestion
35
- $kendo-suggestion-focus-shadow-color: color-mix(in srgb, k-color(on-app-surface) 8%, transparent) !default;
39
+ $kendo-suggestion-focus-shadow-color: color-mix(in srgb, currentColor 16%, transparent) !default;
36
40
 
37
41
  /// The default theme color of the Suggestion.
38
42
  /// @group suggestion
39
43
  /// @role default
40
44
  $kendo-suggestion-default-theme-color: "base" !default;
41
45
 
46
+ /// The gradient used for scroll indicators in the Suggestion group.
47
+ /// @group suggestion
48
+ $kendo-suggestion-scroll-gradient: rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 1) 100% !default;
49
+
42
50
  @forward "@progress/kendo-theme-core/scss/components/suggestion/_variables.scss" with (
43
51
  $kendo-suggestion-padding-y: $kendo-suggestion-padding-y,
44
52
  $kendo-suggestion-padding-x: $kendo-suggestion-padding-x,
45
53
  $kendo-suggestion-spacing: $kendo-suggestion-spacing,
46
54
  $kendo-suggestion-border-width: $kendo-suggestion-border-width,
47
55
  $kendo-suggestion-border-style: $kendo-suggestion-border-style,
56
+ $kendo-suggestion-font-size: $kendo-suggestion-font-size,
48
57
  $kendo-suggestion-line-height: $kendo-suggestion-line-height,
49
58
  $kendo-suggestion-border-radius: $kendo-suggestion-border-radius,
50
59
  $kendo-suggestion-focus-shadow-blur: $kendo-suggestion-focus-shadow-blur,
51
60
  $kendo-suggestion-focus-shadow-spread: $kendo-suggestion-focus-shadow-spread,
52
61
  $kendo-suggestion-focus-shadow-color: $kendo-suggestion-focus-shadow-color,
53
- $kendo-suggestion-default-theme-color: $kendo-suggestion-default-theme-color
62
+ $kendo-suggestion-default-theme-color: $kendo-suggestion-default-theme-color,
63
+ $kendo-suggestion-scroll-gradient: $kendo-suggestion-scroll-gradient
54
64
  );
@@ -128,6 +128,9 @@ $kendo-toolbar-separator-border: inherit !default;
128
128
  /// The width of the input in the Toolbar.
129
129
  /// @group toolbar
130
130
  $kendo-toolbar-input-width: 10em !default;
131
+ /// The minimum width of the Smart ToolBox in the Toolbar.
132
+ /// @group toolbar
133
+ $kendo-toolbar-smart-box-min-width: 350px !default;
131
134
 
132
135
  /// The box shadow of the focused Toolbar item.
133
136
  /// @group toolbar
@@ -180,6 +183,7 @@ $kendo-toolbar-overflow-button-padding-x: $kendo-menu-popup-md-item-padding-x !d
180
183
  $kendo-toolbar-flat-shadow: $kendo-toolbar-flat-shadow,
181
184
  $kendo-toolbar-separator-border: $kendo-toolbar-separator-border,
182
185
  $kendo-toolbar-input-width: $kendo-toolbar-input-width,
186
+ $kendo-toolbar-smart-box-min-width: $kendo-toolbar-smart-box-min-width,
183
187
  $kendo-toolbar-item-shadow: $kendo-toolbar-item-shadow,
184
188
  $kendo-toolbar-scroll-overlay: $kendo-toolbar-scroll-overlay,
185
189
  $kendo-toolbar-flat-scroll-overlay: $kendo-toolbar-flat-scroll-overlay,