@progress/kendo-theme-fluent 6.4.0-dev.0 → 6.4.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.
@@ -3,7 +3,7 @@
3
3
  "name": "All",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-fluent",
6
- "version": "6.4.0-dev.0",
6
+ "version": "6.4.0-dev.1",
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": "6.4.0-dev.0",
6
+ "version": "6.4.0-dev.1",
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": "6.4.0-dev.0",
4
+ "version": "6.4.0-dev.1",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -50,8 +50,8 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@progress/kendo-font-icons": "1.4.2",
53
- "@progress/kendo-theme-core": "6.4.0-dev.0",
54
- "@progress/kendo-theme-utils": "6.4.0-dev.0"
53
+ "@progress/kendo-theme-core": "6.4.0-dev.1",
54
+ "@progress/kendo-theme-utils": "6.4.0-dev.1"
55
55
  },
56
- "gitHead": "862cb1931ece807ea4ae7496ce5033bf3f3eea30"
56
+ "gitHead": "a4d65b253b00a333fea62e6217175ff79a8ac3b0"
57
57
  }
@@ -218,7 +218,7 @@
218
218
  border-width: var( --kendo-actionsheet-border-width, #{$kendo-actionsheet-border-width} );
219
219
  border-top-width: 0;
220
220
  top: 0;
221
- left: 50%;
221
+ inset-inline-start: 50%;
222
222
  transform: translateX( -50% );
223
223
  }
224
224
 
@@ -227,7 +227,7 @@
227
227
  border-width: var( --kendo-actionsheet-border-width, #{$kendo-actionsheet-border-width} );
228
228
  border-bottom-width: 0;
229
229
  bottom: 0;
230
- left: 50%;
230
+ inset-inline-start: 50%;
231
231
  transform: translateX( -50% );
232
232
  }
233
233
 
@@ -363,6 +363,15 @@
363
363
  flex-flow: column nowrap;
364
364
  }
365
365
  }
366
+
367
+ // RTL
368
+ .k-rtl,
369
+ [dir="rtl"] {
370
+ .k-actionsheet-top,
371
+ .k-actionsheet-bottom {
372
+ transform: translateX( 50% );
373
+ }
374
+ }
366
375
  }
367
376
 
