@progress/kendo-theme-fluent 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 (120) hide show
  1. package/dist/all.css +6433 -3368
  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/_layout.scss +1 -1
  70. package/scss/loader/_variables.scss +29 -29
  71. package/scss/map/_variables.scss +6 -5
  72. package/scss/mediaplayer/_variables.scss +2 -2
  73. package/scss/menu/_variables.scss +16 -16
  74. package/scss/messagebox/_variables.scss +3 -3
  75. package/scss/notification/_variables.scss +6 -6
  76. package/scss/orgchart/_variables.scss +10 -10
  77. package/scss/pager/_variables.scss +8 -8
  78. package/scss/panelbar/_layout.scss +1 -0
  79. package/scss/panelbar/_variables.scss +9 -7
  80. package/scss/pdf-viewer/_variables.scss +4 -4
  81. package/scss/pivotgrid/_layout.scss +3 -3
  82. package/scss/pivotgrid/_variables.scss +17 -17
  83. package/scss/popover/_variables.scss +2 -2
  84. package/scss/popup/_variables.scss +5 -5
  85. package/scss/progressbar/_variables.scss +4 -4
  86. package/scss/prompt/_variables.scss +7 -7
  87. package/scss/radio/_variables.scss +13 -13
  88. package/scss/rating/_variables.scss +3 -3
  89. package/scss/scheduler/_layout.scss +2 -2
  90. package/scss/scheduler/_variables.scss +11 -11
  91. package/scss/scrollview/_variables.scss +2 -2
  92. package/scss/signature/_variables.scss +5 -5
  93. package/scss/skeleton/_variables.scss +2 -2
  94. package/scss/slider/_variables.scss +4 -4
  95. package/scss/splitter/_variables.scss +6 -6
  96. package/scss/spreadsheet/_layout.scss +8 -7
  97. package/scss/spreadsheet/_variables.scss +19 -18
  98. package/scss/stepper/_variables.scss +8 -8
  99. package/scss/table/_variables.scss +10 -10
  100. package/scss/tabstrip/_variables.scss +11 -10
  101. package/scss/taskboard/_variables.scss +23 -23
  102. package/scss/tilelayout/_variables.scss +1 -1
  103. package/scss/timeline/_variables.scss +24 -24
  104. package/scss/timeselector/_layout.scss +1 -1
  105. package/scss/timeselector/_variables.scss +6 -6
  106. package/scss/toolbar/_layout.scss +1 -1
  107. package/scss/toolbar/_variables.scss +9 -9
  108. package/scss/tooltip/_layout.scss +10 -10
  109. package/scss/tooltip/_variables.scss +5 -5
  110. package/scss/treelist/_layout.scss +2 -2
  111. package/scss/treelist/_variables.scss +2 -2
  112. package/scss/treeview/_variables.scss +11 -11
  113. package/scss/typography/_layout.scss +9 -0
  114. package/scss/typography/_theme.scss +7 -0
  115. package/scss/typography/_variables.scss +125 -67
  116. package/scss/upload/_layout.scss +1 -0
  117. package/scss/upload/_variables.scss +5 -5
  118. package/scss/window/_layout.scss +1 -1
  119. package/scss/window/_variables.scss +10 -10
  120. package/scss/wizard/_variables.scss +8 -8
@@ -22,7 +22,7 @@ $kendo-color-palette-tile-outline-style: solid !default;
22
22
  $kendo-color-palette-tile-outline: transparent !default;
23
23
  /// The width of the ColorPalette tile.
24
24
  /// @group colorpalette
25
- $kendo-color-palette-tile-width: map.get( $kendo-spacing, 6 ) !default;
25
+ $kendo-color-palette-tile-width: k-spacing(6) !default;
26
26
  /// The height of the ColorPalette tile.
27
27
  /// @group colorpalette
28
28
  $kendo-color-palette-tile-height: $kendo-color-palette-tile-width !default;
@@ -7,6 +7,15 @@
7
7
  @use "./elevation" as *;
8
8
  @forward "./elevation/legacy";
9
9
 
10
+ // Typography
11
+ @use "./typography/" as *;
12
+
13
+ // Spacing
14
+ @use "./spacing" as *;
15
+
16
+ // Radii
17
+ @use "./border-radii/" as *;
18
+
10
19
  // Variables
11
20
  @forward "./variables";
12
21
 
@@ -46,7 +55,15 @@
46
55
  $kendo-loading-text: $kendo-loading-text !default,
47
56
  // Elevation
48
57
  $_default-elevation: $kendo-elevation,
