@progress/kendo-theme-fluent 6.2.1-dev.0 → 6.2.1-dev.151

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,82 +3,98 @@
3
3
 
4
4
  // Chip
5
5
 
6
- /// Width of the border around the button.
6
+ /// The width of the border around the Chip.
7
7
  /// @group chip
8
8
  $kendo-chip-border-width: 1px !default;
9
- /// The spacing between the text and the icons of the chip.
9
+ /// The spacing between the text and the icons of the Chip.
10
10
  /// @group chip
11
11
  $kendo-chip-spacing: map.get( $kendo-spacing, 1 ) !default;
12
12
 
13
- /// The font family of the chip.
13
+ /// The font family of the Chip.
14
14
  /// @group chip
15
15
  $kendo-chip-font-family: var( --kendo-font-family, inherit ) !default;
16
16
 
17
- /// The chip avatar width.
17
+ /// The width of the Chip' avatar.
18
18
  /// @group chip
19
19
  $kendo-chip-avatar-width: 1em !default;
20
- /// The chip avatar height.
20
+ /// The height of the Chip' avatar.
21
21
  /// @group chip
22
22
  $kendo-chip-avatar-height: 1em !default;
23
- /// The chip avatar flex basis.
23
+ /// The flex basis of the Chip' avatar.
24
24
  /// @group chip
25
25
  $kendo-chip-avatar-flex-basis: 1em !default;
26
- /// The text color of disabled chip.
26
+ /// The text color of the disabled Chip.
27
27
  /// @group chip
28
28
  $kendo-chip-disabled-text: var( --kendo-disabled-text, inherit ) !default;
29
- /// The background of solid disabled chip.
29
+ /// The background color of the solid disabled Chip.
30
30
  /// @group chip
31
31
  $kendo-chip-solid-disabled-bg: var( --kendo-disabled-bg, transparent ) !default;
32
- /// The border of solid disabled chip.
32
+ /// The border color of the solid disabled Chip.
33
33
  /// @group chip
34
34
  $kendo-chip-solid-disabled-border: var( --kendo-disabled-border, inherit ) !default;
35
- /// The background of outline disabled chip.
35
+ /// The background color of the outline disabled Chip.
36
36
  /// @group chip
37
37
  $kendo-chip-outline-disabled-bg: var( $kendo-component-bg, transparent ) !default;
38
- /// The border of outline disabled chip.
38
+ /// The border color of the outline disabled Chip.
39
39
  /// @group chip
40
40
  $kendo-chip-outline-disabled-border: get-theme-color-var( neutral-90 ) !default;
41
41
 
42
- /// Offset of the outline focused chip.
42
+ /// The offset of the outline focused Chip.
43
43
  /// @group chip
44
44
  $kendo-chip-focus-offset: map.get( $kendo-spacing, 0.5 ) !default; // sass-lint:disable-line leading-zero
45
- /// Outline width of the outline focused button.
45
+ /// The outline width of the outline focused Chip.
46
46
  /// @group chip
47
47
  $kendo-chip-focus-outline-width: 1px !default;
48
- /// Outline style of the outline focused button.
48
+ /// The outline style of the outline focused Chip.
49
49
  /// @group chip
50
50
  $kendo-chip-focus-outline-style: solid !default;
51
51
 
52
- /// Horizontal padding of the chip.
52
+ /// The horizontal padding of the small Chip.
53
53
  /// @group chip
54
54
  $kendo-chip-sm-padding-x: map.get( $kendo-spacing, 2 ) !default;
55
+ /// The horizontal padding of the medium Chip.
56
+ /// @group chip
55
57
  $kendo-chip-md-padding-x: map.get( $kendo-spacing, 2 ) !default;
58
+ /// The horizontal padding of the large Chip.
59
+ /// @group chip
56
60
  $kendo-chip-lg-padding-x: map.get( $kendo-spacing, 2 ) !default;
57
61
 
58
- /// Vertical padding of the chip.
62
+ /// The vertical padding of the small Chip.
59
63
  /// @group chip
60
64
  $kendo-chip-sm-padding-y: map.get( $kendo-spacing, 0.5 ) !default; // sass-lint:disable-line leading-zero
65
+ /// The vertical padding of the medium Chip.
66
+ /// @group chip
61
67
  $kendo-chip-md-padding-y: map.get( $kendo-spacing, 1 ) !default;
