stream-chat-react 14.0.0-beta.3 → 14.0.0-beta.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.
Files changed (144) hide show
  1. package/dist/cjs/WithAudioPlayback.236d404c.js +4670 -0
  2. package/dist/cjs/WithAudioPlayback.236d404c.js.map +1 -0
  3. package/dist/cjs/emojis.js +2 -2
  4. package/dist/cjs/emojis.js.map +1 -1
  5. package/dist/cjs/index.js +191 -264
  6. package/dist/cjs/index.js.map +1 -1
  7. package/dist/css/emoji-replacement.css +34 -0
  8. package/dist/css/emoji-replacement.css.map +1 -0
  9. package/dist/css/index.css +9 -25
  10. package/dist/css/index.css.map +1 -1
  11. package/dist/es/WithAudioPlayback.89700cb5.mjs +4654 -0
  12. package/dist/es/WithAudioPlayback.89700cb5.mjs.map +1 -0
  13. package/dist/es/emojis.mjs +2 -2
  14. package/dist/es/emojis.mjs.map +1 -1
  15. package/dist/es/index.mjs +230 -303
  16. package/dist/es/index.mjs.map +1 -1
  17. package/dist/types/components/Form/TextInput.d.ts +2 -2
  18. package/dist/types/components/Form/TextInput.d.ts.map +1 -1
  19. package/dist/types/components/Icons/IconGiphy.d.ts.map +1 -1
  20. package/dist/types/components/Icons/icons.d.ts +56 -340
  21. package/dist/types/components/Icons/icons.d.ts.map +1 -1
  22. package/dist/types/components/Loading/LoadingIndicator.d.ts +2 -2
  23. package/dist/types/components/Loading/LoadingIndicator.d.ts.map +1 -1
  24. package/dist/types/components/MessageComposer/AttachmentPreviewList/MediaAttachmentPreview.d.ts.map +1 -1
  25. package/dist/types/components/Poll/PollCreationDialog/OptionFieldSet.d.ts.map +1 -1
  26. package/package.json +3 -4
  27. package/dist/assets/icons/stream-chat-icons.eot +0 -0
  28. package/dist/assets/icons/stream-chat-icons.svg +0 -50
  29. package/dist/assets/icons/stream-chat-icons.ttf +0 -0
  30. package/dist/assets/icons/stream-chat-icons.woff +0 -0
  31. package/dist/assets/icons/stream-chat-icons.woff2 +0 -0
  32. package/dist/cjs/WithAudioPlayback.4a84360f.js +0 -4727
  33. package/dist/cjs/WithAudioPlayback.4a84360f.js.map +0 -1
  34. package/dist/css/v2/emoji-mart.css +0 -1
  35. package/dist/css/v2/emoji-replacement.css +0 -1
  36. package/dist/css/v2/index.css +0 -1
  37. package/dist/css/v2/index.layout.css +0 -1
  38. package/dist/es/WithAudioPlayback.a3d5a2fc.mjs +0 -4711
  39. package/dist/es/WithAudioPlayback.a3d5a2fc.mjs.map +0 -1
  40. package/dist/scss/v2/AIStateIndicator/AIStateIndicator-layout.scss +0 -3
  41. package/dist/scss/v2/AIStateIndicator/AIStateIndicator-theme.scss +0 -7
  42. package/dist/scss/v2/AttachmentList/AttachmentList-layout.scss +0 -701
  43. package/dist/scss/v2/AttachmentList/AttachmentList-theme.scss +0 -605
  44. package/dist/scss/v2/AttachmentPreviewList/AttachmentPreviewList-layout.scss +0 -141
  45. package/dist/scss/v2/AttachmentPreviewList/AttachmentPreviewList-theme.scss +0 -190
  46. package/dist/scss/v2/AudioRecorder/AudioRecorder-layout.scss +0 -139
  47. package/dist/scss/v2/AudioRecorder/AudioRecorder-theme.scss +0 -61
  48. package/dist/scss/v2/Autocomplete/Autocomplete-layout.scss +0 -94
  49. package/dist/scss/v2/Autocomplete/Autocomplete-theme.scss +0 -220
  50. package/dist/scss/v2/Avatar/Avatar-layout.scss +0 -137
  51. package/dist/scss/v2/Avatar/Avatar-theme.scss +0 -64
  52. package/dist/scss/v2/BaseImage/BaseImage-layout.scss +0 -21
  53. package/dist/scss/v2/BaseImage/BaseImage-theme.scss +0 -35
  54. package/dist/scss/v2/BaseImage/index.scss +0 -2
  55. package/dist/scss/v2/Channel/Channel-layout.scss +0 -141
  56. package/dist/scss/v2/Channel/Channel-theme.scss +0 -100
  57. package/dist/scss/v2/ChannelHeader/ChannelHeader-layout.scss +0 -27
  58. package/dist/scss/v2/ChannelHeader/ChannelHeader-theme.scss +0 -43
  59. package/dist/scss/v2/ChannelList/ChannelList-layout.scss +0 -65
  60. package/dist/scss/v2/ChannelList/ChannelList-theme.scss +0 -89
  61. package/dist/scss/v2/ChannelPreview/ChannelPreview-layout.scss +0 -126
  62. package/dist/scss/v2/ChannelPreview/ChannelPreview-theme.scss +0 -148
  63. package/dist/scss/v2/ChannelSearch/ChannelSearch-layout.scss +0 -122
  64. package/dist/scss/v2/ChannelSearch/ChannelSearch-theme.scss +0 -238
  65. package/dist/scss/v2/ChatView/ChatView-layout.scss +0 -43
  66. package/dist/scss/v2/ChatView/ChatView-theme.scss +0 -32
  67. package/dist/scss/v2/Dialog/Dialog-layout.scss +0 -70
  68. package/dist/scss/v2/Dialog/Dialog-theme.scss +0 -103
  69. package/dist/scss/v2/DragAndDropContainer/DragAndDropContainer-layout.scss +0 -5
  70. package/dist/scss/v2/DragAndDropContainer/DragAndDropContainer-theme.scss +0 -47
  71. package/dist/scss/v2/DropzoneContainer/DropzoneContainer-layout.scss +0 -14
  72. package/dist/scss/v2/DropzoneContainer/DropzoneContainer-theme.scss +0 -17
  73. package/dist/scss/v2/EditMessageForm/EditMessageForm-layout.scss +0 -51
  74. package/dist/scss/v2/EditMessageForm/EditMessageForm-theme.scss +0 -50
  75. package/dist/scss/v2/Form/Form-layout.scss +0 -49
  76. package/dist/scss/v2/Form/Form-theme.scss +0 -82
  77. package/dist/scss/v2/Icon/Icon-layout.scss +0 -98
  78. package/dist/scss/v2/Icon/Icon-theme.scss +0 -17
  79. package/dist/scss/v2/ImageCarousel/ImageCarousel-layout.scss +0 -51
  80. package/dist/scss/v2/ImageCarousel/ImageCarousel-theme.scss +0 -30
  81. package/dist/scss/v2/InfiniteScrollPaginator/InfiniteScrollPaginator-layout.scss +0 -4
  82. package/dist/scss/v2/LinkPreview/LinkPreview-layout.scss +0 -67
  83. package/dist/scss/v2/LinkPreview/LinkPreview-theme.scss +0 -32
  84. package/dist/scss/v2/LinkPreview/index.scss +0 -2
  85. package/dist/scss/v2/LoadingIndicator/LoadingIndicator-layout.scss +0 -64
  86. package/dist/scss/v2/LoadingIndicator/LoadingIndicator-theme.scss +0 -14
  87. package/dist/scss/v2/Location/Location-layout.scss +0 -52
  88. package/dist/scss/v2/Location/Location-theme.scss +0 -32
  89. package/dist/scss/v2/Message/Message-layout.scss +0 -619
  90. package/dist/scss/v2/Message/Message-theme.scss +0 -483
  91. package/dist/scss/v2/MessageActionsBox/MessageActionsBox-layout.scss +0 -21
  92. package/dist/scss/v2/MessageActionsBox/MessageActionsBox-theme.scss +0 -85
  93. package/dist/scss/v2/MessageBouncePrompt/MessageBouncePrompt-layout.scss +0 -19
  94. package/dist/scss/v2/MessageBouncePrompt/MessageBouncePrompt-theme.scss +0 -51
  95. package/dist/scss/v2/MessageInput/MessageInput-layout.scss +0 -268
  96. package/dist/scss/v2/MessageInput/MessageInput-theme.scss +0 -359
  97. package/dist/scss/v2/MessageList/MessageList-layout.scss +0 -65
  98. package/dist/scss/v2/MessageList/MessageList-theme.scss +0 -107
  99. package/dist/scss/v2/MessageList/VirtualizedMessageList-layout.scss +0 -57
  100. package/dist/scss/v2/MessageList/VirtualizedMessageList-theme.scss +0 -41
  101. package/dist/scss/v2/MessageReactions/MessageReactions-layout.scss +0 -143
  102. package/dist/scss/v2/MessageReactions/MessageReactions-theme.scss +0 -92
  103. package/dist/scss/v2/MessageReactions/MessageReactionsSelector-layout.scss +0 -86
  104. package/dist/scss/v2/MessageReactions/MessageReactionsSelector-theme.scss +0 -94
  105. package/dist/scss/v2/Modal/Modal-layout.scss +0 -74
  106. package/dist/scss/v2/Modal/Modal-theme.scss +0 -109
  107. package/dist/scss/v2/Notification/MessageNotification-layout.scss +0 -12
  108. package/dist/scss/v2/Notification/MessageNotification-theme.scss +0 -34
  109. package/dist/scss/v2/Notification/Notification-layout.scss +0 -7
  110. package/dist/scss/v2/Notification/Notification-theme.scss +0 -32
  111. package/dist/scss/v2/Notification/NotificationList-layout.scss +0 -11
  112. package/dist/scss/v2/Notification/NotificationList-theme.scss +0 -31
  113. package/dist/scss/v2/Poll/Poll-layout.scss +0 -493
  114. package/dist/scss/v2/Poll/Poll-theme.scss +0 -178
  115. package/dist/scss/v2/Search/Search-layout.scss +0 -148
  116. package/dist/scss/v2/Search/Search-theme.scss +0 -222
  117. package/dist/scss/v2/Thread/Thread-layout.scss +0 -65
  118. package/dist/scss/v2/Thread/Thread-theme.scss +0 -82
  119. package/dist/scss/v2/ThreadList/ThreadList-layout.scss +0 -152
  120. package/dist/scss/v2/ThreadList/ThreadList-theme.scss +0 -75
  121. package/dist/scss/v2/Tooltip/Tooltip-layout.scss +0 -10
  122. package/dist/scss/v2/Tooltip/Tooltip-theme.scss +0 -36
  123. package/dist/scss/v2/TypingIndicator/TypingIndicator-layout.scss +0 -31
  124. package/dist/scss/v2/TypingIndicator/TypingIndicator-theme.scss +0 -68
  125. package/dist/scss/v2/UnreadCountBadge/UnreadCountBadge-layout.scss +0 -49
  126. package/dist/scss/v2/UnreadCountBadge/UnreadCountBadge-theme.scss +0 -11
  127. package/dist/scss/v2/_base.scss +0 -65
  128. package/dist/scss/v2/_emoji-replacement.scss +0 -45
  129. package/dist/scss/v2/_global-layout-variables.scss +0 -65
  130. package/dist/scss/v2/_global-theme-variables.scss +0 -173
  131. package/dist/scss/v2/_icons.scss +0 -36
  132. package/dist/scss/v2/_palette-variables.scss +0 -55
  133. package/dist/scss/v2/_utils.scss +0 -212
  134. package/dist/scss/v2/_variables.scss +0 -2
  135. package/dist/scss/v2/common/CTAButton/CTAButton-layout.scss +0 -4
  136. package/dist/scss/v2/common/CTAButton/CTAButton-theme.scss +0 -42
  137. package/dist/scss/v2/common/CircleFAButton/CircleFAButton-layout.scss +0 -14
  138. package/dist/scss/v2/common/CircleFAButton/CircleFAButton-theme.scss +0 -35
  139. package/dist/scss/v2/index.layout.scss +0 -49
  140. package/dist/scss/v2/index.scss +0 -50
  141. package/dist/scss/v2/vendor/emoji-mart.scss +0 -514
  142. package/dist/scss/v2/vendor/react-image-gallery.scss +0 -258
  143. /package/dist/{assets → css/assets}/EmojiOneColor.woff2 +0 -0
  144. /package/dist/{assets → css/assets}/NotoColorEmoji-flags.woff2 +0 -0
