@progress/kendo-theme-default 8.0.0-dev.0 → 8.0.0-dev.10

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 (154) hide show
  1. package/dist/all.css +8513 -5378
  2. package/dist/all.scss +5743 -5107
  3. package/dist/default-nordic.scss +9 -9
  4. package/dist/default-ocean-blue-a11y.scss +7 -7
  5. package/dist/meta/sassdoc-data.json +56574 -41262
  6. package/dist/meta/sassdoc-raw-data.json +20441 -12919
  7. package/dist/meta/variables.json +2243 -2135
  8. package/lib/swatches/default-blue.json +1 -1
  9. package/lib/swatches/default-dataviz-v4.json +1 -1
  10. package/lib/swatches/default-green.json +1 -1
  11. package/lib/swatches/default-main-dark.json +1 -1
  12. package/lib/swatches/default-main.json +1 -1
  13. package/lib/swatches/default-nordic.json +10 -10
  14. package/lib/swatches/default-ocean-blue-a11y.json +8 -8
  15. package/lib/swatches/default-ocean-blue.json +1 -1
  16. package/lib/swatches/default-orange.json +1 -1
  17. package/lib/swatches/default-purple.json +1 -1
  18. package/lib/swatches/default-turquoise.json +1 -1
  19. package/lib/swatches/default-urban.json +1 -1
  20. package/package.json +5 -5
  21. package/scss/_variables.scss +0 -172
  22. package/scss/action-buttons/_variables.scss +4 -4
  23. package/scss/action-sheet/_layout.scss +1 -1
  24. package/scss/action-sheet/_variables.scss +17 -17
  25. package/scss/adaptive/_layout.scss +8 -8
  26. package/scss/adaptive/_variables.scss +3 -3
  27. package/scss/appbar/_variables.scss +6 -6
  28. package/scss/avatar/_variables.scss +6 -6
  29. package/scss/badge/_theme.scss +1 -1
  30. package/scss/badge/_variables.scss +17 -17
  31. package/scss/bottom-navigation/_layout.scss +2 -2
  32. package/scss/bottom-navigation/_variables.scss +9 -9
  33. package/scss/breadcrumb/_variables.scss +17 -17
  34. package/scss/button/_theme.scss +15 -11
  35. package/scss/button/_variables.scss +21 -21
  36. package/scss/calendar/_layout.scss +32 -18
  37. package/scss/calendar/_theme.scss +1 -6
  38. package/scss/calendar/_variables.scss +34 -30
  39. package/scss/captcha/_variables.scss +6 -6
  40. package/scss/card/_variables.scss +18 -18
  41. package/scss/chat/_layout.scss +7 -7
  42. package/scss/chat/_variables.scss +13 -13
  43. package/scss/checkbox/_layout.scss +1 -1
  44. package/scss/checkbox/_variables.scss +9 -9
  45. package/scss/chip/_layout.scss +1 -1
  46. package/scss/chip/_theme.scss +4 -4
  47. package/scss/chip/_variables.scss +16 -16
  48. package/scss/color-preview/_variables.scss +1 -1
  49. package/scss/coloreditor/_variables.scss +7 -7
  50. package/scss/colorgradient/_layout.scss +1 -1
  51. package/scss/colorgradient/_variables.scss +10 -10
  52. package/scss/colorpalette/_variables.scss +3 -3
  53. package/scss/common/_base.scss +7 -7
  54. package/scss/core/_index.scss +12 -0
  55. package/scss/core/border-radii/index.import.scss +1 -0
  56. package/scss/core/spacing/index.import.scss +29 -0
  57. package/scss/core/typography/index.import.scss +1 -0
  58. package/scss/dataviz/_layout.scss +12 -9
  59. package/scss/dataviz/_variables.scss +8 -8
  60. package/scss/daterangepicker/_layout.scss +1 -1
  61. package/scss/datetimepicker/_variables.scss +1 -1
  62. package/scss/dock-manager/_variables.scss +10 -10
  63. package/scss/draggable/_variables.scss +4 -4
  64. package/scss/drawer/_layout.scss +5 -3
  65. package/scss/drawer/_variables.scss +12 -11
  66. package/scss/dropdowntree/_layout.scss +2 -2
  67. package/scss/dropdowntree/_variables.scss +2 -2
  68. package/scss/dropzone/_variables.scss +8 -8
  69. package/scss/editor/_layout.scss +5 -5
  70. package/scss/editor/_variables.scss +3 -3
  71. package/scss/expansion-panel/_variables.scss +9 -9
  72. package/scss/fab/_layout.scss +4 -4
  73. package/scss/fab/_variables.scss +18 -18
  74. package/scss/filemanager/_layout.scss +3 -3
  75. package/scss/filemanager/_variables.scss +9 -9
  76. package/scss/filter/_layout.scss +4 -4
  77. package/scss/filter/_variables.scss +2 -2
  78. package/scss/forms/_layout.scss +16 -16
  79. package/scss/forms/_variables.scss +17 -17
  80. package/scss/gantt/_layout.scss +12 -12
  81. package/scss/gantt/_variables.scss +151 -7
  82. package/scss/grid/_layout.scss +10 -10
  83. package/scss/grid/_variables.scss +64 -64
  84. package/scss/imageeditor/_variables.scss +7 -7
  85. package/scss/input/_layout.scss +5 -5
  86. package/scss/input/_variables.scss +14 -14
  87. package/scss/list/_variables.scss +27 -27
  88. package/scss/listbox/_variables.scss +6 -6
  89. package/scss/listgroup/_layout.scss +7 -7
  90. package/scss/listgroup/_variables.scss +5 -5
  91. package/scss/listview/_layout.scss +1 -0
  92. package/scss/listview/_variables.scss +7 -7
  93. package/scss/loader/_layout.scss +10 -10
  94. package/scss/loader/_variables.scss +25 -25
  95. package/scss/map/_layout.scss +1 -1
  96. package/scss/map/_variables.scss +8 -8
  97. package/scss/mediaplayer/_variables.scss +5 -5
  98. package/scss/menu/_layout.scss +1 -1
  99. package/scss/menu/_variables.scss +30 -30
  100. package/scss/menu-button/_layout.scss +3 -3
  101. package/scss/messagebox/_variables.scss +3 -3
  102. package/scss/notification/_variables.scss +7 -7
  103. package/scss/orgchart/_variables.scss +11 -11
  104. package/scss/pager/_variables.scss +10 -10
  105. package/scss/panelbar/_layout.scss +2 -2
  106. package/scss/panelbar/_variables.scss +9 -9
  107. package/scss/pdf-viewer/_variables.scss +5 -5
  108. package/scss/pivotgrid/_layout.scss +12 -12
  109. package/scss/pivotgrid/_variables.scss +15 -15
  110. package/scss/popup/_layout.scss +1 -1
  111. package/scss/popup/_theme.scss +1 -1
  112. package/scss/popup/_variables.scss +4 -4
  113. package/scss/progressbar/_layout.scss +2 -2
  114. package/scss/progressbar/_variables.scss +2 -2
  115. package/scss/prompt/_variables.scss +7 -7
  116. package/scss/radio/_layout.scss +1 -1
  117. package/scss/radio/_variables.scss +9 -9
  118. package/scss/rating/_variables.scss +4 -4
  119. package/scss/scheduler/_layout.scss +5 -5
  120. package/scss/scheduler/_variables.scss +165 -22
  121. package/scss/scrollview/_layout.scss +3 -3
  122. package/scss/scrollview/_variables.scss +5 -5
  123. package/scss/signature/_variables.scss +5 -5
  124. package/scss/skeleton/_variables.scss +1 -1
  125. package/scss/slider/_theme.scss +1 -1
  126. package/scss/slider/_variables.scss +4 -4
  127. package/scss/splitter/_variables.scss +6 -6
  128. package/scss/spreadsheet/_layout.scss +12 -12
  129. package/scss/spreadsheet/_variables.scss +17 -17
  130. package/scss/stepper/_variables.scss +8 -8
  131. package/scss/table/_layout.scss +1 -1
  132. package/scss/table/_variables.scss +12 -12
  133. package/scss/tabstrip/_layout.scss +2 -2
  134. package/scss/tabstrip/_variables.scss +80 -39
  135. package/scss/taskboard/_variables.scss +16 -16
  136. package/scss/tilelayout/_variables.scss +2 -2
  137. package/scss/timeline/_layout.scss +4 -4
  138. package/scss/timeline/_variables.scss +10 -10
  139. package/scss/timeselector/_layout.scss +1 -1
  140. package/scss/timeselector/_variables.scss +6 -6
  141. package/scss/toolbar/_layout.scss +2 -2
  142. package/scss/toolbar/_variables.scss +12 -12
  143. package/scss/tooltip/_layout.scss +10 -10
  144. package/scss/tooltip/_variables.scss +4 -4
  145. package/scss/treelist/_layout.scss +1 -1
  146. package/scss/treelist/_variables.scss +5 -0
  147. package/scss/treeview/_layout.scss +1 -1
  148. package/scss/treeview/_variables.scss +20 -20
  149. package/scss/typography/_layout.scss +51 -111
  150. package/scss/typography/_variables.scss +293 -54
  151. package/scss/upload/_layout.scss +3 -3
  152. package/scss/upload/_variables.scss +8 -8
  153. package/scss/window/_variables.scss +7 -7
  154. package/scss/wizard/_variables.scss +7 -7