68
+ /// The vertical padding of the large Chip.
69
+ /// @group chip
62
70
  $kendo-chip-lg-padding-y: map.get( $kendo-spacing, 1.5 ) !default;
63
71
 
64
- /// Font sizes of the chip.
72
+ /// The font size of the small Chip.
65
73
  /// @group chip
66
74
  $kendo-chip-sm-font-size: var( --kendo-font-size, inherit ) !default;
75
+ /// The font size of the medium Chip.
76
+ /// @group chip
67
77
  $kendo-chip-md-font-size: var( --kendo-font-size, inherit ) !default;
78
+ /// The font size of the large Chip.
79
+ /// @group chip
68
80
  $kendo-chip-lg-font-size: var( --kendo-font-size, inherit ) !default;
69
81
 
70
- /// Line heights of the chip that are connected to the $kendo-font-size.
82
+ /// The small Chip's line height that is related to the $kendo-font-size.
71
83
  /// @group chip
72
84
  $kendo-chip-sm-line-height: var( --kendo-line-height, normal ) !default;
85
+ /// The medium Chip's line height that is related to the $kendo-font-size.
86
+ /// @group chip
73
87
  $kendo-chip-md-line-height: var( --kendo-line-height, normal ) !default;
88
+ /// The large Chip's line height that is related to the $kendo-font-size.
89
+ /// @group chip
74
90
  $kendo-chip-lg-line-height: var( --kendo-line-height, normal ) !default;
75
91
 
76
- /// Calculated height of the chip.
92
+ /// The calculated height of the Chip.
77
93
  /// @group chip
