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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/dist/all.css +8673 -7774
  2. package/dist/fluent-main.scss +4 -1
  3. package/dist/meta/sassdoc-data.json +6206 -5756
  4. package/dist/meta/sassdoc-raw-data.json +3090 -2865
  5. package/lib/swatches/all.json +13 -2
  6. package/lib/swatches/fluent-main.json +13 -2
  7. package/package.json +4 -4
  8. package/scss/action-buttons/_variables.scss +3 -3
  9. package/scss/action-sheet/_layout.scss +1 -1
  10. package/scss/action-sheet/_variables.scss +13 -13
  11. package/scss/adaptive/_layout.scss +8 -8
  12. package/scss/appbar/_variables.scss +6 -6
  13. package/scss/avatar/_variables.scss +3 -3
  14. package/scss/badge/_variables.scss +6 -6
  15. package/scss/bottom-navigation/_variables.scss +8 -8
  16. package/scss/breadcrumb/_variables.scss +16 -16
  17. package/scss/button/_layout.scss +1 -1
  18. package/scss/button/_variables.scss +9 -9
  19. package/scss/calendar/_variables.scss +36 -50
  20. package/scss/captcha/_variables.scss +3 -3
  21. package/scss/card/_variables.scss +13 -13
  22. package/scss/chat/_layout.scss +2 -2
  23. package/scss/chat/_variables.scss +13 -13
  24. package/scss/checkbox/_layout.scss +1 -1
  25. package/scss/checkbox/_variables.scss +15 -15
  26. package/scss/chip/_variables.scss +11 -11
  27. package/scss/color-preview/_variables.scss +1 -1
  28. package/scss/coloreditor/_variables.scss +6 -6
  29. package/scss/colorgradient/_variables.scss +9 -9
  30. package/scss/colorpalette/_variables.scss +1 -1
  31. package/scss/core/_index.scss +18 -1
  32. package/scss/core/_variables.scss +3 -59
  33. package/scss/core/border-radii/_index.scss +24 -0
  34. package/scss/core/color-system/_swatch-legacy.scss +1 -5
  35. package/scss/core/color-system/_swatch.scss +1 -1
  36. package/scss/core/spacing/_index.scss +28 -0
  37. package/scss/core/typography/_index.scss +70 -0
  38. package/scss/dataviz/_layout.scss +6 -5
  39. package/scss/dataviz/_variables.scss +1 -1
  40. package/scss/daterangepicker/_layout.scss +1 -1
  41. package/scss/datetimepicker/_variables.scss +1 -1
  42. package/scss/dialog/_variables.scss +8 -8
  43. package/scss/dock-manager/_layout.scss +1 -0
  44. package/scss/dock-manager/_variables.scss +5 -5
  45. package/scss/draggable/_variables.scss +2 -1
  46. package/scss/drawer/_variables.scss +7 -5
  47. package/scss/dropdowntree/_variables.scss +1 -1
  48. package/scss/dropzone/_variables.scss +5 -5
  49. package/scss/editor/_layout.scss +6 -5
  50. package/scss/editor/_variables.scss +3 -3
  51. package/scss/expansion-panel/_variables.scss +6 -6
  52. package/scss/fab/_variables.scss +16 -16
  53. package/scss/filemanager/_variables.scss +6 -6
  54. package/scss/filter/_variables.scss +2 -1
  55. package/scss/forms/_layout.scss +6 -5
  56. package/scss/forms/_variables.scss +15 -14
  57. package/scss/gantt/_layout.scss +10 -9
  58. package/scss/gantt/_variables.scss +77 -76
  59. package/scss/grid/_layout.scss +2 -1
  60. package/scss/grid/_variables.scss +172 -172
  61. package/scss/icon/_variables.scss +2 -2
  62. package/scss/imageeditor/_variables.scss +11 -11
  63. package/scss/index.scss +8 -1
  64. package/scss/input/_theme.scss +0 -1
  65. package/scss/input/_variables.scss +9 -9
  66. package/scss/list/_layout.scss +1 -0
  67. package/scss/list/_variables.scss +24 -24
  68. package/scss/listbox/_variables.scss +2 -2
  69. package/scss/listgroup/_layout.scss +6 -6
  70. package/scss/listgroup/_variables.scss +3 -3
  71. package/scss/listview/_variables.scss +8 -8
  72. package/scss/loader/_variables.scss +29 -29
  73. package/scss/map/_variables.scss +6 -5
  74. package/scss/mediaplayer/_variables.scss +2 -2
  75. package/scss/menu/_variables.scss +16 -16
  76. package/scss/messagebox/_variables.scss +3 -3
  77. package/scss/notification/_variables.scss +6 -6
  78. package/scss/orgchart/_variables.scss +10 -10
  79. package/scss/pager/_variables.scss +8 -8
  80. package/scss/panelbar/_layout.scss +1 -0
  81. package/scss/panelbar/_variables.scss +9 -7
  82. package/scss/pdf-viewer/_variables.scss +4 -4
  83. package/scss/pivotgrid/_layout.scss +3 -3
  84. package/scss/pivotgrid/_variables.scss +17 -17
  85. package/scss/popover/_variables.scss +2 -2
  86. package/scss/popup/_variables.scss +5 -5
  87. package/scss/progressbar/_variables.scss +4 -4
  88. package/scss/prompt/_variables.scss +7 -7
  89. package/scss/radio/_variables.scss +13 -13
  90. package/scss/rating/_variables.scss +3 -3
  91. package/scss/scheduler/_layout.scss +2 -2
  92. package/scss/scheduler/_variables.scss +11 -11
  93. package/scss/scrollview/_variables.scss +2 -2
  94. package/scss/signature/_variables.scss +5 -5
  95. package/scss/skeleton/_variables.scss +2 -2
  96. package/scss/slider/_variables.scss +4 -4
  97. package/scss/splitter/_variables.scss +6 -6
  98. package/scss/spreadsheet/_layout.scss +8 -7
  99. package/scss/spreadsheet/_variables.scss +19 -18
  100. package/scss/stepper/_variables.scss +8 -8
  101. package/scss/table/_variables.scss +10 -10
  102. package/scss/tabstrip/_variables.scss +11 -10
  103. package/scss/taskboard/_variables.scss +23 -23
  104. package/scss/tilelayout/_variables.scss +1 -1
  105. package/scss/timeline/_variables.scss +24 -24
  106. package/scss/timeselector/_layout.scss +1 -1
  107. package/scss/timeselector/_variables.scss +6 -6
  108. package/scss/toolbar/_layout.scss +1 -1
  109. package/scss/toolbar/_variables.scss +9 -9
  110. package/scss/tooltip/_layout.scss +10 -10
  111. package/scss/tooltip/_variables.scss +5 -5
  112. package/scss/treelist/_layout.scss +2 -2
  113. package/scss/treelist/_variables.scss +2 -2
  114. package/scss/treeview/_variables.scss +11 -11
  115. package/scss/typography/_layout.scss +9 -0
  116. package/scss/typography/_theme.scss +7 -0
  117. package/scss/typography/_variables.scss +125 -67
  118. package/scss/upload/_layout.scss +1 -0
  119. package/scss/upload/_variables.scss +5 -5
  120. package/scss/window/_layout.scss +1 -1
  121. package/scss/window/_variables.scss +10 -10
  122. package/scss/wizard/_variables.scss +8 -8
