@progress/kendo-theme-fluent 8.0.0-dev.0 → 8.0.0-dev.1

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 (119) hide show
  1. package/dist/all.css +4808 -5183
  2. package/dist/meta/sassdoc-data.json +6206 -5756
  3. package/dist/meta/sassdoc-raw-data.json +3090 -2865
  4. package/lib/swatches/all.json +1 -1
  5. package/lib/swatches/fluent-main.json +1 -1
  6. package/package.json +4 -4
  7. package/scss/action-buttons/_variables.scss +3 -3
  8. package/scss/action-sheet/_layout.scss +1 -1
  9. package/scss/action-sheet/_variables.scss +13 -13
  10. package/scss/adaptive/_layout.scss +8 -8
  11. package/scss/appbar/_variables.scss +6 -6
  12. package/scss/avatar/_variables.scss +3 -3
  13. package/scss/badge/_variables.scss +6 -6
  14. package/scss/bottom-navigation/_variables.scss +8 -8
  15. package/scss/breadcrumb/_variables.scss +16 -16
  16. package/scss/button/_layout.scss +1 -1
  17. package/scss/button/_variables.scss +9 -9
  18. package/scss/calendar/_variables.scss +36 -50
  19. package/scss/captcha/_variables.scss +3 -3
  20. package/scss/card/_variables.scss +13 -13
  21. package/scss/chat/_layout.scss +2 -2
  22. package/scss/chat/_variables.scss +13 -13
  23. package/scss/checkbox/_layout.scss +1 -1
  24. package/scss/checkbox/_variables.scss +15 -15
  25. package/scss/chip/_variables.scss +11 -11
  26. package/scss/color-preview/_variables.scss +1 -1
  27. package/scss/coloreditor/_variables.scss +6 -6
  28. package/scss/colorgradient/_variables.scss +9 -9
  29. package/scss/colorpalette/_variables.scss +1 -1
  30. package/scss/core/_index.scss +18 -1
  31. package/scss/core/_variables.scss +3 -59
  32. package/scss/core/border-radii/_index.scss +24 -0
  33. package/scss/core/color-system/_swatch-legacy.scss +0 -4
  34. package/scss/core/spacing/_index.scss +28 -0
  35. package/scss/core/typography/_index.scss +70 -0
  36. package/scss/dataviz/_layout.scss +6 -5
  37. package/scss/dataviz/_variables.scss +1 -1
  38. package/scss/daterangepicker/_layout.scss +1 -1
  39. package/scss/datetimepicker/_variables.scss +1 -1
  40. package/scss/dialog/_variables.scss +8 -8
  41. package/scss/dock-manager/_layout.scss +1 -0
  42. package/scss/dock-manager/_variables.scss +5 -5
  43. package/scss/draggable/_variables.scss +2 -1
  44. package/scss/drawer/_variables.scss +7 -5
  45. package/scss/dropdowntree/_variables.scss +1 -1
  46. package/scss/dropzone/_variables.scss +5 -5
  47. package/scss/editor/_layout.scss +6 -5
  48. package/scss/editor/_variables.scss +3 -3
  49. package/scss/expansion-panel/_variables.scss +6 -6
  50. package/scss/fab/_variables.scss +16 -16
  51. package/scss/filemanager/_variables.scss +6 -6
  52. package/scss/filter/_variables.scss +2 -1
  53. package/scss/forms/_layout.scss +6 -5
  54. package/scss/forms/_variables.scss +15 -14
  55. package/scss/gantt/_layout.scss +10 -9
  56. package/scss/gantt/_variables.scss +77 -76
  57. package/scss/grid/_layout.scss +2 -1
  58. package/scss/grid/_variables.scss +172 -172
  59. package/scss/icon/_variables.scss +2 -2
  60. package/scss/imageeditor/_variables.scss +11 -11
  61. package/scss/index.scss +8 -1
  62. package/scss/input/_variables.scss +9 -9
  63. package/scss/list/_layout.scss +1 -0
  64. package/scss/list/_variables.scss +24 -24
  65. package/scss/listbox/_variables.scss +2 -2
  66. package/scss/listgroup/_layout.scss +6 -6
  67. package/scss/listgroup/_variables.scss +3 -3
  68. package/scss/listview/_variables.scss +8 -8
  69. package/scss/loader/_variables.scss +29 -29
  70. package/scss/map/_variables.scss +6 -5
  71. package/scss/mediaplayer/_variables.scss +2 -2
  72. package/scss/menu/_variables.scss +16 -16
  73. package/scss/messagebox/_variables.scss +3 -3
  74. package/scss/notification/_variables.scss +6 -6
  75. package/scss/orgchart/_variables.scss +10 -10
  76. package/scss/pager/_variables.scss +8 -8
  77. package/scss/panelbar/_layout.scss +1 -0
  78. package/scss/panelbar/_variables.scss +9 -7
  79. package/scss/pdf-viewer/_variables.scss +4 -4
  80. package/scss/pivotgrid/_layout.scss +3 -3
  81. package/scss/pivotgrid/_variables.scss +17 -17
  82. package/scss/popover/_variables.scss +2 -2
  83. package/scss/popup/_variables.scss +5 -5
  84. package/scss/progressbar/_variables.scss +4 -4
  85. package/scss/prompt/_variables.scss +7 -7
  86. package/scss/radio/_variables.scss +13 -13
  87. package/scss/rating/_variables.scss +3 -3
  88. package/scss/scheduler/_layout.scss +2 -2
  89. package/scss/scheduler/_variables.scss +11 -11
  90. package/scss/scrollview/_variables.scss +2 -2
  91. package/scss/signature/_variables.scss +5 -5
  92. package/scss/skeleton/_variables.scss +2 -2
  93. package/scss/slider/_variables.scss +4 -4
  94. package/scss/splitter/_variables.scss +6 -6
  95. package/scss/spreadsheet/_layout.scss +8 -7
  96. package/scss/spreadsheet/_variables.scss +19 -18
  97. package/scss/stepper/_variables.scss +8 -8
  98. package/scss/table/_variables.scss +10 -10
  99. package/scss/tabstrip/_variables.scss +11 -10
  100. package/scss/taskboard/_variables.scss +23 -23
  101. package/scss/tilelayout/_variables.scss +1 -1
  102. package/scss/timeline/_variables.scss +24 -24
  103. package/scss/timeselector/_layout.scss +1 -1
  104. package/scss/timeselector/_variables.scss +6 -6
  105. package/scss/toolbar/_layout.scss +1 -1
  106. package/scss/toolbar/_variables.scss +9 -9
  107. package/scss/tooltip/_layout.scss +10 -10
  108. package/scss/tooltip/_variables.scss +5 -5
  109. package/scss/treelist/_layout.scss +2 -2
  110. package/scss/treelist/_variables.scss +2 -2
  111. package/scss/treeview/_variables.scss +11 -11
  112. package/scss/typography/_layout.scss +9 -0
  113. package/scss/typography/_theme.scss +7 -0
  114. package/scss/typography/_variables.scss +125 -67
  115. package/scss/upload/_layout.scss +1 -0
  116. package/scss/upload/_variables.scss +5 -5
  117. package/scss/window/_layout.scss +1 -1
  118. package/scss/window/_variables.scss +10 -10
  119. package/scss/wizard/_variables.scss +8 -8
