@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
@@ -1,13 +1,14 @@
1
1
  @use "sass:map";
2
2
  @use "../core/" as *;
3
3
  @use "../list/_variables.scss" as *;
4
+ @use "../core/spacing" as *;
4
5
 
5
6
  /// The horizontal padding of the tabstrip wrapper
6
7
  /// @group tabstrip
7
- $kendo-tabstrip-wrapper-padding-x: 0px !default;
8
+ $kendo-tabstrip-wrapper-padding-x: k-spacing(0) !default;
8
9
  /// The vertical padding of the tabstrip wrapper
9
10
  /// @group tabstrip
10
- $kendo-tabstrip-wrapper-padding-y: 0px !default;
11
+ $kendo-tabstrip-wrapper-padding-y: k-spacing(0) !default;
11
12
  /// The width of the border around the tabstrip wrapper
12
13
  /// @group tabstrip
13
14
  $kendo-tabstrip-wrapper-border-width: 0px !default;
@@ -48,16 +49,16 @@ $kendo-tabstrip-border: transparent !default;
48
49
  $kendo-tabstrip-item-padding-x: var( --kendo-padding-x, #{$kendo-padding-md-x} ) !default;
49
50
  /// The vertical padding of the tabstrip item
50
51
  /// @group tabstrip
51
- $kendo-tabstrip-item-padding-y: map.get( $kendo-spacing, 2 ) + map.get( $kendo-spacing, 1 ) !default;
52
+ $kendo-tabstrip-item-padding-y: calc( #{k-spacing(2)} + #{k-spacing(1)} ) !default;
52
53
  /// The width of the border around the tabstrip item
53
54
  /// @group tabstrip
54
55
  $kendo-tabstrip-item-border-width: 0px !default;
55
56
  /// The border radius of the tabstrip item
56
57
  /// @group tabstrip
57
- $kendo-tabstrip-item-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) !default;
58
+ $kendo-tabstrip-item-border-radius: k-border-radius(md) !default;
58
59
  /// The gap between the tabstrip items
59
60
  /// @group tabstrip
60
- $kendo-tabstrip-item-gap: map.get( $kendo-spacing, 2 ) !default;
61
+ $kendo-tabstrip-item-gap: k-spacing(2) !default;
61
62
  /// The background color of the tabstrip item
62
63
  /// @group tabstrip
63
64
  $kendo-tabstrip-item-bg: transparent !default;
@@ -110,17 +111,17 @@ $kendo-tabstrip-item-dragging-text: if($kendo-enable-color-system, k-color( prim
110
111
  // Indicator
111
112
  /// The border width of the tabstrip indicator
112
113
  /// @group tabstrip
113
- $kendo-tabstrip-indicator-size: map.get( $kendo-spacing, 0.5 ) !default;
114
+ $kendo-tabstrip-indicator-size: k-spacing(0.5) !default;
114
115
  /// The border color of the tabstrip ripple
115
116
  /// @group tabstrip
116
117
  $kendo-tabstrip-indicator-color: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
117
118
 
118
119
  /// The horizontal padding of tabstrip content
119
120
  /// @group tabstrip
120
- $kendo-tabstrip-content-padding-x: map.get( $kendo-spacing, 3 ) !default;
121
+ $kendo-tabstrip-content-padding-x: k-spacing(3) !default;
121
122
  /// The vertical padding of tabstrip content
122
123
  /// @group tabstrip
123
- $kendo-tabstrip-content-padding-y: map.get( $kendo-spacing, 1.5 ) !default;
124
+ $kendo-tabstrip-content-padding-y: k-spacing(1.5) !default;
124
125
  /// The width of border around tabstrip content
125
126
  /// @group tabstrip
126
127
  $kendo-tabstrip-content-border-width: 1px !default;
@@ -140,7 +141,7 @@ $kendo-tabstrip-content-focus-border: var( --kendo-component-text, initial ) !de
140
141
 
141
142
  /// The horizontal button padding of the scrollable tabstrip
142
143
  /// @group tabstrip
143
- $kendo-tabstrip-scrollable-button-padding-x: map.get( $kendo-spacing, 1 ) !default;
144
+ $kendo-tabstrip-scrollable-button-padding-x: k-spacing(1) !default;
144
145
  // The vertical button padding of the scrollable tabstrip
145
146
  /// @group tabstrip
146
- $kendo-tabstrip-scrollable-button-padding-y: map.get( $kendo-spacing, 1 ) !default;
147
+ $kendo-tabstrip-scrollable-button-padding-y: k-spacing(1) !default;
@@ -5,7 +5,7 @@
5
5
 
6
6
  /// The spacing index of the TaskBoard.
7
7
  /// @group taskboard
8
- $kendo-taskboard-spacer: map.get( $kendo-spacing, 4 ) !default;
8
+ $kendo-taskboard-spacer: k-spacing(4) !default;
9
9
 
10
10
  /// The border width of the TaskBoard.
11
11
  /// @group taskboard
@@ -15,16 +15,16 @@ $kendo-taskboard-border-width: 1px !default;
15
15
  $kendo-taskboard-border-style: solid !default;
16
16
  /// The vertical padding of the TaskBoard.
17
17
  /// @group taskboard
18
- $kendo-taskboard-padding-y: 0px !default;
18
+ $kendo-taskboard-padding-y: k-spacing(0) !default;
19
19
  /// The horizontal of the TaskBoard.
20
20
  /// @group taskboard
21
- $kendo-taskboard-padding-x: 0px !default;
21
+ $kendo-taskboard-padding-x: k-spacing(0) !default;
22
22
  /// The font family of the TaskBoard.
23
23
  /// @group taskboard
24
24
  $kendo-taskboard-font-family: var( --kendo-font-family, inherit ) !default;
25
25
  /// The font size of the TaskBoard.
26
26
  /// @group taskboard
27
- $kendo-taskboard-font-size: var( --kendo-font-size-md, inherit ) !default;
27
+ $kendo-taskboard-font-size: var( --kendo-font-size, inherit ) !default;
28
28
  /// The line height of the TaskBoard.
29
29
  /// @group taskboard
30
30
  $kendo-taskboard-line-height: var( --kendo-line-height, inherit ) !default;
@@ -40,20 +40,20 @@ $kendo-taskboard-border: var( --kendo-component-border, initial ) !default;
40
40
 
41
41
  /// The vertical padding of the TaskBoard content.
42
42
  /// @group taskboard
43
- $kendo-taskboard-content-padding-y: 0px !default;
43
+ $kendo-taskboard-content-padding-y: k-spacing(0) !default;
44
44
  /// The horizontal padding of the TaskBoard content.
45
45
  /// @group taskboard
46
- $kendo-taskboard-content-padding-x: 0px !default;
46
+ $kendo-taskboard-content-padding-x: k-spacing(0) !default;
47
47
 
48
48
  /// The vertical spacing of the TaskBoard column container.
49
49
  /// @group taskboard
50
- $kendo-taskboard-column-container-spacing-y: math.div( $kendo-taskboard-spacer, 2 ) !default;
50
+ $kendo-taskboard-column-container-spacing-y: calc( #{$kendo-taskboard-spacer} / 2 ) !default;
51
51
  /// The vertical padding of the TaskBoard column container.
52
52
  /// @group taskboard
53
- $kendo-taskboard-column-container-padding-y: 0px !default;
53
+ $kendo-taskboard-column-container-padding-y: k-spacing(0) !default;
54
54
  /// The horizontal padding of the TaskBoard column container.
55
55
  /// @group taskboard
56
- $kendo-taskboard-column-container-padding-x: math.div( $kendo-taskboard-spacer, 2 ) !default;
56
+ $kendo-taskboard-column-container-padding-x: calc( #{$kendo-taskboard-spacer} / 2 ) !default;
57
57
  /// The spacing of the TaskBoard columns container.
58
58
  /// @group taskboard
59
59
  $kendo-taskboard-columns-container-gap: $kendo-taskboard-spacer !default;
@@ -66,7 +66,7 @@ $kendo-taskboard-column-width: 320px !default;
66
66
  $kendo-taskboard-column-border-width: 1px !default;
67
67
  /// The border radius of the TaskBoard column.
68
68
  /// @group taskboard
69
- $kendo-taskboard-column-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) !default;
69
+ $kendo-taskboard-column-border-radius: k-border-radius(md) !default;
70
70
  /// The background color of the TaskBoard column.
71
71
  /// @group taskboard
72
72
  $kendo-taskboard-column-bg: if($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 )) !default;
@@ -88,16 +88,16 @@ $kendo-taskboard-column-focus-border: if($kendo-enable-color-system, k-color( bo
88
88
 
89
89
  /// The vertical padding of the TaskBoard column header.
90
90
  /// @group taskboard
91
- $kendo-taskboard-column-header-padding-y: math.div( $kendo-taskboard-spacer, 2 ) !default;
91
+ $kendo-taskboard-column-header-padding-y: calc( #{$kendo-taskboard-spacer} / 2 ) !default;
92
92
  /// The horizontal padding of the TaskBoard column header.
93
93
  /// @group taskboard
94
94
  $kendo-taskboard-column-header-padding-x: $kendo-taskboard-column-header-padding-y !default;
95
95
  /// The spacing of the TaskBoard column header.
96
96
  /// @group taskboard
97
- $kendo-taskboard-column-header-gap: math.div( $kendo-taskboard-spacer, 4 ) !default;
97
+ $kendo-taskboard-column-header-gap: calc( #{$kendo-taskboard-spacer} / 4 ) !default;
98
98
  /// The spacing of the TaskBoard column header actions.
99
99
  /// @group taskboard
100
- $kendo-taskboard-column-header-actions-gap: math.div( $kendo-taskboard-spacer, 2 ) !default;
100
+ $kendo-taskboard-column-header-actions-gap: calc( #{$kendo-taskboard-spacer} / 2 ) !default;
101
101
  /// The font weight of the TaskBoard column header.
102
102
  /// @group taskboard
103
103
  $kendo-taskboard-column-header-font-weight: 400 !default;
@@ -107,13 +107,13 @@ $kendo-taskboard-column-header-text: var( --kendo-component-text, inherit ) !def
107
107
 
108
108
  /// The vertical padding of the TaskBoard column Card wrapper.
109
109
  /// @group taskboard
110
- $kendo-taskboard-column-cards-padding-y: 0px !default;
110
+ $kendo-taskboard-column-cards-padding-y: k-spacing(0) !default;
111
111
  /// The horizontal padding of the TaskBoard column Card wrapper.
112
112
  /// @group taskboard
113
- $kendo-taskboard-column-cards-padding-x: 0px !default;
113
+ $kendo-taskboard-column-cards-padding-x: k-spacing(0) !default;
114
114
  /// The spacing of the TaskBoard column Card wrapper.
115
115
  /// @group taskboard
116
- $kendo-taskboard-column-cards-gap: math.div( $kendo-taskboard-spacer, 2 ) !default;
116
+ $kendo-taskboard-column-cards-gap: calc( #{$kendo-taskboard-spacer} / 2 ) !default;
117
117
 
118
118
 
119
119
  /// The default width of the TaskBoard pane.
@@ -121,10 +121,10 @@ $kendo-taskboard-column-cards-gap: math.div( $kendo-taskboard-spacer, 2 ) !defau
121
121
  $kendo-taskboard-pane-width: $kendo-taskboard-column-width !default;
122
122
  /// The vertical padding of the TaskBoard pane.
123
123
  /// @group taskboard
124
- $kendo-taskboard-pane-padding-y: 0px !default;
124
+ $kendo-taskboard-pane-padding-y: k-spacing(0) !default;
125
125
  /// The horizontal padding of the TaskBoard pane.
126
126
  /// @group taskboard
127
- $kendo-taskboard-pane-padding-x: 0px !default;
127
+ $kendo-taskboard-pane-padding-x: k-spacing(0) !default;
128
128
  /// The border width of the TaskBoard pane.
129
129
  /// @group taskboard
130
130
  $kendo-taskboard-pane-border-width: 1px !default;
@@ -143,7 +143,7 @@ $kendo-taskboard-pane-border: var( --kendo-component-border, inherit ) !default;
143
143
  $kendo-taskboard-pane-header-padding-y: $kendo-taskboard-spacer !default;
144
144
  /// The horizontal padding of the TaskBoard pane header.
145
145
  /// @group taskboard
146
- $kendo-taskboard-pane-header-padding-x: map.get( $kendo-spacing, 6 ) !default;
146
+ $kendo-taskboard-pane-header-padding-x: k-spacing(6) !default;
147
147
  /// The font size of the TaskBoard pane header.
148
148
  /// @group taskboard
149
149
  $kendo-taskboard-pane-header-font-size: var( --kendo-font-size-xl, 1rem ) !default;
@@ -156,21 +156,21 @@ $kendo-taskboard-pane-header-text: $kendo-taskboard-pane-text !default;
156
156
 
157
157
  /// The vertical padding of the TaskBoard pane content.
158
158
  /// @group taskboard
159
- $kendo-taskboard-pane-content-padding-y: 0px !default;
159
+ $kendo-taskboard-pane-content-padding-y: k-spacing(0) !default;
160
160
  /// The horizontal padding of the TaskBoard pane content.
161
161
  /// @group taskboard
162
162
  $kendo-taskboard-pane-content-padding-x: $kendo-taskboard-pane-header-padding-x !default;
163
163
 
164
164
  /// The vertical padding of the TaskBoard pane actions.
165
165
  /// @group taskboard
166
- $kendo-taskboard-pane-actions-padding-y: map.get( $kendo-spacing, 6 ) !default;
166
+ $kendo-taskboard-pane-actions-padding-y: k-spacing(6) !default;
167
167
  /// The horizontal padding of the TaskBoard pane actions.
168
168
  /// @group taskboard
169
169
  $kendo-taskboard-pane-actions-padding-x: $kendo-taskboard-pane-actions-padding-y !default;
170
170
 
171
171
  /// The vertical padding of the TaskBoard Card.
172
172
  /// @group taskboard
173
- $kendo-taskboard-card-padding-y: math.div( $kendo-taskboard-spacer, 2 ) !default;
173
+ $kendo-taskboard-card-padding-y: calc( #{$kendo-taskboard-spacer} / 2 ) !default;
174
174
  /// The horizontal padding of the TaskBoard Card.
175
175
  /// @group taskboard
176
176
  $kendo-taskboard-card-padding-x: $kendo-taskboard-card-padding-y !default;
@@ -189,7 +189,7 @@ $kendo-taskboard-card-selected-shadow: var( --kendo-box-shadow-depth-3, none ) !
189
189
 
190
190
  /// The font size of the TaskBoard Card title.
191
191
  /// @group taskboard
192
- $kendo-taskboard-card-title-font-size: var( --kendo-font-size-md, 1rem ) !default;
192
+ $kendo-taskboard-card-title-font-size: var( --kendo-font-size, 1rem ) !default;
193
193
  /// The font weight of the TaskBoard Card title.
194
194
  /// @group taskboard
195
195
  $kendo-taskboard-card-title-font-weight: var( --kendo-font-weight-bold, 600 ) !default;
@@ -12,7 +12,7 @@ $kendo-tile-layout-bg: if($kendo-enable-color-system, k-color( surface ), k-get-
12
12
 
13
13
  /// The horizontal padding of the TileLayout.
14
14
  /// @group tilelayout
15
- $kendo-tile-layout-padding-x: map.get( $kendo-spacing, 4 ) !default;
15
+ $kendo-tile-layout-padding-x: k-spacing(4) !default;
16
16
 
17
17
  /// The vertical padding of the TileLayout
18
18
  /// @group tilelayout
@@ -7,13 +7,13 @@
7
7
 
8
8
  /// The horizontal spacing of the Timeline.
9
9
  /// @group timeline
10
- $kendo-timeline-spacing-x: map.get( $kendo-spacing, 10 ) !default;
10
+ $kendo-timeline-spacing-x: k-spacing(10) !default;
11
11
  /// The vertical spacing of the Timeline.
12
12
  /// @group timeline
13
- $kendo-timeline-spacing-y: map.get( $kendo-spacing, 10 ) !default;
13
+ $kendo-timeline-spacing-y: k-spacing(10) !default;
14
14
  /// The padding between the Timeline's track items.
15
15
  /// @group timeline
16
- $kendo-timeline-items-padding: map.get( $kendo-spacing, 4 ) !default;
16
+ $kendo-timeline-items-padding: k-spacing(4) !default;
17
17
 
18
18
  /// The font family of the Timeline.
19
19
  /// @group timeline
@@ -27,30 +27,30 @@ $kendo-timeline-line-height: var( --kendo-line-height, normal ) !default;
27
27
 
28
28
  /// The horizontal spacing of the mobile Timeline.
29
29
  /// @group timeline
30
- $kendo-timeline-mobile-spacing-x: map.get( $kendo-spacing, 4 ) !default;
30
+ $kendo-timeline-mobile-spacing-x: k-spacing(4) !default;
31
31
  /// The vertical spacing of the mobile Timeline.
32
32
  /// @group timeline
33
- $kendo-timeline-mobile-spacing-y: map.get( $kendo-spacing, 4 ) !default;
33
+ $kendo-timeline-mobile-spacing-y: k-spacing(4) !default;
34
34
 
35
35
  /// The width of the Timeline track arrow.
36
36
  /// @group timeline
37
- $kendo-timeline-track-arrow-width: map.get( $kendo-spacing, 7.5 ) !default;
37
+ $kendo-timeline-track-arrow-width: k-spacing(7.5) !default;
38
38
  /// The height of the Timeline track arrow.
39
39
  /// @group timeline
40
- $kendo-timeline-track-arrow-height: map.get( $kendo-spacing, 7.5 ) !default;
40
+ $kendo-timeline-track-arrow-height: k-spacing(7.5) !default;
41
41
 
42
42
  /// The size of the Timeline track.
43
43
  /// @group timeline
44
- $kendo-timeline-track-size: map.get( $kendo-spacing, 1.5 ) !default;
44
+ $kendo-timeline-track-size: k-spacing(1.5) !default;
45
45
  /// The bottom padding of the Timeline's track wrapper.
46
46
  /// @group timeline
47
- $kendo-timeline-track-wrap-padding-bottom: math.div( $kendo-timeline-track-size, 2 ) !default;
47
+ $kendo-timeline-track-wrap-padding-bottom: calc( #{$kendo-timeline-track-size} / 2 ) !default;
48
48
  /// The border width of the Timeline track.
49
49
  /// @group timeline
50
50
  $kendo-timeline-track-border-width: 1px !default;
51
51
  /// The bottom margin of the Timeline track.
52
52
  /// @group timeline
53
- $kendo-timeline-track-margin-bottom: map.get( $kendo-spacing, 4 ) !default;
53
+ $kendo-timeline-track-margin-bottom: k-spacing(4) !default;
54
54
  /// The bottom offset of the Timeline track.
55
55
  /// @group timeline
56
56
  $kendo-timeline-track-bottom-calc: calc( ( #{ $kendo-timeline-track-arrow-height } / 2 ) + #{ $kendo-timeline-track-wrap-padding-bottom } ) !default;
@@ -82,17 +82,17 @@ $kendo-timeline-track-arrow-disabled-border: var( --kendo-disabled-border, initi
82
82
 
83
83
  /// The offset of the Timeline track event.
84
84
  /// @group timeline
85
- $kendo-timeline-track-event-offset: map.get( $kendo-spacing, 8 ) !default;
85
+ $kendo-timeline-track-event-offset: k-spacing(8) !default;
86
86
 
87
87
  /// The horizontal padding of the Timeline flag.
88
88
  /// @group timeline
89
- $kendo-timeline-flag-padding-x: map.get( $kendo-spacing, 2 ) !default;
89
+ $kendo-timeline-flag-padding-x: k-spacing(2) !default;
90
90
  /// The vertical padding of the Timeline flag.
91
91
  /// @group timeline
92
- $kendo-timeline-flag-padding-y: map.get( $kendo-spacing, 2 ) !default;
92
+ $kendo-timeline-flag-padding-y: k-spacing(2) !default;
93
93
  /// The border radius of the Timeline flag.
94
94
  /// @group timeline
95
- $kendo-timeline-flag-border-radius: map.get( $kendo-spacing, 0.5 ) !default;
95
+ $kendo-timeline-flag-border-radius: k-spacing(0.5) !default;
96
96
  /// The line height of the Timeline flag.
97
97
  /// @group timeline
98
98
  $kendo-timeline-flag-line-height: var( --kendo-line-height, normal ) !default;
@@ -101,7 +101,7 @@ $kendo-timeline-flag-line-height: var( --kendo-line-height, normal ) !default;
101
101
  $kendo-timeline-flag-box-shadow: var( --kendo-box-shadow-depth-2, none ) !default;
102
102
  /// The minimum width of the Timeline flag.
103
103
  /// @group timeline
104
- $kendo-timeline-flag-min-width: map.get( $kendo-spacing, 20 ) !default;
104
+ $kendo-timeline-flag-min-width: k-spacing(20) !default;
105
105
  /// The maximum width of the Timeline flag.
106
106
  /// @group timeline
107
107
  $kendo-timeline-flag-max-width: calc( #{ $kendo-timeline-flag-min-width } + 2 * #{ $kendo-timeline-spacing-x } ) !default;
@@ -110,7 +110,7 @@ $kendo-timeline-flag-max-width: calc( #{ $kendo-timeline-flag-min-width } + 2 *
110
110
  $kendo-timeline-mobile-flag-max-width: calc( #{ $kendo-timeline-flag-min-width } + 2 * #{ $kendo-timeline-mobile-spacing-x } ) !default;
111
111
  /// The minimum width of the horizontal Timeline flag.
112
112
  /// @group timeline
113
- $kendo-timeline-horizontal-flag-min-width: map.get( $kendo-spacing, 15 ) !default;
113
+ $kendo-timeline-horizontal-flag-min-width: k-spacing(15) !default;
114
114
  /// The background color of the Timeline flag.
115
115
  /// @group timeline
116
116
  $kendo-timeline-flag-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
@@ -119,13 +119,13 @@ $kendo-timeline-flag-bg: if($kendo-enable-color-system, k-color( primary ), k-ge
119
119
  $kendo-timeline-flag-text: var( --kendo-component-bg, initial ) !default;
120
120
  /// The width of the Timeline's flag callout.
121
121
  /// @group timeline
122
- $kendo-timeline-flag-callout-width: map.get( $kendo-spacing, 2.5 ) !default;
122
+ $kendo-timeline-flag-callout-width: k-spacing(2.5) !default;
123
123
  /// The height of the Timeline's flag callout.
124
124
  /// @group timeline
125
- $kendo-timeline-flag-callout-height: map.get( $kendo-spacing, 2.5 ) !default;
125
+ $kendo-timeline-flag-callout-height: k-spacing(2.5) !default;
126
126
  /// The bottom offset of the Timeline flag.
127
127
  /// @group timeline
128
- $kendo-timeline-flag-offset-bottom: map.get( $kendo-spacing, 1 ) !default;
128
+ $kendo-timeline-flag-offset-bottom: k-spacing(1) !default;
129
129
  /// The bottom margin of the Timeline flag.
130
130
  /// @group timeline
131
131
  $kendo-timeline-flag-margin-bottom-calc: calc( #{ $kendo-timeline-track-size } + 2 * #{ $kendo-timeline-track-border-width } + #{ $kendo-timeline-flag-offset-bottom } + #{ $kendo-timeline-flag-callout-height } ) !default;
@@ -151,10 +151,10 @@ $kendo-timeline-card-scroll-thumb-hover: var( --kendo-hover-border, initial ) !d
151
151
  $kendo-timeline-date-body-text: var( --kendo-body-text, initial ) !default;
152
152
  /// The width of the Timeline date.
153
153
  /// @group timeline
154
- $kendo-timeline-date-width: map.get( $kendo-spacing, 12 ) + map.get( $kendo-spacing, 0.5 ) !default;
154
+ $kendo-timeline-date-width: calc( #{k-spacing(12)} + #{k-spacing(0.5)} ) !default;
155
155
  /// The bottom margin of the Timeline date.
156
156
  /// @group timeline
157
- $kendo-timeline-date-margin-bottom: map.get( $kendo-spacing, 2 ) !default;
157
+ $kendo-timeline-date-margin-bottom: k-spacing(2) !default;
158
158
 
159
159
  /// The padding of the vertical Timeline.
160
160
  /// @group timeline
@@ -164,7 +164,7 @@ $kendo-timeline-vertical-padding-calc: calc( #{ $kendo-timeline-spacing-x } + (
164
164
  $kendo-timeline-vertical-padding-with-dates-calc: calc( #{ $kendo-timeline-vertical-padding-calc } + #{ $kendo-timeline-date-width } ) !default;
165
165
  /// The border radius of the vertical Timeline.
166
166
  /// @group timeline
167
- $kendo-timeline-vertical-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-lg} ) !default;
167
+ $kendo-timeline-vertical-border-radius: k-border-radius(lg) !default;
168
168
  /// The padding of the vertical mobile Timeline.
169
169
  /// @group timeline
170
170
  $kendo-timeline-mobile-vertical-padding-calc: calc( #{ $kendo-timeline-mobile-spacing-x } + ( #{ $kendo-timeline-flag-min-width } - #{ $kendo-timeline-track-size } ) / 2 ) !default;
@@ -174,10 +174,10 @@ $kendo-timeline-mobile-vertical-padding-with-dates-calc: calc( #{ $kendo-timelin
174
174
 
175
175
  /// The width of the Timeline circle.
176
176
  /// @group timeline
177
- $kendo-timeline-circle-width: map.get( $kendo-spacing, 4 ) !default;
177
+ $kendo-timeline-circle-width: k-spacing(4) !default;
178
178
  /// The height of the Timeline circle.
179
179
  /// @group timeline
180
- $kendo-timeline-circle-height: map.get( $kendo-spacing, 4 ) !default;
180
+ $kendo-timeline-circle-height: k-spacing(4) !default;
181
181
  /// The background color of the Timeline circle.
182
182
  /// @group timeline
183
183
  $kendo-timeline-circle-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
@@ -213,7 +213,7 @@
213
213
  $_line-height: map.get( $size-props, line-height );
214
214
  $_list-item-padding-x: map.get( $size-props, list-item-padding-x );
215
215
  $_list-item-padding-y: map.get( $size-props, list-item-padding-y );
216
- $_highlight-height: calc( #{$_font-size} * #{$_line-height} + #{ $_list-item-padding-y * 2} );
216
+ $_highlight-height: calc( #{$_font-size} * #{$_line-height} + calc( #{ $_list-item-padding-y} * 2 ) );
217
217
 
218
218
 
219
219
  .k-timeselector-#{$size} {
@@ -27,10 +27,10 @@ $kendo-time-selector-border: var( --kendo-component-border, initial ) !default;
27
27
 
28
28
  /// Horizontal padding of the time-selector header.
29
29
  /// @group time-selector
30
- $kendo-time-selector-header-padding-x: map.get( $kendo-spacing, 3 ) !default;
30
+ $kendo-time-selector-header-padding-x: k-spacing(3) !default;
31
31
  /// Vertical padding color of the time-selector header.
32
32
  /// @group time-selector
33
- $kendo-time-selector-header-padding-y: map.get( $kendo-spacing, 3 ) !default;
33
+ $kendo-time-selector-header-padding-y: k-spacing(3) !default;
34
34
  /// Width of the border around the time-selector header.
35
35
  /// @group time-selector
36
36
  $kendo-time-selector-header-border-width: 0px !default;
@@ -47,7 +47,7 @@ $kendo-time-list-height: 240px !default;
47
47
 
48
48
  /// Spacing beneath the time selector titles.
49
49
  /// @group time-selector
50
- $kendo-time-list-title-spacing: map.get( $kendo-spacing, 3 ) !default;
50
+ $kendo-time-list-title-spacing: k-spacing(3) !default;
51
51
  /// Font size of the time-selector titles.
52
52
  /// @group time-selector
53
53
  $kendo-time-list-title-font-size: var( --kendo-font-size-xs, inherit ) !default;
@@ -67,17 +67,17 @@ $kendo-time-list-title-focus-text: $kendo-time-selector-text !default;
67
67
 
68
68
  /// Horizontal padding of the time-selector list items.
69
69
  /// @group time-selector
70
- $kendo-time-list-item-padding-x: map.get( $kendo-spacing, 2 ) !default;
70
+ $kendo-time-list-item-padding-x: k-spacing(2) !default;
71
71
  /// Vertical padding of the time-selector list items.
72
72
  /// @group time-selector
73
- $kendo-time-list-item-padding-y: map.get( $kendo-spacing, 1 ) !default;
73
+ $kendo-time-list-item-padding-y: k-spacing(1) !default;
74
74
 
75
75
  /// Width of the border of the selected item in the time-selector.
76
76
  /// @group time-selector
77
77
  $kendo-time-list-highlight-border-width: 1px 0px !default;
78
78
  /// Height of the selected item in the time-selector.
79
79
  /// @group time-selector
80
- $kendo-time-list-highlight-height: calc( #{$kendo-time-selector-font-size} * #{$kendo-time-selector-line-height} + #{ $kendo-time-list-item-padding-y * 2} ) !default;
80
+ $kendo-time-list-highlight-height: calc( #{$kendo-time-selector-font-size} * #{$kendo-time-selector-line-height} + calc( #{$kendo-time-list-item-padding-y} * 2 ) ) !default;
81
81
  /// Background color of the selected item in the time-selector.
82
82
  /// @group time-selector
83
83
  $kendo-time-list-highlight-bg: $kendo-time-selector-bg !default;
@@ -169,7 +169,7 @@
169
169
  }
170
170
 
171
171
  .k-separator {
172
- margin-block: map.get( $kendo-spacing, 1 );
172
+ margin-block: k-spacing(1);
173
173
  }
174
174
 
175
175
  // Group
@@ -3,33 +3,33 @@
3
3
 
4
4
  /// The horizontal padding of the small Toolbar.
5
5
  /// @group toolbar
6
- $kendo-toolbar-sm-padding-x: map.get( $kendo-spacing, 1 ) !default;
6
+ $kendo-toolbar-sm-padding-x: k-spacing(1) !default;
7
7
  /// The horizontal padding of the medium Toolbar.
8
8
  /// @group toolbar
9
- $kendo-toolbar-md-padding-x: map.get( $kendo-spacing, 2 ) !default;
9
+ $kendo-toolbar-md-padding-x: k-spacing(2) !default;
10
10
  /// The horizontal padding of the large Toolbar.
11
11
  /// @group toolbar
12
- $kendo-toolbar-lg-padding-x: map.get( $kendo-spacing, 2.5 ) !default;
12
+ $kendo-toolbar-lg-padding-x: k-spacing(2.5) !default;
13
13
 
14
14
  /// The vertical padding of the small Toolbar.
15
15
  /// @group toolbar
16
- $kendo-toolbar-sm-padding-y: map.get( $kendo-spacing, 1 ) !default;
16
+ $kendo-toolbar-sm-padding-y: k-spacing(1) !default;
17
17
  /// The vertical padding of the medium Toolbar.
18
18
  /// @group toolbar
19
- $kendo-toolbar-md-padding-y: map.get( $kendo-spacing, 2 ) !default;
19
+ $kendo-toolbar-md-padding-y: k-spacing(2) !default;
20
20
  /// The vertical padding of the large Toolbar.
21
21
  /// @group toolbar
22
- $kendo-toolbar-lg-padding-y: map.get( $kendo-spacing, 2.5 ) !default;
22
+ $kendo-toolbar-lg-padding-y: k-spacing(2.5) !default;
23
23
 
24
24
  /// The spacing between the tools of the small Toolbar.
25
25
  /// @group toolbar
26
- $kendo-toolbar-sm-spacing: map.get( $kendo-spacing, 2 ) !default;
26
+ $kendo-toolbar-sm-spacing: k-spacing(2) !default;
27
27
  /// The spacing between the tools of the medium Toolbar.
28
28
  /// @group toolbar
29
- $kendo-toolbar-md-spacing: map.get( $kendo-spacing, 2 ) !default;
29
+ $kendo-toolbar-md-spacing: k-spacing(2) !default;
30
30
  /// The spacing between the tools of the large Toolbar.
31
31
  /// @group toolbar
32
- $kendo-toolbar-lg-spacing: map.get( $kendo-spacing, 2 ) !default;
32
+ $kendo-toolbar-lg-spacing: k-spacing(2) !default;
33
33
 
34
34
  /// The width of the border around the Toolbar.
35
35
  /// @group toolbar
@@ -62,8 +62,8 @@
62
62
 
63
63
  // Callout
64
64
  .k-callout {
65
- width: ( $kendo-tooltip-callout-size * 2 );
66
- height: ( $kendo-tooltip-callout-size * 2 );
65
+ width: calc( #{$kendo-tooltip-callout-size} * 2 );
66
+ height: calc( #{$kendo-tooltip-callout-size} * 2 );
67
67
  border-width: $kendo-tooltip-callout-size;
68
68
  border-style: solid;
69
69
  border-color: transparent;
@@ -77,31 +77,31 @@
77
77
  // Remove margin tweaking and uncomment when their implementation is fixed.
78
78
 
79
79
  .k-callout-n {
80
- margin-inline-start: -$kendo-tooltip-callout-size;
80
+ margin-inline-start: calc( #{$kendo-tooltip-callout-size} * -1 );
81
81
  border-bottom-color: currentColor;
82
- top: ( -1 * $kendo-tooltip-callout-size * 2 );
82
+ top: calc( calc( #{$kendo-tooltip-callout-size} * -1 ) * 2 );
83
83
  left: 50%;
84
84
  pointer-events: none;
85
85
  }
86
86
  .k-callout-e {
87
- margin-block-start: -$kendo-tooltip-callout-size;
87
+ margin-block-start: calc( #{$kendo-tooltip-callout-size} * -1 );
88
88
  border-left-color: currentColor;
89
89
  top: 50%;
90
- right: ( -1 * $kendo-tooltip-callout-size * 2 );
90
+ right: calc( calc( #{$kendo-tooltip-callout-size} * -1 ) * 2 );
91
91
  pointer-events: none;
92
92
  }
93
93
  .k-callout-s {
94
- margin-inline-start: -$kendo-tooltip-callout-size;
94
+ margin-inline-start: calc( #{$kendo-tooltip-callout-size} * -1 );
95
95
  border-top-color: currentColor;
96
- bottom: ( -1 * $kendo-tooltip-callout-size * 2 );
96
+ bottom: calc( calc( #{$kendo-tooltip-callout-size} * -1 ) * 2);
97
97
  left: 50%;
98
98
  pointer-events: none;
99
99
  }
100
100
  .k-callout-w {
101
- margin-block-start: -$kendo-tooltip-callout-size;
101
+ margin-block-start: calc( #{$kendo-tooltip-callout-size} * -1 );
102
102
  border-right-color: currentColor;
103
103
  top: 50%;
104
- left: ( -1 * $kendo-tooltip-callout-size * 2 );
104
+ left: calc( calc( #{$kendo-tooltip-callout-size} * -1 ) * 2);
105
105
  pointer-events: none;
106
106
  }
107
107
 
@@ -3,13 +3,13 @@
3
3
 
4
4
  /// The border radius of the Tooltip.
5
5
  /// @group tooltip
6
- $kendo-tooltip-border-radius: $kendo-border-radius !default;
6
+ $kendo-tooltip-border-radius: k-border-radius(md) !default;
7
7
  /// The horizontal padding of the Tooltip.
8
8
  /// @group tooltip
9
- $kendo-tooltip-padding-x: map.get( $kendo-spacing, 2 ) !default;
9
+ $kendo-tooltip-padding-x: k-spacing(2) !default;
10
10
  /// The vertical padding of the Tooltip.
11
11
  /// @group tooltip
12
- $kendo-tooltip-padding-y: map.get( $kendo-spacing, 2 ) !default;
12
+ $kendo-tooltip-padding-y: k-spacing(2) !default;
13
13
  /// The width of the border around the Tooltip.
14
14
  /// @group tooltip
15
15
  $kendo-tooltip-border-width: 0px !default;
@@ -31,11 +31,11 @@ $kendo-tooltip-title-font-size: calc( #{$kendo-tooltip-font-size} * 1.25 ) !defa
31
31
  $kendo-tooltip-title-line-height: var( --kendo-line-heigh-xs, normal ) !default;
32
32
  /// The margin of the Tooltip title.
33
33
  /// @group tooltip
34
- $kendo-tooltip-title-margin: map.get( $kendo-spacing, 1 ) !default;
34
+ $kendo-tooltip-title-margin: k-spacing(1) !default;
35
35
 
36
36
  /// The size of the Tooltip callout.
37
37
  /// @group tooltip
38
- $kendo-tooltip-callout-size: map.get( $kendo-spacing, 2 ) !default;
38
+ $kendo-tooltip-callout-size: k-spacing(2) !default;
39
39
 
40
40
  /// The default background of the Tooltip.
41
41
  /// @group tooltip
@@ -18,7 +18,7 @@
18
18
  // TODO: see what this does and use a better name
19
19
  .k-loading {
20
20
  vertical-align: baseline;
21
- margin-right: map.get( $kendo-spacing, 1 );
21
+ margin-right: k-spacing(1);
22
22
 
23
23
  // TODO
24
24
  display: none;
@@ -48,7 +48,7 @@
48
48
 
49
49
  .k-i-caret-alt-down,
50
50
  .k-i-caret-alt-right {
51
- margin-inline-end: map.get( $kendo-spacing, 2 );
51
+ margin-inline-end: k-spacing(2);
52
52
  }
53
53
  }
54
54
 
@@ -1,9 +1,9 @@
1
1
  @use "../core/" as *;
2
2
  @use "../grid/_variables.scss" as *;
3
3
 
4
- /// Background color of the treelist footer row.
4
+ /// The background color of the TreeList footer row.
5
5
  /// @group treelist
6
6
  $kendo-treelist-footer-row-bg: $kendo-grid-hover-bg !default;
7
- /// Border width of the treelist footer row.
7
+ /// The border width of the TreeList footer row.
8
8
  /// @group treelist
9
9
  $kendo-treelist-footer-row-border-width: 1px !default;