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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/dist/all.css +8426 -5317
  2. package/dist/all.scss +5261 -5048
  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 +30658 -29032
  6. package/dist/meta/sassdoc-raw-data.json +3341 -2591
  7. package/dist/meta/variables.json +2239 -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 +4 -4
  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/_variables.scss +17 -17
  30. package/scss/bottom-navigation/_layout.scss +2 -2
  31. package/scss/bottom-navigation/_variables.scss +9 -9
  32. package/scss/breadcrumb/_variables.scss +17 -17
  33. package/scss/button/_variables.scss +21 -21
  34. package/scss/calendar/_layout.scss +2 -2
  35. package/scss/calendar/_theme.scss +1 -1
  36. package/scss/calendar/_variables.scss +33 -61
  37. package/scss/captcha/_variables.scss +6 -6
  38. package/scss/card/_variables.scss +18 -18
  39. package/scss/chat/_layout.scss +7 -7
  40. package/scss/chat/_variables.scss +13 -13
  41. package/scss/checkbox/_layout.scss +1 -1
  42. package/scss/checkbox/_variables.scss +9 -9
  43. package/scss/chip/_layout.scss +1 -1
  44. package/scss/chip/_variables.scss +15 -15
  45. package/scss/color-preview/_variables.scss +1 -1
  46. package/scss/coloreditor/_variables.scss +7 -7
  47. package/scss/colorgradient/_layout.scss +1 -1
  48. package/scss/colorgradient/_variables.scss +10 -10
  49. package/scss/colorpalette/_variables.scss +3 -3
  50. package/scss/common/_base.scss +7 -7
  51. package/scss/core/_index.scss +12 -0
  52. package/scss/core/border-radii/index.import.scss +1 -0
  53. package/scss/core/spacing/index.import.scss +29 -0
  54. package/scss/core/typography/index.import.scss +1 -0
  55. package/scss/dataviz/_layout.scss +8 -8
  56. package/scss/dataviz/_variables.scss +8 -8
  57. package/scss/daterangepicker/_layout.scss +1 -1
  58. package/scss/datetimepicker/_variables.scss +1 -1
  59. package/scss/dock-manager/_variables.scss +10 -10
  60. package/scss/draggable/_variables.scss +4 -4
  61. package/scss/drawer/_layout.scss +3 -3
  62. package/scss/drawer/_variables.scss +8 -18
  63. package/scss/dropdowntree/_layout.scss +2 -2
  64. package/scss/dropdowntree/_variables.scss +2 -2
  65. package/scss/dropzone/_variables.scss +8 -8
  66. package/scss/editor/_layout.scss +5 -5
  67. package/scss/editor/_variables.scss +3 -3
  68. package/scss/expansion-panel/_variables.scss +9 -9
  69. package/scss/fab/_layout.scss +4 -4
  70. package/scss/fab/_variables.scss +18 -18
  71. package/scss/filemanager/_layout.scss +3 -3
  72. package/scss/filemanager/_variables.scss +9 -9
  73. package/scss/filter/_layout.scss +4 -4
  74. package/scss/filter/_variables.scss +2 -2
  75. package/scss/forms/_layout.scss +16 -16
  76. package/scss/forms/_variables.scss +17 -17
  77. package/scss/gantt/_layout.scss +12 -12
  78. package/scss/gantt/_variables.scss +151 -7
  79. package/scss/grid/_layout.scss +10 -10
  80. package/scss/grid/_variables.scss +64 -64
  81. package/scss/imageeditor/_variables.scss +7 -7
  82. package/scss/input/_layout.scss +5 -5
  83. package/scss/input/_variables.scss +14 -14
  84. package/scss/list/_variables.scss +27 -27
  85. package/scss/listbox/_variables.scss +6 -6
  86. package/scss/listgroup/_layout.scss +7 -7
  87. package/scss/listgroup/_variables.scss +5 -5
  88. package/scss/listview/_variables.scss +7 -7
  89. package/scss/loader/_layout.scss +10 -10
  90. package/scss/loader/_variables.scss +25 -25
  91. package/scss/map/_layout.scss +1 -1
  92. package/scss/map/_variables.scss +8 -8
  93. package/scss/mediaplayer/_variables.scss +5 -5
  94. package/scss/menu/_layout.scss +1 -1
  95. package/scss/menu/_variables.scss +30 -30
  96. package/scss/menu-button/_layout.scss +3 -3
  97. package/scss/messagebox/_variables.scss +3 -3
  98. package/scss/notification/_variables.scss +7 -7
  99. package/scss/orgchart/_variables.scss +11 -11
  100. package/scss/pager/_variables.scss +10 -10
  101. package/scss/panelbar/_layout.scss +2 -2
  102. package/scss/panelbar/_variables.scss +9 -9
  103. package/scss/pdf-viewer/_variables.scss +5 -5
  104. package/scss/pivotgrid/_layout.scss +12 -12
  105. package/scss/pivotgrid/_variables.scss +15 -15
  106. package/scss/popup/_layout.scss +1 -1
  107. package/scss/popup/_theme.scss +1 -1
  108. package/scss/popup/_variables.scss +4 -4
  109. package/scss/progressbar/_layout.scss +2 -2
  110. package/scss/progressbar/_variables.scss +2 -2
  111. package/scss/prompt/_variables.scss +7 -7
  112. package/scss/radio/_layout.scss +1 -1
  113. package/scss/radio/_variables.scss +9 -9
  114. package/scss/rating/_variables.scss +4 -4
  115. package/scss/scheduler/_layout.scss +5 -5
  116. package/scss/scheduler/_variables.scss +18 -18
  117. package/scss/scrollview/_layout.scss +1 -1
  118. package/scss/scrollview/_variables.scss +5 -5
  119. package/scss/signature/_variables.scss +5 -5
  120. package/scss/skeleton/_variables.scss +1 -1
  121. package/scss/slider/_theme.scss +1 -1
  122. package/scss/slider/_variables.scss +3 -3
  123. package/scss/splitter/_variables.scss +6 -6
  124. package/scss/spreadsheet/_layout.scss +11 -11
  125. package/scss/spreadsheet/_variables.scss +17 -17
  126. package/scss/stepper/_variables.scss +8 -8
  127. package/scss/table/_layout.scss +1 -1
  128. package/scss/table/_variables.scss +12 -12
  129. package/scss/tabstrip/_layout.scss +2 -2
  130. package/scss/tabstrip/_variables.scss +11 -11
  131. package/scss/taskboard/_variables.scss +16 -16
  132. package/scss/tilelayout/_variables.scss +2 -2
  133. package/scss/timeline/_layout.scss +4 -4
  134. package/scss/timeline/_variables.scss +10 -10
  135. package/scss/timeselector/_layout.scss +1 -1
  136. package/scss/timeselector/_variables.scss +6 -6
  137. package/scss/toolbar/_layout.scss +2 -2
  138. package/scss/toolbar/_variables.scss +12 -12
  139. package/scss/tooltip/_layout.scss +10 -10
  140. package/scss/tooltip/_variables.scss +4 -4
  141. package/scss/treelist/_layout.scss +1 -1
  142. package/scss/treelist/_variables.scss +5 -0
  143. package/scss/treeview/_layout.scss +1 -1
  144. package/scss/treeview/_variables.scss +20 -20
  145. package/scss/typography/_layout.scss +51 -111
  146. package/scss/typography/_variables.scss +136 -53
  147. package/scss/upload/_layout.scss +3 -3
  148. package/scss/upload/_variables.scss +8 -8
  149. package/scss/window/_variables.scss +7 -7
  150. package/scss/wizard/_variables.scss +7 -7