78
94
  $kendo-chip-calc-size: calc( #{$kendo-chip-md-line-height} * 1em + #{$kendo-chip-md-padding-y} * 2 + #{$kendo-chip-border-width} * 2 ) !default;
79
95
  $kendo-chip-sm-calc-size: calc( #{$kendo-chip-sm-line-height} * 1em + #{$kendo-chip-sm-padding-y} * 2 + #{$kendo-chip-border-width} * 2 ) !default;
80
96
 
81
- /// Sizes map for the chip.
97
+ /// The map with the sizes of the Chip.
82
98
  /// @group chip
83
99
  $kendo-chip-sizes: (
84
100
  sm: (
@@ -106,7 +122,7 @@ $kendo-chip-brand-colors: ( error, success, info ) !default;
106
122
 
107
123
  // Matrices with theme colors in the order: bg, color, border, outline
108
124
 
109
- // Color matrix for the base chip
125
+ // The color matrix for the base Chip
110
126
  $_tc-base-matrix: (
111
127
  solid: (
112
128
  normal: (20, 160, 20),
@@ -128,7 +144,7 @@ $_tc-base-matrix: (
128
144
  ),
129
145
  ) !default;
130
146
 
131
- // Color matrix for error, success, info chips
147
+ // The color matrix for the error, success and info Chips
132
148
  $_tc-brand-matrix: (
133
149
  solid: (
134
150
  normal: (20, 160, 20),
@@ -150,7 +166,7 @@ $_tc-brand-matrix: (
150
166
  )
151
167
  ) !default;
152
168
 
153
- // Color matrix for warning chips
169
+ // The color matrix for the warning Chips
154
170
  $_tc-warning-matrix: (
155
171
  solid: (
156
172
  normal: (20, get-theme-color-var( grey-160 ), 20),
@@ -172,10 +188,10 @@ $_tc-warning-matrix: (
172
188
  )
173
189
  ) !default;
174
190
 
175
- /// Theme colors map for the button.
191
+ /// The theme colors map for the Chip.
176
192
  $kendo-chip-theme-colors: () !default;
177
193
 
178
- // Map for base theme color
194
+ // Map for the base theme color
179
195
  @each $fill-mode, $ui-states in $_tc-base-matrix {
180
196
  $kendo-chip-theme-colors: map.deep-merge(
181
197
  $kendo-chip-theme-colors,
@@ -183,7 +199,7 @@ $kendo-chip-theme-colors: () !default;
183
199
  );
184
200
  }
185
201
 
186
- // Map for brand theme colors
202
+ // Map for the brand theme colors
187
203
  @each $fill-mode, $ui-states in $_tc-brand-matrix {
188
204
  @each $brand-color in $kendo-chip-brand-colors {
189
205
  $kendo-chip-theme-colors: map.deep-merge(
@@ -193,7 +209,7 @@ $kendo-chip-theme-colors: () !default;
193
209
  }
194
210
  }
195
211
 
196
- // Map for warning theme color
212
+ // Map for the warning theme color
197
213
  @each $fill-mode, $ui-states in $_tc-warning-matrix {
198
214
  $kendo-chip-theme-colors: map.deep-merge(
199
215
  $kendo-chip-theme-colors,
@@ -204,7 +220,7 @@ $kendo-chip-theme-colors: () !default;
204
220
 
205
221
  // Chip List
206
222
 
207
- /// The sizes of the chip list.
223
+ /// The sizes of the Chip list.
208
224
  /// @group chip
209
225
  $kendo-chip-list-sizes: (
210
226
  sm: map.get( $kendo-spacing, 1 ),
@@ -103,27 +103,6 @@ $kendo-theme-colors: (
103
103
  ) !default;
104
104
 
105
105
 
106
- // Text colors
107
- @each $theme-color, $color-props in $kendo-theme-colors {
108
- // sass-lint:disable-line no-important
109
- // sass-lint:disable-line class-name-format
110
- $_color: map.get( $color-props, text );
111
-
112
- .k-text-#{$theme-color} {
113
- color: var( --kendo-text-#{$theme-color}, #{$_color} );
114
- }
115
- .\!k-text-#{$theme-color} {
116
- color: var( --kendo-text-#{$theme-color}, #{$_color} ) !important;
117
- }
118
-
119
- .k-bg-#{$theme-color} {
120
- background-color: var( --kendo-bg-#{$theme-color}, #{$_color} );
121
- }
122
- .\!k-bg-#{$theme-color} {
123
- background-color: var( --kendo-bg-#{$theme-color}, #{$_color} ) !important;
124
- }
125
- };
126
-
127
106
  @mixin color-system-styles() {
128
107
  :root {
129
108
  @include css-vars( $kendo-fluent-palettes );
@@ -169,4 +148,27 @@ $kendo-theme-colors: (
169
148
  --kendo-invalid-border: #{$kendo-invalid-border};
170
149
  --kendo-invalid-shadow: #{$kendo-invalid-shadow};
171
150
  }
151
+
152
+ // Text colors
153
+ @each $theme-color, $color-props in $kendo-theme-colors {
154
+ // sass-lint:disable-line no-important
155
+ // sass-lint:disable-line class-name-format
156
+ $_color: map.get( $color-props, text );
157
+
158
+ .k-text-#{$theme-color},
159
+ .k-color-#{$theme-color} {
160
+ color: var( --kendo-text-#{$theme-color}, #{$_color} );
161
+ }
162
+ .\!k-text-#{$theme-color},
163
+ .\!k-color-#{$theme-color} {
164
+ color: var( --kendo-text-#{$theme-color}, #{$_color} ) !important;
165
+ }
166
+
167
+ .k-bg-#{$theme-color} {
168
+ background-color: var( --kendo-bg-#{$theme-color}, #{$_color} );
169
+ }
170
+ .\!k-bg-#{$theme-color} {
171
+ background-color: var( --kendo-bg-#{$theme-color}, #{$_color} ) !important;
172
+ }
173
+ };
172
174
  }
@@ -2,7 +2,6 @@ $components: (
2
2
  // Typography and utils
3
3
  "typography",
4
4
  "utils",
5
- "cursor",
6
5
  "draggable",
7
6
 
8
7
  // Generic content
@@ -49,12 +49,12 @@
49
49
  transform: translateX(-100%);
50
50
  }
51
51
 
52
- k-datetimepicker {
52
+ .k-time-tab .k-datetime-selector {
53
+ &.k-rtl,
53
54
  &[dir="rtl"],
54
- .k-rtl & {
55
- .k-time-tab .k-datetime-selector {
56
- transform: translateX(100%);
57
- }
55
+ .k-rtl &,
56
+ [dir="rtl"] & {
57
+ transform: translateX(100%);
58
58
  }
59
59
  }
60
60
  }
@@ -6,7 +6,9 @@
6
6
  .k-dropdown-tree {}
7
7
 
8
8
  // Dropdowntree popup
9
- .k-popup-dropdowntree {
9
+ .k-popup-dropdowntree, // remove legacy class once updated in components
10
+ .k-dropdowntree-popup,
11
+ .k-multiselecttree-popup {
10
12
  padding: 0;
11
13
 
12
14
  .k-check-all {
@@ -21,7 +21,6 @@
21
21
  display: flex;
22
22
  flex-flow: column nowrap;
23
23
  position: relative;
24
- z-index: 1;
25
24
  -webkit-touch-callout: none;
26
25
  -webkit-tap-highlight-color: $kendo-color-rgba-transparent;
27
26
 
@@ -58,6 +58,7 @@
58
58
  width: var( --kendo-fab-icon-width, #{$kendo-fab-icon-width} );
59
59
  height: var( --kendo-fab-icon-height, #{$kendo-fab-icon-height} );
60
60
 
61
+ .k-icon-wrapper-host:not(:only-child) &,
61
62
  &:not(:only-child) {
62
63
  margin-inline-end: var( --kendo-fab-icon-spacing, #{$kendo-fab-icon-spacing} );
63
64
  margin-inline-start: calc( var( --kendo-fab-icon-spacing, #{$kendo-fab-icon-spacing} ) * -1 );
@@ -126,7 +127,8 @@
126
127
  flex-direction: row;
127
128
 
128
129
  .k-fab-item-text {
129
- margin-inline-end: var( --kendo-fab-item-text-offset-x, #{$kendo-fab-item-text-offset-x} );
130
+ // Needed for fab item positioning in RTL
131
+ margin-right: var( --kendo-fab-item-text-offset-x, #{$kendo-fab-item-text-offset-x} );
130
132
  }
131
133
  }
132
134
 
@@ -134,7 +136,8 @@
134
136
  flex-direction: row-reverse;
135
137
 
136
138
  .k-fab-item-text {
137
- margin-inline-start: var( --kendo-fab-item-text-offset-x, #{$kendo-fab-item-text-offset-x} );
139
+ // Needed for fab item positioning in RTL
140
+ margin-left: var( --kendo-fab-item-text-offset-x, #{$kendo-fab-item-text-offset-x} );
138
141
  }
139
142
  }
140
143
  }
@@ -166,4 +169,15 @@
166
169
  }
167
170
  }
168
171
 
172
+ .k-rtl .k-fab-popup,
173
+ [dir="rtl"] .k-fab-popup {
174
+ .k-fab-item.k-text-left {
175
+ flex-direction: row;
176
+ }
177
+
178
+ .k-fab-item.k-text-right {
179
+ flex-direction: row-reverse;
180
+ }
181
+ }
182
+
169
183
  }
@@ -475,6 +475,15 @@
475
475
  cursor: col-resize;
476
476
  }
477
477
 
478
+ .k-row-resizer {
479
+ width: 100%;
480
+ height: 2px;
481
+ display: block;
482
+ position: absolute;
483
+ inset-block-end: 0;
484
+ cursor: row-resize;
485
+ }
486
+
478
487
  .k-grid-footer {
479
488
  border-block-start-width: var( --kendo-grid-border-width, #{$kendo-grid-border-width} );
480
489
 
@@ -526,4 +526,16 @@
526
526
  border-color: $kendo-grid-border;
527
527
  }
528
528
 
529
+ .k-row-resizer {
530
+ @include fill (
531
+ $bg: var( --kendo-grid-row-resizer-bg, #{$kendo-grid-row-resizer-bg} ),
532
+ );
533
+
534
+ &.k-active {
535
+ @include fill (
536
+ $bg: var( --kendo-grid-row-resizer-active-bg, #{$kendo-grid-row-resizer-active-bg} ),
537
+ );
538
+ }
539
+ }
540
+
529
541
  }
@@ -531,3 +531,10 @@ $kendo-grid-hierarchy-col-width: calc( var( --kendo-icon-size, 1rem ) * 2 ) !def
531
531
  /// Spacing of the grid filterable icon.
532
532
  /// @group grid
533
533
  $kendo-grid-filterable-icon-spacing: calc( #{$kendo-button-calc-size} + #{$kendo-grid-header-menu-spacing} ) !default;
534
+
535
+ /// Background color of the grid row resize indicator
536
+ /// @group grid
537
+ $kendo-grid-row-resizer-bg: get-theme-color-var( neutral-90 ) !default;
538
+ /// Active background color of the grid row indicator
539
+ /// @group grid
540
+ $kendo-grid-row-resizer-active-bg: get-theme-color-var( primary-100 ) !default;