368
377
  @mixin kendo-action-sheet--layout-jq() {
@@ -315,15 +315,11 @@
315
315
  .k-task {
316
316
  display: flex;
317
317
  align-items: center;
318
+ gap: .5em;
318
319
 
319
320
  .k-scheduler-mark {
320
321
  border-radius: 50%;
321
- }
322
-
323
- .k-i-reload,
324
- .k-i-arrow-rotate-cw {
325
- font-size: 1em;
326
- margin-right: .5em;
322
+ margin: 0;
327
323
  }
328
324
 
329
325
  .k-scheduler-task-text {
@@ -185,16 +185,26 @@
185
185
 
186
186
  .k-svg-icon,
187
187
  .k-icon {
188
- height: auto;
189
- font-size: var( --kendo-drawer-icon-size, #{$kendo-drawer-icon-size} );
190
- line-height: var( --kendo-drawer-item-line-height, #{$kendo-drawer-item-line-height} );
191
188
  flex-shrink: 0;
189
+ padding-inline: var( --kendo-drawer-icon-padding-x, #{$kendo-drawer-icon-padding-x} );
190
+ padding-block: var( --kendo-drawer-icon-padding-y, #{$kendo-drawer-icon-padding-y} );
191
+ box-sizing: content-box;
192
192
 
193
193
  &.k-i-none {
194
194
  margin: 0;
195
195
  }
196
196
  }
197
197
 
198
+ .k-icon {
199
+ height: auto;
200
+ font-size: var( --kendo-drawer-icon-size, #{$kendo-drawer-icon-size} );
201
+ }
202
+
203
+ .k-svg-icon {
204
+ width: var( --kendo-drawer-icon-size, #{$kendo-drawer-icon-size} );
205
+ height: var( --kendo-drawer-icon-size, #{$kendo-drawer-icon-size} );
206
+ }
207
+
198
208
  .k-item-text {
199
209
  display: inline-block;
200
210
  white-space: nowrap;
@@ -68,6 +68,12 @@ $kendo-drawer-item-level-count: 5 !default;
68
68
  /// Icon size of the drawer item.
69
69
  /// @group drawer
70
70
  $kendo-drawer-icon-size: var( --kendo-icon-size, 1rem ) !default;
71
+ /// Horizontal padding of the drawer icon.
72
+ /// @group drawer
73
+ $kendo-drawer-icon-padding-x: 0 !default;
74
+ /// Vertical padding of the drawer icon.
75
+ /// @group drawer
76
+ $kendo-drawer-icon-padding-y: map.get( $kendo-spacing, 1 ) !default;
71
77
 
72
78
  /// Initial width of the mini drawer.
73
79
  /// @group drawer
@@ -55,8 +55,9 @@
55
55
 
56
56
  // FAB Icon
57
57
  .k-fab-icon {
58
- width: var( --kendo-fab-icon-width, #{$kendo-fab-icon-width} );
59
- height: var( --kendo-fab-icon-height, #{$kendo-fab-icon-height} );
58
+ padding-inline: var( --kendo-fab-icon-padding-x, #{$kendo-fab-icon-padding-x} );
59
+ padding-block: var( --kendo-fab-icon-padding-y, #{$kendo-fab-icon-padding-y} );
60
+ box-sizing: content-box;
60
61
 
61
62
  .k-icon-wrapper-host:not(:only-child) &,
62
63
  &:not(:only-child) {
@@ -154,8 +155,6 @@
154
155
  }
155
156
 
156
157
  .k-fab-item-icon {
157
- width: var( --kendo-fab-item-icon-width, #{$kendo-fab-item-icon-width} );
158
- height: var( --kendo-fab-item-icon-height, #{$kendo-fab-item-icon-height} );
159
158
  padding-inline: var( --kendo-fab-item-icon-padding-x, #{$kendo-fab-item-icon-padding-x} );
160
159
  padding-block: var( --kendo-fab-item-icon-padding-y, #{$kendo-fab-item-icon-padding-y} );
161
160
  border-width: var( --kendo-fab-item-icon-border-width, #{$kendo-fab-item-icon-border-width} );
@@ -43,12 +43,12 @@ $kendo-fab-focus-outline-width: $kendo-button-focus-outline-width !default;
43
43
  /// @group floating-action-button
44
44
  $kendo-fab-focus-outline-style: $kendo-button-focus-outline-style !default;
45
45
 
46
- /// FAB icon width.
46
+ /// Horizontal padding of the FAB icon.
47
47
  /// @group floating-action-button
48
- $kendo-fab-icon-width: 20px !default;
49
- /// FAB icon height.
48
+ $kendo-fab-icon-padding-x: map.get( $kendo-spacing, 0.5 ) !default; // sass-lint:disable-line leading-zero
49
+ /// Vertical padding of the FAB icon.
50
50
  /// @group floating-action-button
51
- $kendo-fab-icon-height: $kendo-fab-icon-width !default;
51
+ $kendo-fab-icon-padding-y: $kendo-fab-icon-padding-x !default;
52
52
  /// FAB icon spacing.
53
53
  /// @group floating-action-button
54
54
  $kendo-fab-icon-spacing: map.get( $kendo-spacing, 0.5 ) !default; // sass-lint:disable-line leading-zero
@@ -97,10 +97,10 @@ $kendo-fab-item-focus-outline-style: $kendo-button-focus-outline-style !default;
97
97
 
98
98
  /// FAB item icon horizontal padding.
99
99
  /// @group floating-action-button
100
- $kendo-fab-item-icon-padding-x: map.get( $kendo-spacing, 2 ) !default;
100
+ $kendo-fab-item-icon-padding-x: map.get( $kendo-spacing, 2 ) + $kendo-fab-icon-padding-x !default;
101
101
  /// FAB item icon vertical padding.
102
102
  /// @group floating-action-button
103
- $kendo-fab-item-icon-padding-y: map.get( $kendo-spacing, 2 ) !default;
103
+ $kendo-fab-item-icon-padding-y: $kendo-fab-item-icon-padding-x !default;
104
104
  /// Width of the FAB item icon border.
105
105
  /// @group floating-action-button
106
106
  $kendo-fab-item-icon-border-width: 1px !default;
@@ -110,12 +110,6 @@ $kendo-fab-item-icon-border-style: solid !default;
110
110
  /// Border radius of the FAB item icon.
111
111
  /// @group floating-action-button
112
112
  $kendo-fab-item-icon-border-radius: 50% !default;
113
- /// Width of the FAB item icon.
114
- /// @group floating-action-button
115
- $kendo-fab-item-icon-width: 20px !default;
116
- /// Height of the FAB item icon.
117
- /// @group floating-action-button
118
- $kendo-fab-item-icon-height: $kendo-fab-item-icon-width !default;
119
113
 
120
114
  /// Theme colors map for the FAB.
121
115
  /// @group floating-action-button
@@ -28,13 +28,16 @@
28
28
  }
29
29
 
30
30
  // RTL icons
31
- .k-rtl .k-i-indent-increase,
32
- .k-rtl .k-i-indent-decrease,
33
- .k-rtl .k-i-caret-alt-right,
34
- .k-rtl .k-i-caret-alt-down,
35
- [dir="rtl"] .k-i-caret-alt-right,
36
- [dir="rtl"] .k-i-caret-alt-down {
37
- transform: scaleX(-1);
31
+ .k-rtl,
32
+ [dir="rtl"] {
33
+ .k-i-indent-increase,
34
+ .k-i-indent-decrease,
35
+ .k-i-caret-alt-right,
36
+ .k-i-caret-alt-left,
37
+ .k-svg-i-caret-alt-right,
38
+ .k-svg-i-caret-alt-left {
39
+ transform: scaleX(-1);
40
+ }
38
41
  }
39
42
 
40
43
  .k-icon-action {
@@ -36,8 +36,8 @@
36
36
  box-sizing: border-box;
37
37
  }
38
38
 
39
- .k-input,
40
- .k-picker {
39
+ > .k-input,
40
+ > .k-picker {
41
41
  border-width: 0 !important; // sass-lint:disable-line no-important
42
42
  color: inherit;
43
43
  background: none;
@@ -226,14 +226,15 @@
226
226
  .k-input-prefix > .k-svg-icon,
227
227
  .k-input-suffix > .k-icon,
228
228
  .k-input-suffix > .k-svg-icon {
229
- width: var( --INTERNAL--kendo-input-icon-size, min-content );
230
- height: var( --INTERNAL--kendo-input-icon-size, min-content );
229
+ padding-inline: var( --INTERNAL--kendo-input-padding-y, #{$kendo-input-md-padding-y} );
230
+ padding-block: var( --INTERNAL--kendo-input-padding-y, #{$kendo-input-md-padding-y} );
231
231
  flex: none;
232
232
  align-self: center;
233
233
  display: inline-flex;
234
234
  flex-flow: row nowrap;
235
235
  align-items: center;
236
236
  justify-content: center;
237
+ box-sizing: content-box;
237
238
  }
238
239
 
239
240
  // Input with SVG icon
@@ -457,7 +457,7 @@ $kendo-input-sizes: (
457
457
  padding-y: $kendo-input-sm-padding-y,
458
458
  font-size: $kendo-input-sm-font-size,
459
459
  line-height: $kendo-input-sm-line-height,
460
- icon-size: calc( var( --kendo-icon-size, 1rem ) + #{$kendo-input-sm-padding-y * 2} ),
460
+ icon-size: calc( var( --kendo-icon-size, 1rem ) + #{$kendo-input-md-padding-y * 2} ),
461
461
  button-padding-x: $kendo-input-sm-padding-y,
462
462
  button-padding-y: $kendo-input-sm-padding-y,
463
463
  button-width: $kendo-input-sm-button-width
@@ -467,7 +467,7 @@ $kendo-input-sizes: (
467
467
  padding-y: $kendo-input-md-padding-y,
468
468
  font-size: $kendo-input-md-font-size,
469
469
  line-height: $kendo-input-md-line-height,
470
- icon-size: calc( var( --kendo-icon-size, 1rem ) + #{$kendo-input-md-padding-y * 2} ),
470
+ icon-size: calc( var( --kendo-icon-size, 1rem ) + #{$kendo-input-sm-padding-y * 2} ),
471
471
  button-padding-x: $kendo-input-md-padding-y,
472
472
  button-padding-y: $kendo-input-md-padding-y,
473
473
  button-width: $kendo-input-md-button-width
@@ -79,11 +79,8 @@
79
79
  &[dir="rtl"],
80
80
  [dir="rtl"] & {
81
81
 
82
- &.k-listbox-toolbar-left,
83
- &.k-listbox-toolbar-right {
84
- .k-listbox-toolbar {
85
- transform: scaleX(-1);
86
- }
82
+ .k-listbox-actions .k-button-icon {
83
+ transform: scaleX(-1);
87
84
  }
88
85
  }
89
86
  }
@@ -35,18 +35,7 @@
35
35
  .k-rtl &,
36
36
  &[dir="rtl"],
37
37
  [dir="rtl"] & {
38
- .k-i-caret-alt-to-left,
39
- .k-i-caret-alt-to-right,
40
- .k-i-caret-alt-left,
41
- .k-i-caret-alt-right,
42
- .k-i-arrow-end-left,
43
- .k-i-arrow-60-left,
44
- .k-i-arrow-60-right,
45
- .k-i-arrow-end-right,
46
- .k-i-seek-w,
47
- .k-i-arrow-w,
48
- .k-i-arrow-e,
49
- .k-i-seek-e {
38
+ .k-pager-nav .k-button-icon {
50
39
  transform: scaleX(-1);
51
40
  }
52
41
  }
@@ -168,11 +168,11 @@
168
168
  }
169
169
 
170
170
  .k-scrollview-prev {
171
- left: 0;
171
+ inset-inline-start: 0;
172
172
  }
173
173
 
174
174
  .k-scrollview-next {
175
- right: 0;
175
+ inset-inline-end: 0;
176
176
  }
177
177
 
178
178
 
@@ -197,4 +197,15 @@
197
197
  pointer-events: none;
198
198
  }
199
199
  }
200
+
201
+ .k-rtl,
202
+ [dir="rtl"] {
203
+ .k-scrollview-prev,
204
+ .k-scrollview-next {
205
+ .k-icon,
206
+ .k-svg-icon {
207
+ transform: scaleX(-1);
208
+ }
209
+ }
210
+ }
200
211
  }
@@ -132,7 +132,8 @@
132
132
  align-items: center;
133
133
  flex: 1;
134
134
 
135
- > .k-i-formula-fx {
135
+ > .k-icon,
136
+ > .k-svg-icon {
136
137
  padding-inline: var( --kendo-padding-y, #{$kendo-padding-md-y} );
137
138
  padding-block: 0;
138
139
  box-sizing: content-box;