@@ -5,7 +5,7 @@
5
5
 
6
6
  /// Width of the menu border.
7
7
  /// @group menu
8
- $kendo-menu-border-width: map.get( $kendo-spacing, 0 ) !default;
8
+ $kendo-menu-border-width: k-spacing(0) !default;
9
9
  // Font family of the menu.
10
10
  /// @group menu
11
11
  $kendo-menu-font-family: var( --kendo-font-family, inherit ) !default;
@@ -18,18 +18,18 @@ $kendo-menu-line-height: var( --kendo-line-height, normal ) !default;
18
18
 
19
19
  /// Padding of menu root items.
20
20
  /// @group menu
21
- $kendo-menu-item-padding-x: map.get( $kendo-spacing, 2 ) !default;
22
- $kendo-menu-item-padding-y: map.get( $kendo-spacing, 3 ) !default;
21
+ $kendo-menu-item-padding-x: k-spacing(2) !default;
22
+ $kendo-menu-item-padding-y: k-spacing(3) !default;
23
23
 
24
24
  /// Spacing between menu root items.
25
25
  /// @group menu
26
- $kendo-menu-item-spacing: map.get( $kendo-spacing, 0 ) !default;
26
+ $kendo-menu-item-spacing: k-spacing(0) !default;
27
27
  /// Spacing between menu root items text and icons.
28
28
  /// @group menu
29
29
  $kendo-menu-item-icon-spacing: var( --kendo-icon-spacing, .5rem ) !default;
30
30
  /// Spacing between menu separator and items.
31
31
  /// @group menu
32
- $kendo-menu-separator-margin: map.get( $kendo-spacing, 1 ) !default;
32
+ $kendo-menu-separator-margin: k-spacing(1) !default;
33
33
 
34
34
  /// Separator width
35
35
  /// @group menu
@@ -37,7 +37,7 @@ $kendo-menu-separator-width: 1px !default;
37
37
 
38
38
  /// The base outline of focused menu item.
39
39
  /// @group menu
