@progress/kendo-theme-core 13.0.0-dev.1 → 13.0.0-dev.3
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.
- package/dist/all.css +1 -1
- package/dist/meta/sassdoc-data.json +514 -400
- package/dist/meta/sassdoc-raw-data.json +246 -196
- package/dist/meta/variables.json +10 -8
- package/package.json +2 -2
- package/scss/components/bubble/_layout.scss +1 -2
- package/scss/components/chat/_layout.scss +88 -132
- package/scss/components/chat/_theme.scss +25 -16
- package/scss/components/chat/_variables.scss +12 -18
- package/scss/components/dropdowntree/_layout.scss +7 -7
- package/scss/components/dropdowntree/_variables.scss +3 -0
- package/scss/components/file-box/_layout.scss +123 -0
- package/scss/components/file-box/_theme.scss +22 -0
- package/scss/components/file-box/_variables.scss +19 -0
- package/scss/components/icons/_theme.scss +7 -1
- package/scss/components/icons/_variables.scss +2 -0
- package/scss/components/list/_layout.scss +64 -4
- package/scss/components/list/_theme.scss +8 -0
- package/scss/components/list/_variables.scss +11 -0
- package/scss/components/prompt-box/_layout.scss +63 -0
- package/scss/components/prompt-box/_theme.scss +7 -0
- package/scss/components/prompt-box/_variables.scss +11 -0
- package/scss/components/segmented-control/_layout.scss +85 -0
- package/scss/components/segmented-control/_theme.scss +38 -0
- package/scss/components/segmented-control/_variables.scss +73 -0
- package/scss/components/smart-box/_layout.scss +85 -0
- package/scss/components/smart-box/_theme.scss +5 -0
- package/scss/components/smart-box/_variables.scss +40 -0
- package/scss/components/suggestion/_layout.scss +36 -11
- package/scss/components/suggestion/_theme.scss +23 -0
- package/scss/components/suggestion/_variables.scss +3 -0
- package/scss/components/switch/_layout.scss +2 -2
- package/scss/components/tabstrip/_layout.scss +30 -0
- package/scss/components/tabstrip/_theme.scss +8 -0
- package/scss/components/toolbar/_layout.scss +3 -0
- package/scss/components/toolbar/_variables.scss +1 -0
- package/scss/components/treeview/_layout.scss +14 -10
- package/scss/components/treeview/_theme.scss +7 -6
- package/scss/components/treeview/_variables.scss +4 -0
- package/scss/elevation/index.scss +1 -2
- package/scss/motion/index.scss +1 -0
- package/scss/typography/index.scss +2 -1
package/dist/meta/variables.json
CHANGED
|
@@ -810,9 +810,9 @@
|
|
|
810
810
|
},
|
|
811
811
|
"default-elevation": {
|
|
812
812
|
"type": "Map",
|
|
813
|
-
"value": "(1:
|
|
813
|
+
"value": "(1: 0 2px 3px rgba(0, 0, 0, 0.04), 2: (0 4px 6px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.12)), 3: (0 6px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.12)), 4: (0 8px 10px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.12)), 5: (0 10px 12px rgba(0, 0, 0, 0.16), 0 4px 16px rgba(0, 0, 0, 0.12)), 6: (0 12px 14px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.12)), 7: (0 14px 16px rgba(0, 0, 0, 0.24), 0 4px 16px rgba(0, 0, 0, 0.12)), 8: (0 16px 18px rgba(0, 0, 0, 0.28), 0 4px 16px rgba(0, 0, 0, 0.12)), 9: (0 32px 34px rgba(0, 0, 0, 0.32), 0 4px 16px rgba(0, 0, 0, 0.12)))",
|
|
814
814
|
"prettyValue": {
|
|
815
|
-
"1": "(0 2px 3px rgba(0, 0, 0, 0.04)
|
|
815
|
+
"1": "(0 2px 3px rgba(0, 0, 0, 0.04))",
|
|
816
816
|
"2": "(0 4px 6px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.12))",
|
|
817
817
|
"3": "(0 6px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.12))",
|
|
818
818
|
"4": "(0 8px 10px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.12))",
|
|
@@ -825,9 +825,9 @@
|
|
|
825
825
|
},
|
|
826
826
|
"kendo-elevation": {
|
|
827
827
|
"type": "Map",
|
|
828
|
-
"value": "(1:
|
|
828
|
+
"value": "(1: 0 2px 3px rgba(0, 0, 0, 0.04), 2: (0 4px 6px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.12)), 3: (0 6px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.12)), 4: (0 8px 10px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.12)), 5: (0 10px 12px rgba(0, 0, 0, 0.16), 0 4px 16px rgba(0, 0, 0, 0.12)), 6: (0 12px 14px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.12)), 7: (0 14px 16px rgba(0, 0, 0, 0.24), 0 4px 16px rgba(0, 0, 0, 0.12)), 8: (0 16px 18px rgba(0, 0, 0, 0.28), 0 4px 16px rgba(0, 0, 0, 0.12)), 9: (0 32px 34px rgba(0, 0, 0, 0.32), 0 4px 16px rgba(0, 0, 0, 0.12)))",
|
|
829
829
|
"prettyValue": {
|
|
830
|
-
"1": "(0 2px 3px rgba(0, 0, 0, 0.04)
|
|
830
|
+
"1": "(0 2px 3px rgba(0, 0, 0, 0.04))",
|
|
831
831
|
"2": "(0 4px 6px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.12))",
|
|
832
832
|
"3": "(0 6px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.12))",
|
|
833
833
|
"4": "(0 8px 10px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.12))",
|
|
@@ -1170,7 +1170,7 @@
|
|
|
1170
1170
|
},
|
|
1171
1171
|
"default-easings": {
|
|
1172
1172
|
"type": "Map",
|
|
1173
|
-
"value": "(linear: cubic-bezier(0, 0, 1, 1), accelerate: cubic-bezier(0.42, 0, 1, 1), decelerate: cubic-bezier(0, 0, 0.58, 1), standard: cubic-bezier(0.42, 0, 0.58, 1), sharp: cubic-bezier(0.75, 0, 0.25, 1), bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55), elastic: cubic-bezier(0.5, -0.5, 0.5, 1.5))",
|
|
1173
|
+
"value": "(linear: cubic-bezier(0, 0, 1, 1), accelerate: cubic-bezier(0.42, 0, 1, 1), decelerate: cubic-bezier(0, 0, 0.58, 1), standard: cubic-bezier(0.42, 0, 0.58, 1), sharp: cubic-bezier(0.75, 0, 0.25, 1), bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55), elastic: cubic-bezier(0.5, -0.5, 0.5, 1.5), stretchy: cubic-bezier(0.07, 1.81, 0.3, 0.81))",
|
|
1174
1174
|
"prettyValue": {
|
|
1175
1175
|
"linear": "cubic-bezier(0, 0, 1, 1)",
|
|
1176
1176
|
"accelerate": "cubic-bezier(0.42, 0, 1, 1)",
|
|
@@ -1178,7 +1178,8 @@
|
|
|
1178
1178
|
"standard": "cubic-bezier(0.42, 0, 0.58, 1)",
|
|
1179
1179
|
"sharp": "cubic-bezier(0.75, 0, 0.25, 1)",
|
|
1180
1180
|
"bounce": "cubic-bezier(0.68, -0.55, 0.265, 1.55)",
|
|
1181
|
-
"elastic": "cubic-bezier(0.5, -0.5, 0.5, 1.5)"
|
|
1181
|
+
"elastic": "cubic-bezier(0.5, -0.5, 0.5, 1.5)",
|
|
1182
|
+
"stretchy": "cubic-bezier(0.07, 1.81, 0.3, 0.81)"
|
|
1182
1183
|
}
|
|
1183
1184
|
},
|
|
1184
1185
|
"default-durations": {
|
|
@@ -1316,7 +1317,7 @@
|
|
|
1316
1317
|
},
|
|
1317
1318
|
"kendo-easings": {
|
|
1318
1319
|
"type": "Map",
|
|
1319
|
-
"value": "(linear: cubic-bezier(0, 0, 1, 1), accelerate: cubic-bezier(0.42, 0, 1, 1), decelerate: cubic-bezier(0, 0, 0.58, 1), standard: cubic-bezier(0.42, 0, 0.58, 1), sharp: cubic-bezier(0.75, 0, 0.25, 1), bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55), elastic: cubic-bezier(0.5, -0.5, 0.5, 1.5))",
|
|
1320
|
+
"value": "(linear: cubic-bezier(0, 0, 1, 1), accelerate: cubic-bezier(0.42, 0, 1, 1), decelerate: cubic-bezier(0, 0, 0.58, 1), standard: cubic-bezier(0.42, 0, 0.58, 1), sharp: cubic-bezier(0.75, 0, 0.25, 1), bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55), elastic: cubic-bezier(0.5, -0.5, 0.5, 1.5), stretchy: cubic-bezier(0.07, 1.81, 0.3, 0.81))",
|
|
1320
1321
|
"prettyValue": {
|
|
1321
1322
|
"linear": "cubic-bezier(0, 0, 1, 1)",
|
|
1322
1323
|
"accelerate": "cubic-bezier(0.42, 0, 1, 1)",
|
|
@@ -1324,7 +1325,8 @@
|
|
|
1324
1325
|
"standard": "cubic-bezier(0.42, 0, 0.58, 1)",
|
|
1325
1326
|
"sharp": "cubic-bezier(0.75, 0, 0.25, 1)",
|
|
1326
1327
|
"bounce": "cubic-bezier(0.68, -0.55, 0.265, 1.55)",
|
|
1327
|
-
"elastic": "cubic-bezier(0.5, -0.5, 0.5, 1.5)"
|
|
1328
|
+
"elastic": "cubic-bezier(0.5, -0.5, 0.5, 1.5)",
|
|
1329
|
+
"stretchy": "cubic-bezier(0.07, 1.81, 0.3, 0.81)"
|
|
1328
1330
|
}
|
|
1329
1331
|
},
|
|
1330
1332
|
"kendo-durations": {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-theme-core",
|
|
3
3
|
"description": "A collection of functions and mixins used for building themes for Kendo UI",
|
|
4
|
-
"version": "13.0.0-dev.
|
|
4
|
+
"version": "13.0.0-dev.3",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"directories": {
|
|
47
47
|
"doc": "docs"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "e416202d88c228d1ab3f6f310633e644b141e642"
|
|
50
50
|
}
|
|
@@ -53,9 +53,8 @@
|
|
|
53
53
|
.k-bubble-expandable-indicator {
|
|
54
54
|
padding-inline: $kendo-bubble-expandable-icon-padding-x;
|
|
55
55
|
padding-block: $kendo-bubble-expandable-icon-padding-y;
|
|
56
|
-
margin-block-start: calc( #{$kendo-bubble-padding-y} * -1);
|
|
57
56
|
margin-inline-end: calc( #{$kendo-bubble-padding-x} * -1);
|
|
58
|
-
margin-block
|
|
57
|
+
margin-block: calc( (#{$kendo-bubble-expandable-icon-padding-y} - #{$kendo-bubble-border-width} * 2 ) * -1);
|
|
59
58
|
display: flex;
|
|
60
59
|
flex-shrink: 0;
|
|
61
60
|
cursor: pointer;
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
@use "../toolbar/_variables.scss" as *;
|
|
8
8
|
@use "../bubble/_variables.scss" as *;
|
|
9
9
|
@use "../button/_variables.scss" as *;
|
|
10
|
+
@use "../file-box/_variables.scss" as *;
|
|
10
11
|
|
|
11
12
|
@mixin kendo-chat--layout-base() {
|
|
12
13
|
|
|
@@ -28,17 +29,19 @@
|
|
|
28
29
|
-webkit-touch-callout: none;
|
|
29
30
|
-webkit-tap-highlight-color: $kendo-color-rgba-transparent;
|
|
30
31
|
|
|
31
|
-
.k-
|
|
32
|
-
|
|
33
|
-
min-width: $kendo-chat-file-min-width;
|
|
34
|
-
max-width: $kendo-chat-file-max-width;
|
|
35
|
-
flex-shrink: 0;
|
|
32
|
+
.k-suggestion {
|
|
33
|
+
font-size: var(--kendo-font-size-sm, inherit);
|
|
36
34
|
}
|
|
37
35
|
}
|
|
38
36
|
|
|
39
37
|
// Chat header
|
|
40
38
|
.k-chat-header {
|
|
41
39
|
flex-shrink: 0;
|
|
40
|
+
width: 100%;
|
|
41
|
+
position: sticky;
|
|
42
|
+
z-index: k-z-index("banner");
|
|
43
|
+
border-inline-width: 0;
|
|
44
|
+
border-block-start-width: 0;
|
|
42
45
|
}
|
|
43
46
|
|
|
44
47
|
// Message list
|
|
@@ -53,7 +56,7 @@
|
|
|
53
56
|
}
|
|
54
57
|
|
|
55
58
|
.k-message-list-content {
|
|
56
|
-
padding-block: $kendo-chat-message-list-padding-y
|
|
59
|
+
padding-block: $kendo-chat-message-list-padding-y;
|
|
57
60
|
padding-inline: $kendo-chat-message-list-padding-x;
|
|
58
61
|
width: 100%;
|
|
59
62
|
box-sizing: border-box;
|
|
@@ -91,27 +94,16 @@
|
|
|
91
94
|
}
|
|
92
95
|
|
|
93
96
|
.k-avatar {
|
|
94
|
-
align-self: flex-
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Add margin to the avatar and user status when the last message is selected
|
|
98
|
-
// so that the avatar is aligned to the bubble and not to the status
|
|
99
|
-
&:has(.k-message-group-content .k-message:last-child .k-chat-bubble.k-selected + .k-message-status) .k-avatar {
|
|
100
|
-
&,
|
|
101
|
-
+ .k-chat-user-status {
|
|
102
|
-
margin-block-end: calc($kendo-chat-message-meta-line-height * $kendo-chat-message-meta-font-size + $kendo-chat-bubble-spacing);
|
|
103
|
-
transition: margin k-transition(fade-out);
|
|
104
|
-
}
|
|
97
|
+
align-self: flex-start;
|
|
105
98
|
}
|
|
106
99
|
|
|
107
|
-
.k-
|
|
108
|
-
|
|
109
|
-
overflow: hidden;
|
|
100
|
+
&:has(.k-message-author) .k-avatar {
|
|
101
|
+
margin-block-start: calc( #{$kendo-chat-author-font-size} * #{$kendo-chat-author-line-height} + $kendo-chat-bubble-spacing );
|
|
110
102
|
}
|
|
111
103
|
|
|
112
104
|
> .k-chat-user-status-wrapper {
|
|
113
105
|
position: relative;
|
|
114
|
-
align-self: flex-
|
|
106
|
+
align-self: flex-start;
|
|
115
107
|
overflow: hidden;
|
|
116
108
|
}
|
|
117
109
|
|
|
@@ -149,7 +141,7 @@
|
|
|
149
141
|
.k-chat-download-button-wrapper {
|
|
150
142
|
width: 100%;
|
|
151
143
|
box-sizing: border-box;
|
|
152
|
-
border-radius: 0 0 $kendo-
|
|
144
|
+
border-radius: 0 0 $kendo-file-box-border-radius $kendo-file-box-border-radius;
|
|
153
145
|
text-align: start;
|
|
154
146
|
}
|
|
155
147
|
|
|
@@ -165,24 +157,29 @@
|
|
|
165
157
|
align-items: flex-end;
|
|
166
158
|
}
|
|
167
159
|
|
|
168
|
-
.k-message-
|
|
169
|
-
|
|
160
|
+
.k-message-info {
|
|
161
|
+
justify-content: flex-end;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.k-message-time {
|
|
165
|
+
order: -1;
|
|
170
166
|
}
|
|
171
167
|
|
|
172
168
|
.k-message:has(+.k-message) .k-chat-bubble {
|
|
173
|
-
border-end-end-radius:
|
|
169
|
+
border-end-end-radius: $kendo-sequential-messages-border-radius;
|
|
174
170
|
border-end-start-radius: $kendo-bubble-border-radius;
|
|
171
|
+
border-start-end-radius: $kendo-sequential-messages-border-radius;
|
|
172
|
+
border-start-start-radius: $kendo-bubble-border-radius;
|
|
175
173
|
}
|
|
176
174
|
|
|
177
175
|
.k-message + .k-message .k-chat-bubble {
|
|
178
|
-
border-start-end-radius:
|
|
176
|
+
border-start-end-radius: $kendo-sequential-messages-border-radius;
|
|
179
177
|
border-start-start-radius: $kendo-bubble-border-radius;
|
|
180
178
|
border-end-start-radius: $kendo-bubble-border-radius;
|
|
181
179
|
}
|
|
182
180
|
|
|
183
181
|
.k-message:last-of-type .k-chat-bubble {
|
|
184
182
|
border-end-start-radius: $kendo-bubble-border-radius;
|
|
185
|
-
border-end-end-radius: $kendo-bubble-border-radius-sm;
|
|
186
183
|
border-start-start-radius: $kendo-bubble-border-radius;
|
|
187
184
|
}
|
|
188
185
|
}
|
|
@@ -207,16 +204,27 @@
|
|
|
207
204
|
}
|
|
208
205
|
|
|
209
206
|
&:has(+.k-message) .k-chat-bubble {
|
|
210
|
-
border-end-start-radius:
|
|
207
|
+
border-end-start-radius: $kendo-sequential-messages-border-radius;
|
|
208
|
+
border-start-start-radius: $kendo-sequential-messages-border-radius;
|
|
211
209
|
}
|
|
212
210
|
|
|
213
211
|
& + .k-message .k-chat-bubble {
|
|
214
|
-
border-start-start-radius:
|
|
215
|
-
border-end-start-radius: 0;
|
|
212
|
+
border-start-start-radius: $kendo-sequential-messages-border-radius;
|
|
216
213
|
}
|
|
217
214
|
|
|
218
|
-
|
|
219
|
-
|
|
215
|
+
.k-file-box-wrapper {
|
|
216
|
+
padding: 0;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
// Failed message
|
|
221
|
+
.k-message-failed {
|
|
222
|
+
flex-flow: row wrap;
|
|
223
|
+
align-items: center;
|
|
224
|
+
justify-content: flex-end;
|
|
225
|
+
|
|
226
|
+
.k-bubble {
|
|
227
|
+
max-width: calc(100% - #{$kendo-button-md-inner-calc-size});
|
|
220
228
|
}
|
|
221
229
|
}
|
|
222
230
|
|
|
@@ -270,15 +278,32 @@
|
|
|
270
278
|
}
|
|
271
279
|
|
|
272
280
|
// Message meta
|
|
281
|
+
.k-message-info {
|
|
282
|
+
display: flex;
|
|
283
|
+
width: 100%;
|
|
284
|
+
justify-content: flex-start;
|
|
285
|
+
gap: k-spacing(1);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.k-message .k-selected + .k-message-info,
|
|
289
|
+
.k-message:has(.k-message-failed-content) .k-message-info {
|
|
290
|
+
margin-block-start: k-spacing(1);
|
|
291
|
+
}
|
|
292
|
+
|
|
273
293
|
.k-message-time,
|
|
274
|
-
.k-message-status
|
|
294
|
+
.k-message-status,
|
|
295
|
+
.k-message-failed-content {
|
|
275
296
|
font-size: $kendo-chat-message-meta-font-size;
|
|
276
297
|
line-height: $kendo-chat-message-meta-line-height;
|
|
277
298
|
white-space: nowrap;
|
|
278
299
|
pointer-events: none;
|
|
300
|
+
overflow: hidden;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.k-message-time,
|
|
304
|
+
.k-message-status {
|
|
279
305
|
transition: height k-transition(fade-out);
|
|
280
306
|
height: 0;
|
|
281
|
-
overflow: hidden;
|
|
282
307
|
}
|
|
283
308
|
|
|
284
309
|
.k-message-time {
|
|
@@ -288,7 +313,13 @@
|
|
|
288
313
|
.k-message-status {
|
|
289
314
|
display: inline-flex;
|
|
290
315
|
align-items: center;
|
|
291
|
-
gap: $kendo-chat-message-status-gap;
|
|
316
|
+
gap: calc( #{$kendo-chat-message-status-gap} / 2);
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.k-message-failed-content {
|
|
320
|
+
display: flex;
|
|
321
|
+
align-items: center;
|
|
322
|
+
gap: k-spacing(1);
|
|
292
323
|
}
|
|
293
324
|
|
|
294
325
|
// Bubble
|
|
@@ -386,6 +417,10 @@
|
|
|
386
417
|
}
|
|
387
418
|
|
|
388
419
|
.k-message-pinned {
|
|
420
|
+
position: sticky;
|
|
421
|
+
top: 0;
|
|
422
|
+
z-index: k-z-index("banner");
|
|
423
|
+
width: 100%;
|
|
389
424
|
border-block-end-width: $kendo-chat-message-pinned-border-width;
|
|
390
425
|
border-block-end-style: $kendo-chat-message-pinned-border-style;
|
|
391
426
|
cursor: pointer;
|
|
@@ -397,7 +432,7 @@
|
|
|
397
432
|
|
|
398
433
|
// Author
|
|
399
434
|
.k-message-author {
|
|
400
|
-
margin-block-end:
|
|
435
|
+
margin-block-end: $kendo-chat-bubble-spacing;
|
|
401
436
|
font-size: $kendo-chat-author-font-size;
|
|
402
437
|
line-height: $kendo-chat-author-line-height;
|
|
403
438
|
font-weight: bold;
|
|
@@ -417,14 +452,7 @@
|
|
|
417
452
|
.k-timestamp {
|
|
418
453
|
text-transform: $kendo-chat-timestamp-transform;
|
|
419
454
|
align-self: stretch;
|
|
420
|
-
|
|
421
|
-
&::before,
|
|
422
|
-
&::after {
|
|
423
|
-
display: inline-flex;
|
|
424
|
-
content: "";
|
|
425
|
-
height: 1px;
|
|
426
|
-
flex: 1;
|
|
427
|
-
}
|
|
455
|
+
align-self: center;
|
|
428
456
|
}
|
|
429
457
|
|
|
430
458
|
// Events
|
|
@@ -435,16 +463,10 @@
|
|
|
435
463
|
|
|
436
464
|
.k-message-box-wrapper {
|
|
437
465
|
padding-inline: $kendo-chat-padding-x;
|
|
438
|
-
padding-block:
|
|
466
|
+
padding-block: $kendo-chat-padding-y;
|
|
439
467
|
display: flex;
|
|
440
468
|
flex-direction: column;
|
|
441
|
-
gap: $kendo-chat-
|
|
442
|
-
|
|
443
|
-
.k-chat-file-wrapper {
|
|
444
|
-
flex-flow: row nowrap;
|
|
445
|
-
overflow-x: auto;
|
|
446
|
-
scrollbar-width: none;
|
|
447
|
-
}
|
|
469
|
+
gap: $kendo-chat-message-box-wrapper-spacing;
|
|
448
470
|
}
|
|
449
471
|
|
|
450
472
|
// Message box
|
|
@@ -479,86 +501,6 @@
|
|
|
479
501
|
}
|
|
480
502
|
}
|
|
481
503
|
|
|
482
|
-
.k-chat-file-wrapper {
|
|
483
|
-
display: flex;
|
|
484
|
-
flex-flow: column wrap;
|
|
485
|
-
flex-shrink: 0;
|
|
486
|
-
padding-inline: $kendo-chat-file-padding-x;
|
|
487
|
-
padding-block: $kendo-chat-file-padding-y;
|
|
488
|
-
margin: 0;
|
|
489
|
-
gap: $kendo-chat-file-gap;
|
|
490
|
-
box-sizing: border-box;
|
|
491
|
-
min-width: 0;
|
|
492
|
-
width: 100%;
|
|
493
|
-
max-width: 100%;
|
|
494
|
-
overflow: hidden;
|
|
495
|
-
|
|
496
|
-
&.k-chat-files-horizontal {
|
|
497
|
-
overflow-x: auto;
|
|
498
|
-
scrollbar-width: none;
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
.k-chat-files-horizontal,
|
|
503
|
-
.k-chat-files-wrap {
|
|
504
|
-
flex-direction: row;
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
.k-chat-files-horizontal {
|
|
508
|
-
flex-wrap: nowrap;
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
.k-chat-file {
|
|
512
|
-
display: flex;
|
|
513
|
-
align-items: center;
|
|
514
|
-
justify-content: space-between;
|
|
515
|
-
overflow: hidden;
|
|
516
|
-
box-sizing: border-box;
|
|
517
|
-
gap: $kendo-chat-file-gap;
|
|
518
|
-
border-width: $kendo-chat-file-border-width;
|
|
519
|
-
border-style: $kendo-chat-file-border-style;
|
|
520
|
-
padding-inline: $kendo-chat-file-padding-x;
|
|
521
|
-
padding-block: $kendo-chat-file-padding-y;
|
|
522
|
-
border-radius: $kendo-chat-file-border-radius;
|
|
523
|
-
min-width: 0;
|
|
524
|
-
|
|
525
|
-
>.k-icon {
|
|
526
|
-
flex-shrink: 0;
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
.k-chat-file-info {
|
|
530
|
-
display: flex;
|
|
531
|
-
flex-direction: column;
|
|
532
|
-
align-items: flex-start;
|
|
533
|
-
text-align: start;
|
|
534
|
-
flex: 1;
|
|
535
|
-
overflow: hidden;
|
|
536
|
-
min-width: 0;
|
|
537
|
-
max-width: 100%;
|
|
538
|
-
text-overflow: ellipsis;
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
.k-chat-file-name {
|
|
542
|
-
font-weight: bold;
|
|
543
|
-
font-size: $kendo-chat-file-name-font-size;
|
|
544
|
-
line-height: $kendo-chat-file-name-line-height;
|
|
545
|
-
width: 100%;
|
|
546
|
-
white-space: nowrap;
|
|
547
|
-
overflow: hidden;
|
|
548
|
-
text-overflow: ellipsis;
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
.k-chat-file-size,
|
|
552
|
-
.k-chat-file-status {
|
|
553
|
-
font-size: $kendo-chat-file-size-font-size;
|
|
554
|
-
line-height: $kendo-chat-file-size-line-height;
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
&.k-chat-file-deleted {
|
|
558
|
-
min-height: calc( #{$kendo-button-md-calc-size} + 2 * #{$kendo-chat-file-padding-y} + 2 * #{$kendo-chat-file-border-width});
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
|
|
562
504
|
.k-chat-file-download-wrapper {
|
|
563
505
|
display: flex;
|
|
564
506
|
flex-direction: column;
|
|
@@ -648,6 +590,20 @@
|
|
|
648
590
|
}
|
|
649
591
|
}
|
|
650
592
|
|
|
593
|
+
// Scroll to bottom container
|
|
594
|
+
.k-chat-scroll-to-bottom-container {
|
|
595
|
+
display: flex;
|
|
596
|
+
justify-content: center;
|
|
597
|
+
width: 100%;
|
|
598
|
+
box-sizing: border-box;
|
|
599
|
+
position: sticky;
|
|
600
|
+
bottom: k-spacing(4);
|
|
601
|
+
|
|
602
|
+
.k-fab {
|
|
603
|
+
position: static;
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
|
|
651
607
|
// Upload
|
|
652
608
|
.k-chat-upload {
|
|
653
609
|
.k-external-dropzone {
|
|
@@ -62,6 +62,29 @@
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
+
.k-message-failed .k-chat-bubble {
|
|
66
|
+
@include fill(
|
|
67
|
+
$kendo-chat-failed-bubble-text,
|
|
68
|
+
$kendo-chat-failed-bubble-bg,
|
|
69
|
+
$kendo-chat-failed-bubble-border
|
|
70
|
+
);
|
|
71
|
+
|
|
72
|
+
&:hover,
|
|
73
|
+
&.k-hover {
|
|
74
|
+
background-color: $kendo-chat-failed-bubble-hover-bg;
|
|
75
|
+
border-color: $kendo-chat-failed-bubble-border;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&.k-selected {
|
|
79
|
+
background-color: $kendo-chat-failed-bubble-selected-bg;
|
|
80
|
+
border-color: $kendo-chat-failed-bubble-border;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.k-message-failed-content {
|
|
85
|
+
color: $kendo-chat-failed-content-color;
|
|
86
|
+
}
|
|
87
|
+
|
|
65
88
|
// Typing indicator
|
|
66
89
|
.k-typing-indicator {
|
|
67
90
|
@include fill(
|
|
@@ -70,33 +93,19 @@
|
|
|
70
93
|
}
|
|
71
94
|
|
|
72
95
|
// Chat attachment
|
|
73
|
-
.k-
|
|
74
|
-
background-color: $kendo-chat-file-bg;
|
|
75
|
-
color: $kendo-chat-file-text;
|
|
76
|
-
border-color: $kendo-chat-file-border;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.k-message-group-sender .k-chat-file {
|
|
96
|
+
.k-message-group-sender .k-file-box {
|
|
80
97
|
background-color: $kendo-chat-sender-file-bg;
|
|
81
98
|
color: $kendo-chat-sender-file-text;
|
|
82
99
|
border-color: $kendo-chat-sender-file-border;
|
|
83
100
|
}
|
|
84
101
|
|
|
85
|
-
// Attachment within Textarea prefix
|
|
86
|
-
.k-message-box-wrapper .k-chat-file {
|
|
87
|
-
@include fill(
|
|
88
|
-
$kendo-chat-file-text,
|
|
89
|
-
$kendo-chat-file-bg,
|
|
90
|
-
$kendo-chat-file-border
|
|
91
|
-
);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
102
|
// Message reference
|
|
95
103
|
.k-message-reference {
|
|
96
104
|
@include fill(
|
|
97
105
|
$kendo-chat-message-reference-text,
|
|
98
106
|
$kendo-chat-message-reference-bg
|
|
99
107
|
);
|
|
108
|
+
backdrop-filter: blur(2px);
|
|
100
109
|
}
|
|
101
110
|
|
|
102
111
|
.k-message-reference-sender {
|
|
@@ -15,10 +15,14 @@ $kendo-chat-message-spacing: null !default;
|
|
|
15
15
|
$kendo-chat-message-max-width: null !default;
|
|
16
16
|
$kendo-chat-message-gap: null !default;
|
|
17
17
|
|
|
18
|
+
$kendo-sequential-messages-border-radius: null !default;
|
|
19
|
+
|
|
18
20
|
$kendo-chat-message-list-padding-x: null !default;
|
|
19
21
|
$kendo-chat-message-list-padding-y: null !default;
|
|
20
22
|
$kendo-chat-message-list-spacing: null !default;
|
|
21
23
|
|
|
24
|
+
$kendo-chat-message-box-wrapper-spacing: null !default;
|
|
25
|
+
|
|
22
26
|
$kendo-chat-status-min-size: null !default;
|
|
23
27
|
$kendo-chat-status-max-size: null !default;
|
|
24
28
|
$kendo-chat-message-status-gap: null !default;
|
|
@@ -61,25 +65,15 @@ $kendo-chat-alt-bubble-focus-bg: null !default;
|
|
|
61
65
|
$kendo-chat-alt-bubble-focus-border: null !default;
|
|
62
66
|
$kendo-chat-alt-bubble-focus-shadow: null !default;
|
|
63
67
|
|
|
64
|
-
$kendo-chat-
|
|
68
|
+
$kendo-chat-failed-bubble-text: null !default;
|
|
69
|
+
$kendo-chat-failed-bubble-bg: null !default;
|
|
70
|
+
$kendo-chat-failed-bubble-border: null !default;
|
|
71
|
+
$kendo-chat-failed-content-color: null !default;
|
|
65
72
|
|
|
66
|
-
$kendo-chat-
|
|
67
|
-
$kendo-chat-
|
|
68
|
-
|
|
69
|
-
$kendo-chat-
|
|
70
|
-
$kendo-chat-file-size-font-size: null !default;
|
|
71
|
-
$kendo-chat-file-size-line-height: null !default;
|
|
72
|
-
$kendo-chat-file-padding-x: null !default;
|
|
73
|
-
$kendo-chat-file-padding-y: null !default;
|
|
74
|
-
$kendo-chat-file-gap: null !default;
|
|
75
|
-
$kendo-chat-file-border-width: null !default;
|
|
76
|
-
$kendo-chat-file-border-style: null !default;
|
|
77
|
-
$kendo-chat-file-bg: null !default;
|
|
78
|
-
$kendo-chat-file-text: null !default;
|
|
79
|
-
$kendo-chat-file-border: null !default;
|
|
80
|
-
$kendo-chat-file-border-radius: null !default;
|
|
81
|
-
$kendo-chat-file-download-padding-x: null !default;
|
|
82
|
-
$kendo-chat-file-download-padding-y: null !default;
|
|
73
|
+
$kendo-chat-failed-bubble-hover-bg: null !default;
|
|
74
|
+
$kendo-chat-failed-bubble-selected-bg: null !default;
|
|
75
|
+
|
|
76
|
+
$kendo-chat-typing-indicator-text: null !default;
|
|
83
77
|
|
|
84
78
|
$kendo-chat-sender-file-bg: null !default;
|
|
85
79
|
$kendo-chat-sender-file-text: null !default;
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
.k-popup-dropdowntree, // remove legacy class once updated in components
|
|
10
10
|
.k-dropdowntree-popup,
|
|
11
11
|
.k-multiselecttree-popup {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
12
|
+
padding-block: $kendo-dropdowntree-popup-padding-y;
|
|
13
|
+
padding-inline: $kendo-dropdowntree-popup-padding-x;
|
|
14
|
+
overflow: hidden;
|
|
16
15
|
|
|
17
|
-
.k-check-all
|
|
18
|
-
|
|
19
|
-
padding-
|
|
16
|
+
.k-check-all,
|
|
17
|
+
.k-list-filter {
|
|
18
|
+
padding-block: $kendo-dropdowntree-check-all-padding-y;
|
|
19
|
+
padding-inline: $kendo-dropdowntree-check-all-padding-x;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|