@@ -29,7 +29,7 @@
29
29
 
30
30
  // Inline editor
31
31
  .k-editor-inline {
32
- @include border-radius( $kendo-border-radius-md );
32
+ @include border-radius( k-border-radius(md) );
33
33
  padding-block: $kendo-padding-sm-y;
34
34
  padding-inline: $kendo-padding-sm-x;
35
35
  border: 1px solid transparent;
@@ -373,7 +373,7 @@
373
373
  flex: 1;
374
374
  }
375
375
  .k-search-wrap {
376
- margin: 0 0 0 k-map-get( $kendo-spacing, 4 );
376
+ margin: 0 0 0 k-spacing(4);
377
377
  width: 150px;
378
378
  display: flex;
379
379
  align-items: center;
@@ -390,7 +390,7 @@
390
390
 
391
391
  // Filebrowser toolbar
392
392
  .k-filebrowser-toolbar {
393
- margin: k-map-get( $kendo-spacing, 4 ) 0 0 0;
393
+ margin: k-spacing(4) 0 0 0;
394
394
  }
395
395
 
396
396
  .k-upload {
@@ -417,7 +417,7 @@
417
417
  flex-flow: row wrap;
418
418
  height: 390px;
419
419
  max-height: 50vh;
420
- margin: 0 0 k-map-get( $kendo-spacing, 4 ) 0;
420
+ margin: 0 0 k-spacing(4) 0;
421
421
  padding-block: $kendo-padding-md-y;
422
422
  padding-inline: $kendo-padding-md-x;
423
423
  border-top-width: 0;
@@ -433,7 +433,7 @@
433
433
  white-space: nowrap;
434
434
  overflow: hidden;
435
435
  cursor: pointer;
436
- @include border-radius( $kendo-border-radius-md );
436
+ @include border-radius( k-border-radius(md) );
437
437
 
438
438
  .k-i-file,
439
439
  .k-i-folder {
@@ -5,13 +5,13 @@
5
5
  $kendo-editor-border-width: 1px !default;
6
6
  /// The font family of the Еditor.
7
7
  /// @group editor
8
- $kendo-editor-font-family: $kendo-font-family !default;
8
+ $kendo-editor-font-family: var( --kendo-font-family, inherit ) !default;
9
9
  /// The font size of the Еditor.
10
10
  /// @group editor
11
- $kendo-editor-font-size: $kendo-font-size-md !default;
11
+ $kendo-editor-font-size: var( --kendo-font-size, inherit ) !default;
12
12
  /// The line height of the Еditor.
13
13
  /// @group editor
14
- $kendo-editor-line-height: $kendo-line-height-md !default;
14
+ $kendo-editor-line-height: var( --kendo-line-height, normal ) !default;
15
15
 
16
16
  /// The text color of the Еditor placeholder.
17
17
  /// @group editor
@@ -2,19 +2,19 @@
2
2
 
3
3
  /// The vertical spacing of the ExpansionPanel.
4
4
  /// @group expander
5
- $kendo-expander-spacing-y: k-map-get( $kendo-spacing, 2 ) !default;
5
+ $kendo-expander-spacing-y: k-spacing(2) !default;
6
6
  /// The width of the border around the ExpansionPanel.
7
7
  /// @group expander
8
8
  $kendo-expander-border-width: 1px !default;
9
9
  /// The font family of the ExpansionPanel.
10
10
  /// @group expander
11
- $kendo-expander-font-family: $kendo-font-family !default;
11
+ $kendo-expander-font-family: var( --kendo-font-family, inherit ) !default;
12
12
  /// The font size of the ExpansionPanel.
13
13
  /// @group expander
14
- $kendo-expander-font-size: $kendo-font-size-md !default;
14
+ $kendo-expander-font-size: var( --kendo-font-size, inherit ) !default;
15
15
  /// The hine height of the ExpansionPanel.
16
16
  /// @group expander
17
- $kendo-expander-line-height: $kendo-line-height-md !default;
17
+ $kendo-expander-line-height: var( --kendo-line-height, normal ) !default;
18
18
 
19
19
  /// The text color of the ExpansionPanel.
20
20
  /// @group expander
@@ -32,10 +32,10 @@ $kendo-expander-focus-shadow: $kendo-list-item-focus-shadow !default;
32
32
 
33
33
  /// The horizontal padding of the ExpansionPanel header.
34
34
  /// @group expander
35
- $kendo-expander-header-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
35
+ $kendo-expander-header-padding-x: k-spacing(4) !default;
36
36
  /// The vertical padding of the ExpansionPanel header.
37
37
  /// @group expander
38
- $kendo-expander-header-padding-y: k-map-get( $kendo-spacing, 3 ) !default;
38
+ $kendo-expander-header-padding-y: k-spacing(3) !default;
39
39
 
40
40
  /// The text color of the ExpansionPanel header.
41
41
  /// @group expander
@@ -67,11 +67,11 @@ $kendo-expander-header-sub-title-text: $kendo-subtle-text !default;
67
67
 
68
68
  /// The horizontal margin of the ExpansionPanel indicator.
69
69
  /// @group expander
70
- $kendo-expander-indicator-margin-x: k-map-get( $kendo-spacing, 3 ) !default;
70
+ $kendo-expander-indicator-margin-x: k-spacing(3) !default;
71
71
 
72
72
  /// The horizontal padding of the ExpansionPanel content.
73
73
  /// @group expander
74
- $kendo-expander-content-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
74
+ $kendo-expander-content-padding-x: k-spacing(4) !default;
75
75
  /// The vertical padding of the ExpansionPanel content.
76
76
  /// @group expander
77
- $kendo-expander-content-padding-y: k-map-get( $kendo-spacing, 4 ) !default;
77
+ $kendo-expander-content-padding-y: k-spacing(4) !default;
@@ -43,7 +43,7 @@
43
43
  .k-icon-wrapper-host:not(:only-child) &,
44
44
  &:not(:only-child) {
45
45
  margin-inline-end: $kendo-fab-icon-spacing;
46
- margin-inline-start: -$kendo-fab-icon-spacing;
46
+ margin-inline-start: calc( #{$kendo-fab-icon-spacing} * -1 );
47
47
  }
48
48
  }
49
49
 
@@ -83,7 +83,7 @@
83
83
 
84
84
  .k-fab-item {
85
85
  list-style-type: none;
86
- margin-block-end: k-map-get( $kendo-spacing, 2 );
86
+ margin-block-end: k-spacing(2);
87
87
  outline: none;
88
88
  white-space: nowrap;
89
89
  display: flex;
@@ -96,7 +96,7 @@
96
96
 
97
97
  .k-fab-item-text {
98
98
  // Needed for fab item positioning in RTL
99
- margin-right: k-map-get( $kendo-spacing, 2 );
99
+ margin-right: k-spacing(2);
100
100
  }
101
101
  }
102
102
  &.k-text-left {
@@ -104,7 +104,7 @@
104
104
 
105
105
  .k-fab-item-text {
106
106
  // Needed for fab item positioning in RTL
107
- margin-left: k-map-get( $kendo-spacing, 2 );
107
+ margin-left: k-spacing(2);
108
108
  }
109
109
  }
110
110
  }
@@ -5,64 +5,64 @@
5
5
  $kendo-fab-border-width: 1px !default;
6
6
  /// The border radius of the FAB.
7
7
  /// @group floating-action-button
8
- $kendo-fab-border-radius: $kendo-border-radius-md !default;
8
+ $kendo-fab-border-radius: k-border-radius(md) !default;
9
9
 
10
10
  /// The font family of the FAB.
11
11
  /// @group floating-action-button
12
- $kendo-fab-font-family: $kendo-font-family !default;
12
+ $kendo-fab-font-family: var( --kendo-font-family, inherit ) !default;
13
13
  /// The font size of the FAB.
14
14
  /// @group floating-action-button
15
- $kendo-fab-font-size: $kendo-font-size-md !default;
15
+ $kendo-fab-font-size: var( --kendo-font-size, inherit ) !default;
16
16
  /// The line height of the FAB.
17
17
  /// @group floating-action-button
18
- $kendo-fab-line-height: $kendo-line-height-md !default;
18
+ $kendo-fab-line-height: var( --kendo-line-height, normal ) !default;
19
19
 
20
20
  /// The horizontal padding of the FAB.
21
21
  /// @group floating-action-button
22
- $kendo-fab-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
22
+ $kendo-fab-padding-x: k-spacing(4) !default;
23
23
  /// The horizontal padding of the small FAB.
24
24
  /// @group floating-action-button
25
- $kendo-fab-sm-padding-x: k-math-div( $kendo-fab-padding-x, 2 ) !default;
25
+ $kendo-fab-sm-padding-x: calc( #{$kendo-fab-padding-x} / 2 ) !default;
26
26
  /// The horizontal padding of the medium FAB.
27
27
  /// @group floating-action-button
28
28
  $kendo-fab-md-padding-x: $kendo-fab-padding-x !default;
29
29
  /// The horizontal padding of the large FAB.
30
30
  /// @group floating-action-button
31
- $kendo-fab-lg-padding-x: ( $kendo-fab-padding-x * 1.5 ) !default;
31
+ $kendo-fab-lg-padding-x: calc( #{$kendo-fab-padding-x} * 1.5 ) !default;
32
32
 
33
33
  /// The vertical padding of the FAB.
34
34
  /// @group floating-action-button
35
35
  $kendo-fab-padding-y: $kendo-fab-padding-x !default;
36
36
  /// The vertical padding of the small FAB.
37
37
  /// @group floating-action-button
38
- $kendo-fab-sm-padding-y: k-math-div( $kendo-fab-padding-y, 2 ) !default;
38
+ $kendo-fab-sm-padding-y: calc( #{$kendo-fab-padding-y} / 2 ) !default;
39
39
  /// The vertical padding of the medium FAB.
40
40
  /// @group floating-action-button
41
41
  $kendo-fab-md-padding-y: $kendo-fab-padding-y !default;
42
42
  /// The vertical padding of the large FAB.
43
43
  /// @group floating-action-button
44
- $kendo-fab-lg-padding-y: ( $kendo-fab-padding-y * 1.5 ) !default;
44
+ $kendo-fab-lg-padding-y: calc( #{$kendo-fab-padding-y} * 1.5 ) !default;
45
45
 
46
46
  /// The horizontal padding of the FAB icon.
47
47
  /// @group floating-action-button
48
- $kendo-fab-icon-padding-x: k-map-get( $kendo-spacing, 0.5 ) !default;
48
+ $kendo-fab-icon-padding-x: k-spacing(0.5) !default;
49
49
  /// The vertical padding of the FAB icon.
50
50
  /// @group floating-action-button
51
51
  $kendo-fab-icon-padding-y: $kendo-fab-icon-padding-x !default;
52
52
  /// The spacing of the FAB icon.
53
53
  /// @group floating-action-button
54
- $kendo-fab-icon-spacing: k-map-get( $kendo-spacing, 0.5 ) !default;
54
+ $kendo-fab-icon-spacing: k-spacing(0.5) !default;
55
55
 
56
56
  /// The horizontal padding of the FAB items.
57
57
  /// @group floating-action-button
58
- $kendo-fab-items-padding-x: 0px !default;
58
+ $kendo-fab-items-padding-x: k-spacing(0) !default;
59
59
  /// The vertical padding of the FAB items.
60
60
  /// @group floating-action-button
61
- $kendo-fab-items-padding-y: k-map-get( $kendo-spacing, 4 ) !default;
61
+ $kendo-fab-items-padding-y: k-spacing(4) !default;
62
62
 
63
63
  /// The horizontal padding of the FAB item text.
64
64
  /// @group floating-action-button
65
- $kendo-fab-item-text-padding-x: k-map-get( $kendo-spacing, 1 ) !default;
65
+ $kendo-fab-item-text-padding-x: k-spacing(1) !default;
66
66
  /// The vertical padding of the FAB item text.
67
67
  /// @group floating-action-button
68
68
  $kendo-fab-item-text-padding-y: $kendo-fab-item-text-padding-x !default;
@@ -74,14 +74,14 @@ $kendo-fab-item-text-border-width: 1px !default;
74
74
  $kendo-fab-item-text-border-radius: 2px !default;
75
75
  /// The font size of the FAB item text.
76
76
  /// @group floating-action-button
77
- $kendo-fab-item-text-font-size: $kendo-font-size-xs !default;
77
+ $kendo-fab-item-text-font-size: var( --kendo-font-size-xs, inherit ) !default;
78
78
  /// The line height of the FAB item text.
79
79
  /// @group floating-action-button
80
80
  $kendo-fab-item-text-line-height: 1.2 !default;
81
81
 
82
82
  /// The horizontal padding of the FAB item icon.
83
83
  /// @group floating-action-button
84
- $kendo-fab-item-icon-padding-x: k-map-get( $kendo-spacing, 2 ) + $kendo-fab-icon-padding-x !default;
84
+ $kendo-fab-item-icon-padding-x: calc( #{k-spacing(2)} + #{$kendo-fab-icon-padding-x} ) !default;
85
85
  /// The vertical padding of the FAB item icon.
86
86
  /// @group floating-action-button
87
87
  $kendo-fab-item-icon-padding-y: $kendo-fab-item-icon-padding-x !default;
@@ -127,7 +127,7 @@ $kendo-fab-active-shadow: null !default;
127
127
  $kendo-fab-outline-style: solid !default;
128
128
  /// The outline width of the FAB.
129
129
  /// @group floating-action-button
130
- $kendo-fab-outline-width: k-map-get( $kendo-spacing, 0.5 ) !default;
130
+ $kendo-fab-outline-width: k-spacing(0.5) !default;
131
131
 
132
132
  /// The base text color of the FAB item.
133
133
  /// @group floating-action-button
@@ -163,7 +163,7 @@ $kendo-fab-item-active-shadow: $kendo-fab-active-shadow !default;
163
163
  $kendo-fab-item-outline-style: solid !default;
164
164
  /// The outline width of the FAB item.
165
165
  /// @group floating-action-button
166
- $kendo-fab-item-outline-width: k-map-get( $kendo-spacing, 0.5 ) !default;
166
+ $kendo-fab-item-outline-width: k-spacing(0.5) !default;
167
167
  /// The outline color of the FAB item.
168
168
  /// @group floating-action-button
169
169
  $kendo-fab-item-outline-color: rgba(0, 0, 0, .08) !default;
@@ -108,7 +108,7 @@
108
108
 
109
109
  // File name
110
110
  .k-file-name {
111
- margin-top: k-math-div( $kendo-file-manager-spacer, 2 );
111
+ margin-top: calc( #{$kendo-file-manager-spacer} / 2 );
112
112
  display: block;
113
113
  text-align: center;
114
114
  overflow: hidden;
@@ -150,9 +150,9 @@
150
150
 
151
151
  // Filemanager preview
152
152
  .k-filemanager-preview {
153
- padding: ($kendo-file-manager-preview-padding-y * 3) $kendo-file-manager-preview-padding-x $kendo-file-manager-preview-padding-y;
153
+ padding: calc( #{$kendo-file-manager-preview-padding-y} * 3) $kendo-file-manager-preview-padding-x $kendo-file-manager-preview-padding-y;
154
154
  width: $kendo-file-manager-preview-width;
155
- min-height: calc( #{$kendo-file-manager-preview-padding-y * 4} + #{$kendo-icon-size-xxxl} * 2 + #{$kendo-file-manager-preview-spacing * 3} );
155
+ min-height: calc( calc( #{$kendo-file-manager-preview-padding-y} * 4 ) + calc( #{$kendo-icon-size-xxxl} * 2 ) + calc( #{$kendo-file-manager-preview-spacing} * 3 ) );
156
156
  border-width: 0;
157
157
  border-left-width: $kendo-file-manager-preview-border-width;
158
158
  border-style: solid;
@@ -2,19 +2,19 @@
2
2
 
3
3
  /// The space between the FileManager items.
4
4
  /// @group filemanager
5
- $kendo-file-manager-spacer: k-map-get( $kendo-spacing, 4 ) !default;
5
+ $kendo-file-manager-spacer: k-spacing(4) !default;
6
6
  /// The border width of the FileManager.
7
7
  /// @group filemanager
8
8
  $kendo-file-manager-border-width: 1px !default;
9
9
  /// The font family of the FileManager.
10
10
  /// @group filemanager
11
- $kendo-file-manager-font-family: $kendo-font-family !default;
11
+ $kendo-file-manager-font-family: var( --kendo-font-family, inherit ) !default;
12
12
  /// The font size of the FileManager.
13
13
  /// @group filemanager
14
- $kendo-file-manager-font-size: $kendo-font-size-md !default;
14
+ $kendo-file-manager-font-size: var( --kendo-font-size, inherit ) !default;
15
15
  /// The line height of the FileManager.
16
16
  /// @group filemanager
17
- $kendo-file-manager-line-height: $kendo-line-height-md !default;
17
+ $kendo-file-manager-line-height: var( --kendo-line-height, normal ) !default;
18
18
  /// The background color of the FileManager.
19
19
  /// @group filemanager
20
20
  $kendo-file-manager-bg: $kendo-component-bg !default;
@@ -65,10 +65,10 @@ $kendo-file-manager-navigation-border: null !default;
65
65
 
66
66
  /// The horizontal padding of the FileManager Breadcrumb.
67
67
  /// @group filemanager
68
- $kendo-file-manager-breadcrumb-padding-x: k-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: k-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: null !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: k-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: k-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: k-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: null !default;
@@ -42,7 +42,7 @@
42
42
  width: $kendo-filter-padding-x;
43
43
  height: $kendo-filter-line-size;
44
44
  inset-block-start: 50%;
45
- inset-inline-start: -$kendo-filter-padding-x;
45
+ inset-inline-start: calc( #{$kendo-filter-padding-x} * -1 );
46
46
  }
47
47
 
48
48
  .k-toolbar {
@@ -61,7 +61,7 @@
61
61
  position: absolute;
62
62
  width: $kendo-filter-line-size;
63
63
  height: 100%;
64
- inset-block-start: -$kendo-filter-padding-y;
64
+ inset-block-start: calc( #{$kendo-filter-padding-y} * -1 );
65
65
  inset-inline-start: 0;
66
66
  }
67
67
  }
@@ -72,9 +72,9 @@
72
72
  content: "";
73
73
  position: absolute;
74
74
  width: $kendo-filter-line-size;
75
- inset-block-start: calc(-#{$kendo-filter-padding-y} - #{$kendo-filter-line-size});
75
+ inset-block-start: calc( calc( #{$kendo-filter-padding-y} * -1 ) - #{$kendo-filter-line-size} );
76
76
  inset-block-end: 50%;
77
- inset-inline-start: -$kendo-filter-padding-x;
77
+ inset-inline-start: calc( #{$kendo-filter-padding-x} * -1 );
78
78
  }
79
79
 
80
80
  // The forth and fifth selectors targets the Angular rendering
@@ -9,7 +9,7 @@ $kendo-filter-padding-y: $kendo-padding-md-y !default;
9
9
 
10
10
  /// The bottom margin of the Filter.
11
11
  /// @group filter
12
- $kendo-filter-bottom-margin: 30px !default;
12
+ $kendo-filter-bottom-margin: k-spacing(7.5) !default;
13
13
  /// The width of the line that connects the Filter items.
14
14
  /// @group filter
15
15
  $kendo-filter-line-size: 1px !default;
@@ -27,4 +27,4 @@ $kendo-filter-preview-operator-text: $kendo-subtle-text !default;
27
27
 
28
28
  /// The box shadow of the focused Filter toolbar.
29
29
  /// @group filter
30
- $kendo-filter-toolbar-focus-shadow: 0 0 0 2px rgba(0, 0, 0, .08) !default;
30
+ $kendo-filter-toolbar-focus-shadow: 0 0 0 2px rgba(0, 0, 0, .08) !default;
@@ -111,13 +111,13 @@
111
111
  }
112
112
 
113
113
  .k-alert-error {
114
- font-size: $kendo-font-size-sm;
115
- margin-top: $kendo-padding-md-y * 2;
114
+ font-size: var( --kendo-font-size-sm, inherit );
115
+ margin-top: calc( #{$kendo-padding-md-y} * 2 );
116
116
  }
117
117
 
118
118
  .k-field-info {
119
119
  display: inline-block;
120
- font-size: $kendo-font-size-xs;
120
+ font-size: var( --kendo-font-size-xs, inherit );
121
121
  line-height: 1;
122
122
  margin-block: 0;
123
123
  margin-inline: $kendo-padding-md-x;
@@ -242,7 +242,7 @@
242
242
  fieldset {
243
243
  border-width: 1px 0 0;
244
244
  border-style: solid;
245
- margin: ($kendo-form-spacer * 2) 0;
245
+ margin: calc( #{$kendo-form-spacer} * 2 ) 0;
246
246
  padding: 0;
247
247
 
248
248
  &:first-child:first-of-type {
@@ -255,11 +255,11 @@
255
255
  }
256
256
 
257
257
  legend {
258
- font-size: $kendo-font-size-sm;
258
+ font-size: var( --kendo-font-size-sm, inherit );
259
259
  text-align: start;
260
260
  font-weight: 600;
261
261
  line-height: 1;
262
- margin-bottom: $kendo-padding-lg-y * 2;
262
+ margin-bottom: calc( #{$kendo-padding-lg-y} * 2 );
263
263
  text-transform: uppercase;
264
264
  padding: 0 $kendo-padding-md-x 0 0;
265
265
  width: auto;
@@ -269,12 +269,12 @@
269
269
  display: flex;
270
270
  align-items: flex-start;
271
271
  text-align: start;
272
- margin-bottom: $kendo-padding-lg-y * 2;
272
+ margin-bottom: calc( #{$kendo-padding-lg-y} * 2 );
273
273
 
274
274
  > span:not(.k-widget) {
275
275
  width: $kendo-inline-form-element-width;
276
276
  text-align: end;
277
- line-height: $kendo-line-height-md;
277
+ line-height: var( --kendo-line-height, normal );
278
278
  // TODO: do we need the input variable?
279
279
  padding: calc( #{$kendo-padding-md-y} + #{$kendo-input-border-width} ) 0;
280
280
  padding-right: $kendo-padding-lg-x;
@@ -290,13 +290,13 @@
290
290
  }
291
291
 
292
292
  .k-alert-error {
293
- font-size: $kendo-font-size-sm;
294
- margin-top: $kendo-padding-md-y * 2;
293
+ font-size: var( --kendo-font-size-sm, inherit );
294
+ margin-top: calc( #{$kendo-padding-md-y} * 2 );
295
295
  }
296
296
 
297
297
  .k-field-info {
298
298
  display: block;
299
- font-size: $kendo-font-size-xs;
299
+ font-size: var( --kendo-font-size-xs, inherit );
300
300
  line-height: 1;
301
301
  margin: 0;
302
302
  }
@@ -323,12 +323,12 @@
323
323
  .k-popup-edit-form > .k-actions,
324
324
  .k-edit-form-container .k-actions {
325
325
  // TODO: refactor
326
- margin: k-map-get( $kendo-spacing, 4 ) (-$kendo-window-inner-padding-x) (-$kendo-window-inner-padding-y);
326
+ margin: k-spacing(4) (-$kendo-window-inner-padding-x) (-$kendo-window-inner-padding-y);
327
327
  }
328
328
 
329
329
 
330
330
  .k-edit-label {
331
- margin: 0 0 k-map-get( $kendo-spacing, 4 ) 0;
331
+ margin: 0 0 k-spacing(4) 0;
332
332
  // TODO: do we need the input variable?
333
333
  padding: calc( #{$kendo-input-padding-y} + #{$kendo-input-border-width} ) 0;
334
334
  width: 30%;
@@ -338,7 +338,7 @@
338
338
  clear: both;
339
339
  }
340
340
  .k-edit-field {
341
- margin: 0 0 k-map-get( $kendo-spacing, 4 ) 0;
341
+ margin: 0 0 k-spacing(4) 0;
342
342
  width: 65%;
343
343
  float: right;
344
344
  clear: right;
@@ -364,11 +364,11 @@
364
364
 
365
365
  .k-radio-label,
366
366
  .k-checkbox-label {
367
- margin-right: k-map-get( $kendo-spacing, 4 );
367
+ margin-right: k-spacing(4);
368
368
  }
369
369
 
370
370
  > .k-reset > li + li {
371
- margin-top: k-map-get( $kendo-spacing, 2 );
371
+ margin-top: k-spacing(2);
372
372
  }
373
373
 
374
374
  .k-reset .k-widget {
@@ -8,37 +8,37 @@
8
8
 
9
9
  /// The padding of the inline Form.
10
10
  /// @group form
11
- $kendo-form-spacer: $kendo-padding-md-x * 2 !default;
11
+ $kendo-form-spacer: calc( #{$kendo-padding-md-x} * 2 ) !default;
12
12
 
13
13
  /// The font size of the Form.
14
14
  /// @group form
15
- $kendo-form-font-size: $kendo-font-size-md !default;
15
+ $kendo-form-font-size: var( --kendo-font-size, inherit ) !default;
16
16
  /// The line height of the Form.
17
17
  /// @group form
18
- $kendo-form-line-height: $kendo-line-height-md !default;
18
+ $kendo-form-line-height: var( --kendo-line-height, normal ) !default;
19
19
  /// The line height of the Form in em units.
20
20
  /// @group form
21
21
  $kendo-form-line-height-em: calc( #{$kendo-form-line-height} * 1em ) !default;
22
22
  /// The line height of the small Form.
23
23
  /// @group form
24
- $kendo-form-sm-line-height: $kendo-line-height-sm !default;
24
+ $kendo-form-sm-line-height: var( --kendo-line-height-sm, normal ) !default;
25
25
  /// The line height of the large Form.
26
26
  /// @group form
27
- $kendo-form-lg-line-height: $kendo-line-height-lg !default;
27
+ $kendo-form-lg-line-height: var( --kendo-line-height-lg, normal ) !default;
28
28
 
29
29
  /// The margin of the Form fieldset.
30
30
  /// @group form
31
31
  $kendo-form-fieldset-margin: 2em 0 0 !default;
32
32
  /// The padding of the Form fieldset.
33
33
  /// @group form
34
- $kendo-form-fieldset-padding: 0px !default;
34
+ $kendo-form-fieldset-padding: k-spacing(0) !default;
35
35
 
36
36
  /// The margin of the Form legend.
37
37
  /// @group form
38
38
  $kendo-form-legend-margin: 0 0 1em !default;
39
39
  /// The padding of the Form legend.
40
40
  /// @group form
41
- $kendo-form-legend-padding: 0px !default;
41
+ $kendo-form-legend-padding: k-spacing(0) !default;
42
42
  /// The border width of the Form legend.
43
43
  /// @group form
44
44
  $kendo-form-legend-border-width: 0 0 2px !default;
@@ -60,11 +60,11 @@ $kendo-form-legend-text-transform: uppercase !default;
60
60
 
61
61
  /// The bottom margin of the Form label.
62
62
  /// @group form
63
- $kendo-form-label-margin-bottom: 0px !default;
63
+ $kendo-form-label-margin-bottom: k-spacing(0) !default;
64
64
 
65
65
  /// The horizontal margin of the Form buttons.
66
66
  /// @group form
67
- $kendo-form-button-margin-x: 8px !default;
67
+ $kendo-form-button-margin-x: k-spacing(2) !default;
68
68
 
69
69
  /// The font size of the Form hint.
70
70
  /// @group form
@@ -74,17 +74,17 @@ $kendo-form-hint-font-size: 12px !default;
74
74
  $kendo-form-hint-font-style: italic !default;
75
75
  /// The top margin of the Form hint.
76
76
  /// @group form
77
- $kendo-form-hint-margin-top: 4px !default;
77
+ $kendo-form-hint-margin-top: k-spacing(1) !default;
78
78
 
79
79
  /// The row spacing of the small Form.
80
80
  /// @group form
81
- $kendo-form-sm-rows-spacing: k-map-get( $kendo-spacing, 2.5 ) !default;
81
+ $kendo-form-sm-rows-spacing: k-spacing(2.5) !default;
82
82
  /// The row spacing of the medium Form.
83
83
  /// @group form
84
- $kendo-form-md-rows-spacing: k-map-get( $kendo-spacing, 3.5 ) !default;
84
+ $kendo-form-md-rows-spacing: k-spacing(3.5) !default;
85
85
  /// The row spacing of the large Form.
86
86
  /// @group form
87
- $kendo-form-lg-rows-spacing: k-map-get( $kendo-spacing, 4.5 ) !default;
87
+ $kendo-form-lg-rows-spacing: k-spacing(4.5) !default;
88
88
 
89
89
  /// The margin of the Form separator.
90
90
  /// @group form
@@ -95,10 +95,10 @@ $kendo-form-separator-border-color: $kendo-form-legend-border-color !default;
95
95
 
96
96
  /// The top padding of the label in the horizontal Form.
97
97
  /// @group form
98
- $kendo-horizontal-form-label-padding-top: 5px !default;
98
+ $kendo-horizontal-form-label-padding-top: calc( #{k-spacing(2.5)} / 2 ) !default;
99
99
  /// The horizontal margin of the label in the horizontal Form.
100
100
  /// @group form
101
- $kendo-horizontal-form-label-margin-x: 10px !default;
101
+ $kendo-horizontal-form-label-margin-x: k-spacing(2.5) !default;
102
102
  /// The width of the label in the horizontal Form.
103
103
  /// @group form
104
104
  $kendo-horizontal-form-label-width: 25% !default;
@@ -121,7 +121,7 @@ $kendo-forms-invalid-color: $kendo-color-error !default;
121
121
 
122
122
  /// The horizontal margin of the optional label in the Form.
123
123
  /// @group form
124
- $kendo-label-optional-margin-x: 6px !default;
124
+ $kendo-label-optional-margin-x: k-spacing(1.5) !default;
125
125
  /// The font size of the optional label in the Form.
126
126
  /// @group form
127
127
  $kendo-label-optional-font-size: 12px !default;
@@ -132,7 +132,7 @@ $kendo-label-optional-font-style: italic !default;
132
132
 
133
133
  /// The margin of the Form fieldset.
134
134
  /// @group form
135
- $kendo-fieldset-margin: 30px !default;
135
+ $kendo-fieldset-margin: k-spacing(7.5) !default;
136
136
  /// The font size of the Form fieldset.
137
137
  /// @group form
138
138
  $kendo-fieldset-font-size: $kendo-h4-font-size !default;