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,605 +0,0 @@
1
- @use '../utils';
2
-
3
- .str-chat {
4
- /* The border radius used for the borders of the component */
5
- --str-chat__attachment-list-border-radius: 0;
6
-
7
- /* The text/icon color of the component */
8
- --str-chat__attachment-list-color: var(--str-chat__text-color);
9
-
10
- /* The background color of the component */
11
- --str-chat__attachment-list-background-color: transparent;
12
-
13
- /* Top border of the component */
14
- --str-chat__attachment-list-border-block-start: none;
15
-
16
- /* Bottom border of the component */
17
- --str-chat__attachment-list-border-block-end: none;
18
-
19
- /* Left (right in RTL layout) border of the component */
20
- --str-chat__attachment-list-border-inline-start: none;
21
-
22
- /* Right (left in RTL layout) border of the component */
23
- --str-chat__attachment-list-border-inline-end: none;
24
-
25
- /* Box shadow applied to the component */
26
- --str-chat__attachment-list-box-shadow: none;
27
-
28
- /* The border radius used for the borders of image/video attachments (images/videos uploaded from files, scraped media, GIFs) */
29
- --str-chat__image-attachment-border-radius: calc(
30
- var(--str-chat__message-bubble-border-radius) - var(--str-chat__attachment-margin)
31
- );
32
-
33
- /* The text/icon color of image/video attachments (images/videos uploaded from files, scraped media, GIFs) */
34
- --str-chat__image-attachment-color: var(--str-chat__text-color);
35
-
36
- /* The background color of image/video attachments (images/videos uploaded from files, scraped media, GIFs) */
37
- --str-chat__image-attachment-background-color: var(--str-chat__secondary-surface-color);
38
-
39
- /* Top border of image/video attachments (images/videos uploaded from files, scraped media, GIFs) */
40
- --str-chat__image-attachment-border-block-start: none;
41
-
42
- /* Bottom border of image/video attachments (images/videos uploaded from files, scraped media, GIFs) */
43
- --str-chat__image-attachment-border-block-end: none;
44
-
45
- /* Left (right in RTL layout) border of image/video attachments (images/videos uploaded from files, scraped media, GIFs) */
46
- --str-chat__image-attachment-border-inline-start: none;
47
-
48
- /* Right (left in RTL layout) border of image/video attachments (images/videos uploaded from files, scraped media, GIFs) */
49
- --str-chat__image-attachment-border-inline-end: none;
50
-
51
- /* Box shadow applied to image/video attachments (images/videos uploaded from files, scraped media, GIFs) */
52
- --str-chat__image-attachment-box-shadow: none;
53
-
54
- /* The border radius used for the borders of image gallery attachments */
55
- --str-chat__image-gallery-attachment-border-radius: calc(
56
- var(--str-chat__message-bubble-border-radius) - var(--str-chat__attachment-margin)
57
- );
58
-
59
- /* The text/icon color of image gallery attachments */
60
- --str-chat__image-gallery-attachment-color: var(--str-chat__text-color);
61
-
62
- /* The background color of image gallery attachments */
63
- --str-chat__image-gallery-attachment-background-color: transparent;
64
-
65
- /* Top border of image gallery attachments */
66
- --str-chat__image-gallery-attachment-border-block-start: none;
67
-
68
- /* Bottom border of image gallery attachments */
69
- --str-chat__image-gallery-attachment-border-block-end: none;
70
-
71
- /* Left (right in RTL layout) border of image gallery attachments */
72
- --str-chat__image-gallery-attachment-border-inline-start: none;
73
-
74
- /* Right (left in RTL layout) border of image gallery attachments */
75
- --str-chat__image-gallery-attachment-border-inline-end: none;
76
-
77
- /* Box shadow applied to image gallery attachments */
78
- --str-chat__image-gallery-attachment-box-shadow: none;
79
-
80
- /* Overlay color applied to image gallery attachments */
81
- --str-chat__image-gallery-attachment-overlay: var(--str-chat__secondary-overlay-color);
82
-
83
- /* Text colors used on overlay applied to image gallery attachments */
84
- --str-chat__image-gallery-attachment-overlay-text-color: var(
85
- --str-chat__secondary-overlay-text-color
86
- );
87
-
88
- /* The border radius used for the borders of card attachments */
89
- --str-chat__card-attachment-border-radius: 0;
90
-
91
- /* The text/icon color of card attachments */
92
- --str-chat__card-attachment-color: var(--str-chat__text-color);
93
-
94
- /* The text color of links inside card attachments */
95
- --str-chat__card-attachment-link-color: var(--str-chat__primary-color);
96
-
97
- /* The background color of card attachments */
98
- --str-chat__card-attachment-background-color: transparent;
99
-
100
- /* Top border of card attachments */
101
- --str-chat__card-attachment-border-block-start: none;
102
-
103
- /* Bottom border of card attachments */
104
- --str-chat__card-attachment-border-block-end: none;
105
-
106
- /* Left (right in RTL layout) border of card attachments */
107
- --str-chat__card-attachment-border-inline-start: none;
108
-
109
- /* Right (left in RTL layout) border of card attachments */
110
- --str-chat__card-attachment-border-inline-end: none;
111
-
112
- /* Box shadow applied to card attachments */
113
- --str-chat__card-attachment-box-shadow: none;
114
-
115
- /* The border radius used for the borders of file attachments */
116
- --str-chat__file-attachment-border-radius: calc(
117
- var(--str-chat__message-bubble-border-radius) - var(--str-chat__attachment-margin)
118
- );
119
-
120
- /* The text/icon color of file attachments */
121
- --str-chat__file-attachment-color: var(--str-chat__text-color);
122
-
123
- /* The text/icon color of file attachments for low emphasis texts (for example file size) */
124
- --str-chat__file-attachment-secondary-color: var(--str-chat__text-low-emphasis-color);
125
-
126
- /* The background color of file attachments */
127
- --str-chat__file-attachment-background-color: var(--str-chat__secondary-background-color);
128
-
129
- /* Top border of file attachments */
130
- --str-chat__file-attachment-border-block-start: none;
131
-
132
- /* Bottom border of file attachments */
133
- --str-chat__file-attachment-border-block-end: none;
134
-
135
- /* Left (right in RTL layout) border of file attachments */
136
- --str-chat__file-attachment-border-inline-start: none;
137
-
138
- /* Right (left in RTL layout) border of file attachments */
139
- --str-chat__file-attachment-border-inline-end: none;
140
-
141
- /* Box shadow applied to file attachments */
142
- --str-chat__file-attachment-box-shadow: none;
143
-
144
- /* The border radius used for the borders of file attachments */
145
- --str-chat__geolocation-attachment-border-radius: calc(
146
- var(--str-chat__message-bubble-border-radius) - var(--str-chat__attachment-margin)
147
- );
148
-
149
- /* The text/icon color of geolocation attachments */
150
- --str-chat__geolocation-attachment-color: var(--str-chat__text-color);
151
-
152
- /* The text/icon color of geolocation attachments for low emphasis texts (for example file size) */
153
- --str-chat__geolocation-attachment-secondary-color: var(--str-chat__text-low-emphasis-color);
154
-
155
- /* The background color of geolocation attachments */
156
- --str-chat__geolocation-attachment-background-color: var(--str-chat__secondary-background-color);
157
-
158
- /* Top border of geolocation attachments */
159
- --str-chat__geolocation-attachment-border-block-start: none;
160
-
161
- /* Bottom border of geolocation attachments */
162
- --str-chat__geolocation-attachment-border-block-end: none;
163
-
164
- /* Left (right in RTL layout) border of geolocation attachments */
165
- --str-chat__geolocation-attachment-border-inline-start: none;
166
-
167
- /* Right (left in RTL layout) border of geolocation attachments */
168
- --str-chat__geolocation-attachment-border-inline-end: none;
169
-
170
- /* Box shadow applied to geolocation attachments */
171
- --str-chat__geolocation-attachment-box-shadow: none;
172
-
173
- /* Border radius applied audio widget */
174
- --str-chat__audio-attachment-widget-border-radius: calc(
175
- var(--str-chat__message-bubble-border-radius) - var(--str-chat__attachment-margin)
176
- );
177
-
178
- /* Text color used in audio widget */
179
- --str-chat__audio-attachment-widget-color: var(--str-chat__text-color);
180
-
181
- /* Border radius applied audio widget */
182
- --str-chat__audio-attachment-widget-secondary-color: var(--str-chat__text-low-emphasis-color);
183
-
184
- /* The text/icon color for low emphasis texts (for example file size) in audio widget */
185
- --str-chat__audio-attachment-widget-background-color: var(--str-chat__secondary-background-color);
186
-
187
- /* Top border of audio widget */
188
- --str-chat__audio-attachment-widget-border-block-start: none;
189
-
190
- /* Bottom border of audio widget */
191
- --str-chat__audio-attachment-widget-border-block-end: none;
192
-
193
- /* Left (right in RTL layout) border of audio widget */
194
- --str-chat__audio-attachment-widget-border-inline-start: none;
195
-
196
- /* Right (left in RTL layout) border of audio widget */
197
- --str-chat__audio-attachment-widget-border-inline-end: none;
198
-
199
- /* Box shadow applied to audio widget */
200
- --str-chat__audio-attachment-widget-box-shadow: none;
201
-
202
- /* Border radius applied to audio recording widget */
203
- --str-chat__voice-recording-attachment-widget-border-radius: calc(
204
- var(--str-chat__message-bubble-border-radius) - var(--str-chat__attachment-margin)
205
- );
206
-
207
- /* Text color used in audio recording widget */
208
- --str-chat__voice-recording-attachment-widget-color: var(--str-chat__text-color);
209
-
210
- /* Border radius applied to audio recording widget */
211
- --str-chat__voice-recording-attachment-widget-secondary-color: var(
212
- --str-chat__text-low-emphasis-color
213
- );
214
-
215
- /* The text/icon color for low emphasis texts (for example file size) in audio recording widget */
216
- --str-chat__voice-recording-attachment-widget-background-color: var(
217
- --str-chat__secondary-background-color
218
- );
219
-
220
- /* Top border of audio recording widget */
221
- --str-chat__voice-recording-attachment-widget-border-block-start: none;
222
-
223
- /* Bottom border of audio recording widget */
224
- --str-chat__voice-recording-attachment-widget-border-block-end: none;
225
-
226
- /* Left (right in RTL layout) border of audio recording widget */
227
- --str-chat__voice-recording-attachment-widget-border-inline-start: none;
228
-
229
- /* Right (left in RTL layout) border of audio recording widget */
230
- --str-chat__voice-recording-attachment-widget-border-inline-end: none;
231
-
232
- /* Box shadow applied to audio recording widget */
233
- --str-chat__voice-recording-attachment-widget-box-shadow: none;
234
-
235
- /* Border radius applied to the play / pause button of audio widget */
236
- --str-chat__audio-attachment-controls-button-border-radius: var(--str-chat__border-radius-circle);
237
-
238
- /* Text color applied to audio widget's play / pause button */
239
- --str-chat__audio-attachment-controls-button-color: var(--str-chat__text-color);
240
-
241
- /* Background color applied to audio widget's play / pause button */
242
- --str-chat__audio-attachment-controls-button-background-color: var(
243
- --str-chat__secondary-background-color
244
- );
245
-
246
- /* Background color applied to audio widget's play / pause button when in pressed (active) state */
247
- --str-chat__audio-attachment-controls-button-pressed-background-color: var(
248
- --str-chat__surface-color
249
- );
250
-
251
- /* Top border of audio widget's play / pause button */
252
- --str-chat__audio-attachment-controls-button-border-block-start: none;
253
-
254
- /* Bottom border of audio widget's play / pause button */
255
- --str-chat__audio-attachment-controls-button-border-block-end: none;
256
-
257
- /* Left (right in RTL layout) border of audio widget's play / pause button */
258
- --str-chat__audio-attachment-controls-button-border-inline-start: none;
259
-
260
- /* Right (left in RTL layout) border of audio widget's play / pause button */
261
- --str-chat__audio-attachment-controls-button-border-inline-end: none;
262
-
263
- /* Box shadow applied to audio widget's play / pause button */
264
- --str-chat__audio-attachment-controls-button-box-shadow: var(--str-chat__circle-fab-box-shadow);
265
-
266
- /* The border radius used for attachment actions */
267
- --str-chat__attachment-actions-border-radius: 0;
268
-
269
- /* The text/icon color of attachment actions */
270
- --str-chat__attachment-actions-color: var(--str-chat__text-color);
271
-
272
- /* The background color of attachment actions */
273
- --str-chat__attachment-actions-background-color: transparent;
274
-
275
- /* Top border of attachment actions */
276
- --str-chat__attachment-actions-border-block-start: none;
277
-
278
- /* Bottom border of attachment actions */
279
- --str-chat__attachment-actions-border-block-end: none;
280
-
281
- /* Left (right in RTL layout) border of attachment actions */
282
- --str-chat__attachment-actions-border-inline-start: none;
283
-
284
- /* Right (left in RTL layout) border of attachment actions */
285
- --str-chat__attachment-actions-border-inline-end: none;
286
-
287
- /* Box shadow applied to attachment actions */
288
- --str-chat__attachment-actions-box-shadow: none;
289
-
290
- /* The border radius used for an attachment action */
291
- --str-chat__attachment-action-border-radius: 0;
292
-
293
- /* The text/icon color of an attachment action */
294
- --str-chat__attachment-action-color: var(--str-chat__text-low-emphasis-color);
295
-
296
- /* The background color of an attachment action */
297
- --str-chat__attachment-action-background-color: var(--str-chat__secondary-background-color);
298
-
299
- /* Top border of an attachment action */
300
- --str-chat__attachment-action-border-block-start: var(--str-chat__surface-color) 1px solid;
301
-
302
- /* Bottom border of an attachment action */
303
- --str-chat__attachment-action-border-block-end: var(--str-chat__surface-color) 1px solid;
304
-
305
- /* Left (right in RTL layout) border of an attachment action */
306
- --str-chat__attachment-action-border-inline-start: var(--str-chat__surface-color) 1px solid;
307
-
308
- /* Right (left in RTL layout) border of an attachment action */
309
- --str-chat__attachment-action-border-inline-end: var(--str-chat__surface-color) 1px solid;
310
-
311
- /* Box shadow applied to an attachment action */
312
- --str-chat__attachment-action-box-shadow: none;
313
-
314
- /* The text/icon color of an attachment action while in pressed state */
315
- --str-chat__attachment-action-active-color: var(--str-chat__primary-color);
316
- }
317
-
318
- .str-chat__attachment-list {
319
- @include utils.component-layer-overrides('attachment-list');
320
-
321
- .str-chat__message-attachment--image,
322
- .str-chat__message-attachment-card--header,
323
- .str-chat__message-attachment--video {
324
- @include utils.component-layer-overrides('image-attachment');
325
- }
326
-
327
- .str-chat__gallery {
328
- @include utils.component-layer-overrides('image-gallery-attachment');
329
-
330
- .str-chat__gallery-image {
331
- background-color: var(--str-chat__image-attachment-background-color);
332
- border: 0;
333
- }
334
-
335
- .str-chat__gallery-placeholder {
336
- color: var(--str-chat__image-gallery-attachment-overlay-text-color);
337
- display: flex;
338
- border: none;
339
- font: var(--str-chat__headline2-text);
340
-
341
- &::after {
342
- background-color: var(--str-chat__image-gallery-attachment-overlay);
343
- }
344
- }
345
- }
346
-
347
- .str-chat__message-attachment--svg-image {
348
- background-image: repeating-conic-gradient(#d4d5d7 0% 25%, #f4f4f4 0% 50%);
349
- background-size: 24px 24px;
350
- }
351
-
352
- .str-chat__message-attachment-unsupported,
353
- .str-chat__message-attachment-file--item {
354
- @include utils.component-layer-overrides('file-attachment');
355
- }
356
-
357
- .str-chat__message-attachment-geolocation {
358
- @include utils.component-layer-overrides('geolocation-attachment');
359
- overflow: hidden;
360
-
361
- .str-chat__message-attachment-geolocation__placeholder {
362
- .str-chat__message-attachment-geolocation__placeholder-link {
363
- color: currentColor;
364
- }
365
- }
366
-
367
- .str-chat__message-attachment-geolocation__status {
368
- background-color: var(--str-chat__tertiary-surface-color);
369
-
370
- .str-chat__message-attachment-geolocation__status--active {
371
- .str-chat__message-attachment-geolocation__stop-sharing-button {
372
- @include utils.button-reset;
373
- font: var(--str-chat__subtitle-medium-text);
374
- cursor: pointer;
375
- }
376
-
377
- .str-chat__message-attachment-geolocation__status--active-until {
378
- font: var(--str-chat__caption-text);
379
- }
380
- }
381
- }
382
- }
383
-
384
- .str-chat__message-attachment-unsupported {
385
- .str-chat__message-attachment-unsupported__title {
386
- font: var(--str-chat__subtitle-medium-text);
387
- word-break: keep-all;
388
- }
389
- }
390
-
391
- .str-chat__message-attachment-file--item,
392
- .str-chat__message-attachment-audio-widget {
393
- .str-chat__message-attachment-file--item-name,
394
- .str-chat__message-attachment-audio-widget--title {
395
- font: var(--str-chat__subtitle-medium-text);
396
- word-break: keep-all;
397
- }
398
-
399
- .str-chat__message-attachment-file--item-size {
400
- color: var(--str-chat__file-attachment-secondary-color);
401
- font: var(--str-chat__body-text);
402
- }
403
-
404
- .str-chat__message-attachment-download-icon {
405
- svg path {
406
- fill: var(--str-chat__file-attachment-color);
407
- }
408
- }
409
- }
410
-
411
- .str-chat__message-attachment-audio-widget {
412
- @include utils.component-layer-overrides('audio-attachment-widget');
413
- }
414
-
415
- .str-chat__message-attachment-audio-widget--progress-track {
416
- background: linear-gradient(
417
- to right,
418
- var(--str-chat__primary-color) var(--str-chat__message-attachment-audio-widget-progress),
419
- var(--str-chat__disabled-color) var(--str-chat__message-attachment-audio-widget-progress)
420
- );
421
- border-radius: calc(var(--str-chat__spacing-px) * 5);
422
-
423
- .str-chat__message-attachment-audio-widget--progress-indicator {
424
- background-color: var(--str-chat__primary-color);
425
- border-radius: inherit;
426
- }
427
- }
428
-
429
- .str-chat__message-attachment-audio-widget--play-button {
430
- @include utils.component-layer-overrides('audio-attachment-controls-button');
431
- @include utils.circle-fab-overrides('audio-attachment-controls-button');
432
- }
433
-
434
- .str-chat__message-attachment__voice-recording-widget {
435
- @include utils.component-layer-overrides('voice-recording-attachment-widget');
436
-
437
- a {
438
- color: var(--str-chat__voice-recording-attachment-widget-color);
439
- }
440
-
441
- .str-chat__message-attachment__voice-recording-widget__title {
442
- @include utils.ellipsis-text;
443
- font: var(--str-chat__subtitle-medium-text);
444
- }
445
-
446
- .str-chat__message-attachment__voice-recording-widget__timer {
447
- font: var(--str-chat__body-text);
448
- color: var(--str-chat__text-low-emphasis-color);
449
- white-space: nowrap;
450
- }
451
-
452
- .str-chat__wave-progress-bar__amplitude-bar {
453
- background: var(--str-chat__text-low-emphasis-color);
454
- border-radius: var(--str-chat__border-radius-circle);
455
- }
456
-
457
- .str-chat__wave-progress-bar__amplitude-bar--active {
458
- background: var(--str-chat__primary-color);
459
- }
460
-
461
- .str-chat__wave-progress-bar__progress-indicator {
462
- background-color: #fff;
463
- border-radius: var(--str-chat__border-radius-circle);
464
- border: 1px solid var(--str-chat__secondary-overlay-color);
465
- cursor: grab;
466
- }
467
-
468
- .str-chat__message-attachment__voice-recording-widget__error-message {
469
- font: var(--str-chat__body-text);
470
- color: var(--str-chat__text-low-emphasis-color);
471
- }
472
- }
473
-
474
- .str-chat__message_attachment__playback-rate-button {
475
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
476
- border-radius: var(--str-chat__border-radius-circle);
477
- background-color: #fff; // in design marked as static, excluded from theming
478
- cursor: pointer;
479
- }
480
-
481
- .str-chat__message-attachment--card {
482
- @include utils.component-layer-overrides('card-attachment');
483
- font: var(--str-chat__body-text);
484
-
485
- .str-chat__message-attachment-card--source-link {
486
- font: var(--str-chat__body-medium-text);
487
- }
488
-
489
- .str-chat__message-attachment-card--title {
490
- font: var(--str-chat__body-medium-text);
491
- }
492
- }
493
-
494
- .str-chat__message-attachment-card--audio {
495
- img {
496
- border-bottom-left-radius: 0;
497
- border-bottom-right-radius: 0;
498
- }
499
-
500
- .str-chat__message-attachment-card--header {
501
- .str-chat__message-attachment-card--source-link {
502
- background-color: var(--str-chat__audio-attachment-widget-background-color);
503
- }
504
- }
505
-
506
- .str-chat__message-attachment-card-audio-widget {
507
- background-color: var(--str-chat__audio-attachment-widget-background-color);
508
- border-radius: 0 0 calc(var(--str-chat__spacing-px) * 14)
509
- calc(var(--str-chat__spacing-px) * 14);
510
-
511
- .str-chat__message-attachment-audio-widget--title {
512
- color: var(--str-chat__text-color);
513
- font: var(--str-chat__body-medium-text);
514
- }
515
- }
516
- }
517
-
518
- .str-chat__message-attachment-actions {
519
- @include utils.component-layer-overrides('attachment-actions');
520
-
521
- .str-chat__message-attachment-actions-button {
522
- @include utils.component-layer-overrides('attachment-action');
523
- font: var(--str-chat__subtitle-medium-text);
524
- border-collapse: collapse;
525
-
526
- &:active {
527
- color: var(--str-chat__attachment-action-active-color);
528
- }
529
-
530
- &:not(:last-of-type) {
531
- border-inline-end: none;
532
- }
533
- }
534
- }
535
-
536
- .str-chat__message-attachment-with-actions.str-chat__message-attachment--giphy {
537
- .str-chat__message-attachment-card--header {
538
- border-end-start-radius: 0;
539
- border-end-end-radius: 0;
540
- }
541
- }
542
- }
543
-
544
- .str-chat__message-attachment-audio-widget--play-button {
545
- @include utils.component-layer-overrides('audio-attachment-controls-button');
546
- @include utils.circle-fab-overrides('audio-attachment-controls-button');
547
- }
548
-
549
- .str-chat__message-attachment-card.str-chat__message-attachment-card--audio {
550
- .str-chat__message-attachment-card--header {
551
- border-end-start-radius: 0;
552
- border-end-end-radius: 0;
553
- }
554
- }
555
-
556
- .str-chat__message-attachment__voice-recording-widget {
557
- @include utils.component-layer-overrides('voice-recording-attachment-widget');
558
-
559
- .str-chat__message-attachment__voice-recording-widget__title {
560
- @include utils.ellipsis-text;
561
- word-break: keep-all;
562
- font: var(--str-chat__subtitle-medium-text);
563
- }
564
-
565
- .str-chat__message-attachment__voice-recording-widget__timer {
566
- font: var(--str-chat__body-text);
567
- color: var(--str-chat__text-low-emphasis-color);
568
- white-space: nowrap;
569
- }
570
- }
571
-
572
- .str-chat__audio_recorder__waveform-box,
573
- .str-chat__wave-progress-bar__track {
574
- cursor: pointer;
575
-
576
- .str-chat__wave-progress-bar__amplitude-bar {
577
- background: var(--str-chat__text-low-emphasis-color);
578
- border-radius: var(--str-chat__border-radius-circle);
579
- }
580
-
581
- .str-chat__wave-progress-bar__amplitude-bar--active {
582
- background: var(--str-chat__primary-color);
583
- }
584
-
585
- .str-chat__wave-progress-bar__progress-indicator {
586
- background-color: #fff;
587
- border-radius: var(--str-chat__border-radius-circle);
588
- border: 1px solid var(--str-chat__secondary-overlay-color);
589
- cursor: grab;
590
- }
591
- }
592
-
593
- .str-chat-angular__message-attachment-file-single
594
- .str-chat__message-attachment-file--item-first-row {
595
- color: var(--str-chat__attachment-list-color);
596
- }
597
-
598
- .str-chat__attachment-list-angular-host {
599
- .str-chat__message-attachment-card--video-play {
600
- --str-chat-icon-color: var(--str-chat__text-color);
601
-
602
- background-color: var(--str-chat__secondary-background-color);
603
- border-radius: var(--str-chat__border-radius-circle);
604
- }
605
- }