stream-chat-angular 4.61.0 → 4.62.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.
- package/assets/i18n/en.d.ts +1 -0
- package/assets/version.d.ts +1 -1
- package/bundles/stream-chat-angular.umd.js +17 -4
- package/bundles/stream-chat-angular.umd.js.map +1 -1
- package/esm2015/assets/i18n/en.js +2 -1
- package/esm2015/assets/version.js +2 -2
- package/esm2015/lib/attachment-list/attachment-list.component.js +2 -2
- package/esm2015/lib/message/message.component.js +13 -3
- package/esm2015/lib/message-list/group-styles.js +3 -1
- package/fesm2015/stream-chat-angular.js +17 -4
- package/fesm2015/stream-chat-angular.js.map +1 -1
- package/lib/channel.service.d.ts +1 -0
- package/lib/message/message.component.d.ts +3 -1
- package/package.json +2 -2
- package/src/assets/i18n/en.ts +1 -0
- package/src/assets/styles/v2/css/index.css +3 -1
- package/src/assets/styles/v2/css/index.layout.css +3 -1
- package/src/assets/styles/v2/scss/AttachmentList/AttachmentList-layout.scss +80 -0
- package/src/assets/styles/v2/scss/AttachmentList/AttachmentList-theme.scss +72 -1
- package/src/assets/styles/v2/scss/ImageCarousel/ImageCarousel-layout.scss +11 -2
- package/src/assets/styles/v2/scss/ImageCarousel/ImageCarousel-theme.scss +14 -0
- package/src/assets/styles/v2/scss/Message/Message-layout.scss +34 -1
- package/src/assets/version.ts +1 -1
|
@@ -6,8 +6,22 @@
|
|
|
6
6
|
--str-chat__image-carousel-stepper-color: var(--str-chat__text-color);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
+
@media only screen and (max-device-width: 768px) {
|
|
10
|
+
.str-chat__message {
|
|
11
|
+
.str-chat__attachment-list {
|
|
12
|
+
.str-chat__modal--open {
|
|
13
|
+
.str-chat__modal__inner {
|
|
14
|
+
border-radius: 0;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
9
21
|
.str-chat__image-carousel {
|
|
10
22
|
.str-chat__image-carousel-stepper {
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
|
|
11
25
|
svg path {
|
|
12
26
|
fill: var(--str-chat__image-carousel-stepper-color);
|
|
13
27
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
--str-chat__message-with-attachment-max-width: calc(var(--str-chat__spacing-px) * 300);
|
|
12
12
|
|
|
13
13
|
/* The maximum allowed width of quoted messages inside the message component */
|
|
14
|
-
--str-chat__quoted-message-max-width: calc(var(--str-chat__spacing-px) *
|
|
14
|
+
--str-chat__quoted-message-max-width: calc(var(--str-chat__spacing-px) * 250);
|
|
15
15
|
|
|
16
16
|
/* The maximum allowed width of quoted messages inside the message input component */
|
|
17
17
|
--str-chat__quoted-message-inside-message-input-max-width: calc(
|
|
@@ -192,6 +192,7 @@
|
|
|
192
192
|
.str-chat__message-metadata {
|
|
193
193
|
grid-area: metadata;
|
|
194
194
|
display: flex;
|
|
195
|
+
flex-wrap: wrap;
|
|
195
196
|
align-items: center;
|
|
196
197
|
column-gap: var(--str-chat__spacing-1);
|
|
197
198
|
margin-block-start: var(--str-chat__spacing-0_5);
|
|
@@ -199,6 +200,21 @@
|
|
|
199
200
|
.str-chat__message-simple-name {
|
|
200
201
|
@include utils.prevent-glitch-text-overflow;
|
|
201
202
|
}
|
|
203
|
+
|
|
204
|
+
.str-chat__message-simple-timestamp + .str-chat__mesage-simple-edited::before {
|
|
205
|
+
content: '•';
|
|
206
|
+
margin-right: var(--str-chat__spacing-1);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.str-chat__message-edited-timestamp {
|
|
210
|
+
--str-chat__message-edited-timestamp-height: 1rem;
|
|
211
|
+
flex-basis: 100%;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
&.str-chat__message--me .str-chat__message-metadata {
|
|
216
|
+
justify-content: flex-end;
|
|
217
|
+
text-align: right;
|
|
202
218
|
}
|
|
203
219
|
|
|
204
220
|
.str-chat__message-status {
|
|
@@ -473,3 +489,20 @@
|
|
|
473
489
|
transform: none;
|
|
474
490
|
}
|
|
475
491
|
}
|
|
492
|
+
|
|
493
|
+
.str-chat__message-edited-timestamp {
|
|
494
|
+
overflow: hidden;
|
|
495
|
+
transition: height 0.1s;
|
|
496
|
+
|
|
497
|
+
&--open {
|
|
498
|
+
height: var(--str-chat__message-edited-timestamp-height, 1rem);
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
&--collapsed {
|
|
502
|
+
height: 0;
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
.str-chat__message-text--pointer-cursor {
|
|
507
|
+
cursor: pointer;
|
|
508
|
+
}
|
package/src/assets/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '4.
|
|
1
|
+
export const version = '4.62.1';
|