@@ -4,32 +4,32 @@
4
4
 
5
5
  /// The horizontal padding of the Card.
6
6
  /// @group card
7
- $kendo-card-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
7
+ $kendo-card-padding-x: k-spacing(4) !default;
8
8
  /// The vertical padding of the Card.
9
9
  /// @group card
10
- $kendo-card-padding-y: k-map-get( $kendo-spacing, 3 ) !default;
10
+ $kendo-card-padding-y: k-spacing(3) !default;
11
11
  /// The width of the border around the Card.
12
12
  /// @group card
13
13
  $kendo-card-border-width: 1px !default;
14
14
  /// The border radius of the Card.
15
15
  /// @group card
16
- $kendo-card-border-radius: $kendo-border-radius-lg !default;
16
+ $kendo-card-border-radius: k-border-radius(lg) !default;
17
17
  /// The inner border radius of the Card.
18
18
  /// @group card
19
19
  $kendo-card-inner-border-radius: calc( #{$kendo-card-border-radius} - #{$kendo-card-border-width} ) !default;
20
20
  /// The font family of the Card.
21
21
  /// @group card
22
- $kendo-card-font-family: $kendo-font-family !default;
22
+ $kendo-card-font-family: var( --kendo-font-family, inherit ) !default;
23
23
  /// The font size of the Card.
24
24
  /// @group card
25
- $kendo-card-font-size: $kendo-font-size-md !default;
25
+ $kendo-card-font-size: var( --kendo-font-size, inherit ) !default;
26
26
  /// The line height of the Card.
27
27
  /// @group card
28
- $kendo-card-line-height: $kendo-line-height-md !default;
28
+ $kendo-card-line-height: var( --kendo-line-height, normal ) !default;
29
29
 
30
30
  /// The spacing between the Cards in the Card deck.
31
31
  /// @group card
32
- $kendo-card-deck-gap: k-map-get( $kendo-spacing, 4 ) !default;
32
+ $kendo-card-deck-gap: k-spacing(4) !default;
33
33
 
34
34
  /// The background color of the Card.
35
35
  /// @group card
@@ -81,10 +81,10 @@ $kendo-card-header-border: $kendo-component-header-border !default;
81
81
 
82
82
  /// The horizontal padding of the Card body.
83
83
  /// @group card
84
- $kendo-card-body-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
84
+ $kendo-card-body-padding-x: k-spacing(4) !default;
85
85
  /// The vertical padding of the Card body.
86
86
  /// @group card
87
- $kendo-card-body-padding-y: k-map-get( $kendo-spacing, 4 ) !default;
87
+ $kendo-card-body-padding-y: k-spacing(4) !default;
88
88
 
89
89
  /// The horizontal padding of the Card footer.
90
90
  /// @group card
@@ -107,10 +107,10 @@ $kendo-card-footer-border: $kendo-component-header-border !default;
107
107
 
108
108
  /// The bottom margin of the Card title.
109
109
  /// @group card
110
- $kendo-card-title-margin-bottom: k-map-get( $kendo-spacing, 2 ) !default;
110
+ $kendo-card-title-margin-bottom: k-spacing(2) !default;
111
111
  /// The font size of the Card title.
112
112
  /// @group card
113
- $kendo-card-title-font-size: $kendo-h5-font-size !default;
113
+ $kendo-card-title-font-size: var( --kendo-font-size-lg, inherit ) !default;
114
114
  /// The font family of the Card title.
115
115
  /// @group card
116
116
  $kendo-card-title-font-family: null !default;
@@ -119,17 +119,17 @@ $kendo-card-title-font-family: null !default;
119
119
  $kendo-card-title-line-height: 1.25 !default;
120
120
  /// The font weight of the Card title.
121
121
  /// @group card
122
- $kendo-card-title-font-weight: $kendo-font-weight-normal !default;
122
+ $kendo-card-title-font-weight: var( --kendo-font-weight-normal, normal ) !default;
123
123
  /// The letter spacing of the Card title.
124
124
  /// @group card
125
125
  $kendo-card-title-letter-spacing: null !default;
126
126
 
127
127
  /// The bottom margin of the Card subtitle.
128
128
  /// @group card
129
- $kendo-card-subtitle-margin-bottom: k-map-get( $kendo-spacing, 2 ) !default;
129
+ $kendo-card-subtitle-margin-bottom: k-spacing(2) !default;
130
130
  /// The font size of the Card subtitle.
131
131
  /// @group card
132
- $kendo-card-subtitle-font-size: $kendo-font-size-sm !default;
132
+ $kendo-card-subtitle-font-size: var( --kendo-font-size-sm, inherit ) !default;
133
133
  /// The font family of the Card subtitle.
134
134
  /// @group card
135
135
  $kendo-card-subtitle-font-family: null !default;
@@ -138,7 +138,7 @@ $kendo-card-subtitle-font-family: null !default;
138
138
  $kendo-card-subtitle-line-height: normal !default;
139
139
  /// The font weight of the Card subtitle.
140
140
  /// @group card
141
- $kendo-card-subtitle-font-weight: $kendo-font-weight-normal !default;
141
+ $kendo-card-subtitle-font-weight: var( --kendo-font-weight-normal, normal ) !default;
142
142
  /// The letter spacing of the Card subtitle.
143
143
  /// @group card
144
144
  $kendo-card-subtitle-letter-spacing: null !default;
@@ -158,16 +158,16 @@ $kendo-card-avatar-spacing: $kendo-card-header-padding-x !default;
158
158
 
159
159
  /// The horizontal padding of the Card actions.
160
160
  /// @group card
161
- $kendo-card-actions-padding-x: k-map-get( $kendo-spacing, 2 ) !default;
161
+ $kendo-card-actions-padding-x: k-spacing(2) !default;
162
162
  /// The vertical padding of the Card actions.
163
163
  /// @group card
164
- $kendo-card-actions-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
164
+ $kendo-card-actions-padding-y: k-spacing(2) !default;
165
165
  /// The top border width of the Card actions.
166
166
  /// @group card
167
167
  $kendo-card-actions-border-width: 1px !default;
168
168
  /// The spacing between the Card actions.
169
169
  /// @group card
170
- $kendo-card-actions-gap: k-map-get( $kendo-spacing, 2 ) !default;
170
+ $kendo-card-actions-gap: k-spacing(2) !default;
171
171
 
172
172
  /// The border radius of the scroll button in the Card deck.
173
173
  /// @group card
@@ -224,7 +224,7 @@
224
224
  .k-quick-reply {
225
225
  @include border-radius( 100px );
226
226
  margin-inline-end: $kendo-chat-quick-reply-spacing;
227
- margin-block-end: k-math-div( $kendo-chat-quick-reply-spacing, 2 );
227
+ margin-block-end: calc( #{$kendo-chat-quick-reply-spacing} / 2 );
228
228
  padding-block: $kendo-chat-quick-reply-padding-y;
229
229
  padding-inline: $kendo-chat-quick-reply-padding-x;
230
230
  border-width: 1px;
@@ -322,10 +322,10 @@
322
322
  }
323
323
 
324
324
  .k-chat .k-card-deck {
325
- max-width: calc(100% + #{$kendo-chat-message-list-padding-y * 2}); // prevent overflowing in the parent element
325
+ max-width: calc(100% + calc( #{$kendo-chat-message-list-padding-y} * 2 )); // prevent overflowing in the parent element
326
326
  box-sizing: border-box;
327
- margin-inline-start: -$kendo-chat-message-list-padding-y;
328
- margin-inline-end: -$kendo-chat-message-list-padding-y;
327
+ margin-inline-start: calc( #{$kendo-chat-message-list-padding-y} * -1 );
328
+ margin-inline-end: calc( #{$kendo-chat-message-list-padding-y} * -1 );
329
329
  padding: $kendo-chat-message-list-padding-y $kendo-chat-message-list-padding-y $kendo-chat-message-list-padding-x;
330
330
  overflow: hidden;
331
331
  overflow-x: auto;
@@ -336,8 +336,8 @@
336
336
  }
337
337
 
338
338
  .k-chat .k-card-deck-scrollwrap {
339
- margin-right: -$kendo-chat-message-list-padding-y;
340
- margin-left: -$kendo-chat-message-list-padding-y;
339
+ margin-right: calc( #{$kendo-chat-message-list-padding-y} * -1 );
340
+ margin-left: calc( #{$kendo-chat-message-list-padding-y} * -1 );
341
341
  padding-left: $kendo-chat-message-list-padding-y;
342
342
  padding-right: $kendo-chat-message-list-padding-y;
343
343
  }
@@ -440,7 +440,7 @@
440
440
 
441
441
  .k-scroll-button {
442
442
  // IMPORTANT: if we don't set padding, the browser will set for us
443
- padding: 0 k-map-get( $kendo-spacing, 1 );
443
+ padding: 0 k-spacing(1);
444
444
  height: 100%;
445
445
  aspect-ratio: auto;
446
446
  position: absolute;
@@ -2,10 +2,10 @@
2
2
 
3
3
  /// The horizontal padding of the Chat.
4
4
  /// @group chat
5
- $kendo-chat-padding-x: 16px !default;
5
+ $kendo-chat-padding-x: k-spacing(4) !default;
6
6
  /// The vertical padding of the Chat.
7
7
  /// @group chat
8
- $kendo-chat-padding-y: 16px !default;
8
+ $kendo-chat-padding-y: k-spacing(4) !default;
9
9
  /// The width of the Chat.
10
10
  /// @group chat
11
11
  $kendo-chat-width: 500px !default;
@@ -17,20 +17,20 @@ $kendo-chat-height: 600px !default;
17
17
  $kendo-chat-border-width: 1px !default;
18
18
  /// The font family of the Chat.
19
19
  /// @group chat
20
- $kendo-chat-font-family: $kendo-font-family !default;
20
+ $kendo-chat-font-family: var( --kendo-font-family, inherit ) !default;
21
21
  /// The font size of the Chat.
22
22
  /// @group chat
23
- $kendo-chat-font-size: $kendo-font-size-md !default;
23
+ $kendo-chat-font-size: var( --kendo-font-size, inherit ) !default;
24
24
  /// The line height of the Chat.
25
25
  /// @group chat
26
- $kendo-chat-line-height: $kendo-line-height-md !default;
26
+ $kendo-chat-line-height: var( --kendo-line-height, normal ) !default;
27
27
 
28
28
  /// The horizontal spacing between the items of the Chat.
29
29
  /// @group chat
30
- $kendo-chat-item-spacing-x: 8px !default;
30
+ $kendo-chat-item-spacing-x: k-spacing(2) !default;
31
31
  /// The vertical spacing between the items of the Chat.
32
32
  /// @group chat
33
- $kendo-chat-item-spacing-y: 16px !default;
33
+ $kendo-chat-item-spacing-y: k-spacing(4) !default;
34
34
 
35
35
  /// The horizontal padding of the Chat message list.
36
36
  /// @group chat
@@ -60,13 +60,13 @@ $kendo-chat-timestamp-bg: null !default;
60
60
 
61
61
  /// The horizontal padding of the Chat bubble message.
62
62
  /// @group chat
63
- $kendo-chat-bubble-padding-x: 12px !default;
63
+ $kendo-chat-bubble-padding-x: k-spacing(3) !default;
64
64
  /// The vertical padding of the Chat bubble message.
65
65
  /// @group chat
66
- $kendo-chat-bubble-padding-y: 8px !default;
66
+ $kendo-chat-bubble-padding-y: k-spacing(2) !default;
67
67
  /// The spacing of the Chat bubble message.
68
68
  /// @group chat
69
- $kendo-chat-bubble-spacing: 2px !default;
69
+ $kendo-chat-bubble-spacing: k-spacing(0.5) !default;
70
70
  /// The line height of the Chat bubble message.
71
71
  /// @group chat
72
72
  $kendo-chat-bubble-line-height: 18px !default;
@@ -106,13 +106,13 @@ $kendo-chat-toolbar-border: inherit !default;
106
106
 
107
107
  /// The horizontal padding of the Chat quick reply.
108
108
  /// @group chat
109
- $kendo-chat-quick-reply-padding-x: 12px !default;
109
+ $kendo-chat-quick-reply-padding-x: k-spacing(3) !default;
110
110
  /// The vertical padding of the Chat quick reply.
111
111
  /// @group chat
112
- $kendo-chat-quick-reply-padding-y: 8px !default;
112
+ $kendo-chat-quick-reply-padding-y: k-spacing(2) !default;
113
113
  /// The spacing of the Chat quick reply.
114
114
  /// @group chat
115
- $kendo-chat-quick-reply-spacing: 8px !default;
115
+ $kendo-chat-quick-reply-spacing: k-spacing(2) !default;
116
116
  /// The line height of the Chat quick reply.
117
117
  /// @group chat
118
118
  $kendo-chat-quick-reply-line-height: $kendo-chat-bubble-line-height !default;
@@ -148,7 +148,7 @@
148
148
  flex-flow: row nowrap;
149
149
  align-items: center;
150
150
  align-content: center;
151
- gap: k-map-get( $kendo-spacing, 1 );
151
+ gap: k-spacing(1);
152
152
 
153
153
  .k-checkbox-label {
154
154
  margin: 0;
@@ -9,23 +9,23 @@ $kendo-checkbox-border-width: 1px !default;
9
9
 
10
10
  /// The size of a small CheckBox.
11
11
  /// @group checkbox
12
- $kendo-checkbox-sm-size: k-map-get( $kendo-spacing, 3 ) !default;
12
+ $kendo-checkbox-sm-size: k-spacing(3) !default;
13
13
  /// The size of a medium CheckBox.
14
14
  /// @group checkbox
15
- $kendo-checkbox-md-size: k-map-get( $kendo-spacing, 4 ) !default;
15
+ $kendo-checkbox-md-size: k-spacing(4) !default;
16
16
  /// The size of a large CheckBox.
17
17
  /// @group checkbox
18
- $kendo-checkbox-lg-size: k-map-get( $kendo-spacing, 5 ) !default;
18
+ $kendo-checkbox-lg-size: k-spacing(5) !default;
19
19
 
20
20
  /// The glyph size of a small CheckBox.
21
21
  /// @group checkbox
22
- $kendo-checkbox-sm-glyph-size: k-map-get( $kendo-spacing, 2.5 ) !default;
22
+ $kendo-checkbox-sm-glyph-size: k-spacing(2.5) !default;
23
23
  /// The glyph size of a medium CheckBox.
24
24
  /// @group checkbox
25
- $kendo-checkbox-md-glyph-size: k-map-get( $kendo-spacing, 3.5 ) !default;
25
+ $kendo-checkbox-md-glyph-size: k-spacing(3.5) !default;
26
26
  /// The glyph size of a large CheckBox.
27
27
  /// @group checkbox
28
- $kendo-checkbox-lg-glyph-size: k-map-get( $kendo-spacing, 4.5 ) !default;
28
+ $kendo-checkbox-lg-glyph-size: k-spacing(4.5) !default;
29
29
 
30
30
  /// The ripple size of a small CheckBox.
31
31
  /// @group checkbox
@@ -168,17 +168,17 @@ $kendo-checkbox-indeterminate-image: k-escape-svg( url("data:image/svg+xml,<svg
168
168
 
169
169
  /// The horizontal margin of the CheckBox inside a label.
170
170
  /// @group checkbox
171
- $kendo-checkbox-label-margin-x: k-map-get( $kendo-spacing, 1 ) !default;
171
+ $kendo-checkbox-label-margin-x: k-spacing(1) !default;
172
172
 
173
173
 
174
174
  // CheckBox list
175
175
 
176
176
  /// The spacing between the items in a horizontal CheckBox list.
177
177
  /// @group checkbox
178
- $kendo-checkbox-list-spacing: k-map-get( $kendo-spacing, 4 ) !default;
178
+ $kendo-checkbox-list-spacing: k-spacing(4) !default;
179
179
  /// The horizontal padding of the CheckBox list items.
180
180
  /// @group checkbox
181
- $kendo-checkbox-list-item-padding-x: 0px !default;
181
+ $kendo-checkbox-list-item-padding-x: k-spacing(0) !default;
182
182
  /// The vertical padding of the CheckBox list items.
183
183
  /// @group checkbox
184
184
  $kendo-checkbox-list-item-padding-y: $kendo-list-md-item-padding-y !default;
@@ -7,7 +7,7 @@
7
7
  border-width: $kendo-chip-border-width;
8
8
  border-style: solid;
9
9
  outline: 0;
10
- font-family: $kendo-font-family;
10
+ font-family: var( --kendo-font-family, inherit );
11
11
  font-size: $kendo-chip-font-size;
12
12
  line-height: $kendo-chip-line-height;
13
13
  display: inline-flex;
@@ -8,46 +8,46 @@
8
8
  $kendo-chip-border-width: 1px !default;
9
9
  /// The spacing between the text and the icons of the Chip.
10
10
  /// @group chip
11
- $kendo-chip-spacing: k-map-get( $kendo-spacing, 1 ) !default;
11
+ $kendo-chip-spacing: k-spacing(1) !default;
12
12
 
13
13
  /// The horizontal padding of the Chip.
14
14
  /// @group chip
15
- $kendo-chip-padding-x: k-map-get( $kendo-spacing, 1 ) !default;
15
+ $kendo-chip-padding-x: k-spacing(1) !default;
16
16
  /// The horizontal padding of the small Chip.
17
17
  /// @group chip
18
- $kendo-chip-sm-padding-x: k-map-get( $kendo-spacing, 1 ) !default;
18
+ $kendo-chip-sm-padding-x: k-spacing(1) !default;
19
19
  /// The horizontal padding of the medium Chip.
20
20
  /// @group chip
21
21
  $kendo-chip-md-padding-x: $kendo-chip-padding-x !default;
22
22
  /// The horizontal padding of the large Chip.
23
23
  /// @group chip
24
- $kendo-chip-lg-padding-x: k-map-get( $kendo-spacing, 1 ) !default;
24
+ $kendo-chip-lg-padding-x: k-spacing(1) !default;
25
25
 
26
26
  /// The vertical padding of the Chip.
27
27
  /// @group chip
28
- $kendo-chip-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
28
+ $kendo-chip-padding-y: k-spacing(1) !default;
29
29
  /// The vertical padding of the small Chip.
30
30
  /// @group chip
31
- $kendo-chip-sm-padding-y: k-map-get( $kendo-spacing, 0.5 ) !default;
31
+ $kendo-chip-sm-padding-y: k-spacing(0.5) !default;
32
32
  /// The vertical padding of the medium Chip.
33
33
  /// @group chip
34
34
  $kendo-chip-md-padding-y: $kendo-chip-padding-y !default;
35
35
  /// The vertical padding of the large Chip.
36
36
  /// @group chip
37
- $kendo-chip-lg-padding-y: k-map-get( $kendo-spacing, 1.5 ) !default;
37
+ $kendo-chip-lg-padding-y: k-spacing(1.5) !default;
38
38
 
39
39
  /// The font size of the Chip.
40
40
  /// @group chip
41
- $kendo-chip-font-size: $kendo-font-size-md !default;
41
+ $kendo-chip-font-size: var( --kendo-font-size, inherit ) !default;
42
42
  /// The font size of the small Chip.
43
43
  /// @group chip
44
- $kendo-chip-sm-font-size: $kendo-font-size-md !default;
44
+ $kendo-chip-sm-font-size: var( --kendo-font-size, inherit ) !default;
45
45
  /// The font size of the medium Chip.
46
46
  /// @group chip
47
47
  $kendo-chip-md-font-size: $kendo-chip-font-size !default;
48
48
  /// The font size of the large Chip.
49
49
  /// @group chip
50
- $kendo-chip-lg-font-size: $kendo-font-size-md !default;
50
+ $kendo-chip-lg-font-size: var( --kendo-font-size, inherit ) !default;
51
51
 
52
52
  /// The Chip's line height that is related to the $kendo-font-size.
53
53
  /// @group chip
@@ -64,8 +64,8 @@ $kendo-chip-lg-line-height: $kendo-chip-line-height !default;
64
64
 
65
65
  /// The calculated height of the Chip.
66
66
  /// @group chip
67
- $kendo-chip-calc-size: calc( #{$kendo-chip-line-height * 1em} + #{$kendo-chip-padding-y * 2} + #{$kendo-chip-border-width * 2} ) !default;
68
- $kendo-chip-sm-calc-size: calc( #{$kendo-chip-sm-line-height * 1em} + #{$kendo-chip-sm-padding-y * 2} + #{$kendo-chip-border-width * 2} ) !default;
67
+ $kendo-chip-calc-size: calc( #{$kendo-chip-line-height * 1em} + calc( #{$kendo-chip-padding-y} * 2 ) + #{$kendo-chip-border-width * 2} ) !default;
68
+ $kendo-chip-sm-calc-size: calc( #{$kendo-chip-sm-line-height * 1em} + calc( #{$kendo-chip-sm-padding-y} * 2 ) + #{$kendo-chip-border-width * 2} ) !default;
69
69
 
70
70
  /// The map with the sizes of the Chip.
71
71
  /// @group chip
@@ -173,7 +173,7 @@ $kendo-chip-outline-selected-text: $kendo-chip-outline-hover-text !default;
173
173
  /// The sizes of the Chip list.
174
174
  /// @group chip
175
175
  $kendo-chip-list-sizes: (
176
- sm: k-map-get( $kendo-spacing, 1 ),
177
- md: k-map-get( $kendo-spacing, 1 ),
178
- lg: k-map-get( $kendo-spacing, 1 )
176
+ sm: k-spacing(1),
177
+ md: k-spacing(1),
178
+ lg: k-spacing(1)
179
179
  ) !default;
@@ -1,5 +1,5 @@
1
1
  // Color Preview
2
- $kendo-color-preview-border-radius: $kendo-border-radius-md !default;
2
+ $kendo-color-preview-border-radius: k-border-radius(md)!default;
3
3
  $kendo-color-preview-border-width: 1px !default;
4
4
  $kendo-color-preview-bg: null !default;
5
5
  $kendo-color-preview-text: null !default;
@@ -2,7 +2,7 @@
2
2
 
3
3
  /// The spacer of the ColorEditor.
4
4
  /// @group coloreditor
5
- $kendo-color-editor-spacer: k-map-get( $kendo-spacing, 3 ) !default;
5
+ $kendo-color-editor-spacer: k-spacing(3) !default;
6
6
 
7
7
  /// The minimum width of the ColorEditor.
8
8
  /// @group coloreditor
@@ -12,16 +12,16 @@ $kendo-color-editor-min-width: 272px !default;
12
12
  $kendo-color-editor-border-width: 1px !default;
13
13
  /// The border radius of the ColorEditor.
14
14
  /// @group coloreditor
15
- $kendo-color-editor-border-radius: $kendo-border-radius-md !default;
15
+ $kendo-color-editor-border-radius: k-border-radius(md) !default;
16
16
  /// The font family of the ColorEditor.
17
17
  /// @group coloreditor
18
- $kendo-color-editor-font-family: $kendo-font-family !default;
18
+ $kendo-color-editor-font-family: var( --kendo-font-family, inherit ) !default;
19
19
  /// The font size of the ColorEditor.
20
20
  /// @group coloreditor
21
- $kendo-color-editor-font-size: $kendo-font-size-md !default;
21
+ $kendo-color-editor-font-size: var( --kendo-font-size, inherit ) !default;
22
22
  /// The line height of the ColorEditor.
23
23
  /// @group coloreditor
24
- $kendo-color-editor-line-height: $kendo-line-height-md !default;
24
+ $kendo-color-editor-line-height: var( --kendo-line-height, normal ) !default;
25
25
  /// The text color of the ColorEditor.
26
26
  /// @group coloreditor
27
27
  $kendo-color-editor-text: $kendo-component-text !default;
@@ -48,7 +48,7 @@ $kendo-color-editor-header-padding-y: $kendo-color-editor-spacer !default;
48
48
  $kendo-color-editor-header-padding-x: $kendo-color-editor-header-padding-y !default;
49
49
  /// The spacing between the ColorEditor header actions.
50
50
  /// @group coloreditor
51
- $kendo-color-editor-header-actions-gap: k-math-div( $kendo-color-editor-spacer, 1.5 ) !default;
51
+ $kendo-color-editor-header-actions-gap: calc( #{$kendo-color-editor-spacer} / 1.5 ) !default;
52
52
 
53
53
  /// The width of the ColorEditor preview.
54
54
  /// @group coloreditor
@@ -58,7 +58,7 @@ $kendo-color-editor-color-preview-width: 32px !default;
58
58
  $kendo-color-editor-color-preview-height: 12px !default;
59
59
  /// The spacing between the colors in the ColorEditor preview.
60
60
  /// @group coloreditor
61
- $kendo-color-editor-preview-gap: k-map-get( $kendo-spacing, 1 ) !default;
61
+ $kendo-color-editor-preview-gap: k-spacing(1) !default;
62
62
 
63
63
  /// The vertical padding of the ColorEditor views container.
64
64
  /// @group coloreditor
@@ -164,7 +164,7 @@
164
164
  .k-contrast-validation {
165
165
  display: inline-flex;
166
166
  align-items: center;
167
- gap: k-math-div( $kendo-color-gradient-contrast-spacer, 2 );
167
+ gap: calc( #{$kendo-color-gradient-contrast-spacer} / 2 );
168
168
 
169
169
  .k-icon {
170
170
  vertical-align: middle;
@@ -4,7 +4,7 @@
4
4
 
5
5
  /// The spacer of the ColorGradient.
6
6
  /// @group cologradient
7
- $kendo-color-gradient-spacer: k-map-get( $kendo-spacing, 3 ) !default;
7
+ $kendo-color-gradient-spacer: k-spacing(3) !default;
8
8
 
9
9
  /// The width of the ColorGradient.
10
10
  /// @group cologradient
@@ -14,7 +14,7 @@ $kendo-color-gradient-width: 272px !default;
14
14
  $kendo-color-gradient-border-width: 1px !default;
15
15
  /// The border radius of the ColorGradient.
16
16
  /// @group cologradient
17
- $kendo-color-gradient-border-radius: $kendo-border-radius-md !default;
17
+ $kendo-color-gradient-border-radius: k-border-radius(md) !default;
18
18
  /// The vertical padding of the ColorGradient.
19
19
  /// @group cologradient
20
20
  $kendo-color-gradient-padding-y: $kendo-color-gradient-spacer !default;
@@ -26,13 +26,13 @@ $kendo-color-gradient-padding-x: $kendo-color-gradient-padding-y !default;
26
26
  $kendo-color-gradient-gap: $kendo-color-gradient-spacer !default;
27
27
  /// The font family of the ColorGradient.
28
28
  /// @group cologradient
29
- $kendo-color-gradient-font-family: $kendo-font-family !default;
29
+ $kendo-color-gradient-font-family: var( --kendo-font-family, inherit ) !default;
30
30
  /// The font size of the ColorGradient.
31
31
  /// @group cologradient
32
- $kendo-color-gradient-font-size: $kendo-font-size-md !default;
32
+ $kendo-color-gradient-font-size: var( --kendo-font-size, inherit ) !default;
33
33
  /// The line height of the ColorGradient.
34
34
  /// @group cologradient
35
- $kendo-color-gradient-line-height: $kendo-line-height-md !default;
35
+ $kendo-color-gradient-line-height: var( --kendo-line-height, normal ) !default;
36
36
  /// The text color of the ColorGradient.
37
37
  /// @group cologradient
38
38
  $kendo-color-gradient-text: $kendo-component-text !default;
@@ -52,7 +52,7 @@ $kendo-color-gradient-focus-shadow: k-elevation(3) !default;
52
52
 
53
53
  /// The border radius of the ColorGradient canvas.
54
54
  /// @group cologradient
55
- $kendo-color-gradient-canvas-border-radius: $kendo-border-radius-md !default;
55
+ $kendo-color-gradient-canvas-border-radius: k-border-radius(md) !default;
56
56
  /// The spacing between the items of the ColorGradient canvas.
57
57
  /// @group cologradient
58
58
  $kendo-color-gradient-canvas-gap: $kendo-color-gradient-spacer !default;
@@ -126,17 +126,17 @@ $kendo-color-gradient-canvas-draghandle-margin-x: - k-math-div( $kendo-color-gra
126
126
  $kendo-color-gradient-input-width: 46px !default;
127
127
  /// The spacing between the ColorGradient inputs.
128
128
  /// @group cologradient
129
- $kendo-color-gradient-input-gap: k-math-div( $kendo-color-gradient-spacer, 1.5 ) !default;
129
+ $kendo-color-gradient-input-gap: calc( #{$kendo-color-gradient-spacer} / 1.5 ) !default;
130
130
  /// The spacing between the ColorGradient inputs and their labels.
131
131
  /// @group cologradient
132
- $kendo-color-gradient-input-label-gap: k-math-div( $kendo-color-gradient-spacer, 3 ) !default;
132
+ $kendo-color-gradient-input-label-gap: calc( #{$kendo-color-gradient-spacer} / 3 ) !default;
133
133
  /// The text color of the ColorGradient input labels.
134
134
  /// @group cologradient
135
135
  $kendo-color-gradient-input-label-text: $kendo-subtle-text !default;
136
136
 
137
137
  /// The font weight of the ColorGradient contrast ratio text.
138
138
  /// @group cologradient
139
- $kendo-color-gradient-contrast-ratio-font-weight: $kendo-font-weight-bold !default;
139
+ $kendo-color-gradient-contrast-ratio-font-weight: var( --kendo-font-weight-bold, normal ) !default;
140
140
  /// The spacing between the items in the ColorGradient contrast tool.
141
141
  /// @group cologradient
142
- $kendo-color-gradient-contrast-spacer: k-math-div( $kendo-color-gradient-spacer, 1.5 ) !default;
142
+ $kendo-color-gradient-contrast-spacer: calc( #{$kendo-color-gradient-spacer} / 1.5 ) !default;
@@ -2,17 +2,17 @@
2
2
 
3
3
  /// The font family of the ColorPalette.
4
4
  /// @group colorpalette
5
- $kendo-color-palette-font-family: $kendo-font-family !default;
5
+ $kendo-color-palette-font-family: var( --kendo-font-family, inherit ) !default;
6
6
  /// The font size of the ColorPalette.
7
7
  /// @group colorpalette
8
- $kendo-color-palette-font-size: $kendo-font-size-md !default;
8
+ $kendo-color-palette-font-size: var( --kendo-font-size, inherit ) !default;
9
9
  /// The line height of the ColorPalette.
10
10
  /// @group colorpalette
11
11
  $kendo-color-palette-line-height: 0 !default;
12
12
 
13
13
  /// The width of the ColorPalette tile.
14
14
  /// @group colorpalette
15
- $kendo-color-palette-tile-width: k-map-get( $kendo-spacing, 6 ) !default;
15
+ $kendo-color-palette-tile-width: k-spacing(6) !default;
16
16
  /// The height of the ColorPalette tile.
17
17
  /// @group colorpalette
18
18
  $kendo-color-palette-tile-height: $kendo-color-palette-tile-width !default;
@@ -75,7 +75,7 @@
75
75
  // Panels
76
76
  .k-block,
77
77
  .k-panel {
78
- @include border-radius( $kendo-border-radius-md );
78
+ @include border-radius( k-border-radius(md) );
79
79
  @include fill(
80
80
  $kendo-component-text,
81
81
  $kendo-component-bg,
@@ -87,19 +87,19 @@
87
87
  box-sizing: border-box;
88
88
 
89
89
  > .k-header {
90
- @include border-top-radius( $kendo-border-radius-md );
90
+ @include border-top-radius( k-border-radius(md) );
91
91
  @include fill(
92
92
  $kendo-component-header-text,
93
93
  $kendo-component-header-bg,
94
94
  $kendo-component-header-border,
95
95
  $kendo-component-header-gradient
96
96
  );
97
- padding-inline: k-map-get( $kendo-spacing, 2 );
98
- padding-block: k-map-get( $kendo-spacing, 1 );
97
+ padding-inline: k-spacing(2);
98
+ padding-block: k-spacing(1);
99
99
  }
100
100
  > .k-content {
101
- padding-inline: k-map-get( $kendo-spacing, 2 );
102
- padding-block: k-map-get( $kendo-spacing, 1 );
101
+ padding-inline: k-spacing(2);
102
+ padding-block: k-spacing(1);
103
103
  }
104
104
  }
105
105
  .k-content {
@@ -141,7 +141,7 @@
141
141
  @include exports( "common/misc/hr" ) {
142
142
 
143
143
  .k-hr {
144
- margin: k-map-get( $kendo-spacing, 4 ) auto;
144
+ margin: k-spacing(4) auto;
145
145
  padding: 0;
146
146
  height: 0;
147
147
  border-width: 1px 0 0;
@@ -6,6 +6,12 @@ $wcag-min-contrast-ratio: 4.5 !default;
6
6
  // Color System
7
7
  @import "./color-system/_swatch.scss";
8
8
 
9
+ // Typography
10
+ @import "./typography/index.import.scss";
11
+
12
+ // Spacing
13
+ @import "./spacing/index.import.scss";
14
+
9
15
  @import "@progress/kendo-theme-core/scss/index.import.scss";
10
16
 
11
17
  // Backward compatibility
@@ -17,4 +23,10 @@ $wcag-min-contrast-ratio: 4.5 !default;
17
23
 
18
24
  // Elevation System
19
25
  @include kendo-elevation--styles();
26
+ // Typography
27
+ @include kendo-core--typography--styles();
28
+ // Spacing
29
+ @include kendo-spacing--styles();
30
+ // Radii
31
+ @include kendo-border-radius--styles();
20
32
  }
@@ -0,0 +1 @@
1
+ @import "@progress/kendo-theme-core/scss/border-radii/index.import.scss";
@@ -0,0 +1,29 @@
1
+ @import "@progress/kendo-theme-core/scss/spacing/index.import.scss";
2
+
3
+ $kendo-icon-spacing: k-spacing(1) !default;
4
+ $kendo-icon-padding: k-spacing(1) !default;
5
+
6
+ /// Horizontal padding.
7
+ /// @group common
8
+ $kendo-padding-x: k-spacing(2) !default;
9
+ /// Vertical padding.
10
+ /// @group common
11
+ $kendo-padding-y: k-spacing(1) !default;
12
+ /// Small horizontal padding.
13
+ /// @group common
14
+ $kendo-padding-sm-x: k-spacing(1) !default;
15
+ /// Small vertical padding.
16
+ /// @group common
17
+ $kendo-padding-sm-y: k-spacing(0.5) !default;
18
+ /// Medium horizontal padding.
19
+ /// @group common
20
+ $kendo-padding-md-x: k-spacing(2) !default;
21
+ /// Medium vertical padding.
22
+ /// @group common
23
+ $kendo-padding-md-y: k-spacing(1) !default;
24
+ /// Large horizontal padding.
25
+ /// @group common
26
+ $kendo-padding-lg-x: k-spacing(3) !default;
27
+ /// Large vertical padding.
28
+ /// @group common
29
+ $kendo-padding-lg-y: k-spacing(1.5) !default;
@@ -0,0 +1 @@
1
+ @import "@progress/kendo-theme-core/scss/typography/index.import.scss";