49
- $kendo-elevation: $kendo-elevation !default
58
+ $kendo-elevation: $kendo-elevation !default,
59
+ // Typography
60
+ $kendo-letter-spacing: $kendo-letter-spacing !default,
61
+ $kendo-font-family: $kendo-font-family !default,
62
+ $kendo-font-sizes: $kendo-font-sizes !default,
63
+ $kendo-line-heights: $kendo-line-heights !default,
64
+ // Radii
65
+ $_default-border-radii: $kendo-border-radii,
66
+ $kendo-border-radii: $kendo-border-radii !default
50
67
  );
51
68
 
52
69
  @forward "./color-system/swatch-legacy";
@@ -2,47 +2,13 @@
2
2
  @use "sass:math";
3
3
  @use "sass:meta";
4
4
 
5
+ // Options
6
+ $kendo-enable-typography: false !default;
7
+
5
8
  $kendo-use-input-button-width: true !default;
6
9
  $kendo-use-input-spinner-width: true !default;
7
10
  $kendo-use-input-spinner-icon-offset: false !default;
8
11
 
9
- /// Base font size across all components.
10
- $kendo-font-size: 14px !default;
11
- $kendo-font-size-xs: 10px !default;
12
- $kendo-font-size-sm: 12px !default;
13
- $kendo-font-size-md: $kendo-font-size !default;
14
- $kendo-font-size-lg: 16px !default;
15
- $kendo-font-size-xl: 20px !default;
16
-
17
- $kendo-font-sizes: (
18
- xs: $kendo-font-size-xs,
19
- sm: $kendo-font-size-sm,
20
- md: $kendo-font-size-md,
21
- lg: $kendo-font-size-lg,
22
- xl: $kendo-font-size-xl
23
- ) !default;
24
-
25
-
26
- /// Font family across all components.
27
- $kendo-font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif !default;
28
-
29
-
30
- /// Line height used along with $kendo-font-size.
31
- $kendo-line-height: math.div( 20, 14 ) !default;
32
- $kendo-line-height-xs: 1 !default;
33
- $kendo-line-height-sm: 1.25 !default;
34
- $kendo-line-height-md: $kendo-line-height !default;
35
- $kendo-line-height-lg: 1.5 !default;
36
- $kendo-line-height-em: calc( #{$kendo-line-height} * 1em) !default;
37
-
38
-
39
- /// Font weight.
40
- $kendo-font-weight: 400 !default;
41
- $kendo-font-weight-light: 300 !default;
42
- $kendo-font-weight-bold: 600 !default;
43
-
44
- $kendo-letter-spacing: normal !default;
45
-
46
12
  // $kendo-scrollbar-width: 17px !default;
47
13
 
48
14
  // Default transition
@@ -50,28 +16,6 @@ $kendo-transition: color .2s ease-in-out, background-color .2s ease-in-out, bord
50
16
 
51
17
  @mixin core-styles() {
52
18
  :root {
53
- --kendo-font-family: #{meta.inspect($kendo-font-family)};
54
-
55
- --kendo-font-size: #{$kendo-font-size};
56
- --kendo-font-size-xs: #{$kendo-font-size-xs};
57
- --kendo-font-size-sm: #{$kendo-font-size-sm};
58
- --kendo-font-size-md: #{$kendo-font-size-md};
59
- --kendo-font-size-lg: #{$kendo-font-size-lg};
60
- --kendo-font-size-xl: #{$kendo-font-size-xl};
61
-
62
- --kendo-line-height: #{$kendo-line-height};
63
- --kendo-line-height-xs: #{$kendo-line-height-xs};
64
- --kendo-line-height-sm: #{$kendo-line-height-sm};
65
- --kendo-line-height-md: #{$kendo-line-height-md};
66
- --kendo-line-height-lg: #{$kendo-line-height-lg};
67
-
68
- --kendo-font-weight: #{$kendo-font-weight};
69
- --kendo-font-weight-light: #{$kendo-font-weight-light};
70
- --kendo-font-weight-bold: #{$kendo-font-weight-bold};
71
-
72
- --kendo-letter-spacing: #{$kendo-letter-spacing};
73
-
74
-
75
19
  --kendo-transition: #{$kendo-transition};
76
20
  }
77
21
  }
@@ -0,0 +1,24 @@
1
+ @use "sass:map";
2
+ @use "@progress/kendo-theme-core/scss/spacing/index.import.scss" as *;
3
+
4
+ $kendo-border-radius-none: map.get($kendo-spacing, 0) !default;
5
+ $kendo-border-radius-xs: map.get($kendo-spacing, 1px) !default;
6
+ $kendo-border-radius-sm: map.get($kendo-spacing, 0.5) !default;
7
+ $kendo-border-radius-md: map.get($kendo-spacing, 1) !default;
8
+ $kendo-border-radius-lg: map.get($kendo-spacing, 2) !default;
9
+ $kendo-border-radius-xl: map.get($kendo-spacing, 3) !default;
10
+ $kendo-border-radius-xxl: map.get($kendo-spacing, 4) !default;
11
+ $kendo-border-radius-xxxl: map.get($kendo-spacing, 5) !default;
12
+
13
+ $_default-border-radii: (
14
+ none: $kendo-border-radius-none,
15
+ xs: $kendo-border-radius-xs,
16
+ sm: $kendo-border-radius-sm,
17
+ md: $kendo-border-radius-md,
18
+ lg: $kendo-border-radius-lg,
19
+ xl: $kendo-border-radius-xl,
20
+ xxl: $kendo-border-radius-xxl,
21
+ xxxl: $kendo-border-radius-xxxl
22
+ ) !default;
23
+
24
+ $kendo-border-radii: $_default-border-radii !default;
@@ -93,8 +93,4 @@
93
93
  --kendo-invalid-text: #{core.$kendo-invalid-text};
94
94
  --kendo-invalid-border: #{core.$kendo-invalid-border};
95
95
  --kendo-invalid-shadow: #{core.$kendo-invalid-shadow};
96
-
97
- --kendo-border-radius-sm: #{core.$kendo-border-radius-sm};
98
- --kendo-border-radius-md: #{core.$kendo-border-radius-md};
99
- --kendo-border-radius-lg: #{core.$kendo-border-radius-lg};
100
96
  }