@@ -8,7 +8,7 @@
8
8
  $kendo-fab-border-width: 1px !default;
9
9
  /// The border radius of the FAB.
10
10
  /// @group floating-action-button
11
- $kendo-fab-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) !default;
11
+ $kendo-fab-border-radius: k-border-radius(md) !default;
12
12
  /// The font family of the FAB.
13
13
  /// @group floating-action-button
14
14
  $kendo-fab-font-family: var( --kendo-font-family, inherit ) !default;
@@ -21,29 +21,29 @@ $kendo-fab-line-height: var( --kendo-line-height, normal ) !default;
21
21
 
22
22
  /// The horizontal padding of the FAB.
23
23
  /// @group floating-action-button
24
- $kendo-fab-padding-x: map.get( $kendo-spacing, 4 ) !default;
24
+ $kendo-fab-padding-x: k-spacing(4) !default;
25
25
  /// The horizontal padding of the small FAB.
26
26
  /// @group floating-action-button
27
- $kendo-fab-sm-padding-x: math.div( $kendo-fab-padding-x, 2 ) !default;
27
+ $kendo-fab-sm-padding-x: calc( #{$kendo-fab-padding-x} / 2 ) !default;
28
28
  /// The horizontal padding of the medium FAB.
29
29
  /// @group floating-action-button
30
30
  $kendo-fab-md-padding-x: $kendo-fab-padding-x !default;
31
31
  /// The horizontal padding of the large FAB.
32
32
  /// @group floating-action-button
33
- $kendo-fab-lg-padding-x: ( $kendo-fab-padding-x * 1.5 ) !default;
33
+ $kendo-fab-lg-padding-x: calc( #{$kendo-fab-padding-x} * 1.5 ) !default;
34
34
 
35
35
  /// The vertical padding of the FAB.
36
36
  /// @group floating-action-button
37
37
  $kendo-fab-padding-y: $kendo-fab-padding-x !default;
38
38
  /// The vertical padding of the small FAB.
39
39
  /// @group floating-action-button
40
- $kendo-fab-sm-padding-y: math.div( $kendo-fab-padding-y, 2 ) !default;
40
+ $kendo-fab-sm-padding-y: calc( #{$kendo-fab-padding-y} / 2 ) !default;
41
41
  /// The vertical padding of the medium FAB.
42
42
  /// @group floating-action-button
43
43
  $kendo-fab-md-padding-y: $kendo-fab-padding-y !default;
44
44
  /// The vertical padding of the large FAB.
45
45
  /// @group floating-action-button
46
- $kendo-fab-lg-padding-y: ( $kendo-fab-padding-y * 1.5 ) !default;
46
+ $kendo-fab-lg-padding-y: calc( #{$kendo-fab-padding-y} * 1.5 ) !default;
47
47
 
48
48
  /// The offset of the focused FAB.
49
49
  /// @group floating-action-button
@@ -57,27 +57,27 @@ $kendo-fab-focus-outline-style: $kendo-button-focus-outline-style !default;
57
57
 
58
58
  /// The horizontal padding of the FAB icon.
59
59
  /// @group floating-action-button
60
- $kendo-fab-icon-padding-x: map.get( $kendo-spacing, 0.5 ) !default;
60
+ $kendo-fab-icon-padding-x: k-spacing(0.5) !default;
61
61
  /// The vertical padding of the FAB icon.
62
62
  /// @group floating-action-button
63
63
  $kendo-fab-icon-padding-y: $kendo-fab-icon-padding-x !default;
64
64
  /// The spacing of the FAB icon.
65
65
  /// @group floating-action-button
66
- $kendo-fab-icon-spacing: map.get( $kendo-spacing, 0.5 ) !default;
66
+ $kendo-fab-icon-spacing: k-spacing(0.5) !default;
67
67
 
68
68
  /// The horizontal padding of the FAB items.
69
69
  /// @group floating-action-button
70
- $kendo-fab-items-padding-x: 0px !default;
70
+ $kendo-fab-items-padding-x: k-spacing(0) !default;
71
71
  /// The vertical padding of the FAB items.
72
72
  /// @group floating-action-button
73
- $kendo-fab-items-padding-y: map.get( $kendo-spacing, 4 ) !default;
73
+ $kendo-fab-items-padding-y: k-spacing(4) !default;
74
74
 
75
75
  /// The horizontal padding of the FAB item text.
76
76
  /// @group floating-action-button
77
- $kendo-fab-item-text-padding-x: map.get( $kendo-spacing, 1 ) !default;
77
+ $kendo-fab-item-text-padding-x: k-spacing(1) !default;
78
78
  /// The vertical padding of the FAB item text.
79
79
  /// @group floating-action-button
80
- $kendo-fab-item-text-padding-y: map.get( $kendo-spacing, 1 ) !default;
80
+ $kendo-fab-item-text-padding-y: k-spacing(1) !default;
81
81
  /// The width of the FAB item text border.
82
82
  /// @group floating-action-button
83
83
  $kendo-fab-item-text-border-width: 1px !default;
@@ -86,7 +86,7 @@ $kendo-fab-item-text-border-width: 1px !default;
86
86
  $kendo-fab-item-text-border-style: solid !default;
87
87
  /// The border radius of the FAB item text.
88
88
  /// @group floating-action-button
89
- $kendo-fab-item-text-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) !default;
89
+ $kendo-fab-item-text-border-radius: k-border-radius(md) !default;
90
90
  /// The font size of the FAB item text.
91
91
  /// @group floating-action-button
92
92
  $kendo-fab-item-text-font-size: var( --kendo-font-size-sm, inherit ) !default;
@@ -95,7 +95,7 @@ $kendo-fab-item-text-font-size: var( --kendo-font-size-sm, inherit ) !default;
95
95
  $kendo-fab-item-text-line-height: var( --kendo-line-height-sm, inherit ) !default;
96
96
  /// The bottom margin of the FAB item text.
97
97
  /// @group floating-action-button
98
- $kendo-fab-item-text-offset-x: map.get( $kendo-spacing, 2 ) !default;
98
+ $kendo-fab-item-text-offset-x: k-spacing(2) !default;
99
99
 
100
100
  /// The offset of the focused FAB item.
101
101
  /// @group floating-action-button
@@ -109,7 +109,7 @@ $kendo-fab-item-focus-outline-style: $kendo-button-focus-outline-style !default;
109
109
 
110
110
  /// The horizontal padding of the FAB item icon.
111
111
  /// @group floating-action-button
112
- $kendo-fab-item-icon-padding-x: map.get( $kendo-spacing, 2 ) + $kendo-fab-icon-padding-x !default;
112
+ $kendo-fab-item-icon-padding-x: calc( #{k-spacing(2)} + $kendo-fab-icon-padding-x ) !default;
113
113
  /// The vertical padding of the FAB item icon.
114
114
  /// @group floating-action-button
115
115
  $kendo-fab-item-icon-padding-y: $kendo-fab-item-icon-padding-x !default;
@@ -148,7 +148,7 @@ $kendo-fab-sizes: (
148
148
 
149
149
  /// The bottom margin of the FAB item.
150
150
  /// @group floating-action-button
151
- $kendo-fab-item-offset-y: map.get( $kendo-spacing, 2 ) !default;
151
+ $kendo-fab-item-offset-y: k-spacing(2) !default;
152
152
  /// The base text color of the FAB item.
153
153
  /// @group floating-action-button
154
154
  $kendo-fab-item-text: if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 )) !default;
@@ -5,7 +5,7 @@
5
5
 
6
6
  /// The space between the FileManager items.
7
7
  /// @group filemanager
8
- $kendo-file-manager-spacer: map.get( $kendo-spacing, 4 ) !default;
8
+ $kendo-file-manager-spacer: k-spacing(4) !default;
9
9
  /// The border width of the FileManager.
10
10
  /// @group filemanager
11
11
  $kendo-file-manager-border-width: 1px !default;
@@ -65,10 +65,10 @@ $kendo-file-manager-navigation-border: inherit !default;
65
65
 
66
66
  /// The horizontal padding of the FileManager Breadcrumb.
67
67
  /// @group filemanager
68
- $kendo-file-manager-breadcrumb-padding-x: map.get( $kendo-spacing, 2 ) !default;
68
+ $kendo-file-manager-breadcrumb-padding-x: k-spacing(2) !default;
69
69
  /// The vertical padding of the FileManager Breadcrumb.
70
70
  /// @group filemanager
71
- $kendo-file-manager-breadcrumb-padding-y: map.get( $kendo-spacing, 2 ) !default;
71
+ $kendo-file-manager-breadcrumb-padding-y: k-spacing(2) !default;
72
72
  /// The border width of the FileManager Breadcrumb.
73
73
  /// @group filemanager
74
74
  $kendo-file-manager-breadcrumb-border-width: $kendo-file-manager-border-width !default;
@@ -94,10 +94,10 @@ $kendo-file-manager-listview-border: inherit !default;
94
94
 
95
95
  /// The horizontal padding of the FileManager ListView item.
96
96
  /// @group filemanager
97
- $kendo-file-manager-listview-item-padding-x: map.get( $kendo-spacing, 4 ) !default;
97
+ $kendo-file-manager-listview-item-padding-x: k-spacing(4) !default;
98
98
  /// The vertical padding of the FileManager ListView item.
99
99
  /// @group filemanager
100
- $kendo-file-manager-listview-item-padding-y: map.get( $kendo-spacing, 4 ) !default;
100
+ $kendo-file-manager-listview-item-padding-y: k-spacing(4) !default;
101
101
  /// The width of the FileManager ListView item.
102
102
  /// @group filemanager
103
103
  $kendo-file-manager-listview-item-width: 120px !default;
@@ -160,7 +160,7 @@ $kendo-file-manager-preview-border-width: $kendo-file-manager-border-width !defa
160
160
  $kendo-file-manager-preview-spacing: $kendo-file-manager-spacer !default;
161
161
  /// The gap between the columns in the FileManager preview.
162
162
  /// @group filemanager
163
- $kendo-file-manager-preview-column-gap: map.get( $kendo-spacing, 1 ) !default;
163
+ $kendo-file-manager-preview-column-gap: k-spacing(1) !default;
164
164
  /// The background color of the FileManager preview.
165
165
  /// @group filemanager
166
166
  $kendo-file-manager-preview-bg: transparent !default;
@@ -1,4 +1,5 @@
1
1
  @use "../core/" as *;
2
+ @use "../core/spacing" as *;
2
3
 
3
4
  /// The horizontal padding of the Filter.
4
5
  /// @group filter
@@ -9,7 +10,7 @@ $kendo-filter-padding-y: $kendo-padding-md-y !default;
9
10
 
10
11
  /// The bottom margin of the Filter.
11
12
  /// @group filter
12
- $kendo-filter-bottom-margin: 30px !default;
13
+ $kendo-filter-bottom-margin: k-spacing(7.5) !default;
13
14
  /// The width of the line that connects the Filter items.
14
15
  /// @group filter
15
16
  $kendo-filter-line-size: 1px !default;
@@ -4,6 +4,7 @@
4
4
  @use "./_variables.scss" as *;
5
5
  @use "../input/_variables.scss" as *;
6
6
  @use "../window/_variables.scss" as *;
7
+ @use "../core/spacing" as *;
7
8
 
8
9
  @mixin kendo-forms--layout() {
9
10
 
@@ -281,12 +282,12 @@
281
282
  // Action buttons
282
283
  .k-popup-edit-form > .k-actions,
283
284
  .k-edit-form-container .k-actions {
284
- margin: map.get( $kendo-spacing, 4 ) (-$kendo-window-inner-padding-x) (-$kendo-window-inner-padding-y);
285
+ margin: k-spacing(4) (-$kendo-window-inner-padding-x) (-$kendo-window-inner-padding-y);
285
286
  }
286
287
 
287
288
 
288
289
  .k-edit-label {
289
- margin-block-end: map.get( $kendo-spacing, 4 );
290
+ margin-block-end: k-spacing(4);
290
291
  padding-block: calc( #{$kendo-input-md-padding-y} + #{$kendo-input-border-width} );
291
292
  width: 30%;
292
293
  line-height: var( --kendo-form-line-height, #{$kendo-form-line-height} );
@@ -295,7 +296,7 @@
295
296
  clear: both;
296
297
  }
297
298
  .k-edit-field {
298
- margin-block-end: map.get( $kendo-spacing, 4 );
299
+ margin-block-end: k-spacing(4);
299
300
  width: 65%;
300
301
  float: right;
301
302
  clear: right;
@@ -320,11 +321,11 @@
320
321
 
321
322
  .k-radio-label,
322
323
  .k-checkbox-label {
323
- margin-inline-end: map.get( $kendo-spacing, 4 );
324
+ margin-inline-end: k-spacing(4);
324
325
  }
325
326
 
326
327
  > .k-reset > li + li {
327
- margin-block-start: map.get( $kendo-spacing, 2 );
328
+ margin-block-start: k-spacing(2);
328
329
  }
329
330
 
330
331
  .k-reset .k-widget {
@@ -1,9 +1,10 @@
1
1
  @use "sass:map";
2
2
  @use "../core/" as *;
3
+ @use "../core/spacing" as *;
3
4
 
4
5
  /// The padding of the inline Form.
5
6
  /// @group form
6
- $kendo-form-spacer: ( $kendo-padding-md-x * 2 ) !default;
7
+ $kendo-form-spacer: calc( #{$kendo-padding-md-x} * 2 ) !default;
7
8
 
8
9
  /// The font size of the Form.
9
10
  /// @group form
@@ -28,19 +29,19 @@ $kendo-form-fieldset-margin: 2em 0 0 !default;
28
29
 
29
30
  /// The padding of the Form fieldset.
30
31
  /// @group form
31
- $kendo-form-fieldset-padding: 0px !default;
32
+ $kendo-form-fieldset-padding: k-spacing(0) !default;
32
33
 
33
34
  /// The margin of the Form legend.
34
35
  /// @group form
35
- $kendo-form-legend-margin: 0 0 map.get( $kendo-spacing, 3 ) !default;
36
+ $kendo-form-legend-margin: 0 0 k-spacing(3) !default;
36
37
 
37
38
  /// The padding of the Form legend.
38
39
  /// @group form
39
- $kendo-form-legend-padding: 0px !default;
40
+ $kendo-form-legend-padding: k-spacing(0) !default;
40
41
 
41
42
  /// The border width of the Form legend.
42
43
  /// @group form
43
- $kendo-form-legend-border-width: 0 0 map.get( $kendo-spacing, 0.5 ) !default;
44
+ $kendo-form-legend-border-width: 0 0 k-spacing(0.5) !default;
44
45
 
45
46
  /// The border style of the Form legend.
46
47
  /// @group form
@@ -65,7 +66,7 @@ $kendo-form-legend-text-transform: uppercase !default;
65
66
 
66
67
  /// The bottom margin of the Form label.
67
68
  /// @group form
68
- $kendo-form-label-margin-bottom: map.get( $kendo-spacing, 2 ) !default;
69
+ $kendo-form-label-margin-bottom: k-spacing(2) !default;
69
70
 
70
71
  /// The font weight of the form label
71
72
  /// @group form
@@ -73,7 +74,7 @@ $kendo-form-label-font-weight: var( --kendo-font-weight-bold, inherit ) !default
73
74
 
74
75
  /// The horizontal margin of the Form buttons.
75
76
  /// @group form
76
- $kendo-form-button-margin-x: map.get( $kendo-spacing, 2 ) !default;
77
+ $kendo-form-button-margin-x: k-spacing(2) !default;
77
78
 
78
79
  /// The font size of the Form hint.
79
80
  /// @group form
@@ -85,7 +86,7 @@ $kendo-form-hint-font-style: normal !default;
85
86
 
86
87
  /// The top margin of the Form hint.
87
88
  /// @group form
88
- $kendo-form-hint-margin-top: map.get( $kendo-spacing, 1 ) !default;
89
+ $kendo-form-hint-margin-top: k-spacing(1) !default;
89
90
 
90
91
  /// The text color of the Form hint.
91
92
  /// @group form
@@ -93,7 +94,7 @@ $kendo-form-hint-text: if($kendo-enable-color-system, k-color( subtle ), k-get-t
93
94
 
94
95
  /// The row spacing of the small Form.
95
96
  /// @group form
96
- $kendo-form-sm-rows-spacing: map.get( $kendo-spacing, 3 ) !default;
97
+ $kendo-form-sm-rows-spacing: k-spacing(3) !default;
97
98
  /// The row spacing of the medium Form.
98
99
  /// @group form
99
100
  $kendo-form-md-rows-spacing: $kendo-form-sm-rows-spacing !default;
@@ -103,7 +104,7 @@ $kendo-form-lg-rows-spacing: $kendo-form-sm-rows-spacing !default;
103
104
 
104
105
  /// The margin of the Form separator.
105
106
  /// @group form
106
- $kendo-form-separator-margin: map.get( $kendo-spacing, 3 ) 0 0 !default;
107
+ $kendo-form-separator-margin: k-spacing(3) 0 0 !default;
107
108
 
108
109
  /// The border color of the Form separator.
109
110
  /// @group form
@@ -111,11 +112,11 @@ $kendo-form-separator-border-color: $kendo-form-legend-border-color !default;
111
112
 
112
113
  /// The top padding of the label in the horizontal Form.
113
114
  /// @group form
114
- $kendo-horizontal-form-label-padding-top: map.get( $kendo-spacing, 1.5 ) !default;
115
+ $kendo-horizontal-form-label-padding-top: k-spacing(1.5) !default;
115
116
 
116
117
  /// The horizontal margin of the label in the horizontal Form.
117
118
  /// @group form
118
- $kendo-horizontal-form-label-margin-x: map.get( $kendo-spacing, 2 ) !default;
119
+ $kendo-horizontal-form-label-margin-x: k-spacing(2) !default;
119
120
 
120
121
  /// The width of the label in the horizontal Form.
121
122
  /// @group form
@@ -140,7 +141,7 @@ $kendo-forms-invalid-color: var( --kendo-invalid-text, initial ) !default;
140
141
 
141
142
  /// The horizontal margin of the optional label in the Form.
142
143
  /// @group form
143
- $kendo-label-optional-margin-x: map.get( $kendo-spacing, 1.5 ) !default;
144
+ $kendo-label-optional-margin-x: k-spacing(1.5) !default;
144
145
  /// The font size of the optional label in the Form.
145
146
  /// @group form
146
147
  $kendo-label-optional-font-size: var( --kendo-font-size-sm, inherit ) !default;
@@ -151,7 +152,7 @@ $kendo-label-optional-font-style: normal !default;
151
152
 
152
153
  /// The margin of the Form fieldset.
153
154
  /// @group form
154
- $kendo-fieldset-margin: map.get( $kendo-spacing, 7.5 ) !default;
155
+ $kendo-fieldset-margin: k-spacing(7.5) !default;
155
156
  /// The font size of the Form fieldset.
156
157
  /// @group form
157
158
  $kendo-fieldset-font-size: var( --kendo-font-size-xl, inherit ) !default;
@@ -3,6 +3,7 @@
3
3
  @use "../grid/_variables.scss" as *;
4
4
  @use "../toolbar/_variables.scss" as *;
5
5
  @use "./_variables.scss" as *;
6
+ @use "../core/spacing" as *;
6
7
 
7
8
  @mixin kendo-gantt--layout() {
8
9
 
@@ -32,7 +33,7 @@
32
33
  vertical-align: top;
33
34
  }
34
35
  .k-grid-header tr {
35
- height: calc( #{$kendo-line-height-em} + #{$kendo-grid-header-padding-y * 2} + 1px );
36
+ height: calc( #{$kendo-line-height-em} + calc( #{$kendo-grid-header-padding-y} * 2 ) + 1px );
36
37
  }
37
38
  .k-grid-header .k-header {
38
39
  position: static;
@@ -42,11 +43,11 @@
42
43
  position: relative;
43
44
  }
44
45
  .k-grid-content tr {
45
- height: calc( #{$kendo-line-height-em} + #{$kendo-grid-cell-padding-y * 2} + #{$kendo-grid-cell-border-width-y} );
46
+ height: calc( #{$kendo-line-height-em} + calc( #{$kendo-grid-cell-padding-y} * 2) + #{$kendo-grid-cell-border-width-y} );
46
47
  }
47
48
 
48
49
  &.k-gantt-planned .k-grid-content tr {
49
- height: calc( #{$kendo-line-height-em} * 1.7 + #{$kendo-grid-cell-padding-y * 2} + #{$kendo-grid-cell-border-width-y} );
50
+ height: calc( #{$kendo-line-height-em} * 1.7 + calc( #{$kendo-grid-cell-padding-y} * 2 ) + #{$kendo-grid-cell-border-width-y} );
50
51
  }
51
52
 
52
53
  // Layout
@@ -270,7 +271,7 @@
270
271
  padding: 0 !important; // stylelint-disable-line declaration-no-important
271
272
  }
272
273
  .k-grid-header tr {
273
- height: calc( #{$kendo-line-height-em} * 2 + #{$kendo-grid-header-padding-y * 4} + 2px );
274
+ height: calc( #{$kendo-line-height-em} * 2 + calc( #{$kendo-grid-header-padding-y} * 4 ) + 2px );
274
275
  vertical-align: bottom;
275
276
  }
276
277
  .k-grid-content {
@@ -281,7 +282,7 @@
281
282
  vertical-align: middle;
282
283
  }
283
284
  .k-gantt-treelist-nested-columns .k-grid-header tr {
284
- height: calc( #{$kendo-line-height-em} + #{$kendo-grid-header-padding-y * 2} + 1px );
285
+ height: calc( #{$kendo-line-height-em} + calc( #{$kendo-grid-header-padding-y} * 2 ) + 1px );
285
286
  }
286
287
 
287
288
  &.k-gantt-treelist-scrollable {
@@ -422,8 +423,8 @@
422
423
  flex: 1 1 auto;
423
424
  }
424
425
  .k-task-dot {
425
- width: calc( #{$kendo-gantt-dot-size} + #{$kendo-gantt-dot-spacing * 2} );
426
- height: calc( #{$kendo-gantt-dot-size} + #{$kendo-gantt-dot-spacing * 2} );
426
+ width: calc( #{$kendo-gantt-dot-size} + calc( #{$kendo-gantt-dot-spacing} * 2 ) );
427
+ height: calc( #{$kendo-gantt-dot-size} + calc( #{$kendo-gantt-dot-spacing} * 2 ) );
427
428
  line-height: 1;
428
429
  cursor: pointer;
429
430
  display: none;
@@ -532,7 +533,7 @@
532
533
  // Single task
533
534
  .k-single-wrap {}
534
535
  .k-task-single {
535
- border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} );
536
+ border-radius: k-border-radius(md);
536
537
  border-width: var( --kendo-gantt-task-border-width, #{$kendo-gantt-task-border-width} );
537
538
  border-style: solid;
538
539
  box-sizing: border-box;
@@ -565,7 +566,7 @@
565
566
  }
566
567
  }
567
568
  .k-task-complete {
568
- border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} );
569
+ border-radius: k-border-radius(md);
569
570
  width: 20%;
570
571
  position: absolute;
571
572
  z-index: 1;