stream-chat-angular 4.66.2 → 4.66.4
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/version.d.ts +1 -1
- package/bundles/stream-chat-angular.umd.js +3 -2
- package/bundles/stream-chat-angular.umd.js.map +1 -1
- package/esm2015/assets/version.js +2 -2
- package/esm2015/lib/message/message.component.js +3 -2
- package/fesm2015/stream-chat-angular.js +3 -2
- package/fesm2015/stream-chat-angular.js.map +1 -1
- package/lib/message/message.component.d.ts +1 -0
- package/package.json +1 -1
- package/src/assets/styles/assets/icons/stream-chat-icons.eot +0 -0
- package/src/assets/styles/assets/icons/stream-chat-icons.svg +46 -0
- package/src/assets/styles/assets/icons/stream-chat-icons.ttf +0 -0
- package/src/assets/styles/assets/icons/stream-chat-icons.woff +0 -0
- package/src/assets/styles/assets/icons/stream-chat-icons.woff2 +0 -0
- package/src/assets/styles/v2/assets/EmojiOneColor.woff2 +0 -0
- package/src/assets/styles/v2/assets/NotoColorEmoji-flags.woff2 +0 -0
- package/src/assets/styles/v2/assets/Poweredby_100px-White_VertText.png +0 -0
- package/src/assets/styles/v2/assets/icons/stream-chat-icons.eot +0 -0
- package/src/assets/styles/v2/assets/icons/stream-chat-icons.svg +46 -0
- package/src/assets/styles/v2/assets/icons/stream-chat-icons.ttf +0 -0
- package/src/assets/styles/v2/assets/icons/stream-chat-icons.woff +0 -0
- package/src/assets/styles/v2/assets/icons/stream-chat-icons.woff2 +0 -0
- package/src/assets/styles/v2/assets/str-chat__reaction-list-sprite@1x.png +0 -0
- package/src/assets/styles/v2/assets/str-chat__reaction-list-sprite@2x.png +0 -0
- package/src/assets/styles/v2/assets/str-chat__reaction-list-sprite@3x.png +0 -0
- package/src/assets/styles/v2/css/index.css +2 -2
- package/src/assets/styles/v2/css/index.layout.css +2 -2
- package/src/assets/styles/v2/scss/AttachmentList/AttachmentList-layout.scss +49 -13
- package/src/assets/styles/v2/scss/AttachmentList/AttachmentList-theme.scss +44 -0
- package/src/assets/styles/v2/scss/AttachmentPreviewList/AttachmentPreviewList-layout.scss +22 -9
- package/src/assets/styles/v2/scss/AttachmentPreviewList/AttachmentPreviewList-theme.scss +27 -0
- package/src/assets/styles/v2/scss/AudioRecorder/AudioRecorder-layout.scss +89 -0
- package/src/assets/styles/v2/scss/AudioRecorder/AudioRecorder-theme.scss +51 -0
- package/src/assets/styles/v2/scss/Avatar/Avatar-layout.scss +46 -0
- package/src/assets/styles/v2/scss/Channel/Channel-layout.scss +1 -0
- package/src/assets/styles/v2/scss/Channel/Channel-theme.scss +1 -0
- package/src/assets/styles/v2/scss/ChannelList/ChannelList-layout.scss +2 -2
- package/src/assets/styles/v2/scss/ChannelList/ChannelList-theme.scss +4 -2
- package/src/assets/styles/v2/scss/ChannelPreview/ChannelPreview-layout.scss +2 -0
- package/src/assets/styles/v2/scss/ChannelPreview/ChannelPreview-theme.scss +1 -0
- package/src/assets/styles/v2/scss/Icon/Icon-layout.scss +87 -0
- package/src/assets/styles/v2/scss/Icon/Icon-theme.scss +13 -0
- package/src/assets/styles/v2/scss/ImageCarousel/ImageCarousel-layout.scss +1 -0
- package/src/assets/styles/v2/scss/ImageCarousel/ImageCarousel-theme.scss +1 -0
- package/src/assets/styles/v2/scss/LoadingIndicator/LoadingIndicator-layout.scss +10 -1
- package/src/assets/styles/v2/scss/LoadingIndicator/LoadingIndicator-theme.scss +6 -4
- package/src/assets/styles/v2/scss/Message/Message-layout.scss +8 -2
- package/src/assets/styles/v2/scss/Message/Message-theme.scss +6 -0
- package/src/assets/styles/v2/scss/MessageInput/MessageInput-layout.scss +33 -1
- package/src/assets/styles/v2/scss/MessageInput/MessageInput-theme.scss +65 -2
- package/src/assets/styles/v2/scss/MessageList/MessageList-theme.scss +2 -0
- package/src/assets/styles/v2/scss/Modal/Modal-layout.scss +1 -0
- package/src/assets/styles/v2/scss/Modal/Modal-theme.scss +6 -0
- package/src/assets/styles/v2/scss/_base.scss +4 -3
- package/src/assets/styles/v2/scss/_icons.scss +22 -2
- package/src/assets/styles/v2/scss/index.layout.scss +2 -0
- package/src/assets/styles/v2/scss/index.scss +2 -0
- package/src/assets/version.ts +1 -1
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
.str-chat__message-input {
|
|
4
4
|
$send-button-size: calc(var(--str-chat__spacing-px) * 45);
|
|
5
|
+
$start-audio-recording-button-size: calc(var(--str-chat__spacing-px) * 40);
|
|
5
6
|
|
|
6
7
|
@include utils.flex-col-center;
|
|
7
8
|
width: 100%;
|
|
@@ -46,6 +47,7 @@
|
|
|
46
47
|
justify-content: center;
|
|
47
48
|
|
|
48
49
|
.str-chat__file-input-container {
|
|
50
|
+
--str-chat-icon-height: calc(var(--str-chat__spacing-px) * 24);
|
|
49
51
|
@include utils.flex-row-center;
|
|
50
52
|
width: calc(var(--str-chat__spacing-px) * 45);
|
|
51
53
|
height: calc(var(--str-chat__spacing-px) * 45);
|
|
@@ -132,6 +134,7 @@
|
|
|
132
134
|
}
|
|
133
135
|
|
|
134
136
|
.str-chat__send-button {
|
|
137
|
+
--str-chat-icon-height: calc(var(--str-chat__spacing-px) * 32);
|
|
135
138
|
@include utils.flex-row-center;
|
|
136
139
|
cursor: pointer;
|
|
137
140
|
padding: 0;
|
|
@@ -145,6 +148,19 @@
|
|
|
145
148
|
}
|
|
146
149
|
}
|
|
147
150
|
|
|
151
|
+
.str-chat__start-recording-audio-button {
|
|
152
|
+
@include utils.flex-row-center;
|
|
153
|
+
cursor: pointer;
|
|
154
|
+
padding: 0;
|
|
155
|
+
width: $start-audio-recording-button-size;
|
|
156
|
+
height: $start-audio-recording-button-size;
|
|
157
|
+
min-width: $start-audio-recording-button-size;
|
|
158
|
+
|
|
159
|
+
svg {
|
|
160
|
+
height: calc(var(--str-chat__spacing-px) * 25);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
148
164
|
.str-chat__message-input-cooldown {
|
|
149
165
|
@include utils.flex-row-center;
|
|
150
166
|
margin-inline-start: var(--str-chat__spacing-2);
|
|
@@ -161,6 +177,21 @@
|
|
|
161
177
|
.str-chat__quoted-message-preview {
|
|
162
178
|
padding: var(--str-chat__spacing-2);
|
|
163
179
|
}
|
|
180
|
+
|
|
181
|
+
.str-chat__recording-permission-denied-notification {
|
|
182
|
+
position: absolute;
|
|
183
|
+
left: 0.5rem;
|
|
184
|
+
max-width: 100%;
|
|
185
|
+
bottom: 100%;
|
|
186
|
+
padding: 1rem;
|
|
187
|
+
margin-inline: 0.5rem;
|
|
188
|
+
z-index: 2;
|
|
189
|
+
|
|
190
|
+
.str-chat__recording-permission-denied-notification__dismiss-button-container {
|
|
191
|
+
display: flex;
|
|
192
|
+
justify-content: flex-end;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
164
195
|
}
|
|
165
196
|
|
|
166
197
|
.str-chat__message-input-angular-host {
|
|
@@ -179,7 +210,8 @@
|
|
|
179
210
|
flex-grow: initial;
|
|
180
211
|
}
|
|
181
212
|
|
|
182
|
-
[dir='rtl'] .str-chat__send-button
|
|
213
|
+
[dir='rtl'] .str-chat__send-button,
|
|
214
|
+
[dir='rtl'] .str-chat__start-recording-audio-button {
|
|
183
215
|
svg {
|
|
184
216
|
transform: scale(-1, 1);
|
|
185
217
|
}
|
|
@@ -86,7 +86,37 @@
|
|
|
86
86
|
--str-chat__message-send-disabled-color: var(--str-chat__disabled-color);
|
|
87
87
|
|
|
88
88
|
/* The background color of the send button in disabled state */
|
|
89
|
-
--str-chat__message-send-disabled-background-color:
|
|
89
|
+
--str-chat__message-send-disabled-background-color: var(--str-chat__disabled-color);
|
|
90
|
+
|
|
91
|
+
/* The border radius used for the borders of the audio recording button */
|
|
92
|
+
--str-chat__start-recording-audio-button-border-radius: var(--str-chat__border-radius-circle);
|
|
93
|
+
|
|
94
|
+
/* The text/icon color of the audio recording button */
|
|
95
|
+
--str-chat__start-recording-audio-button-color: var(--str-chat__text-low-emphasis-color);
|
|
96
|
+
|
|
97
|
+
/* The background color of the audio recording button */
|
|
98
|
+
--str-chat__start-recording-audio-button-background-color: transparent;
|
|
99
|
+
|
|
100
|
+
/* Top border of the audio recording button */
|
|
101
|
+
--str-chat__start-recording-audio-button-border-block-start: 0;
|
|
102
|
+
|
|
103
|
+
/* Bottom border of the audio recording button */
|
|
104
|
+
--str-chat__start-recording-audio-button-border-block-end: 0;
|
|
105
|
+
|
|
106
|
+
/* Left (right in RTL layout) border of the audio recording button */
|
|
107
|
+
--str-chat__start-recording-audio-button-border-inline-start: 0;
|
|
108
|
+
|
|
109
|
+
/* Right (left in RTL layout) border of the audio recording button */
|
|
110
|
+
--str-chat__start-recording-audio-button-border-inline-end: 0;
|
|
111
|
+
|
|
112
|
+
/* Box shadow applied to the audio recording button */
|
|
113
|
+
--str-chat__start-recording-audio-button-box-shadow: none;
|
|
114
|
+
|
|
115
|
+
/* The color of the audio recording button in disabled state */
|
|
116
|
+
--str-chat__start-recording-audio-button-disabled-color: var(--str-chat__disabled-color);
|
|
117
|
+
|
|
118
|
+
/* The background color of the audio recording button in disabled state */
|
|
119
|
+
--str-chat__start-recording-audio-button-disabled-background-color: transparent;
|
|
90
120
|
|
|
91
121
|
/* The border radius used for the borders of the tool buttons of the message input (such as attachment upload button) */
|
|
92
122
|
--str-chat__message-input-tools-border-radius: var(--str-chat__border-radius-circle);
|
|
@@ -151,6 +181,7 @@
|
|
|
151
181
|
}
|
|
152
182
|
|
|
153
183
|
.str-chat__file-input-container {
|
|
184
|
+
--str-chat-icon-color: var(--str-chat__message-input-tools-color);
|
|
154
185
|
@include utils.component-layer-overrides('message-input-tools');
|
|
155
186
|
|
|
156
187
|
svg path {
|
|
@@ -179,6 +210,7 @@
|
|
|
179
210
|
}
|
|
180
211
|
|
|
181
212
|
.str-chat__send-button {
|
|
213
|
+
--str-chat-icon-color: var(--str-chat__message-send-color);
|
|
182
214
|
@include utils.component-layer-overrides('message-send');
|
|
183
215
|
|
|
184
216
|
svg path {
|
|
@@ -186,7 +218,8 @@
|
|
|
186
218
|
}
|
|
187
219
|
|
|
188
220
|
&:disabled {
|
|
189
|
-
|
|
221
|
+
--str-chat-icon-color: var(--str-chat__message-send-disabled-color);
|
|
222
|
+
background-color: transparent;
|
|
190
223
|
|
|
191
224
|
svg path {
|
|
192
225
|
fill: var(--str-chat__message-send-disabled-color);
|
|
@@ -194,6 +227,14 @@
|
|
|
194
227
|
}
|
|
195
228
|
}
|
|
196
229
|
|
|
230
|
+
.str-chat__start-recording-audio-button {
|
|
231
|
+
@include utils.component-layer-overrides('start-recording-audio-button');
|
|
232
|
+
|
|
233
|
+
&:disabled {
|
|
234
|
+
background-color: var(--str-chat__message-send-disabled-background-color);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
197
238
|
.str-chat__message-input-cooldown {
|
|
198
239
|
@include utils.component-layer-overrides('cooldown');
|
|
199
240
|
font: var(--str-chat__subtitle-medium-text);
|
|
@@ -218,4 +259,26 @@
|
|
|
218
259
|
}
|
|
219
260
|
}
|
|
220
261
|
}
|
|
262
|
+
|
|
263
|
+
.str-chat__recording-permission-denied-notification {
|
|
264
|
+
background-color: var(--str-chat__text-color);
|
|
265
|
+
border-radius: var(--str-chat__border-radius-md);
|
|
266
|
+
color: var(--str-chat__background-color);
|
|
267
|
+
|
|
268
|
+
.str-chat__recording-permission-denied-notification__heading,
|
|
269
|
+
.str-chat__recording-permission-denied-notification__dismiss-button {
|
|
270
|
+
font: var(--str-chat__subtitle2-medium-text);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.str-chat__recording-permission-denied-notification__message {
|
|
274
|
+
font: var(--str-chat__subtitle-text);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.str-chat__recording-permission-denied-notification__dismiss-button {
|
|
278
|
+
@include utils.button-reset;
|
|
279
|
+
color: var(--str-chat__background-color);
|
|
280
|
+
cursor: pointer;
|
|
281
|
+
text-transform: uppercase;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
221
284
|
}
|
|
@@ -91,6 +91,8 @@
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
.str-chat__jump-to-latest-message {
|
|
94
|
+
--str-chat-icon-color: var(--str-chat__jump-to-latest-message-unread-count-background-color);
|
|
95
|
+
|
|
94
96
|
.str-chat__circle-fab {
|
|
95
97
|
@include utils.component-layer-overrides('jump-to-latest-message');
|
|
96
98
|
@include utils.circle-fab-overrides('jump-to-latest-message');
|
|
@@ -47,8 +47,14 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.str-chat__modal__close-button {
|
|
50
|
+
--str-chat-icon-color: var(--str-chat__modal-close-icon-color);
|
|
50
51
|
@include utils.button-reset;
|
|
51
52
|
|
|
53
|
+
.str-chat__icon {
|
|
54
|
+
background-color: var(--str-chat__modal-close-icon-background);
|
|
55
|
+
border-radius: 999px;
|
|
56
|
+
}
|
|
57
|
+
|
|
52
58
|
svg {
|
|
53
59
|
path {
|
|
54
60
|
fill: var(--str-chat__modal-close-icon-color);
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
.str-chat {
|
|
2
2
|
box-sizing: border-box;
|
|
3
|
+
font-family: var(--str-chat__font-family);
|
|
3
4
|
|
|
4
5
|
* {
|
|
5
|
-
font-family: var(--str-chat__font-family);
|
|
6
6
|
box-sizing: border-box;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
// Overriding styles of ngx-popperjs
|
|
10
|
-
.ngxp__container
|
|
9
|
+
// Overriding styles of ngx-popperjs/ngx-float-ui
|
|
10
|
+
.ngxp__container,
|
|
11
|
+
.float-ui-container {
|
|
11
12
|
z-index: 1;
|
|
12
13
|
padding: 0 !important;
|
|
13
14
|
box-shadow: none !important;
|
|
@@ -1,3 +1,23 @@
|
|
|
1
1
|
.str-chat {
|
|
2
|
-
--str-chat__image-fallback-icon: url(
|
|
3
|
-
}
|
|
2
|
+
--str-chat__image-fallback-icon: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9ImN1cnJlbnRDb2xvciIgY2xhc3M9InN0ci1jaGF0X19pbWFnZS1mYWxsYmFja19faWNvbiIgdmlld0JveD0iMCAwIDE4IDE4Ij48cGF0aCBkPSJNMTYgMnYxNEgyVjJoMTRabTAtMkgyQy45IDAgMCAuOSAwIDJ2MTRjMCAxLjEuOSAyIDIgMmgxNGMxLjEgMCAyLS45IDItMlYyYzAtMS4xLS45LTItMi0yWm0tNC44NiA4Ljg2LTMgMy44N0w2IDEwLjE0IDMgMTRoMTJsLTMuODYtNS4xNFoiLz48L3N2Zz4=');
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
@font-face {
|
|
6
|
+
font-family: 'stream-chat-icons';
|
|
7
|
+
src: url('../assets/icons/stream-chat-icons.eot');
|
|
8
|
+
src: url('../assets/icons/stream-chat-icons.eot#iefix') format('embedded-opentype'),
|
|
9
|
+
url('../assets/icons/stream-chat-icons.woff') format('woff2'),
|
|
10
|
+
url('../assets/icons/stream-chat-icons.woff') format('woff'),
|
|
11
|
+
url('../assets/icons/stream-chat-icons.ttf') format('truetype'),
|
|
12
|
+
url('../assets/icons/stream-chat-icons.svg#stream-chat-icons') format('svg');
|
|
13
|
+
font-weight: normal;
|
|
14
|
+
font-style: normal;
|
|
15
|
+
}
|
|
16
|
+
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
|
|
17
|
+
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
|
|
18
|
+
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
|
19
|
+
@font-face {
|
|
20
|
+
font-family: 'stream-chat-icons';
|
|
21
|
+
src: url('../assets/icons/stream-chat-icons.svg#stream-chat-icons') format('svg');
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
@use 'AttachmentList/AttachmentList-layout';
|
|
7
7
|
@use 'AttachmentPreviewList/AttachmentPreviewList-layout';
|
|
8
8
|
@use 'Autocomplete/Autocomplete-layout';
|
|
9
|
+
@use 'AudioRecorder/AudioRecorder-layout';
|
|
9
10
|
@use 'BaseImage/BaseImage-layout';
|
|
10
11
|
@use 'Channel/Channel-layout';
|
|
11
12
|
@use 'ChannelHeader/ChannelHeader-layout';
|
|
@@ -16,6 +17,7 @@
|
|
|
16
17
|
@use 'common/CircleFAButton/CircleFAButton-layout';
|
|
17
18
|
@use 'EditMessageForm/EditMessageForm-layout';
|
|
18
19
|
@use 'ImageCarousel/ImageCarousel-layout';
|
|
20
|
+
@use 'Icon/Icon-layout';
|
|
19
21
|
@use 'LinkPreview/LinkPreview-layout';
|
|
20
22
|
@use 'LoadingIndicator/LoadingIndicator-layout';
|
|
21
23
|
@use 'Message/Message-layout';
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
@use 'Avatar/Avatar-theme';
|
|
10
10
|
@use 'AttachmentList/AttachmentList-theme';
|
|
11
11
|
@use 'AttachmentPreviewList/AttachmentPreviewList-theme';
|
|
12
|
+
@use 'AudioRecorder/AudioRecorder-theme';
|
|
12
13
|
@use 'Autocomplete/Autocomplete-theme';
|
|
13
14
|
@use 'BaseImage/BaseImage-theme';
|
|
14
15
|
@use 'Channel/Channel-theme.scss';
|
|
@@ -17,6 +18,7 @@
|
|
|
17
18
|
@use 'ChannelPreview/ChannelPreview-theme';
|
|
18
19
|
@use 'ChannelSearch/ChannelSearch-theme';
|
|
19
20
|
@use 'EditMessageForm/EditMessageForm-theme';
|
|
21
|
+
@use 'Icon/Icon-theme';
|
|
20
22
|
@use 'ImageCarousel/ImageCarousel-theme';
|
|
21
23
|
@use 'LinkPreview/LinkPreview-theme';
|
|
22
24
|
@use 'LoadingIndicator/LoadingIndicator-theme';
|
package/src/assets/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '4.66.
|
|
1
|
+
export const version = '4.66.4';
|