@@ -0,0 +1,28 @@
1
+ @use "sass:map";
2
+ @use "@progress/kendo-theme-core/scss/spacing/index.import.scss" as *;
3
+
4
+ /// Horizontal padding.
5
+ /// @group common
6
+ $kendo-padding-x: k-spacing(2) !default;
7
+ /// Vertical padding.
8
+ /// @group common
9
+ $kendo-padding-y: k-spacing(1) !default;
10
+ /// Small horizontal padding.
11
+ /// @group common
12
+ $kendo-padding-sm-x: k-spacing(1) !default;
13
+ /// Small vertical padding.
14
+ /// @group common
15
+ $kendo-padding-sm-y: k-spacing(0.5) !default;
16
+ /// Medium horizontal padding.
17
+ /// @group common
18
+ $kendo-padding-md-x: k-spacing(2) !default;
19
+ /// Medium vertical padding.
20
+ /// @group common
21
+ $kendo-padding-md-y: k-spacing(1) !default;
22
+ /// Large horizontal padding.
23
+ /// @group common
24
+ $kendo-padding-lg-x: k-spacing(3) !default;
25
+ /// Large vertical padding.
26
+ /// @group common
27
+ $kendo-padding-lg-y: k-spacing(1.5) !default;
28
+
@@ -0,0 +1,70 @@
1
+ @use "sass:math";
2
+
3
+ /// The base font size across all components.
4
+ /// @group typography
5
+ $kendo-font-size: 0.875rem !default;
6
+ /// The extra extra small font size across all components.
7
+ /// @group typography
8
+ $kendo-font-size-xs: 0.625rem !default;
9
+ /// The small font size across all components.
10
+ /// @group typography
11
+ $kendo-font-size-sm: 0.75rem !default;
12
+ /// The medium font size across all components.
13
+ /// @group typography
14
+ $kendo-font-size-md: $kendo-font-size !default;
15
+ /// The large font size across all components.
16
+ /// @group typography
17
+ $kendo-font-size-lg: 1rem !default;
18
+ /// The extra large font size across all components.
19
+ /// @group typography
20
+ $kendo-font-size-xl: 1.25rem !default;
21
+
22
+ /// The base line height across all components.
23
+ /// @group typography
24
+ $kendo-line-height: math.div( 20, 14 ) !default;
25
+ /// The extra small line height across all components.
26
+ /// @group typography
27
+ $kendo-line-height-xs: 1 !default;
28
+ /// The small line height across all components.
29
+ /// @group typography
30
+ $kendo-line-height-sm: 1.25 !default;
31
+ /// The medium line height across all components.
32
+ /// @group typography
33
+ $kendo-line-height-md: $kendo-line-height !default;
34
+ /// The large line height across all components.
35
+ /// @group typography
36
+ $kendo-line-height-lg: 1.5 !default;
37
+ /// The base line height in ems across all components.
38
+ /// @group typography
39
+ $kendo-line-height-em: calc( #{$kendo-line-height} * 1em) !default;
40
+
41
+ /// The base letter spacing across all components.
42
+ /// @group typography
43
+ $kendo-letter-spacing: normal !default;
44
+
45
+ /// The font family across all components.
46
+ /// @group typography
47
+ $kendo-font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif !default;
48
+
49
+ $_default-font-sizes: (
50
+ xs: $kendo-font-size-xs,
51
+ sm: $kendo-font-size-sm,
52
+ md: $kendo-font-size-md,
53
+ lg: $kendo-font-size-lg,
54
+ xl: $kendo-font-size-xl
55
+ ) !default;
56
+
57
+ $_default-line-heights: (
58
+ xs: $kendo-line-height-xs,
59
+ sm: $kendo-line-height-sm,
60
+ md: $kendo-line-height-md,
61
+ lg: $kendo-line-height-lg,
62
+ ) !default;
63
+
64
+ /// The font sizes map
65
+ /// @group typography
66
+ $kendo-font-sizes: $_default-font-sizes !default;
67
+
68
+ /// The line heights map
69
+ /// @group typography
70
+ $kendo-line-heights: $_default-line-heights !default;
@@ -3,6 +3,7 @@
3
3
  @use "../core/" as *;
4
4
  @use "./_variables.scss" as *;
5
5
  @use "../tooltip/_variables.scss" as *;
6
+ @use "../core/spacing" as *;
6
7
 
7
8
  @mixin kendo-dataviz--layout() {
8
9
 
@@ -85,7 +86,7 @@
85
86
  }
86
87
 
87
88
  .k-chart-tooltip {
88
- @include border-radius( var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) );
89
+ @include border-radius( k-border-radius(md) );
89
90
  font-size: var( --kendo-chart-tooltip-font-size, #{$kendo-chart-tooltip-font-size} );
90
91
  line-height: var( --kendo-chart-tooltip-line-height, #{$kendo-chart-tooltip-line-height} );
91
92
  padding-inline: var( --kendo-chart-tooltip-padding-x, #{$kendo-tooltip-padding-x} );
@@ -199,7 +200,7 @@
199
200
  }
200
201
 
201
202
  .k-navigator-hint .k-scroll {
202
- @include border-radius( var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) );
203
+ @include border-radius( k-border-radius(md) );
203
204
  position: absolute;
204
205
  height: 4px;
205
206
  }
@@ -346,10 +347,10 @@
346
347
  right: 0;
347
348
  }
348
349
  .k-treemap-title + .k-treemap-wrap {
349
- inset-block-start: calc( #{$kendo-padding-sm-y} * 2 + (#{$kendo-line-height-md} * #{$kendo-font-size-md}) + 1px);
350
+ inset-block-start: calc( calc( #{$kendo-padding-sm-y} * 2 ) + calc( var( --kendo-line-height, normal ) * var( --kendo-font-size, inherit) ) + 1px);
350
351
  }
351
352
  .k-treemap-title-vertical + .k-treemap-wrap {
352
- inset-inline-start: calc( #{$kendo-padding-sm-y} * 2 + (#{$kendo-line-height-md} * #{$kendo-font-size-md}) + 1px);
353
+ inset-inline-start: calc( calc( #{$kendo-padding-sm-y} * 2 ) + calc( var( --kendo-line-height, normal) * var( --kendo-font-size, inherit) ) + 1px);
353
354
  }
354
355
 
355
356
 
@@ -391,7 +392,7 @@
391
392
  base: $kendo-component-bg,
392
393
  background: $kendo-component-bg,
393
394
 
394
- border-radius: $kendo-border-radius-md,
395
+ border-radius: k-border-radius(md),
395
396
 
396
397
  normal-background: $kendo-component-bg,
397
398
  normal-text-color: $kendo-component-text,
@@ -93,7 +93,7 @@ $kendo-chart-font-family: var( --kendo-font-family, inherit ) !default;
93
93
  /// @group charts
94
94
  $kendo-chart-font-size: var( --kendo-font-size, inherit ) !default;
95
95
  $kendo-chart-sm-font-size: var( --kendo-font-size-sm, inherit ) !default;
96
- $kendo-chart-md-font-size: var( --kendo-font-size-md, inherit ) !default;
96
+ $kendo-chart-md-font-size: var( --kendo-font-size, inherit ) !default;
97
97
  $kendo-chart-lg-font-size: var( --kendo-font-size-lg, inherit ) !default;
98
98
  /// The line-height of the chart component.
99
99
  /// @group charts
@@ -11,7 +11,7 @@
11
11
  display: flex;
12
12
  flex-flow: row nowrap;
13
13
  align-items: flex-end;
14
- gap: map.get( $kendo-spacing, 2 );
14
+ gap: k-spacing(2);
15
15
 
16
16
  *,
17
17
  *::before,
@@ -1,3 +1,3 @@
1
1
  @use "../calendar/_variables.scss" as *;
2
2
 
3
- $kendo-datetime-width: calc( #{$kendo-calendar-header-min-width} + #{$kendo-infinite-calendar-view-padding-x * 2} ) !default;
3
+ $kendo-datetime-width: calc( #{$kendo-calendar-header-min-width} + calc( #{$kendo-infinite-calendar-view-padding-x} * 2 ) ) !default;
@@ -19,34 +19,34 @@ $kendo-dialog-titlebar-border: var( --kendo-component-border, initial ) !default
19
19
  $kendo-dialog-titlebar-border-width: 0 !default;
20
20
  /// The horizontal padding of the Dialog titlebar.
21
21
  /// @group dialog
22
- $kendo-dialog-titlebar-padding-x: map.get( $kendo-spacing, 6 ) !default;
22
+ $kendo-dialog-titlebar-padding-x: k-spacing(6) !default;
23
23
  /// The vertical padding of the Dialog titlebar.
24
24
  /// @group dialog
25
- $kendo-dialog-titlebar-padding-y: map.get( $kendo-spacing, 4 ) !default;
25
+ $kendo-dialog-titlebar-padding-y: k-spacing(4) !default;
26
26
 
27
27
  /// The horizontal padding of the content of the Dialog.
28
28
  /// @group dialog
29
- $kendo-dialog-inner-padding-x: map.get( $kendo-spacing, 6 ) !default;
29
+ $kendo-dialog-inner-padding-x: k-spacing(6) !default;
30
30
  /// The vertical padding of the content of the Dialog.
31
31
  /// @group dialog
32
- $kendo-dialog-inner-padding-y: map.get( $kendo-spacing, 3 ) !default;
32
+ $kendo-dialog-inner-padding-y: k-spacing(3) !default;
33
33
 
34
34
  /// The horizontal padding of the Dialog action buttons.
35
35
  /// @group dialog
36
- $kendo-dialog-buttongroup-padding-x: map.get( $kendo-spacing, 6 ) !default; // $kendo-actions-padding-x
36
+ $kendo-dialog-buttongroup-padding-x: k-spacing(6) !default; // $kendo-actions-padding-x
37
37
  /// The vertical padding of the Dialog action buttons.
38
38
  /// @group dialog
39
- $kendo-dialog-buttongroup-padding-y: map.get( $kendo-spacing, 6 ) !default; // $kendo-actions-padding-y
39
+ $kendo-dialog-buttongroup-padding-y: k-spacing(6) !default; // $kendo-actions-padding-y
40
40
  /// The width of the top border of the Dialog action buttons.
41
41
  /// @group dialog
42
42
  $kendo-dialog-buttongroup-border-width: 0 !default;
43
43
  /// The spacing between the Dialog action buttons.
44
44
  /// @group dialog
45
- $kendo-dialog-buttongroup-spacing: map.get( $kendo-spacing, 3 ) !default;
45
+ $kendo-dialog-buttongroup-spacing: k-spacing(3) !default;
46
46
 
47
47
  /// The spacing between the Dialog action buttons.
48
48
  /// @group dialog
49
- $kendo-dialog-button-spacing: map.get( $kendo-spacing, 2 ) !default; // $kendo-actions-padding-y
49
+ $kendo-dialog-button-spacing: k-spacing(2) !default; // $kendo-actions-padding-y
50
50
 
51
51
  /// The box shadow around the Dialog.
52
52
  /// @group dialog
@@ -1,5 +1,6 @@
1
1
  @use "../core/_variables.scss" as *;
2
2
  @use "./_variables.scss" as *;
3
+ @use "../core/typography/" as *;
3
4
 
4
5
  @mixin kendo-dock-manager--layout() {
5
6
 
@@ -13,10 +13,10 @@ $kendo-dock-manager-border: var( --kendo-component-border, inherit ) !default;
13
13
 
14
14
  /// The vertical padding of the pane header in the DockManager component.
15
15
  /// @group dock-manager
16
- $kendo-dock-manager-pane-header-padding-y: map.get( $kendo-spacing, 1 ) !default;
16
+ $kendo-dock-manager-pane-header-padding-y: k-spacing(1) !default;
17
17
  /// The horizontal padding of the pane header in the DockManager component.
18
18
  /// @group dock-manager
19
- $kendo-dock-manager-pane-header-padding-x: map.get( $kendo-spacing, 6 ) !default;
19
+ $kendo-dock-manager-pane-header-padding-x: k-spacing(6) !default;
20
20
  /// The width of the border around the pane header in the DockManager component.
21
21
  /// @group dock-manager
22
22
  $kendo-dock-manager-pane-header-border-width: $kendo-dock-manager-border-width !default;
@@ -51,10 +51,10 @@ $kendo-dock-manager-pane-title-font-weight: var( --kendo-font-weight, normal ) !
51
51
 
52
52
  /// The horizontal padding of the pane content in the DockManager component.
53
53
  /// @group dock-manager
54
- $kendo-dock-manager-pane-content-padding-x: map.get( $kendo-spacing, 3 ) !default;
54
+ $kendo-dock-manager-pane-content-padding-x: k-spacing(3) !default;
55
55
  /// The vertical padding of the pane content in the DockManager component.
56
56
  /// @group dock-manager
57
- $kendo-dock-manager-pane-content-padding-y: map.get( $kendo-spacing, 3 ) !default;
57
+ $kendo-dock-manager-pane-content-padding-y: k-spacing(3) !default;
58
58
 
59
59
  /// The horizontal padding of the tabbed pane in the DockManager component.
60
60
  /// @group dock-manager
@@ -75,7 +75,7 @@ $kendo-dock-manager-unpinned-container-shadow: 25.6px 0px 57.6px 0px rgba(0, 0,
75
75
 
76
76
  /// The padding of the dock indicator in the DockManager component.
77
77
  /// @group dock-manager
78
- $kendo-dock-indicator-padding: map.get( $kendo-spacing, 1.5 ) !default;
78
+ $kendo-dock-indicator-padding: k-spacing(1.5) !default;
79
79
  /// The background color of the dock indicator in the DockManager component.
80
80
  /// @group dock-manager
81
81
  $kendo-dock-indicator-bg: $kendo-component-bg !default;
@@ -1,9 +1,10 @@
1
1
  @use "sass:math";
2
2
  @use "../core/" as *;
3
+ @use "../core/spacing/" as *;
3
4
 
4
5
  /// Borer radius of the drag clue.
5
6
  /// @group draggable
6
- $kendo-drag-clue-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) !default;
7
+ $kendo-drag-clue-border-radius: k-border-radius(md) !default;
7
8
  /// Borer width of the drag clue.
8
9
  /// @group draggable
9
10
  $kendo-drag-clue-border-width: 0px !default;
@@ -1,5 +1,6 @@
1
1
  @use "sass:map";
2
2
  @use "../core/" as *;
3
+ @use "../core/spacing" as *;
3
4
 
4
5
  /// The background color of the Drawer.
5
6
  /// @group drawer
@@ -48,7 +49,7 @@ $kendo-drawer-scrollbar-hover-color: if($kendo-enable-color-system, color-mix(in
48
49
 
49
50
  /// The horizontal padding of the Drawer item.
50
51
  /// @group drawer
51
- $kendo-drawer-item-padding-x: map.get( $kendo-spacing, 4 ) !default;
52
+ $kendo-drawer-item-padding-x: k-spacing(4) !default;
52
53
  /// The vertical padding of the Drawer item.
53
54
  /// @group drawer
54
55
  $kendo-drawer-item-padding-y: var( --kendo-padding-x, #{$kendo-padding-md-x} ) !default;
@@ -68,10 +69,10 @@ $kendo-drawer-item-level-count: 5 !default;
68
69
 
69
70
  /// The horizontal padding of the Drawer icon.
70
71
  /// @group drawer
71
- $kendo-drawer-icon-padding-x: 0 !default;
72
+ $kendo-drawer-icon-padding-x: k-spacing(0) !default;
72
73
  /// The vertical padding of the Drawer icon.
73
74
  /// @group drawer
74
- $kendo-drawer-icon-padding-y: map.get( $kendo-spacing, 1 ) !default;
75
+ $kendo-drawer-icon-padding-y: k-spacing(1) !default;
75
76
 
76
77
  /// The initial width of the mini Drawer.
77
78
  /// @group drawer
@@ -79,8 +80,9 @@ $kendo-drawer-mini-initial-width: calc( 2 * #{$kendo-drawer-item-padding-x} + va
79
80
 
80
81
  /// The border width of the Drawer item ripple.
81
82
  /// @group drawer
82
- $kendo-drawer-item-ripple-border-width: map.get( $kendo-spacing, 0.5 ) !default;
83
- /// The border color of the Drawer item ripple.
83
+
84
+ $kendo-drawer-item-ripple-border-width: k-spacing(0.5) !default;
85
+ /// The border color of the drawer item ripple
84
86
  /// @group drawer
85
87
  $kendo-drawer-item-ripple-border: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
86
88
  /// The background color of the Drawer item.
@@ -11,4 +11,4 @@ $kendo-dropdowntree-popup-padding-y: $kendo-popup-content-padding-y !default;
11
11
 
12
12
  /// The padding of the check-all CheckBox inside the DropDownTree popup
13
13
  /// @group dropdowntree
14
- $kendo-dropdowntree-check-all-padding: map.get( $kendo-spacing, 1 ) !default;
14
+ $kendo-dropdowntree-check-all-padding: k-spacing(1) !default;
@@ -4,10 +4,10 @@
4
4
 
5
5
  /// The horizontal padding of the DropZone.
6
6
  /// @group dropzone
7
- $kendo-dropzone-padding-x: map.get( $kendo-spacing, 2 ) !default;
7
+ $kendo-dropzone-padding-x: k-spacing(2) !default;
8
8
  /// The vertical padding of the DropZone.
9
9
  /// @group dropzone
10
- $kendo-dropzone-padding-y: map.get( $kendo-spacing, 2 ) !default;
10
+ $kendo-dropzone-padding-y: k-spacing(2) !default;
11
11
  /// The border width of the DropZone.
12
12
  /// @group dropzone
13
13
  $kendo-dropzone-border-width: 1px !default;
@@ -37,7 +37,7 @@ $kendo-dropzone-border: var( --kendo-component-border, initial ) !default;
37
37
 
38
38
  /// The spacing below the DropZone icon.
39
39
  /// @group dropzone
40
- $kendo-dropzone-icon-spacing: map.get( $kendo-spacing, 6 ) !default;
40
+ $kendo-dropzone-icon-spacing: k-spacing(6) !default;
41
41
  /// The text color of the DropZone icon.
42
42
  /// @group dropzone
43
43
  $kendo-dropzone-icon-text: if($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var( neutral-90 )) !default;
@@ -53,7 +53,7 @@ $kendo-dropzone-hint-font-size: inherit !default;
53
53
  $kendo-dropzone-hint-font-weight: var( --kendo-font-weight-bold, bold ) !default;
54
54
  /// The spacing below the DropZone hint.
55
55
  /// @group dropzone
56
- $kendo-dropzone-hint-spacing: map.get( $kendo-spacing, 2 ) !default;
56
+ $kendo-dropzone-hint-spacing: k-spacing(2) !default;
57
57
  /// The text color of the DropZone hint.
58
58
  /// @group dropzone
59
59
  $kendo-dropzone-hint-text: $kendo-dropzone-text !default;
@@ -66,7 +66,7 @@ $kendo-dropzone-note-font-size: var( --kendo-font-size-sm, inherit ) !default;
66
66
  $kendo-dropzone-note-font-weight: inherit !default;
67
67
  /// The spacing below the DropZone note.
68
68
  /// @group dropzone
69
- $kendo-dropzone-note-spacing: 0 !default;
69
+ $kendo-dropzone-note-spacing: k-spacing(0) !default;
70
70
  /// The text color of the DropZone note.
71
71
  /// @group dropzone
72
72
  $kendo-dropzone-note-text: var( --kendo-subtle-text, inherit ) !default;
@@ -6,6 +6,7 @@
6
6
  @use "../button/_variables.scss" as *;
7
7
  @use "../input/_variables.scss" as *;
8
8
  @use "../window/_variables.scss" as *;
9
+ @use "../core/spacing" as *;
9
10
 
10
11
  @mixin kendo-editor--layout() {
11
12
 
@@ -39,7 +40,7 @@
39
40
 
40
41
  // Inline editor
41
42
  .k-editor-inline {
42
- @include border-radius( $kendo-border-radius-md );
43
+ @include border-radius( k-border-radius(md) );
43
44
  padding-block: $kendo-padding-sm-y;
44
45
  padding-inline: $kendo-padding-sm-x;
45
46
  border: 1px solid transparent;
@@ -353,7 +354,7 @@
353
354
  flex: 1;
354
355
  }
355
356
  .k-search-wrap {
356
- margin-inline-start: map.get( $kendo-spacing, 4 );
357
+ margin-inline-start: k-spacing(4);
357
358
  width: 150px;
358
359
  display: flex;
359
360
  align-items: center;
@@ -370,7 +371,7 @@
370
371
 
371
372
  // Filebrowser toolbar
372
373
  .k-filebrowser-toolbar {
373
- margin-block-start: map.get( $kendo-spacing, 4 );
374
+ margin-block-start: k-spacing(4);
374
375
  }
375
376
 
376
377
  .k-upload {
@@ -397,7 +398,7 @@
397
398
  flex-flow: row wrap;
398
399
  height: 390px;
399
400
  max-height: 50vh;
400
- margin-block-end: map.get( $kendo-spacing, 4 );
401
+ margin-block-end: k-spacing(4);
401
402
  padding-block: $kendo-padding-md-y;
402
403
  padding-inline: $kendo-padding-md-x;
403
404
  border-top-width: 0;
@@ -413,7 +414,7 @@
413
414
  white-space: nowrap;
414
415
  overflow: hidden;
415
416
  cursor: pointer;
416
- @include border-radius( $kendo-border-radius-md );
417
+ @include border-radius( k-border-radius(md) );
417
418
 
418
419
  .k-i-file,
419
420
  .k-i-folder {
@@ -34,10 +34,10 @@ $kendo-editor-placeholder-opacity: var( --kendo-input-placeholder-opacity, #{$ke
34
34
  $kendo-editor-content-outline-color: var( --kendo-body-text, initial ) !default;
35
35
  /// The horizontal margin of the Editor's export tool icon.
36
36
  /// @group editor
37
- $kendo-editor-export-tool-icon-margin-x: map.get( $kendo-spacing, 1 ) !default;
37
+ $kendo-editor-export-tool-icon-margin-x: k-spacing(1) !default;
38
38
  /// The outline width of the Editor's selected node.
39
39
  /// @group editor
40
- $kendo-editor-selectednode-outline-width: map.get( $kendo-spacing, 0.5 ) !default;
40
+ $kendo-editor-selectednode-outline-width: k-spacing(0.5) !default;
41
41
 
42
42
  /// The selected text color of the Editor.
43
43
  /// @group editor
@@ -51,7 +51,7 @@ $kendo-editor-highlighted-bg: if($kendo-enable-color-system, color-mix(in srgb,
51
51
 
52
52
  /// The size of the Editor's resize handle.
53
53
  /// @group editor
54
- $kendo-editor-resize-handle-size: map.get( $kendo-spacing, 2 ) !default;
54
+ $kendo-editor-resize-handle-size: k-spacing(2) !default;
55
55
  /// The border width of the Editor's resize handle.
56
56
  /// @group editor
57
57
  $kendo-editor-resize-handle-border-width: 1px !default;
@@ -3,7 +3,7 @@
3
3
 
4
4
  /// The vertical spacing of the ExpansionPanel.
5
5
  /// @group expander
6
- $kendo-expander-margin-y: map.get( $kendo-spacing, 2 ) !default;
6
+ $kendo-expander-margin-y: k-spacing(2) !default;
7
7
  /// The width of the border around the ExpansionPanel.
8
8
  /// @group expander
9
9
  $kendo-expander-border-width: 1px !default;
@@ -63,10 +63,10 @@ $kendo-expander-focus-shadow: inset 0px 0px 0px 2px if($kendo-enable-color-syste
63
63
 
64
64
  /// The horizontal padding of the ExpansionPanel header.
65
65
  /// @group expander
66
- $kendo-expander-header-padding-x: map.get( $kendo-spacing, 4 ) !default;
66
+ $kendo-expander-header-padding-x: k-spacing(4) !default;
67
67
  /// The vertical padding of the ExpansionPanel header.
68
68
  /// @group expander
69
- $kendo-expander-header-padding-y: map.get( $kendo-spacing, 3 ) !default;
69
+ $kendo-expander-header-padding-y: k-spacing(3) !default;
70
70
 
71
71
  /// The text color of the ExpansionPanel header.
72
72
  /// @group expander
@@ -89,14 +89,14 @@ $kendo-expander-header-sub-title-text: var( --kendo-subtle-text, initial ) !defa
89
89
 
90
90
  /// The horizontal margin of the ExpansionPanel indicator.
91
91
  /// @group expander
92
- $kendo-expander-indicator-margin-x: map.get( $kendo-spacing, 2.5 ) !default;
92
+ $kendo-expander-indicator-margin-x: k-spacing(2.5) !default;
93
93
  /// The text color of the ExpansionPanel indicator.
94
94
  /// @group expander
95
95
  $kendo-expander-indicator-text: var( --kendo-expander-text, #{$kendo-expander-text} ) !default;
96
96
 
97
97
  /// The horizontal padding of the ExpansionPanel content.
98
98
  /// @group expander
99
- $kendo-expander-content-padding-x: map.get( $kendo-spacing, 4 ) !default;
99
+ $kendo-expander-content-padding-x: k-spacing(4) !default;
100
100
  /// The vertical padding of the ExpansionPanel content.
101
101
  /// @group expander
102
- $kendo-expander-content-padding-y: map.get( $kendo-spacing, 4 ) !default;
102
+ $kendo-expander-content-padding-y: k-spacing(4) !default;