40
- $kendo-menu-item-focus-outline-offset: - map.get( $kendo-spacing, 0.5 ) !default;
40
+ $kendo-menu-item-focus-outline-offset: calc( #{k-spacing(0.5)} * -1 ) !default;
41
41
  $kendo-menu-item-focus-outline-width: 1px !default;
42
42
  $kendo-menu-item-focus-outline-style: solid !default;
43
43
 
@@ -105,14 +105,14 @@ $kendo-menu-popup-border-width: $kendo-popup-border-width !default;
105
105
 
106
106
  /// Font sizes of the menu popup.
107
107
  /// @group menu
108
- $kendo-menu-popup-font-size: var( --kendo-font-size-md, inherit ) !default;
108
+ $kendo-menu-popup-font-size: var( --kendo-font-size, inherit ) !default;
109
109
  $kendo-menu-popup-sm-font-size: $kendo-menu-popup-font-size !default;
110
110
  $kendo-menu-popup-md-font-size: $kendo-menu-popup-font-size !default;
111
111
  $kendo-menu-popup-lg-font-size: var( --kendo-font-size-lg, inherit ) !default;
112
112
 
113
113
  /// Line heights used along with $kendo-font-size.
114
114
  /// @group menu
115
- $kendo-menu-popup-line-height: var( --kendo-line-height-md, 30px ) !default;
115
+ $kendo-menu-popup-line-height: var( --kendo-line-height, 30px ) !default;
116
116
  $kendo-menu-popup-sm-line-height: $kendo-menu-popup-line-height !default;
117
117
  $kendo-menu-popup-md-line-height: $kendo-menu-popup-line-height !default;
118
118
  $kendo-menu-popup-lg-line-height: $kendo-menu-popup-line-height !default;
@@ -129,7 +129,7 @@ $kendo-menu-popup-shadow: var( --kendo-box-shadow-depth-6, none ) !default;
129
129
 
130
130
  /// Horizontal padding of the menu item in popup.
131
131
  /// @group menu
132
- $kendo-menu-popup-item-padding-x: map.get( $kendo-spacing, 2 ) !default;
132
+ $kendo-menu-popup-item-padding-x: k-spacing(2) !default;
133
133
  $kendo-menu-popup-sm-item-padding-x: $kendo-menu-popup-item-padding-x !default;
134
134
  $kendo-menu-popup-md-item-padding-x: $kendo-menu-popup-item-padding-x !default;
135
135
  $kendo-menu-popup-lg-item-padding-x: $kendo-menu-popup-item-padding-x !default;
@@ -140,15 +140,15 @@ $kendo-menu-popup-md-item-padding-y: $kendo-list-md-item-padding-y !default;
140
140
  $kendo-menu-popup-lg-item-padding-y: $kendo-list-lg-item-padding-y !default;
141
141
  /// The end padding of the menu item in popup.
142
142
  /// @group menu
143
- $kendo-menu-popup-sm-item-padding-end: calc( #{$kendo-menu-popup-sm-item-padding-x * 2} + var( --kendo-icon-size, 1rem ) ) !default;
144
- $kendo-menu-popup-md-item-padding-end: calc( #{$kendo-menu-popup-md-item-padding-x * 2} + var( --kendo-icon-size, 1rem ) ) !default;
145
- $kendo-menu-popup-lg-item-padding-end: calc( #{$kendo-menu-popup-lg-item-padding-x * 2} + var( --kendo-icon-size, 1rem ) ) !default;
143
+ $kendo-menu-popup-sm-item-padding-end: calc( calc( #{$kendo-menu-popup-sm-item-padding-x} * 2 ) + var( --kendo-icon-size, 1rem ) ) !default;
144
+ $kendo-menu-popup-md-item-padding-end: calc( calc( #{$kendo-menu-popup-md-item-padding-x} * 2 ) + var( --kendo-icon-size, 1rem ) ) !default;
145
+ $kendo-menu-popup-lg-item-padding-end: calc( calc( #{$kendo-menu-popup-lg-item-padding-x} * 2 ) + var( --kendo-icon-size, 1rem ) ) !default;
146
146
 
147
147
  /// The start margin of the menu item expand icon.
148
148
  /// @group menu
149
- $kendo-menu-popup-sm-item-icon-margin-start: map.get( $kendo-spacing, 0 ) !default;
150
- $kendo-menu-popup-item-icon-md-margin-start: map.get( $kendo-spacing, 0 ) !default;
151
- $kendo-menu-popup-lg-item-icon-margin-start: map.get( $kendo-spacing, 0 ) !default;
149
+ $kendo-menu-popup-sm-item-icon-margin-start: k-spacing(0) !default;
150
+ $kendo-menu-popup-item-icon-md-margin-start: k-spacing(0) !default;
151
+ $kendo-menu-popup-lg-item-icon-margin-start: k-spacing(0) !default;
152
152
  /// The end margin of the menu item expand icon.
153
153
  /// @group menu
154
154
  $kendo-menu-popup-sm-item-icon-margin-end: calc( -1 * (var( --kendo-icon-size, 1rem ) + #{$kendo-menu-popup-sm-item-padding-x}) ) !default;
@@ -163,7 +163,7 @@ $kendo-menu-popup-focus-outline-style: $kendo-menu-item-focus-outline-style !def
163
163
 
164
164
  /// The spacing between the menu items in popup.
165
165
  /// @group menu
166
- $kendo-menu-popup-item-spacing: map.get( $kendo-spacing, 0 ) !default;
166
+ $kendo-menu-popup-item-spacing: k-spacing(0) !default;
167
167
 
168
168
  /// Sizes map for the menu.
169
169
  /// @group menu
@@ -3,13 +3,13 @@
3
3
 
4
4
  /// Margin around the message box.
5
5
  /// @group messagebox
6
- $kendo-message-box-margin: 0 0 map.get( $kendo-spacing, 3 ) 0 !default;
6
+ $kendo-message-box-margin: 0 0 k-spacing(3) 0 !default;
7
7
  /// Horizontal padding of the message box.
8
8
  /// @group messagebox
9
- $kendo-message-box-padding-x: map.get( $kendo-spacing, 3 ) !default;
9
+ $kendo-message-box-padding-x: k-spacing(3) !default;
10
10
  /// Vertical padding of the message box.
11
11
  /// @group messagebox
12
- $kendo-message-box-padding-y: map.get( $kendo-spacing, 2 ) !default;
12
+ $kendo-message-box-padding-y: k-spacing(2) !default;
13
13
  /// Border width of the message box.
14
14
  /// @group messagebox
15
15
  $kendo-message-box-border-width: 0 !default;
@@ -3,20 +3,20 @@
3
3
 
4
4
  /// The row-gap between the elements in the Notification group.
5
5
  /// @group notification
6
- $kendo-notification-group-gap: map.get( $kendo-spacing, 2 ) !default;
6
+ $kendo-notification-group-gap: k-spacing(2) !default;
7
7
 
8
8
  /// The horizontal padding of the Notification.
9
9
  /// @group notification
10
- $kendo-notification-padding-x: map.get( $kendo-spacing, 3 ) !default;
10
+ $kendo-notification-padding-x: k-spacing(3) !default;
11
11
  /// The vertical padding of the Notification.
12
12
  /// @group notification
13
- $kendo-notification-padding-y: map.get( $kendo-spacing, 2 ) !default;
13
+ $kendo-notification-padding-y: k-spacing(2) !default;
14
14
  // The width of the border around the Notification.
15
15
  /// @group notification
16
16
  $kendo-notification-border-width: 1px !default;
17
17
  /// The border radius of the Notification.
18
18
  /// @group notification
19
- $kendo-notification-border-radius: map.get( $kendo-spacing, 0.5 ) !default;
19
+ $kendo-notification-border-radius: k-spacing(0.5) !default;
20
20
  /// The font family of the Notification.
21
21
  /// @group notification
22
22
  $kendo-notification-font-family: var( --kendo-font-family, inherit ) !default;
@@ -41,10 +41,10 @@ $kendo-notification-box-shadow: none !default;
41
41
 
42
42
  /// The horizontal spacing of the Notification icon.
43
43
  /// @group notification
44
- $kendo-notification-icon-spacing: map.get( $kendo-spacing, 2 ) !default;
44
+ $kendo-notification-icon-spacing: k-spacing(2) !default;
45
45
  /// The horizontal spacing of the Notification close icon.
46
46
  /// @group notification
47
- $kendo-notification-close-icon-spacing: map.get( $kendo-spacing, 4 ) !default;
47
+ $kendo-notification-close-icon-spacing: k-spacing(4) !default;
48
48
  /// The color of the Notification icon.
49
49
  /// @group notification
50
50
  $kendo-notification-icon-text: var( --kendo-component-text, inherit ) !default;
@@ -4,7 +4,7 @@
4
4
 
5
5
  /// The spacing index of the OrgChart.
6
6
  /// @group orgchart
7
- $kendo-orgchart-spacer: map.get( $kendo-spacing, 6) !default;
7
+ $kendo-orgchart-spacer: k-spacing(6) !default;
8
8
  /// The vertical padding of the OrgChart.
9
9
  /// @group orgchart
10
10
  $kendo-orgchart-padding-y: $kendo-orgchart-spacer !default;
@@ -51,7 +51,7 @@ $kendo-orgchart-node-group-padding-x: $kendo-orgchart-node-group-padding-y !defa
51
51
  $kendo-orgchart-node-group-border-width: 1px !default;
52
52
  /// The border radius of the OrgChart node group.
53
53
  /// @group orgchart
54
- $kendo-orgchart-node-group-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) !default;
54
+ $kendo-orgchart-node-group-border-radius: k-border-radius(md) !default;
55
55
  /// The background color of the OrgChart node group.
56
56
  /// @group orgchart
57
57
  $kendo-orgchart-node-group-bg: if($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 )) !default;
@@ -70,17 +70,17 @@ $kendo-orgchart-node-group-focus-shadow: $kendo-card-focus-shadow !default;
70
70
 
71
71
  /// The vertical margin of the OrgChart node group title.
72
72
  /// @group orgchart
73
- $kendo-orgchart-node-group-title-margin-y: 0px !default;
73
+ $kendo-orgchart-node-group-title-margin-y: k-spacing(0) !default;
74
74
  /// The font size of the OrgChart node group title.
75
75
  /// @group orgchart
76
76
  $kendo-orgchart-node-group-title-font-size: var( --kendo-font-size-xl, inherit ) !default;
77
77
  /// The line height of the OrgChart node group title.
78
78
  /// @group orgchart
79
- $kendo-orgchart-node-group-title-line-height: var( --kendo-line-height-md, normal ) !default;
79
+ $kendo-orgchart-node-group-title-line-height: var( --kendo-line-height, normal ) !default;
80
80
 
81
81
  /// The vertical margin of the OrgChart node group subtitle.
82
82
  /// @group orgchart
83
- $kendo-orgchart-node-group-subtitle-margin-y: $kendo-orgchart-spacer - map.get( $kendo-spacing, 1 ) !default;
83
+ $kendo-orgchart-node-group-subtitle-margin-y: calc( $kendo-orgchart-spacer - k-spacing(1) ) !default;
84
84
  /// The font size of the OrgChart node group subtitle.
85
85
  /// @group orgchart
86
86
  $kendo-orgchart-node-group-subtitle-font-size: var( --kendo-font-size, inherit ) !default;
@@ -103,7 +103,7 @@ $kendo-orgchart-card-focus-shadow: $kendo-card-focus-shadow !default;
103
103
 
104
104
  /// The vertical margin of the OrgChart Card title.
105
105
  /// @group orgchart
106
- $kendo-orgchart-card-title-margin-y: 0px !default;
106
+ $kendo-orgchart-card-title-margin-y: k-spacing(0) !default;
107
107
  /// The font size of the OrgChart Card title.
108
108
  /// @group orgchart
109
109
  $kendo-orgchart-card-title-font-size: $kendo-card-title-font-size !default;
@@ -113,17 +113,17 @@ $kendo-orgchart-card-title-line-height: var( --kendo-line-height, normal ) !defa
113
113
 
114
114
  /// The vertical margin of the OrgChart Card subtitle.
115
115
  /// @group orgchart
116
- $kendo-orgchart-card-subtitle-margin-y: 0px !default;
116
+ $kendo-orgchart-card-subtitle-margin-y: k-spacing(0) !default;
117
117
  /// The font size of the OrgChart Card subtitle.
118
118
  /// @group orgchart
119
119
  $kendo-orgchart-card-subtitle-font-size: var( --kendo-font-size-sm, inherit ) !default;
120
120
  /// The line height of the OrgChart Card subtitle.
121
121
  /// @group orgchart
122
- $kendo-orgchart-card-subtitle-line-height: var( --kendo-line-height-md, inherit ) !default;
122
+ $kendo-orgchart-card-subtitle-line-height: var( --kendo-line-height, inherit ) !default;
123
123
 
124
124
  /// The vertical padding of the OrgChart Card body.
125
125
  /// @group orgchart
126
- $kendo-orgchart-card-body-padding-y: $kendo-orgchart-spacer - map.get( $kendo-spacing, 2 ) !default;
126
+ $kendo-orgchart-card-body-padding-y: calc( #{$kendo-orgchart-spacer} - k-spacing(2) ) !default;
127
127
  /// The horizontal padding of the OrgChart Card body.
128
128
  /// @group orgchart
129
129
  $kendo-orgchart-card-body-padding-x: $kendo-orgchart-card-body-padding-y !default;
@@ -136,7 +136,7 @@ $kendo-orgchart-card-body-border-color: transparent !default;
136
136
 
137
137
  /// The horizontal margin of the OrgChart Card body title wrap.
138
138
  /// @group orgchart
139
- $kendo-orgchart-card-body-vbox-margin-x: $kendo-orgchart-spacer - map.get( $kendo-spacing, 2 ) !default;
139
+ $kendo-orgchart-card-body-vbox-margin-x: calc( #{$kendo-orgchart-spacer} - k-spacing(2) ) !default;
140
140
  /// The min height of the OrgChart Card body title wrap.
141
141
  /// @group orgchart
142
142
  $kendo-orgchart-card-body-vbox-min-height: $kendo-card-avatar-size !default;
@@ -4,20 +4,20 @@
4
4
 
5
5
  /// The horizontal padding of the Pager.
6
6
  /// @group pager
7
- $kendo-pager-padding-x: map.get( $kendo-spacing, 2 ) !default;
7
+ $kendo-pager-padding-x: k-spacing(2) !default;
8
8
  /// The horizontal padding of the small Pager.
9
9
  /// @group pager
10
- $kendo-pager-sm-padding-x: map.get( $kendo-spacing, 1.5 ) !default;
10
+ $kendo-pager-sm-padding-x: k-spacing(1.5) !default;
11
11
  /// The horizontal padding of the medium Pager.
12
12
  /// @group pager
13
- $kendo-pager-md-padding-x: map.get( $kendo-spacing, 2 ) !default;
13
+ $kendo-pager-md-padding-x: k-spacing(2) !default;
14
14
  /// The horizontal padding of the large Pager.
15
15
  /// @group pager
16
- $kendo-pager-lg-padding-x: map.get( $kendo-spacing, 2.5 ) !default;
16
+ $kendo-pager-lg-padding-x: k-spacing(2.5) !default;
17
17
 
18
18
  /// The vertical padding of the Pager.
19
19
  /// @group pager
20
- $kendo-pager-padding-y: map.get( $kendo-spacing, 2 ) !default;
20
+ $kendo-pager-padding-y: k-spacing(2) !default;
21
21
  /// The vertical padding of the small Pager.
22
22
  /// @group pager
23
23
  $kendo-pager-sm-padding-y: $kendo-pager-sm-padding-x !default;
@@ -70,13 +70,13 @@ $kendo-pager-item-spacing: null !default;
70
70
 
71
71
  /// The spacing between the item groups of the small Pager.
72
72
  /// @group pager
73
- $kendo-pager-sm-item-group-spacing: map.get( $kendo-spacing, 2 ) !default;
73
+ $kendo-pager-sm-item-group-spacing: k-spacing(2) !default;
74
74
  /// The spacing between the item groups of the medium Pager.
75
75
  /// @group pager
76
- $kendo-pager-md-item-group-spacing: map.get( $kendo-spacing, 2 ) !default;
76
+ $kendo-pager-md-item-group-spacing: k-spacing(2) !default;
77
77
  /// The spacing between the item groups of the large Pager.
78
78
  /// @group pager
79
- $kendo-pager-lg-item-group-spacing: map.get( $kendo-spacing, 2 ) !default;
79
+ $kendo-pager-lg-item-group-spacing: k-spacing(2) !default;
80
80
 
81
81
  /// The text color of the Pagers' sizes label.
82
82
  /// @group pager
@@ -1,5 +1,6 @@
1
1
  @use "../core/" as *;
2
2
  @use "./_variables.scss" as *;
3
+ @use "../core/spacing" as *;
3
4
 
4
5
  @mixin kendo-panelbar--layout() {
5
6
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  /// The horizontal padding of the PanelBar.
6
6
  /// @group panelbar
7
- $kendo-panelbar-padding-x: 0px !default;
7
+ $kendo-panelbar-padding-x: k-spacing(0) !default;
8
8
  /// The vertical padding of the PanelBar.
9
9
  /// @group panelbar
10
- $kendo-panelbar-padding-y: 0px !default;
10
+ $kendo-panelbar-padding-y: k-spacing(0) !default;
11
11
  /// The font family of the PanelBar.
12
12
  /// @group panelbar
13
13
  $kendo-panelbar-font-family: var( --kendo-font-family, inherit ) !default;
@@ -33,27 +33,29 @@ $kendo-panelbar-item-border-style: solid !default;
33
33
 
34
34
  /// The spacing around the PanelBar items icon.
35
35
  /// @group panelbar
36
- $kendo-panelbar-icon-spacing: map.get( $kendo-spacing, 2 ) !default;
36
+ $kendo-panelbar-icon-spacing: k-spacing(2) !default;
37
37
 
38
38
  /// The horizontal start padding of the PanelBar header.
39
39
  /// @group panelbar
40
40
  $kendo-panelbar-header-padding-x-start: calc( var( --kendo-panelbar-icon-spacing, #{$kendo-panelbar-icon-spacing} ) * 2 + var( --kendo-icon-size, 1rem ) ) !default;
41
+
41
42
  /// The horizontal end padding of the PanelBar header.
42
43
  /// @group panelbar
43
- $kendo-panelbar-header-padding-x-end: map.get( $kendo-spacing, 2) !default;
44
+ $kendo-panelbar-header-padding-x-end: k-spacing(2) !default;
44
45
  /// The vertical padding of the PanelBar header.
45
46
  /// @group panelbar
46
- $kendo-panelbar-header-padding-y: map.get( $kendo-spacing, 3 ) !default;
47
+ $kendo-panelbar-header-padding-y: k-spacing(3) !default;
47
48
 
48
49
  /// The horizontal padding of the PanelBar items.
49
50
  /// @group panelbar
50
51
  $kendo-panelbar-item-padding-x-start: calc( var( --kendo-panelbar-icon-spacing, #{$kendo-panelbar-icon-spacing} ) * 2 + var( --kendo-icon-size, 1rem ) ) !default;
52
+
51
53
  /// The horizontal end padding of the PanelBar items.
52
54
  /// @group panelbar
53
- $kendo-panelbar-item-padding-x-end: map.get( $kendo-spacing, 2) !default;
55
+ $kendo-panelbar-item-padding-x-end: k-spacing(2) !default;
54
56
  /// The vertical padding of the PanelBar items.
55
57
  /// @group panelbar
56
- $kendo-panelbar-item-padding-y: map.get( $kendo-spacing, 3 ) !default;
58
+ $kendo-panelbar-item-padding-y: k-spacing(3) !default;
57
59
 
58
60
  /// The maximum nesting of the PanelBar items.
59
61
  /// @group panelbar
@@ -37,7 +37,7 @@ $kendo-pdf-viewer-canvas-border: var( --kendo-component-border, inherit ) !defau
37
37
 
38
38
  /// The spacing of the PDFViewer page.
39
39
  /// @group pdf-viewer
40
- $kendo-pdf-viewer-page-spacing: map.get( $kendo-spacing, 7.5 ) !default;
40
+ $kendo-pdf-viewer-page-spacing: k-spacing(7.5) !default;
41
41
  /// The background color of the PDFViewer page.
42
42
  /// @group pdf-viewer
43
43
  $kendo-pdf-viewer-page-bg: var( --kendo-component-bg, inherit ) !default;
@@ -53,19 +53,19 @@ $kendo-pdf-viewer-page-shadow: var( --kendo-box-shadow-depth-3, none ) !default;
53
53
 
54
54
  /// The horizontal padding of the PDFViewer search panel.
55
55
  /// @group pdf-viewer
56
- $kendo-pdf-viewer-search-panel-padding-x: map.get( $kendo-spacing, 3 ) !default;
56
+ $kendo-pdf-viewer-search-panel-padding-x: k-spacing(3) !default;
57
57
  /// The vertical padding of the PDFViewer search panel.
58
58
  /// @group pdf-viewer
59
59
  $kendo-pdf-viewer-search-panel-padding-y: $kendo-pdf-viewer-search-panel-padding-x !default;
60
60
  /// The spacing of the PDFViewer search panel.
61
61
  /// @group pdf-viewer
62
- $kendo-pdf-viewer-search-panel-spacing: map.get( $kendo-spacing, 2 ) !default;
62
+ $kendo-pdf-viewer-search-panel-spacing: k-spacing(2) !default;
63
63
  /// The border width of the PDFViewer search panel.
64
64
  /// @group pdf-viewer
65
65
  $kendo-pdf-viewer-search-panel-border-width: 1px !default;
66
66
  /// The border radius of the PDFViewer search panel.
67
67
  /// @group pdf-viewer
68
- $kendo-pdf-viewer-search-panel-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) !default;
68
+ $kendo-pdf-viewer-search-panel-border-radius: k-border-radius(md) !default;
69
69
  /// The background color of the PDFViewer search panel.
70
70
  /// @group pdf-viewer
71
71
  $kendo-pdf-viewer-search-panel-bg: var( --kendo-component-bg, inherit ) !default;
@@ -289,7 +289,7 @@
289
289
  }
290
290
 
291
291
  .k-select-all .k-checkbox {
292
- margin-inline-end: map.get( $kendo-spacing, 1 );
292
+ margin-inline-end: k-spacing(1);
293
293
  }
294
294
 
295
295
  .k-fields-list-wrapper {
@@ -302,7 +302,7 @@
302
302
  }
303
303
 
304
304
  .k-settings-description {
305
- margin-block-start: map.get( $kendo-spacing, 4 );
305
+ margin-block-start: k-spacing(4);
306
306
  text-align: center;
307
307
  }
308
308
 
@@ -357,7 +357,7 @@
357
357
  align-items: center;
358
358
 
359
359
  .k-icon {
360
- margin-inline-end: map.get( $kendo-spacing, 2 );
360
+ margin-inline-end: k-spacing(2);
361
361
  }
362
362
  .k-dropdown-list {
363
363
  max-width: 100px;
@@ -7,14 +7,14 @@
7
7
 
8
8
  /// Spacer of the PivotGrid.
9
9
  /// @group pivotgrid
10
- $kendo-pivotgrid-spacer: map.get( $kendo-spacing, 3 ) !default;
10
+ $kendo-pivotgrid-spacer: k-spacing(3) !default;
11
11
 
12
12
  /// Horizontal padding of the PivotGrid.
13
13
  /// @group pivotgrid
14
- $kendo-pivotgrid-padding-x: 0px !default;
14
+ $kendo-pivotgrid-padding-x: k-spacing(0) !default;
15
15
  /// Vertical of the PivotGrid.
16
16
  /// @group pivotgrid
17
- $kendo-pivotgrid-padding-y: 0px !default;
17
+ $kendo-pivotgrid-padding-y: k-spacing(0) !default;
18
18
  /// Font family of the PivotGrid.
19
19
  /// @group pivotgrid
20
20
  $kendo-pivotgrid-font-family: var( --kendo-font-family, inherit ) !default;
@@ -29,7 +29,7 @@ $kendo-pivotgrid-line-height: var( --kendo-line-height, normal ) !default;
29
29
  $kendo-pivotgrid-border-width: 1px !default;
30
30
  /// Icon spacing of the PivotGrid.
31
31
  /// @group pivotgrid
32
- $kendo-pivotgrid-icon-spacing: map.get( $kendo-spacing, 1 ) !default;
32
+ $kendo-pivotgrid-icon-spacing: k-spacing(1) !default;
33
33
 
34
34
  /// Background color of the PivotGrid.
35
35
  /// @group pivotgrid
@@ -107,10 +107,10 @@ $kendo-pivotgrid-focus-shadow: $kendo-list-item-focus-shadow !default;
107
107
 
108
108
  /// Horizontal padding of the PivotGrid configurator.
109
109
  /// @group pivotgrid
110
- $kendo-pivotgrid-configurator-padding-x: 0px !default;
110
+ $kendo-pivotgrid-configurator-padding-x: k-spacing(0) !default;
111
111
  /// Vertical padding of the PivotGrid configurator.
112
112
  /// @group pivotgrid
113
- $kendo-pivotgrid-configurator-padding-y: 0px !default;
113
+ $kendo-pivotgrid-configurator-padding-y: k-spacing(0) !default;
114
114
  /// Border width of the PivotGrid configurator.
115
115
  /// @group pivotgrid
116
116
  $kendo-pivotgrid-configurator-border-width: 1px !default;
@@ -133,17 +133,17 @@ $kendo-pivotgrid-configurator-header-font-weight: var( --kendo-font-weight-bold,
133
133
  $kendo-pivotgrid-configurator-content-padding-x: $kendo-pivotgrid-spacer !default;
134
134
  /// Vertical padding of the PivotGrid configurator content.
135
135
  /// @group pivotgrid
136
- $kendo-pivotgrid-configurator-content-padding-y: 0px !default;
136
+ $kendo-pivotgrid-configurator-content-padding-y: k-spacing(0) !default;
137
137
 
138
138
  /// Horizontal margin of the PivotGrid configurator fields.
139
139
  /// @group pivotgrid
140
- $kendo-pivotgrid-configurator-fields-margin-x: 0px !default;
140
+ $kendo-pivotgrid-configurator-fields-margin-x: k-spacing(0) !default;
141
141
  /// Vertical margin of the PivotGrid configurator fields.
142
142
  /// @group pivotgrid
143
- $kendo-pivotgrid-configurator-fields-margin-y: math.div( $kendo-pivotgrid-spacer, 2 ) !default;
143
+ $kendo-pivotgrid-configurator-fields-margin-y: calc( #{$kendo-pivotgrid-spacer} / 2 ) !default;
144
144
  /// Spacing of the PivotGrid configurator fields.
145
145
  /// @group pivotgrid
146
- $kendo-pivotgrid-configurator-fields-gap: map.get( $kendo-spacing, 2) !default;
146
+ $kendo-pivotgrid-configurator-fields-gap: k-spacing(2) !default;
147
147
 
148
148
  /// Default width of the PivotGrid vertical configurator.
149
149
  /// @group pivotgrid
@@ -174,19 +174,19 @@ $kendo-pivotgrid-configurator-header-border: inherit !default;
174
174
 
175
175
  /// Horizontal padding of the PivotGrid configurator button.
176
176
  /// @group pivotgrid
177
- $kendo-pivotgrid-configurator-button-padding-x: map.get( $kendo-spacing, 1 ) !default;
177
+ $kendo-pivotgrid-configurator-button-padding-x: k-spacing(1) !default;
178
178
  /// Vertical padding of the PivotGrid configurator button.
179
179
  /// @group pivotgrid
180
- $kendo-pivotgrid-configurator-button-padding-y: map.get( $kendo-spacing, 1 ) !default;
180
+ $kendo-pivotgrid-configurator-button-padding-y: k-spacing(1) !default;
181
181
  /// Border width of the PivotGrid configurator button.
182
182
  /// @group pivotgrid
183
183
  $kendo-pivotgrid-configurator-button-border-width: 1px !default;
184
184
  /// Size of the PivotGrid configurator button.
185
185
  /// @group pivotgrid
186
- $kendo-pivotgrid-configurator-button-size: calc( #{$kendo-pivotgrid-line-height} * 1em + #{$kendo-pivotgrid-configurator-button-padding-y * 2} + #{$kendo-pivotgrid-configurator-button-border-width * 2} ) !default;
186
+ $kendo-pivotgrid-configurator-button-size: calc( calc( #{$kendo-pivotgrid-line-height} * 1em ) + calc( #{$kendo-pivotgrid-configurator-button-padding-y} * 2 ) + calc( #{$kendo-pivotgrid-configurator-button-border-width} * 2 ) ) !default;
187
187
  /// Icon spacing of the PivotGrid configurator button.
188
188
  /// @group pivotgrid
189
- $kendo-pivotgrid-configurator-button-icon-spacing: map.get( $kendo-spacing, 2 ) !default;
189
+ $kendo-pivotgrid-configurator-button-icon-spacing: k-spacing(2) !default;
190
190
 
191
191
  /// Horizontal padding of the PivotGrid calculated field.
192
192
  /// @group pivotgrid
@@ -199,7 +199,7 @@ $kendo-pivotgrid-calculated-field-padding-y: $kendo-pivotgrid-spacer !default;
199
199
  $kendo-pivotgrid-calculated-field-border-width: 1px !default;
200
200
  /// Border radius of the PivotGrid calculated field.
201
201
  /// @group pivotgrid
202
- $kendo-pivotgrid-calculated-field-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) !default;
202
+ $kendo-pivotgrid-calculated-field-border-radius: k-border-radius(md) !default;
203
203
  /// Spacing of the PivotGrid calculated field.
204
204
  /// @group pivotgrid
205
205
  $kendo-pivotgrid-calculated-field-gap: $kendo-pivotgrid-spacer !default;
@@ -225,10 +225,10 @@ $kendo-pivotgrid-calculated-field-header-border: inherit !default;
225
225
 
226
226
  /// Horizontal padding of the PivotGrid treeview.
227
227
  /// @group pivotgrid
228
- $kendo-pivotgrid-treeview-padding-x: math.div( $kendo-pivotgrid-spacer, 2 ) !default;
228
+ $kendo-pivotgrid-treeview-padding-x: calc( #{$kendo-pivotgrid-spacer} / 2 ) !default;
229
229
  /// Vertical padding of the PivotGrid treeview.
230
230
  /// @group pivotgrid
231
- $kendo-pivotgrid-treeview-padding-y: 0px !default;
231
+ $kendo-pivotgrid-treeview-padding-y: k-spacing(0) !default;
232
232
 
233
233
  // Legacy variables
234
234
  $kendo-pivotgrid-alt-bg: $kendo-grid-header-bg !default;
@@ -75,11 +75,11 @@ $kendo-popover-actions-padding-x: $kendo-popover-body-padding-x !default;
75
75
  $kendo-popover-actions-padding-y: $kendo-popover-body-padding-y !default;
76
76
  /// The spacing between the Popover actions.
77
77
  /// @group popover
78
- $kendo-popover-actions-gap: map.get( $kendo-spacing, 3 ) !default;
78
+ $kendo-popover-actions-gap: k-spacing(3) !default;
79
79
 
80
80
  /// The width of the Popover callout.
81
81
  /// @group popover
82
- $kendo-popover-callout-width: map.get( $kendo-spacing, 5 ) !default;
82
+ $kendo-popover-callout-width: k-spacing(5) !default;
83
83
  /// The height of the Popover callout.
84
84
  /// @group popover
85
85
  $kendo-popover-callout-height: $kendo-popover-callout-width !default;
@@ -3,16 +3,16 @@
3
3
 
4
4
  /// Horizontal padding of the popup.
5
5
  /// @group popup
6
- $kendo-popup-padding-x: 0 !default;
6
+ $kendo-popup-padding-x: k-spacing(0) !default;
7
7
  /// Vertical padding of the popup.
8
8
  /// @group popup
9
- $kendo-popup-padding-y: 0 !default;
9
+ $kendo-popup-padding-y: k-spacing(0) !default;
10
10
  /// Width of the border around the popup.
11
11
  /// @group popup
12
12
  $kendo-popup-border-width: 0 !default;
13
13
  /// Border radius of the popup.
14
14
  /// @group popup
15
- $kendo-popup-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) !default;
15
+ $kendo-popup-border-radius: k-border-radius(md) !default;
16
16
 
17
17
  /// Font size of the popup.
18
18
  /// @group popup
@@ -23,10 +23,10 @@ $kendo-popup-line-height: var( --kendo-line-height, normal) !default;
23
23
 
24
24
  /// Horizontal padding of the content inside the popup.
25
25
  /// @group popup
26
- $kendo-popup-content-padding-x: map.get( $kendo-spacing, 2 ) !default;
26
+ $kendo-popup-content-padding-x: k-spacing(2) !default;
27
27
  /// Vertical padding of the content inside the popup.
28
28
  /// @group popup
29
- $kendo-popup-content-padding-y: map.get( $kendo-spacing, 2 ) !default;
29
+ $kendo-popup-content-padding-y: k-spacing(2) !default;
30
30
 
31
31
  /// Background color of the popup.
32
32
  /// @group popup
@@ -27,10 +27,10 @@ $kendo-progressbar-font-size: var( --kendo-font-size-sm, inherit ) !default;
27
27
  $kendo-progressbar-line-height: var( --kendo-line-height, inherit ) !default;
28
28
  /// The horizontal padding of the ProgressBar.
29
29
  /// @group progressbar
30
- $kendo-progressbar-padding-x: 0 !default;
30
+ $kendo-progressbar-padding-x: k-spacing(0) !default;
31
31
  /// The vertical padding of the ProgressBar.
32
32
  /// @group progressbar
33
- $kendo-progressbar-padding-y: 0 !default;
33
+ $kendo-progressbar-padding-y: k-spacing(0) !default;
34
34
 
35
35
  /// The background color of the ProgressBar.
36
36
  /// @group progressbar
@@ -60,7 +60,7 @@ $kendo-progressbar-value-gradient: null !default;
60
60
 
61
61
  /// The progress status offset of the ProgressBar.
62
62
  /// @group progressbar
63
- $kendo-progressbar-offset-y: map.get( $kendo-spacing, 2 ) !default;
63
+ $kendo-progressbar-offset-y: k-spacing(2) !default;
64
64
  /// The progress status offset of the vertical ProgressBar.
65
65
  /// @group progressbar
66
66
  $kendo-progressbar-vertical-status-offset: calc( (#{$kendo-progressbar-font-size} * #{$kendo-progressbar-line-height} + #{$kendo-progressbar-offset-y}) * -1) !default;
@@ -111,4 +111,4 @@ $kendo-progressbar-chunk-border: var( --kendo-body-bg, initial ) !default;
111
111
  $kendo-circular-progressbar-arc-stroke: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
112
112
  /// The scale stroke background color of the circular ProgressBar.
113
113
  /// @group progressbar
114
- $kendo-circular-progressbar-scale-stroke: $kendo-progressbar-bg !default;
114
+ $kendo-circular-progressbar-scale-stroke: $kendo-progressbar-bg !default;
@@ -23,13 +23,13 @@ $kendo-prompt-header-border: var( --kendo-component-border, initial ) !default;
23
23
 
24
24
  /// The vertical padding of the Prompt content.
25
25
  /// @group prompt
26
- $kendo-prompt-content-padding-y: map.get( $kendo-spacing, 4 ) !default;
26
+ $kendo-prompt-content-padding-y: k-spacing(4) !default;
27
27
  /// The horizontal padding of the Prompt content.
28
28
  /// @group prompt
29
- $kendo-prompt-content-padding-x: map.get( $kendo-spacing, 4 ) !default;
29
+ $kendo-prompt-content-padding-x: k-spacing(4) !default;
30
30
  /// The spacing between the items of the Prompt content.
31
31
  /// @group prompt
32
- $kendo-prompt-content-spacing: map.get( $kendo-spacing, 4 ) !default;
32
+ $kendo-prompt-content-spacing: k-spacing(4) !default;
33
33
  /// The text color of the Prompt content.
34
34
  /// @group prompt
35
35
  $kendo-prompt-content-text: k-get-theme-color-var( neutral-190 ) !default;
@@ -42,17 +42,17 @@ $kendo-prompt-content-border: var( --kendo-component-border, initial ) !default;
42
42
 
43
43
  /// The spacing between the items of the Prompt content expander.
44
44
  /// @group prompt
45
- $kendo-prompt-expander-spacing: map.get( $kendo-spacing, 2 ) !default;
45
+ $kendo-prompt-expander-spacing: k-spacing(2) !default;
46
46
 
47
47
  /// The vertical padding of the Prompt suggestion container.
48
48
  /// @group prompt
49
- $kendo-prompt-suggestion-padding-y: map.get( $kendo-spacing, 2 ) !default;
49
+ $kendo-prompt-suggestion-padding-y: k-spacing(2) !default;
50
50
  /// The horizontal padding of the Prompt suggestion container.
51
51
  /// @group prompt
52
- $kendo-prompt-suggestion-padding-x: map.get( $kendo-spacing, 2 ) !default;
52
+ $kendo-prompt-suggestion-padding-x: k-spacing(2) !default;
53
53
  /// The border radius of the Prompt suggestion container.
54
54
  /// @group prompt
55
- $kendo-prompt-suggestion-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) !default;
55
+ $kendo-prompt-suggestion-border-radius: k-border-radius(md) !default;
56
56
  /// The text color of the Prompt suggestion container.
57
57
  /// @group prompt
58
58
  $kendo-prompt-suggestion-text: var( --kendo-component-text, initial ) !default;