@@ -1,268 +0,0 @@
1
- @use '../utils';
2
-
3
- .str-chat__message-input {
4
- $send-button-size: calc(var(--str-chat__spacing-px) * 45);
5
- $start-audio-recording-button-size: calc(var(--str-chat__spacing-px) * 40);
6
-
7
- @include utils.flex-col-center;
8
- width: 100%;
9
- padding: var(--str-chat__spacing-1) var(--str-chat__spacing-2);
10
-
11
- position: relative;
12
-
13
- .str-chat__quoted-message-preview-header {
14
- @include utils.flex-row-center;
15
- width: 100%;
16
-
17
- .str-chat__quoted-message-reply-to-message {
18
- width: 100%;
19
- text-align: center;
20
- }
21
-
22
- .str-chat__quoted-message-remove {
23
- width: calc(var(--str-chat__spacing-px) * 40);
24
- height: calc(var(--str-chat__spacing-px) * 40);
25
- cursor: pointer;
26
- }
27
- }
28
-
29
- .str-chat__message-input-inner {
30
- flex-grow: 1;
31
- width: 100%;
32
- display: flex;
33
- align-items: center;
34
- justify-content: center;
35
-
36
- .str-chat__file-input-container {
37
- --str-chat-icon-height: calc(var(--str-chat__spacing-px) * 24);
38
- @include utils.flex-row-center;
39
- width: calc(var(--str-chat__spacing-px) * 45);
40
- height: calc(var(--str-chat__spacing-px) * 45);
41
- cursor: pointer;
42
-
43
- .str-chat__file-input-label {
44
- @include utils.flex-row-center;
45
- cursor: pointer;
46
- }
47
- }
48
-
49
- .str-chat-angular__create-poll {
50
- --str-chat-icon-height: calc(var(--str-chat__spacing-px) * 21);
51
- @include utils.flex-row-center;
52
- width: calc(var(--str-chat__spacing-px) * 45);
53
- height: calc(var(--str-chat__spacing-px) * 45);
54
- cursor: pointer;
55
- }
56
-
57
- .str-chat__message-textarea-container {
58
- @include utils.flex-col-center;
59
- width: 100%;
60
- min-width: 0;
61
- max-height: 100%;
62
-
63
- .str-chat__message-textarea-with-emoji-picker {
64
- width: 100%;
65
- min-height: 0;
66
- max-height: 100%;
67
- display: flex;
68
- padding: var(--str-chat__spacing-2) var(--str-chat__spacing-4);
69
- column-gap: var(--str-chat__spacing-2);
70
-
71
- .str-chat__message-textarea {
72
- width: 100%;
73
- display: flex;
74
- max-height: 100%;
75
- overflow-y: auto;
76
- overflow-x: hidden;
77
- padding: 0;
78
- }
79
-
80
- .str-chat__message-textarea-emoji-picker {
81
- @include utils.flex-row-center;
82
- width: calc(var(--str-chat__spacing-px) * 27);
83
- height: calc(var(--str-chat__spacing-px) * 27);
84
- font-size: calc(var(--str-chat__spacing-px) * 27);
85
- align-self: end;
86
-
87
- .str-chat__message-textarea-emoji-picker-container {
88
- z-index: 5;
89
-
90
- .str-chat__emoji-picker-container {
91
- display: flex;
92
- }
93
- }
94
-
95
- .str-chat__emoji-picker-button {
96
- @include utils.unset-button;
97
- display: flex;
98
- cursor: pointer;
99
-
100
- svg {
101
- width: calc(var(--str-chat__spacing-px) * 24);
102
- height: calc(var(--str-chat__spacing-px) * 24);
103
-
104
- path {
105
- fill: var(--str-chat__message-input-tools-color);
106
- }
107
- }
108
- }
109
- }
110
- }
111
- }
112
- }
113
-
114
- .str-chat__message-textarea-angular-host {
115
- @include utils.flex-row-center;
116
- width: 100%;
117
- }
118
-
119
- .str-chat__message-textarea-react-host {
120
- position: relative;
121
- display: flex;
122
- align-items: center;
123
- justify-content: center;
124
- width: 100%;
125
- }
126
-
127
- .str-chat__stop-ai-generation-button {
128
- width: calc(var(--str-chat__spacing-px) * 30);
129
- height: calc(var(--str-chat__spacing-px) * 28);
130
- cursor: pointer;
131
- }
132
-
133
- .str-chat__send-button {
134
- --str-chat-icon-height: calc(var(--str-chat__spacing-px) * 32);
135
- @include utils.flex-row-center;
136
- cursor: pointer;
137
- padding: 0;
138
- width: $send-button-size;
139
- height: $send-button-size;
140
- min-width: $send-button-size;
141
-
142
- svg {
143
- width: calc(var(--str-chat__spacing-px) * 32);
144
- height: calc(var(--str-chat__spacing-px) * 32);
145
- }
146
- }
147
-
148
- .str-chat__start-recording-audio-button {
149
- --str-chat-icon-height: calc(var(--str-chat__spacing-px) * 25);
150
- @include utils.flex-row-center;
151
- cursor: pointer;
152
- padding: 0;
153
- width: $start-audio-recording-button-size;
154
- height: $start-audio-recording-button-size;
155
- min-width: $start-audio-recording-button-size;
156
-
157
- svg {
158
- height: calc(var(--str-chat__spacing-px) * 25);
159
- }
160
- }
161
-
162
- .str-chat__message-input-cooldown {
163
- @include utils.flex-row-center;
164
- margin-inline-start: var(--str-chat__spacing-2);
165
- margin-block: calc(var(--str-chat__spacing-2) / 2);
166
- min-width: calc(#{$send-button-size} - var(--str-chat__spacing-2));
167
- min-height: calc(#{$send-button-size} - var(--str-chat__spacing-2));
168
- }
169
-
170
- .str-chat__message-input-not-allowed {
171
- align-self: center;
172
- padding: var(--str-chat__spacing-3);
173
- }
174
-
175
- .str-chat__quoted-message-preview {
176
- padding: var(--str-chat__spacing-2);
177
-
178
- .str-chat__quoted-poll-preview__name {
179
- @include utils.ellipsis-text();
180
- overflow-x: hidden; // force ellipsis to show
181
- }
182
- }
183
-
184
- .str-chat__recording-permission-denied-notification {
185
- position: absolute;
186
- left: 0.5rem;
187
- max-width: 100%;
188
- bottom: 100%;
189
- padding: 1rem;
190
- margin-inline: 0.5rem;
191
- z-index: 2;
192
-
193
- .str-chat__recording-permission-denied-notification__dismiss-button-container {
194
- display: flex;
195
- justify-content: flex-end;
196
- }
197
- }
198
- }
199
-
200
- .str-chat__message-input-angular-host {
201
- max-height: 50%;
202
- }
203
-
204
- .str-chat-angular__message-input {
205
- height: 100%;
206
- max-height: 100%;
207
- }
208
-
209
- .str-chat-angular__message-input-inner {
210
- height: 100%;
211
- max-height: 100%;
212
- min-height: 0;
213
- flex-grow: initial;
214
- }
215
-
216
- [dir='rtl'] .str-chat__send-button,
217
- [dir='rtl'] .str-chat__start-recording-audio-button {
218
- svg {
219
- transform: scale(-1, 1);
220
- }
221
- }
222
-
223
- .str-chat__attachment-selector-actions-menu,
224
- .str-chat__attachment-selector {
225
- button {
226
- @include utils.button-reset;
227
- }
228
- }
229
-
230
- .str-chat__attachment-selector {
231
- .str-chat__attachment-selector__menu-button {
232
- padding: 0.25rem 0.5rem;
233
- cursor: pointer;
234
-
235
- .str-chat__attachment-selector__menu-button__icon {
236
- height: 26px;
237
- width: 26px;
238
- }
239
- }
240
- }
241
-
242
- .str-chat__file-input {
243
- display: none;
244
- }
245
-
246
- .str-chat__attachment-selector-actions-menu {
247
- min-width: 300px;
248
- padding-block: 0.5rem;
249
- }
250
-
251
- .str-chat__send-to-channel-checkbox__container {
252
- width: 100%;
253
- display: flex;
254
- padding: 0.5rem 0.75rem;
255
-
256
- .str-chat__send-to-channel-checkbox__field {
257
- display: flex;
258
- align-items: center;
259
-
260
- label {
261
- padding-inline: 0.5rem;
262
- }
263
-
264
- input {
265
- margin: 0;
266
- }
267
- }
268
- }
@@ -1,359 +0,0 @@
1
- @use '../utils';
2
-
3
- .str-chat {
4
- /* The border radius of the component */
5
- --str-chat__message-input-border-radius: 0;
6
-
7
- /* The text/icon color of the component */
8
- --str-chat__message-input-color: var(--str-chat__text-color);
9
-
10
- /* The background color of the component */
11
- --str-chat__message-input-background-color: var(--str-chat__secondary-background-color);
12
-
13
- /* Top border of the component */
14
- --str-chat__message-input-border-block-start: none;
15
-
16
- /* Bottom border of the component */
17
- --str-chat__message-input-border-block-end: none;
18
-
19
- /* Left (right in RTL layout) border of the component */
20
- --str-chat__message-input-border-inline-start: none;
21
-
22
- /* Right (left in RTL layout) border of the component */
23
- --str-chat__message-input-border-inline-end: none;
24
-
25
- /* Box shadow applied to the component */
26
- --str-chat__message-input-box-shadow: none;
27
-
28
- /* The border radius used for the borders of the textarea */
29
- --str-chat__message-textarea-border-radius: var(--str-chat__border-radius-md);
30
-
31
- /* The text/icon color of the textarea */
32
- --str-chat__message-textarea-color: var(--str-chat__text-color);
33
-
34
- /* The background color of the textarea */
35
- --str-chat__message-textarea-background-color: transparent;
36
-
37
- /* Top border of the textarea */
38
- --str-chat__message-textarea-border-block-start: 1px solid var(--str-chat__surface-color);
39
-
40
- /* Bottom border of the textarea */
41
- --str-chat__message-textarea-border-block-end: 1px solid var(--str-chat__surface-color);
42
-
43
- /* Left (right in RTL layout) border of the textarea */
44
- --str-chat__message-textarea-border-inline-start: 1px solid var(--str-chat__surface-color);
45
-
46
- /* Right (left in RTL layout) border of the textarea */
47
- --str-chat__message-textarea-border-inline-end: 1px solid var(--str-chat__surface-color);
48
-
49
- /* Box shadow applied to the textarea */
50
- --str-chat__message-textarea-box-shadow: none;
51
-
52
- /* The border radius used for the borders of the send button */
53
- --str-chat__message-send-border-radius: var(--str-chat__border-radius-circle);
54
-
55
- /* The text/icon color of the send button */
56
- --str-chat__message-send-color: var(--str-chat__primary-color);
57
-
58
- /* The background color of the send button */
59
- --str-chat__message-send-background-color: transparent;
60
-
61
- /* Top border of the send button */
62
- --str-chat__message-send-border-block-start: 0;
63
-
64
- /* Bottom border of the send button */
65
- --str-chat__message-send-border-block-end: 0;
66
-
67
- /* Left (right in RTL layout) border of the send button */
68
- --str-chat__message-send-border-inline-start: 0;
69
-
70
- /* Right (left in RTL layout) border of the send button */
71
- --str-chat__message-send-border-inline-end: 0;
72
-
73
- /* Box shadow applied to the send button */
74
- --str-chat__message-send-box-shadow: none;
75
-
76
- /* The color of the send button in disabled state */
77
- --str-chat__message-send-disabled-color: var(--str-chat__disabled-color);
78
-
79
- /* The background color of the send button in disabled state */
80
- --str-chat__message-send-disabled-background-color: var(--str-chat__disabled-color);
81
-
82
- /* The border radius used for the borders of the audio recording button */
83
- --str-chat__start-recording-audio-button-border-radius: var(--str-chat__border-radius-circle);
84
-
85
- /* The text/icon color of the audio recording button */
86
- --str-chat__start-recording-audio-button-color: var(--str-chat__text-low-emphasis-color);
87
-
88
- /* The background color of the audio recording button */
89
- --str-chat__start-recording-audio-button-background-color: transparent;
90
-
91
- /* Top border of the audio recording button */
92
- --str-chat__start-recording-audio-button-border-block-start: 0;
93
-
94
- /* Bottom border of the audio recording button */
95
- --str-chat__start-recording-audio-button-border-block-end: 0;
96
-
97
- /* Left (right in RTL layout) border of the audio recording button */
98
- --str-chat__start-recording-audio-button-border-inline-start: 0;
99
-
100
- /* Right (left in RTL layout) border of the audio recording button */
101
- --str-chat__start-recording-audio-button-border-inline-end: 0;
102
-
103
- /* Box shadow applied to the audio recording button */
104
- --str-chat__start-recording-audio-button-box-shadow: none;
105
-
106
- /* The color of the audio recording button in disabled state */
107
- --str-chat__start-recording-audio-button-disabled-color: var(--str-chat__disabled-color);
108
-
109
- /* The background color of the audio recording button in disabled state */
110
- --str-chat__start-recording-audio-button-disabled-background-color: transparent;
111
-
112
- /* The border radius used for the borders of the tool buttons of the message input (such as attachment upload button) */
113
- --str-chat__message-input-tools-border-radius: var(--str-chat__border-radius-circle);
114
-
115
- /* The text/icon color of the tool buttons of the message input (such as attachment upload button) */
116
- --str-chat__message-input-tools-color: var(--str-chat__text-low-emphasis-color);
117
-
118
- /* The background color of the tool buttons of the message input (such as attachment upload button) */
119
- --str-chat__message-input-tools-background-color: transparent;
120
-
121
- /* Top border of the tool buttons of the message input (such as attachment upload button) */
122
- --str-chat__message-input-tools-border-block-start: 0;
123
-
124
- /* Bottom border of the tool buttons of the message input (such as attachment upload button) */
125
- --str-chat__message-input-tools-border-block-end: 0;
126
-
127
- /* Left (right in RTL layout) border of the tool buttons of the message input (such as attachment upload button) */
128
- --str-chat__message-input-tools-border-inline-start: 0;
129
-
130
- /* Right (left in RTL layout) border of the tool buttons of the message input (such as attachment upload button) */
131
- --str-chat__message-input-tools-border-inline-end: 0;
132
-
133
- /* Box shadow applied to the tool buttons of the message input (such as attachment upload button) */
134
- --str-chat__message-input-tools-box-shadow: none;
135
-
136
- /* Thex text color of the message that is displayed when the use can't send messages */
137
- --str-chat__message-input-not-allowed-color: var(--str-chat__disabled-color);
138
-
139
- /* The border radius used for the borders of the cooldown timer */
140
- --str-chat__cooldown-border-radius: var(--str-chat__border-radius-circle);
141
-
142
- /* The text/icon color of the cooldown timer */
143
- --str-chat__cooldown-color: var(--str-chat__on-disabled-color);
144
-
145
- /* The background color of the cooldown timer */
146
- --str-chat__cooldown-background-color: var(--str-chat__disabled-color);
147
-
148
- /* Top border of the cooldown timer */
149
- --str-chat__cooldown-border-block-start: 0;
150
-
151
- /* Bottom border of the cooldown timer */
152
- --str-chat__cooldown-border-block-end: 0;
153
-
154
- /* Left (right in RTL layout) border of the cooldown timer */
155
- --str-chat__cooldown-border-inline-start: 0;
156
-
157
- /* Right (left in RTL layout) border of the cooldown timer */
158
- --str-chat__cooldown-border-inline-end: 0;
159
-
160
- /* Box shadow applied to the cooldown timer */
161
- --str-chat__cooldown-box-shadow: none;
162
-
163
- /* Color applied to an icon in a button that opens attachment selector */
164
- --str-chat__attachment-selector-button-icon-color: var(--str-chat__text-low-emphasis-color);
165
-
166
- /* Color applied to an icon in a button that opens attachment selector when hovered over */
167
- --str-chat__attachment-selector-button-icon-color-hover: var(--str-chat__primary-color);
168
-
169
- /* Color applied to an attachment selector menu item icon when hovered over */
170
- --str-chat__attachment-selector-actions-menu-button-icon-color: var(--str-chat__primary-color);
171
-
172
- /* Color applied to an attachment selector menu item icon when hovered over or focused */
173
- --str-chat__attachment-selector-actions-menu-button-icon-color-active: var(
174
- --str-chat__primary-color
175
- );
176
- }
177
-
178
- .str-chat__message-input {
179
- @include utils.component-layer-overrides('message-input');
180
-
181
- .str-chat__file-input-container,
182
- .str-chat-angular__create-poll {
183
- --str-chat-icon-color: var(--str-chat__message-input-tools-color);
184
- @include utils.component-layer-overrides('message-input-tools');
185
-
186
- svg path {
187
- fill: var(--str-chat__message-input-tools-color);
188
- }
189
- }
190
-
191
- .str-chat__attachment-preview-image-error {
192
- svg path {
193
- fill: var(--str-chat__primary-color);
194
- }
195
- }
196
-
197
- .str-chat__message-textarea-container {
198
- @include utils.component-layer-overrides('message-textarea');
199
-
200
- .str-chat__message-textarea {
201
- resize: none;
202
- border: none;
203
- color: var(--str-chat__message-textarea-color);
204
- background-color: transparent;
205
- box-shadow: none;
206
- outline: none;
207
- font: var(--str-chat__subtitle-text);
208
- }
209
- }
210
-
211
- .str-chat__stop-ai-generation-button {
212
- background-image: var(--str-chat__circle-stop-icon);
213
- background-color: transparent;
214
- border-width: 0;
215
- }
216
-
217
- .str-chat__send-button {
218
- --str-chat-icon-color: var(--str-chat__message-send-color);
219
- @include utils.component-layer-overrides('message-send');
220
-
221
- svg path {
222
- fill: var(--str-chat__message-send-color);
223
- }
224
-
225
- &:disabled {
226
- --str-chat-icon-color: var(--str-chat__message-send-disabled-color);
227
- background-color: transparent;
228
-
229
- svg path {
230
- fill: var(--str-chat__message-send-disabled-color);
231
- }
232
- }
233
- }
234
-
235
- .str-chat__start-recording-audio-button {
236
- --str-chat-icon-color: var(--str-chat__start-recording-audio-button-color);
237
- @include utils.component-layer-overrides('start-recording-audio-button');
238
-
239
- &:disabled {
240
- background-color: var(--str-chat__message-send-disabled-background-color);
241
- }
242
- }
243
-
244
- .str-chat__message-input-cooldown {
245
- @include utils.component-layer-overrides('cooldown');
246
- font: var(--str-chat__subtitle-medium-text);
247
- }
248
-
249
- .str-chat__message-input-not-allowed {
250
- color: var(--str-chat__message-input-not-allowed-color);
251
- font: var(--str-chat__subtitle-text);
252
- }
253
-
254
- .str-chat__quoted-message-preview-header {
255
- .str-chat__quoted-message-reply-to-message {
256
- font: var(--str-chat__subtitle-medium-text);
257
- }
258
-
259
- .str-chat__quoted-message-remove {
260
- background-color: transparent;
261
- border: none;
262
-
263
- svg path {
264
- fill: var(--str-chat__message-input-tools-color);
265
- }
266
- }
267
- }
268
-
269
- .str-chat__recording-permission-denied-notification {
270
- background-color: var(--str-chat__text-color);
271
- border-radius: var(--str-chat__border-radius-md);
272
- color: var(--str-chat__background-color);
273
-
274
- .str-chat__recording-permission-denied-notification__heading,
275
- .str-chat__recording-permission-denied-notification__dismiss-button {
276
- font: var(--str-chat__subtitle2-medium-text);
277
- }
278
-
279
- .str-chat__recording-permission-denied-notification__message {
280
- font: var(--str-chat__subtitle-text);
281
- }
282
-
283
- .str-chat__recording-permission-denied-notification__dismiss-button {
284
- @include utils.button-reset;
285
- color: var(--str-chat__background-color);
286
- cursor: pointer;
287
- text-transform: uppercase;
288
- }
289
- }
290
- }
291
-
292
- .str-chat__attachment-selector {
293
- .str-chat__attachment-selector__menu-button {
294
- .str-chat__attachment-selector__menu-button__icon {
295
- background-color: var(--str-chat__attachment-selector-button-icon-color);
296
- -webkit-mask: var(--str-chat__add-attachment-icon) no-repeat center / contain;
297
- mask: var(--str-chat__add-attachment-icon) no-repeat center / contain;
298
- }
299
-
300
- &:hover {
301
- .str-chat__attachment-selector__menu-button__icon {
302
- background-color: var(--str-chat__attachment-selector-button-icon-color-hover);
303
- }
304
- }
305
- }
306
- }
307
-
308
- .str-chat__attachment-selector-actions-menu {
309
- .str-chat__attachment-selector-actions-menu__button {
310
- color: var(--str-chat__text-low-emphasis-color);
311
-
312
- .str-chat__dialog-menu__button-icon {
313
- background-color: var(--str-chat__attachment-selector-actions-menu-button-icon-color);
314
- }
315
-
316
- &:hover,
317
- &:focus {
318
- color: var(--str-chat__text-color);
319
-
320
- .str-chat__dialog-menu__button-icon {
321
- background-color: var(
322
- --str-chat__attachment-selector-actions-menu-button-icon-color-active
323
- );
324
- }
325
- }
326
- }
327
-
328
- .str-chat__attachment-selector-actions-menu__upload-file-button {
329
- .str-chat__dialog-menu__button-icon {
330
- -webkit-mask: var(--str-chat__folder-icon) no-repeat center / contain;
331
- mask: var(--str-chat__folder-icon) no-repeat center / contain;
332
- }
333
- }
334
-
335
- .str-chat__attachment-selector-actions-menu__create-poll-button {
336
- .str-chat__dialog-menu__button-icon {
337
- -webkit-mask: var(--str-chat__poll-icon) no-repeat center / contain;
338
- mask: var(--str-chat__poll-icon) no-repeat center / contain;
339
- }
340
- }
341
-
342
- .str-chat__attachment-selector-actions-menu__add-location-button {
343
- .str-chat__dialog-menu__button-icon {
344
- -webkit-mask: var(--str-chat__location-icon) no-repeat center / contain;
345
- mask: var(--str-chat__location-icon) no-repeat center / contain;
346
- }
347
- }
348
- }
349
-
350
- .str-chat__send-to-channel-checkbox__field {
351
- * {
352
- cursor: pointer;
353
- }
354
-
355
- label {
356
- color: var(--str-chat__text-low-emphasis-color);
357
- font: var(--str-chat__body-text);
358
- }
359
- }
@@ -1,65 +0,0 @@
1
- @use '../utils';
2
-
3
- .str-chat__main-panel-inner {
4
- height: 100%;
5
- display: flex;
6
- flex-direction: column;
7
- min-height: 0;
8
- position: relative;
9
- align-items: center;
10
- }
11
-
12
- .str-chat__list {
13
- @include utils.scrollable;
14
- overscroll-behavior: none;
15
- width: 100%;
16
- height: 100%;
17
- max-height: 100%;
18
-
19
- .str-chat__message-list-scroll {
20
- @include utils.message-list-spacing;
21
-
22
- .str-chat__ul {
23
- list-style: none;
24
- padding: 0;
25
- margin: 0;
26
- }
27
- }
28
-
29
- .str-chat__parent-message-li {
30
- $spacing: var(--str-chat__spacing-4);
31
- padding-block-end: $spacing;
32
- margin-block-end: $spacing;
33
-
34
- .str-chat__thread-start {
35
- text-align: start;
36
- padding-top: var(--str-chat__spacing-3);
37
- }
38
- }
39
- }
40
-
41
- .str-chat__jump-to-latest-message {
42
- position: absolute;
43
- inset-block-end: var(--str-chat__spacing-4);
44
- inset-inline-end: var(--str-chat__spacing-2);
45
- z-index: 2;
46
-
47
- .str-chat__jump-to-latest-unread-count {
48
- position: absolute;
49
- padding: var(--str-chat__spacing-0_5) var(--str-chat__spacing-2);
50
- left: 50%;
51
- transform: translateX(-50%) translateY(-100%);
52
- }
53
- }
54
-
55
- .str-chat__main-panel {
56
- .str-chat__ul {
57
- .str-chat__li:first-of-type {
58
- padding-top: 4.5rem;
59
- }
60
-
61
- .str-chat__date-separator + .str-chat__li:first-of-type {
62
- padding-top: inherit;
63
- }
64
- }
65
- }