@progress/kendo-theme-fluent 9.1.0-dev.1 → 9.1.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.
@@ -9883,6 +9883,22 @@
9883
9883
  "type": "String",
9884
9884
  "value": "var(--kendo-line-height, normal)"
9885
9885
  },
9886
+ "kendo-menu-bg": {
9887
+ "type": "Color",
9888
+ "value": "transparent"
9889
+ },
9890
+ "kendo-menu-text": {
9891
+ "type": "String",
9892
+ "value": "var(--kendo-body-text, inherit)"
9893
+ },
9894
+ "kendo-menu-border": {
9895
+ "type": "String",
9896
+ "value": "initial"
9897
+ },
9898
+ "kendo-menu-shadow": {
9899
+ "type": "String",
9900
+ "value": "none"
9901
+ },
9886
9902
  "kendo-menu-item-padding-x": {
9887
9903
  "type": "String",
9888
9904
  "value": "var(--kendo-spacing-2, 0.5rem)"
@@ -9899,41 +9915,9 @@
9899
9915
  "type": "String",
9900
9916
  "value": "var(--kendo-icon-spacing, 0.5rem)"
9901
9917
  },
9902
- "kendo-menu-separator-margin": {
9903
- "type": "String",
9904
- "value": "var(--kendo-spacing-1, 0.25rem)"
9905
- },
9906
- "kendo-menu-separator-width": {
9907
- "type": "Number",
9908
- "value": "1px"
9909
- },
9910
- "kendo-menu-item-focus-outline-offset": {
9911
- "type": "Calculation",
9912
- "value": "calc(var(--kendo-spacing-0\\.5, 0.125rem) * -1)"
9913
- },
9914
- "kendo-menu-item-focus-outline-width": {
9915
- "type": "Number",
9916
- "value": "1px"
9917
- },
9918
- "kendo-menu-item-focus-outline-style": {
9919
- "type": "String",
9920
- "value": "solid"
9921
- },
9922
- "kendo-menu-text": {
9923
- "type": "String",
9924
- "value": "var(--kendo-body-text, inherit)"
9925
- },
9926
- "kendo-menu-bg": {
9927
- "type": "Color",
9928
- "value": "transparent"
9929
- },
9930
- "kendo-menu-border": {
9918
+ "kendo-menu-item-selected-font-weight": {
9931
9919
  "type": "String",
9932
- "value": "initial"
9933
- },
9934
- "kendo-menu-shadow": {
9935
- "type": "String",
9936
- "value": "none"
9920
+ "value": "var(--kendo-font-weight-bold, normal)"
9937
9921
  },
9938
9922
  "kendo-menu-item-text": {
9939
9923
  "type": "String",
@@ -9951,6 +9935,14 @@
9951
9935
  "type": "String",
9952
9936
  "value": "var(--kendo-hover-bg, initial)"
9953
9937
  },
9938
+ "kendo-menu-item-active-text": {
9939
+ "type": "String",
9940
+ "value": "var(--kendo-hover-text, inherit)"
9941
+ },
9942
+ "kendo-menu-item-active-bg": {
9943
+ "type": "String",
9944
+ "value": "var(--kendo-selected-bg, initial)"
9945
+ },
9954
9946
  "kendo-menu-item-focus-text": {
9955
9947
  "type": "String",
9956
9948
  "value": "var(--kendo-body-text, inherit)"
@@ -9963,13 +9955,17 @@
9963
9955
  "type": "String",
9964
9956
  "value": "var(--kendo-focus-outline, none)"
9965
9957
  },
9966
- "kendo-menu-item-expanded-text": {
9967
- "type": "String",
9968
- "value": "var(--kendo-hover-text, inherit)"
9958
+ "kendo-menu-item-focus-outline-offset": {
9959
+ "type": "Calculation",
9960
+ "value": "calc(var(--kendo-spacing-0\\.5, 0.125rem) * -1)"
9969
9961
  },
9970
- "kendo-menu-item-expanded-bg": {
9962
+ "kendo-menu-item-focus-outline-width": {
9963
+ "type": "Number",
9964
+ "value": "1px"
9965
+ },
9966
+ "kendo-menu-item-focus-outline-style": {
9971
9967
  "type": "String",
9972
- "value": "var(--kendo-selected-bg, initial)"
9968
+ "value": "solid"
9973
9969
  },
9974
9970
  "kendo-menu-item-disabled-text": {
9975
9971
  "type": "String",
@@ -9979,6 +9975,30 @@
9979
9975
  "type": "Color",
9980
9976
  "value": "transparent"
9981
9977
  },
9978
+ "kendo-menu-item-selected-text": {
9979
+ "type": "Null",
9980
+ "value": "null"
9981
+ },
9982
+ "kendo-menu-item-selected-bg": {
9983
+ "type": "Null",
9984
+ "value": "null"
9985
+ },
9986
+ "kendo-menu-separator-margin-inline": {
9987
+ "type": "String",
9988
+ "value": "var(--kendo-spacing-1, 0.25rem)"
9989
+ },
9990
+ "kendo-menu-separator-margin-block": {
9991
+ "type": "String",
9992
+ "value": "var(--kendo-spacing-3, 0.75rem)"
9993
+ },
9994
+ "kendo-menu-separator-width": {
9995
+ "type": "Number",
9996
+ "value": "1px"
9997
+ },
9998
+ "kendo-menu-separator-border": {
9999
+ "type": "String",
10000
+ "value": "color-mix(in srgb, var(--kendo-color-border, #8a8886) 16%, transparent)"
10001
+ },
9982
10002
  "kendo-menu-popup-padding-x": {
9983
10003
  "type": "String",
9984
10004
  "value": "var(--kendo-spacing-0, 0px)"
@@ -10176,11 +10196,11 @@
10176
10196
  "type": "String",
10177
10197
  "value": "var(--kendo-color-base-emphasis, #605e5c)"
10178
10198
  },
10179
- "kendo-menu-popup-item-expanded-text": {
10199
+ "kendo-menu-popup-item-active-text": {
10180
10200
  "type": "String",
10181
10201
  "value": "var(--kendo-color-on-app-surface, #323130)"
10182
10202
  },
10183
- "kendo-menu-popup-item-expanded-bg": {
10203
+ "kendo-menu-popup-item-active-bg": {
10184
10204
  "type": "String",
10185
10205
  "value": "var(--kendo-color-base-active, #edebe9)"
10186
10206
  },
@@ -3,7 +3,7 @@
3
3
  "name": "All",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-fluent",
6
- "version": "9.1.0-dev.1",
6
+ "version": "9.1.0-dev.2",
7
7
  "api": "modern",
8
8
  "previewColors": [
9
9
  "#ffffff",
@@ -3,7 +3,7 @@
3
3
  "name": "Fluent Main Dark",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-fluent",
6
- "version": "9.1.0-dev.1",
6
+ "version": "9.1.0-dev.2",
7
7
  "api": "modern",
8
8
  "previewColors": [
9
9
  "#ffffff",
@@ -3,7 +3,7 @@
3
3
  "name": "Fluent Main",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-fluent",
6
- "version": "9.1.0-dev.1",
6
+ "version": "9.1.0-dev.2",
7
7
  "api": "modern",
8
8
  "previewColors": [
9
9
  "#ffffff",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-fluent",
3
3
  "description": "A css variables based theme for Kendo UI that follows the Fluent design system guidelines.",
4
- "version": "9.1.0-dev.1",
4
+ "version": "9.1.0-dev.2",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -52,13 +52,13 @@
52
52
  "postpublish": "echo 'no postpublish for the Fluent theme'"
53
53
  },
54
54
  "dependencies": {
55
- "@progress/kendo-svg-icons": "3.0.0",
56
- "@progress/kendo-theme-core": "9.1.0-dev.1",
57
- "@progress/kendo-theme-utils": "9.1.0-dev.1"
55
+ "@progress/kendo-svg-icons": "^3.1.0",
56
+ "@progress/kendo-theme-core": "9.1.0-dev.2",
57
+ "@progress/kendo-theme-utils": "9.1.0-dev.2"
58
58
  },
59
59
  "directories": {
60
60
  "doc": "docs",
61
61
  "lib": "lib"
62
62
  },
63
- "gitHead": "ddc5029123cb01e0c0b640ffb9caf17f47160625"
63
+ "gitHead": "96a26672d9be0e3000f416723965ce410b8b1ff0"
64
64
  }
@@ -51,6 +51,10 @@
51
51
  outline-width: var( --kendo-menu-item-focus-outline-width, #{$kendo-menu-item-focus-outline-width} );
52
52
  outline-style: var( --kendo-menu-item-focus-outline-style, #{$kendo-menu-item-focus-outline-style} );
53
53
  }
54
+
55
+ &.k-selected {
56
+ font-weight: var( --kendo-menu-item-selected-font-weight, #{$kendo-menu-item-selected-font-weight} );
57
+ }
54
58
  }
55
59
 
56
60
 
@@ -100,10 +104,11 @@
100
104
  }
101
105
 
102
106
  > .k-separator {
103
- margin: 0 var( --kendo-menu-separator-margin, #{$kendo-menu-separator-margin} );
107
+ margin-block: var(--kendo-menu-separator-margin-block, #{$kendo-menu-separator-margin-block});
108
+ margin-inline: var(--kendo-menu-separator-margin-inline, #{$kendo-menu-separator-margin-inline});
104
109
  width: 0;
105
110
  height: auto;
106
- border-bottom-width: var( --kendo-menu-separator-width, $kendo-menu-separator-width);
111
+ border-left-width: var( --kendo-menu-separator-width, #{$kendo-menu-separator-width});
107
112
  border-style: solid;
108
113
  }
109
114
  }
@@ -112,6 +117,7 @@
112
117
  // Orientation -- vertical
113
118
  .k-menu-vertical {
114
119
  flex-direction: column;
120
+ width: 100%;
115
121
 
116
122
  > .k-menu-item > .k-menu-link {
117
123
  padding-inline-end: var( --kendo-menu-popup-md-item-padding-end, #{$kendo-menu-popup-md-item-padding-end} );
@@ -127,7 +133,8 @@
127
133
  }
128
134
 
129
135
  > .k-separator {
130
- margin: var( --kendo-menu-separator-margin, #{$kendo-menu-separator-margin} ) 0;
136
+ margin-block: var(--kendo-menu-separator-margin-inline, #{$kendo-menu-separator-margin-inline});
137
+ margin-inline: 0;
131
138
  height: 0;
132
139
  border-width: 1px 0 0;
133
140
  border-style: solid;
@@ -151,6 +158,10 @@
151
158
  *::after {
152
159
  box-sizing: border-box;
153
160
  }
161
+
162
+ .k-menu-item {
163
+ font-weight: initial;
164
+ }
154
165
  }
155
166
 
156
167
 
@@ -178,10 +189,11 @@
178
189
  }
179
190
 
180
191
  .k-separator {
181
- margin: var( --kendo-menu-separator-margin, $kendo-menu-separator-margin ) 0;
192
+ margin-block: var( --kendo-menu-separator-margin-inline, #{$kendo-menu-separator-margin-inline} );
193
+ margin-inline: 0;
182
194
  height: 0;
183
195
  border-width: 0;
184
- border-top-width: var( --kendo-menu-separator-width, $kendo-menu-separator-width);
196
+ border-top-width: var( --kendo-menu-separator-width, #{$kendo-menu-separator-width});
185
197
  border-style: solid;
186
198
  display: block;
187
199
  }
@@ -283,69 +295,20 @@
283
295
  margin: 0;
284
296
  padding: 0;
285
297
  border: 0;
286
- position: relative;
298
+ display: flex;
299
+ align-items: center;
287
300
 
288
301
  .k-menu {
289
302
  overflow: hidden;
290
303
  flex-wrap: nowrap;
291
304
  }
305
+ }
292
306
 
293
- .k-menu-scroll-button {
294
- padding: 0;
295
- border-width: 0;
296
- border-style: solid;
297
- border-color: inherit;
298
- color: inherit;
299
- background: inherit;
300
- position: absolute;
301
-
302
- &.k-scroll-up {
303
- top: 0;
304
- left: 0;
305
- width: 100%;
306
- height: var( --kendo-icon-size, 1rem );
307
- border-bottom-width: 1px;
308
-
309
- .k-font-icon::before {
310
- content: "\e013";
311
- }
312
- }
313
-
314
- &.k-scroll-right {
315
- top: 0;
316
- right: 0;
317
- height: 100%;
318
- width: var( --kendo-icon-size, 1rem );
319
- border-left-width: 1px;
320
-
321
- .k-font-icon::before {
322
- content: "\e014";
323
- }
324
- }
325
-
326
- &.k-scroll-down {
327
- bottom: 0;
328
- left: 0;
329
- width: 100%;
330
- height: var( --kendo-icon-size, 1rem );
331
- border-top-width: 1px;
332
-
333
- .k-font-icon::before {
334
- content: "\e015";
335
- }
336
- }
337
-
338
- &.k-scroll-left {
339
- top: 0;
340
- left: 0;
341
- height: 100%;
342
- width: var( --kendo-icon-size, 1rem );
343
- border-right-width: 1px;
307
+ .k-menu-scroll-wrapper-vertical {
308
+ flex-direction: column;
344
309
 
345
- .k-font-icon::before {
346
- content: "\e016";
347
- }
348
- }
310
+ > .k-menu-scroll-button {
311
+ width: 100%;
349
312
  }
350
313
  }
351
314
 
@@ -27,18 +27,29 @@
27
27
 
28
28
  &:active,
29
29
  &.k-active {
30
- color: var( --kendo-menu-item-expanded-text, #{$kendo-menu-item-expanded-text} );
31
- background-color: var( --kendo-menu-item-expanded-bg, #{$kendo-menu-item-expanded-bg} );
30
+ color: var( --kendo-menu-item-active-text, #{$kendo-menu-item-active-text} );
31
+ background-color: var( --kendo-menu-item-active-bg, #{$kendo-menu-item-active-bg} );
32
32
  }
33
33
 
34
34
  &.k-disabled {
35
35
  color: var( --kendo-menu-item-disabled-text, #{$kendo-menu-item-disabled-text} );
36
36
  background-color: var( --kendo-menu-item-disabled-bg, #{$kendo-menu-item-disabled-bg} );
37
37
  }
38
+
39
+ &.k-selected {
40
+ color: var( --kendo-menu-item-selected-text, #{$kendo-menu-item-selected-text} );
41
+ background-color: var( --kendo-menu-item-selected-bg, #{$kendo-menu-item-selected-bg} );
42
+ }
38
43
  }
39
44
 
40
45
  .k-link > .k-icon {
41
- color: var( --kendo-menu-icon-color, $kendo-menu-icon-color );
46
+ color: var( --kendo-menu-icon-color, #{$kendo-menu-icon-color} );
47
+ }
48
+
49
+ > .k-separator {
50
+ @include fill(
51
+ $border: var( --kendo-menu-separator-border, #{$kendo-menu-separator-border} )
52
+ );
42
53
  }
43
54
 
44
55
  }
@@ -67,8 +78,8 @@
67
78
  &:active,
68
79
  &.k-active,
69
80
  &.k-selected {
70
- color: var( --kendo-menu-popup-item-expanded-text, #{$kendo-menu-popup-item-expanded-text} );
71
- background-color: var( --kendo-menu-popup-item-expanded-bg, #{$kendo-menu-popup-item-expanded-bg} );
81
+ color: var( --kendo-menu-popup-item-active-text, #{$kendo-menu-popup-item-active-text} );
82
+ background-color: var( --kendo-menu-popup-item-active-bg, #{$kendo-menu-popup-item-active-bg} );
72
83
  }
73
84
 
74
85
  &.k-disabled {
@@ -88,6 +99,12 @@
88
99
  }
89
100
  }
90
101
  }
102
+
103
+ > .k-separator {
104
+ @include fill(
105
+ $border: var( --kendo-menu-separator-border, #{$kendo-menu-separator-border} )
106
+ );
107
+ }
91
108
  }
92
109
 
93
110
  .k-menu-scroll-wrapper .k-menu-scroll-button {