@ohos-ports/stream-chat-angular 0.0.0-stage → 7.2.0-beta.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.
Files changed (333) hide show
  1. package/README.md +139 -2
  2. package/assets/i18n/en.d.ts +157 -0
  3. package/assets/version.d.ts +1 -0
  4. package/esm2022/assets/i18n/en.mjs +158 -0
  5. package/esm2022/assets/version.mjs +2 -0
  6. package/esm2022/lib/attachment-configuration.service.mjs +182 -0
  7. package/esm2022/lib/attachment-list/attachment-list.component.mjs +232 -0
  8. package/esm2022/lib/attachment-preview-list/attachment-preview-list.component.mjs +55 -0
  9. package/esm2022/lib/attachment.service.mjs +481 -0
  10. package/esm2022/lib/avatar/avatar.component.mjs +160 -0
  11. package/esm2022/lib/avatar-placeholder/avatar-placeholder.component.mjs +66 -0
  12. package/esm2022/lib/channel/channel.component.mjs +45 -0
  13. package/esm2022/lib/channel-header/channel-header.component.mjs +72 -0
  14. package/esm2022/lib/channel-list/channel-list.component.mjs +47 -0
  15. package/esm2022/lib/channel-preview/channel-preview.component.mjs +158 -0
  16. package/esm2022/lib/channel-query.mjs +77 -0
  17. package/esm2022/lib/channel.service.mjs +1576 -0
  18. package/esm2022/lib/chat-client.service.mjs +233 -0
  19. package/esm2022/lib/custom-templates.service.mjs +258 -0
  20. package/esm2022/lib/date-parser.service.mjs +51 -0
  21. package/esm2022/lib/file-utils.mjs +35 -0
  22. package/esm2022/lib/format-duration.mjs +16 -0
  23. package/esm2022/lib/get-channel-display-text.mjs +14 -0
  24. package/esm2022/lib/get-message-translation.mjs +12 -0
  25. package/esm2022/lib/icon/icon-placeholder/icon-placeholder.component.mjs +28 -0
  26. package/esm2022/lib/icon/icon.component.mjs +17 -0
  27. package/esm2022/lib/icon/icon.module.mjs +37 -0
  28. package/esm2022/lib/icon/loading-indicator/loading-indicator.component.mjs +15 -0
  29. package/esm2022/lib/icon/loading-indicator-placeholder/loading-indicator-placeholder.component.mjs +20 -0
  30. package/esm2022/lib/injection-tokens.mjs +3 -0
  31. package/esm2022/lib/is-image-attachment.mjs +6 -0
  32. package/esm2022/lib/is-on-separate-date.mjs +11 -0
  33. package/esm2022/lib/is-safari.mjs +2 -0
  34. package/esm2022/lib/list-users.mjs +12 -0
  35. package/esm2022/lib/message/message.component.mjs +501 -0
  36. package/esm2022/lib/message-actions-box/message-actions-box.component.mjs +123 -0
  37. package/esm2022/lib/message-actions.service.mjs +191 -0
  38. package/esm2022/lib/message-blocked/message-blocked.component.mjs +25 -0
  39. package/esm2022/lib/message-bounce-prompt/message-bounce-prompt.component.mjs +71 -0
  40. package/esm2022/lib/message-input/autocomplete-textarea/autocomplete-textarea.component.mjs +333 -0
  41. package/esm2022/lib/message-input/emoji-input.service.mjs +23 -0
  42. package/esm2022/lib/message-input/message-input-config.service.mjs +50 -0
  43. package/esm2022/lib/message-input/message-input.component.mjs +626 -0
  44. package/esm2022/lib/message-input/textarea/textarea.component.mjs +113 -0
  45. package/esm2022/lib/message-input/textarea.directive.mjs +93 -0
  46. package/esm2022/lib/message-input/textarea.interface.mjs +2 -0
  47. package/esm2022/lib/message-input/voice-recorder.service.mjs +27 -0
  48. package/esm2022/lib/message-list/group-styles.mjs +52 -0
  49. package/esm2022/lib/message-list/message-list.component.mjs +717 -0
  50. package/esm2022/lib/message-preview.mjs +22 -0
  51. package/esm2022/lib/message-reactions/message-reactions.component.mjs +168 -0
  52. package/esm2022/lib/message-reactions-selector/message-reactions-selector.component.mjs +61 -0
  53. package/esm2022/lib/message-reactions.service.mjs +70 -0
  54. package/esm2022/lib/message-text/message-text.component.mjs +141 -0
  55. package/esm2022/lib/message.service.mjs +43 -0
  56. package/esm2022/lib/modal/modal.component.mjs +69 -0
  57. package/esm2022/lib/modal/stream-modal.module.mjs +19 -0
  58. package/esm2022/lib/notification/notification.component.mjs +20 -0
  59. package/esm2022/lib/notification-list/notification-list.component.mjs +36 -0
  60. package/esm2022/lib/notification-list/stream-notification.module.mjs +20 -0
  61. package/esm2022/lib/notification.service.mjs +79 -0
  62. package/esm2022/lib/paginated-list/paginated-list.component.mjs +94 -0
  63. package/esm2022/lib/paginated-list/stream-paginated-list.module.mjs +20 -0
  64. package/esm2022/lib/parse-date.mjs +27 -0
  65. package/esm2022/lib/polls/base-poll.component.mjs +87 -0
  66. package/esm2022/lib/polls/poll/poll.component.mjs +34 -0
  67. package/esm2022/lib/polls/poll-actions/add-option/add-option.component.mjs +67 -0
  68. package/esm2022/lib/polls/poll-actions/poll-actions.component.mjs +137 -0
  69. package/esm2022/lib/polls/poll-actions/poll-answers-list/poll-answers-list.component.mjs +82 -0
  70. package/esm2022/lib/polls/poll-actions/poll-results/poll-results-list/poll-results-list.component.mjs +63 -0
  71. package/esm2022/lib/polls/poll-actions/poll-results/poll-vote/poll-vote.component.mjs +33 -0
  72. package/esm2022/lib/polls/poll-actions/poll-results/poll-vote-results-list/poll-vote-results-list.component.mjs +82 -0
  73. package/esm2022/lib/polls/poll-actions/upsert-answer/upsert-answer.component.mjs +60 -0
  74. package/esm2022/lib/polls/poll-composer/poll-composer.component.mjs +134 -0
  75. package/esm2022/lib/polls/poll-composer/validators.mjs +18 -0
  76. package/esm2022/lib/polls/poll-header/poll-header.component.mjs +80 -0
  77. package/esm2022/lib/polls/poll-option-selector/poll-option-selector.component.mjs +137 -0
  78. package/esm2022/lib/polls/poll-options-list/poll-options-list.component.mjs +39 -0
  79. package/esm2022/lib/polls/poll-preview/poll-preview.component.mjs +31 -0
  80. package/esm2022/lib/polls/stream-polls.module.mjs +107 -0
  81. package/esm2022/lib/polls/unique.validator.mjs +13 -0
  82. package/esm2022/lib/read-by.mjs +13 -0
  83. package/esm2022/lib/stream-autocomplete-textarea.module.mjs +33 -0
  84. package/esm2022/lib/stream-avatar.module.mjs +20 -0
  85. package/esm2022/lib/stream-chat.module.mjs +163 -0
  86. package/esm2022/lib/stream-i18n.service.mjs +34 -0
  87. package/esm2022/lib/stream-textarea.module.mjs +31 -0
  88. package/esm2022/lib/theme.service.mjs +23 -0
  89. package/esm2022/lib/thread/thread.component.mjs +51 -0
  90. package/esm2022/lib/transliteration.service.mjs +24 -0
  91. package/esm2022/lib/types-custom.mjs +2 -0
  92. package/esm2022/lib/types.mjs +2 -0
  93. package/esm2022/lib/user-list/user-list.component.mjs +47 -0
  94. package/esm2022/lib/virtualized-list.service.mjs +271 -0
  95. package/esm2022/lib/virtualized-message-list.service.mjs +73 -0
  96. package/esm2022/lib/voice-recorder/amplitude-recorder.service.mjs +119 -0
  97. package/esm2022/lib/voice-recorder/audio-recorder.service.mjs +79 -0
  98. package/esm2022/lib/voice-recorder/media-recorder.mjs +190 -0
  99. package/esm2022/lib/voice-recorder/mp3-transcoder.mjs +61 -0
  100. package/esm2022/lib/voice-recorder/transcoder.service.mjs +121 -0
  101. package/esm2022/lib/voice-recorder/voice-recorder-wavebar/voice-recorder-wavebar.component.mjs +35 -0
  102. package/esm2022/lib/voice-recorder/voice-recorder.component.mjs +80 -0
  103. package/esm2022/lib/voice-recorder/voice-recorder.module.mjs +34 -0
  104. package/esm2022/lib/voice-recording/voice-recording-wavebar/voice-recording-wavebar.component.mjs +112 -0
  105. package/esm2022/lib/voice-recording/voice-recording.component.mjs +91 -0
  106. package/esm2022/lib/voice-recording/voice-recording.module.mjs +21 -0
  107. package/esm2022/lib/wave-form-sampler.mjs +72 -0
  108. package/esm2022/public-api.mjs +104 -0
  109. package/esm2022/stream-chat-angular.mjs +5 -0
  110. package/esm2022/stream-chat.mjs +2 -0
  111. package/fesm2022/stream-chat-angular.mjs +10363 -0
  112. package/fesm2022/stream-chat-angular.mjs.map +1 -0
  113. package/index.d.ts +5 -0
  114. package/lib/attachment-configuration.service.d.ts +58 -0
  115. package/lib/attachment-list/attachment-list.component.d.ts +76 -0
  116. package/lib/attachment-preview-list/attachment-preview-list.component.d.ts +37 -0
  117. package/lib/attachment.service.d.ts +104 -0
  118. package/lib/avatar/avatar.component.d.ts +64 -0
  119. package/lib/avatar-placeholder/avatar-placeholder.component.d.ts +48 -0
  120. package/lib/channel/channel.component.d.ts +22 -0
  121. package/lib/channel-header/channel-header.component.d.ts +36 -0
  122. package/lib/channel-list/channel-list.component.d.ts +30 -0
  123. package/lib/channel-preview/channel-preview.component.d.ts +46 -0
  124. package/lib/channel-query.d.ts +26 -0
  125. package/lib/channel.service.d.ts +482 -0
  126. package/lib/chat-client.service.d.ts +91 -0
  127. package/lib/custom-templates.service.d.ts +258 -0
  128. package/lib/date-parser.service.d.ts +39 -0
  129. package/lib/file-utils.d.ts +9 -0
  130. package/lib/format-duration.d.ts +1 -0
  131. package/lib/get-channel-display-text.d.ts +2 -0
  132. package/lib/get-message-translation.d.ts +3 -0
  133. package/lib/icon/icon-placeholder/icon-placeholder.component.d.ts +20 -0
  134. package/lib/icon/icon.component.d.ts +14 -0
  135. package/lib/icon/icon.module.d.ts +11 -0
  136. package/lib/icon/loading-indicator/loading-indicator.component.d.ts +9 -0
  137. package/lib/icon/loading-indicator-placeholder/loading-indicator-placeholder.component.d.ts +11 -0
  138. package/lib/injection-tokens.d.ts +3 -0
  139. package/lib/is-image-attachment.d.ts +2 -0
  140. package/lib/is-on-separate-date.d.ts +1 -0
  141. package/lib/is-safari.d.ts +1 -0
  142. package/lib/list-users.d.ts +2 -0
  143. package/lib/message/message.component.d.ts +126 -0
  144. package/lib/message-actions-box/message-actions-box.component.d.ts +49 -0
  145. package/lib/message-actions.service.d.ts +49 -0
  146. package/lib/message-blocked/message-blocked.component.d.ts +17 -0
  147. package/lib/message-bounce-prompt/message-bounce-prompt.component.d.ts +28 -0
  148. package/lib/message-input/autocomplete-textarea/autocomplete-textarea.component.d.ts +98 -0
  149. package/lib/message-input/emoji-input.service.d.ts +14 -0
  150. package/lib/message-input/message-input-config.service.d.ts +54 -0
  151. package/lib/message-input/message-input.component.d.ts +189 -0
  152. package/lib/message-input/textarea/textarea.component.d.ts +55 -0
  153. package/lib/message-input/textarea.directive.d.ts +24 -0
  154. package/lib/message-input/textarea.interface.d.ts +14 -0
  155. package/lib/message-input/voice-recorder.service.d.ts +19 -0
  156. package/lib/message-list/group-styles.d.ts +3 -0
  157. package/lib/message-list/message-list.component.d.ts +146 -0
  158. package/lib/message-preview.d.ts +2 -0
  159. package/lib/message-reactions/message-reactions.component.d.ts +69 -0
  160. package/lib/message-reactions-selector/message-reactions-selector.component.d.ts +35 -0
  161. package/lib/message-reactions.service.d.ts +50 -0
  162. package/lib/message-text/message-text.component.d.ts +45 -0
  163. package/lib/message.service.d.ts +38 -0
  164. package/lib/modal/modal.component.d.ts +29 -0
  165. package/lib/modal/stream-modal.module.d.ts +9 -0
  166. package/lib/notification/notification.component.d.ts +19 -0
  167. package/lib/notification-list/notification-list.component.d.ts +23 -0
  168. package/lib/notification-list/stream-notification.module.d.ts +10 -0
  169. package/lib/notification.service.d.ts +38 -0
  170. package/lib/paginated-list/paginated-list.component.d.ts +45 -0
  171. package/lib/paginated-list/stream-paginated-list.module.d.ts +10 -0
  172. package/lib/parse-date.d.ts +1 -0
  173. package/lib/polls/base-poll.component.d.ts +43 -0
  174. package/lib/polls/poll/poll.component.d.ts +12 -0
  175. package/lib/polls/poll-actions/add-option/add-option.component.d.ts +22 -0
  176. package/lib/polls/poll-actions/poll-actions.component.d.ts +50 -0
  177. package/lib/polls/poll-actions/poll-answers-list/poll-answers-list.component.d.ts +25 -0
  178. package/lib/polls/poll-actions/poll-results/poll-results-list/poll-results-list.component.d.ts +22 -0
  179. package/lib/polls/poll-actions/poll-results/poll-vote/poll-vote.component.d.ts +20 -0
  180. package/lib/polls/poll-actions/poll-results/poll-vote-results-list/poll-vote-results-list.component.d.ts +24 -0
  181. package/lib/polls/poll-actions/upsert-answer/upsert-answer.component.d.ts +27 -0
  182. package/lib/polls/poll-composer/poll-composer.component.d.ts +43 -0
  183. package/lib/polls/poll-composer/validators.d.ts +3 -0
  184. package/lib/polls/poll-header/poll-header.component.d.ts +19 -0
  185. package/lib/polls/poll-option-selector/poll-option-selector.component.d.ts +27 -0
  186. package/lib/polls/poll-options-list/poll-options-list.component.d.ts +17 -0
  187. package/lib/polls/poll-preview/poll-preview.component.d.ts +13 -0
  188. package/lib/polls/stream-polls.module.d.ts +26 -0
  189. package/lib/polls/unique.validator.d.ts +2 -0
  190. package/lib/read-by.d.ts +2 -0
  191. package/lib/stream-autocomplete-textarea.module.d.ts +11 -0
  192. package/lib/stream-avatar.module.d.ts +10 -0
  193. package/lib/stream-chat.module.d.ts +35 -0
  194. package/lib/stream-i18n.service.d.ts +19 -0
  195. package/lib/stream-textarea.module.d.ts +9 -0
  196. package/lib/theme.service.d.ts +14 -0
  197. package/lib/thread/thread.component.d.ts +26 -0
  198. package/lib/transliteration.service.d.ts +15 -0
  199. package/lib/types-custom.d.ts +16 -0
  200. package/lib/types.d.ts +365 -0
  201. package/lib/user-list/user-list.component.d.ts +29 -0
  202. package/lib/virtualized-list.service.d.ts +58 -0
  203. package/lib/virtualized-message-list.service.d.ts +15 -0
  204. package/lib/voice-recorder/amplitude-recorder.service.d.ts +71 -0
  205. package/lib/voice-recorder/audio-recorder.service.d.ts +46 -0
  206. package/lib/voice-recorder/media-recorder.d.ts +46 -0
  207. package/lib/voice-recorder/mp3-transcoder.d.ts +1 -0
  208. package/lib/voice-recorder/transcoder.service.d.ts +40 -0
  209. package/lib/voice-recorder/voice-recorder-wavebar/voice-recorder-wavebar.component.d.ts +21 -0
  210. package/lib/voice-recorder/voice-recorder.component.d.ts +30 -0
  211. package/lib/voice-recorder/voice-recorder.module.d.ts +12 -0
  212. package/lib/voice-recording/voice-recording-wavebar/voice-recording-wavebar.component.d.ts +36 -0
  213. package/lib/voice-recording/voice-recording.component.d.ts +29 -0
  214. package/lib/voice-recording/voice-recording.module.d.ts +11 -0
  215. package/lib/wave-form-sampler.d.ts +1 -0
  216. package/package.json +62 -4
  217. package/public-api.d.ts +99 -0
  218. package/src/assets/assets/EmojiOneColor.woff2 +0 -0
  219. package/src/assets/assets/NotoColorEmoji-flags.woff2 +0 -0
  220. package/src/assets/assets/icons/stream-chat-icons.eot +0 -0
  221. package/src/assets/assets/icons/stream-chat-icons.svg +50 -0
  222. package/src/assets/assets/icons/stream-chat-icons.ttf +0 -0
  223. package/src/assets/assets/icons/stream-chat-icons.woff +0 -0
  224. package/src/assets/assets/icons/stream-chat-icons.woff2 +0 -0
  225. package/src/assets/i18n/en.ts +184 -0
  226. package/src/assets/styles/css/emoji-mart.css +1 -0
  227. package/src/assets/styles/css/emoji-replacement.css +1 -0
  228. package/src/assets/styles/css/index.css +1 -0
  229. package/src/assets/styles/css/index.layout.css +1 -0
  230. package/src/assets/styles/scss/AIStateIndicator/AIStateIndicator-layout.scss +3 -0
  231. package/src/assets/styles/scss/AIStateIndicator/AIStateIndicator-theme.scss +7 -0
  232. package/src/assets/styles/scss/AttachmentList/AttachmentList-layout.scss +701 -0
  233. package/src/assets/styles/scss/AttachmentList/AttachmentList-theme.scss +605 -0
  234. package/src/assets/styles/scss/AttachmentPreviewList/AttachmentPreviewList-layout.scss +141 -0
  235. package/src/assets/styles/scss/AttachmentPreviewList/AttachmentPreviewList-theme.scss +190 -0
  236. package/src/assets/styles/scss/AudioRecorder/AudioRecorder-layout.scss +139 -0
  237. package/src/assets/styles/scss/AudioRecorder/AudioRecorder-theme.scss +61 -0
  238. package/src/assets/styles/scss/Autocomplete/Autocomplete-layout.scss +94 -0
  239. package/src/assets/styles/scss/Autocomplete/Autocomplete-theme.scss +220 -0
  240. package/src/assets/styles/scss/Avatar/Avatar-layout.scss +137 -0
  241. package/src/assets/styles/scss/Avatar/Avatar-theme.scss +64 -0
  242. package/src/assets/styles/scss/BaseImage/BaseImage-layout.scss +21 -0
  243. package/src/assets/styles/scss/BaseImage/BaseImage-theme.scss +35 -0
  244. package/src/assets/styles/scss/BaseImage/index.scss +2 -0
  245. package/src/assets/styles/scss/Channel/Channel-layout.scss +141 -0
  246. package/src/assets/styles/scss/Channel/Channel-theme.scss +100 -0
  247. package/src/assets/styles/scss/ChannelHeader/ChannelHeader-layout.scss +27 -0
  248. package/src/assets/styles/scss/ChannelHeader/ChannelHeader-theme.scss +43 -0
  249. package/src/assets/styles/scss/ChannelList/ChannelList-layout.scss +65 -0
  250. package/src/assets/styles/scss/ChannelList/ChannelList-theme.scss +89 -0
  251. package/src/assets/styles/scss/ChannelPreview/ChannelPreview-layout.scss +126 -0
  252. package/src/assets/styles/scss/ChannelPreview/ChannelPreview-theme.scss +148 -0
  253. package/src/assets/styles/scss/ChannelSearch/ChannelSearch-layout.scss +122 -0
  254. package/src/assets/styles/scss/ChannelSearch/ChannelSearch-theme.scss +238 -0
  255. package/src/assets/styles/scss/ChatView/ChatView-layout.scss +43 -0
  256. package/src/assets/styles/scss/ChatView/ChatView-theme.scss +32 -0
  257. package/src/assets/styles/scss/Dialog/Dialog-layout.scss +70 -0
  258. package/src/assets/styles/scss/Dialog/Dialog-theme.scss +103 -0
  259. package/src/assets/styles/scss/DragAndDropContainer/DragAndDropContainer-layout.scss +5 -0
  260. package/src/assets/styles/scss/DragAndDropContainer/DragAndDropContainer-theme.scss +47 -0
  261. package/src/assets/styles/scss/DropzoneContainer/DropzoneContainer-layout.scss +14 -0
  262. package/src/assets/styles/scss/DropzoneContainer/DropzoneContainer-theme.scss +17 -0
  263. package/src/assets/styles/scss/EditMessageForm/EditMessageForm-layout.scss +51 -0
  264. package/src/assets/styles/scss/EditMessageForm/EditMessageForm-theme.scss +50 -0
  265. package/src/assets/styles/scss/Form/Form-layout.scss +49 -0
  266. package/src/assets/styles/scss/Form/Form-theme.scss +82 -0
  267. package/src/assets/styles/scss/Icon/Icon-layout.scss +98 -0
  268. package/src/assets/styles/scss/Icon/Icon-theme.scss +17 -0
  269. package/src/assets/styles/scss/ImageCarousel/ImageCarousel-layout.scss +51 -0
  270. package/src/assets/styles/scss/ImageCarousel/ImageCarousel-theme.scss +30 -0
  271. package/src/assets/styles/scss/InfiniteScrollPaginator/InfiniteScrollPaginator-layout.scss +4 -0
  272. package/src/assets/styles/scss/LinkPreview/LinkPreview-layout.scss +67 -0
  273. package/src/assets/styles/scss/LinkPreview/LinkPreview-theme.scss +32 -0
  274. package/src/assets/styles/scss/LinkPreview/index.scss +2 -0
  275. package/src/assets/styles/scss/LoadingIndicator/LoadingIndicator-layout.scss +64 -0
  276. package/src/assets/styles/scss/LoadingIndicator/LoadingIndicator-theme.scss +14 -0
  277. package/src/assets/styles/scss/Location/Location-layout.scss +52 -0
  278. package/src/assets/styles/scss/Location/Location-theme.scss +32 -0
  279. package/src/assets/styles/scss/Message/Message-layout.scss +605 -0
  280. package/src/assets/styles/scss/Message/Message-theme.scss +483 -0
  281. package/src/assets/styles/scss/MessageActionsBox/MessageActionsBox-layout.scss +20 -0
  282. package/src/assets/styles/scss/MessageActionsBox/MessageActionsBox-theme.scss +85 -0
  283. package/src/assets/styles/scss/MessageBouncePrompt/MessageBouncePrompt-layout.scss +19 -0
  284. package/src/assets/styles/scss/MessageBouncePrompt/MessageBouncePrompt-theme.scss +51 -0
  285. package/src/assets/styles/scss/MessageInput/MessageInput-layout.scss +268 -0
  286. package/src/assets/styles/scss/MessageInput/MessageInput-theme.scss +359 -0
  287. package/src/assets/styles/scss/MessageList/MessageList-layout.scss +65 -0
  288. package/src/assets/styles/scss/MessageList/MessageList-theme.scss +107 -0
  289. package/src/assets/styles/scss/MessageList/VirtualizedMessageList-layout.scss +57 -0
  290. package/src/assets/styles/scss/MessageList/VirtualizedMessageList-theme.scss +41 -0
  291. package/src/assets/styles/scss/MessageReactions/MessageReactions-layout.scss +143 -0
  292. package/src/assets/styles/scss/MessageReactions/MessageReactions-theme.scss +92 -0
  293. package/src/assets/styles/scss/MessageReactions/MessageReactionsSelector-layout.scss +86 -0
  294. package/src/assets/styles/scss/MessageReactions/MessageReactionsSelector-theme.scss +94 -0
  295. package/src/assets/styles/scss/Modal/Modal-layout.scss +74 -0
  296. package/src/assets/styles/scss/Modal/Modal-theme.scss +109 -0
  297. package/src/assets/styles/scss/Notification/MessageNotification-layout.scss +12 -0
  298. package/src/assets/styles/scss/Notification/MessageNotification-theme.scss +34 -0
  299. package/src/assets/styles/scss/Notification/Notification-layout.scss +7 -0
  300. package/src/assets/styles/scss/Notification/Notification-theme.scss +32 -0
  301. package/src/assets/styles/scss/Notification/NotificationList-layout.scss +11 -0
  302. package/src/assets/styles/scss/Notification/NotificationList-theme.scss +31 -0
  303. package/src/assets/styles/scss/Poll/Poll-layout.scss +489 -0
  304. package/src/assets/styles/scss/Poll/Poll-theme.scss +178 -0
  305. package/src/assets/styles/scss/Search/Search-layout.scss +148 -0
  306. package/src/assets/styles/scss/Search/Search-theme.scss +222 -0
  307. package/src/assets/styles/scss/Thread/Thread-layout.scss +65 -0
  308. package/src/assets/styles/scss/Thread/Thread-theme.scss +82 -0
  309. package/src/assets/styles/scss/ThreadList/ThreadList-layout.scss +152 -0
  310. package/src/assets/styles/scss/ThreadList/ThreadList-theme.scss +75 -0
  311. package/src/assets/styles/scss/Tooltip/Tooltip-layout.scss +10 -0
  312. package/src/assets/styles/scss/Tooltip/Tooltip-theme.scss +36 -0
  313. package/src/assets/styles/scss/TypingIndicator/TypingIndicator-layout.scss +31 -0
  314. package/src/assets/styles/scss/TypingIndicator/TypingIndicator-theme.scss +68 -0
  315. package/src/assets/styles/scss/UnreadCountBadge/UnreadCountBadge-layout.scss +49 -0
  316. package/src/assets/styles/scss/UnreadCountBadge/UnreadCountBadge-theme.scss +11 -0
  317. package/src/assets/styles/scss/_base.scss +65 -0
  318. package/src/assets/styles/scss/_emoji-replacement.scss +45 -0
  319. package/src/assets/styles/scss/_global-layout-variables.scss +65 -0
  320. package/src/assets/styles/scss/_global-theme-variables.scss +173 -0
  321. package/src/assets/styles/scss/_icons.scss +36 -0
  322. package/src/assets/styles/scss/_palette-variables.scss +55 -0
  323. package/src/assets/styles/scss/_utils.scss +212 -0
  324. package/src/assets/styles/scss/_variables.scss +2 -0
  325. package/src/assets/styles/scss/common/CTAButton/CTAButton-layout.scss +4 -0
  326. package/src/assets/styles/scss/common/CTAButton/CTAButton-theme.scss +42 -0
  327. package/src/assets/styles/scss/common/CircleFAButton/CircleFAButton-layout.scss +14 -0
  328. package/src/assets/styles/scss/common/CircleFAButton/CircleFAButton-theme.scss +35 -0
  329. package/src/assets/styles/scss/index.layout.scss +49 -0
  330. package/src/assets/styles/scss/index.scss +50 -0
  331. package/src/assets/styles/scss/vendor/emoji-mart.scss +514 -0
  332. package/src/assets/styles/scss/vendor/react-image-gallery.scss +258 -0
  333. package/src/assets/version.ts +1 -0
@@ -0,0 +1,51 @@
1
+ .str-chat__edit-message-form {
2
+ display: flex;
3
+ flex-direction: column;
4
+ align-items: stretch;
5
+ justify-content: center;
6
+ row-gap: var(--str-chat__spacing-5);
7
+ width: 100%;
8
+ height: 100%;
9
+ min-height: 0;
10
+ min-width: 0;
11
+ max-width: 100%;
12
+ max-height: 100%;
13
+
14
+ .str-chat__edit-message-form-options {
15
+ display: flex;
16
+ align-items: center;
17
+ justify-content: flex-end;
18
+
19
+ button {
20
+ cursor: pointer;
21
+ margin: 0;
22
+ }
23
+ }
24
+ }
25
+
26
+ .str-chat-angular__edit-message-form {
27
+ .str-chat__message-input-angular-host {
28
+ max-height: 100%;
29
+ min-height: 0;
30
+ display: flex;
31
+ min-width: 0;
32
+ max-width: 100%;
33
+ }
34
+
35
+ .str-chat__modal--open {
36
+ .str-chat__modal__inner {
37
+ height: 40%;
38
+ max-height: 80%;
39
+ min-width: 90%;
40
+ max-width: 90%;
41
+ width: 90%;
42
+ flex-basis: min-content;
43
+
44
+ @media only screen and (min-device-width: 768px) {
45
+ min-width: 40%;
46
+ max-width: 60%;
47
+ width: min-content;
48
+ }
49
+ }
50
+ }
51
+ }
@@ -0,0 +1,50 @@
1
+ @use '../utils';
2
+
3
+ .str-chat {
4
+ /* The border radius used for the borders of the component. Note for Angular SDK users: this variable isn't available starting from version 5 */
5
+ --str-chat__edit-message-modal-button-border-radius: none;
6
+
7
+ /* The text color used for the send button. Note for Angular SDK users: this variable isn't available starting from version 5 */
8
+ --str-chat__edit-message-modal-send-button-color: var(--str-chat__primary-color);
9
+
10
+ /* The text color used for the cancel button. Note for Angular SDK users: this variable isn't available starting from version 5 */
11
+ --str-chat__edit-message-modal-cancel-button-color: var(--str-chat__text-low-emphasis-color);
12
+
13
+ /* The background color of the component. Note for Angular SDK users: this variable isn't available starting from version 5 */
14
+ --str-chat__edit-message-modal-button-background-color: transparent;
15
+
16
+ /* Top border of the component. Note for Angular SDK users: this variable isn't available starting from version 5 */
17
+ --str-chat__edit-message-modal-button-border-block-start: none;
18
+
19
+ /* Bottom border of the component. Note for Angular SDK users: this variable isn't available starting from version 5 */
20
+ --str-chat__edit-message-modal-button-border-block-end: none;
21
+
22
+ /* Left (right in RTL layout) border of the component. Note for Angular SDK users: this variable isn't available starting from version 5 */
23
+ --str-chat__edit-message-modal-button-border-inline-start: none;
24
+
25
+ /* Right (left in RTL layout) border of the component. Note for Angular SDK users: this variable isn't available starting from version 5 */
26
+ --str-chat__edit-message-modal-button-border-inline-end: none;
27
+
28
+ /* Box shadow applied to the component. Note for Angular SDK users: this variable isn't available starting from version 5 */
29
+ --str-chat__edit-message-modal-button-box-shadow: none;
30
+ }
31
+
32
+ .str-chat__edit-message-form {
33
+ .str-chat__edit-message-form-options {
34
+ .str-chat__edit-message-cancel,
35
+ .str-chat__edit-message-send {
36
+ @include utils.component-layer-overrides('edit-message-modal-button');
37
+ font: var(--str-chat__body-medium-text);
38
+ }
39
+
40
+ .str-chat__edit-message-cancel {
41
+ text-transform: capitalize;
42
+ color: var(--str-chat__edit-message-modal-cancel-button-color);
43
+ }
44
+
45
+ .str-chat__edit-message-send {
46
+ text-transform: uppercase;
47
+ color: var(--str-chat__edit-message-modal-send-button-color);
48
+ }
49
+ }
50
+ }
@@ -0,0 +1,49 @@
1
+ .str-chat__dialog__field {
2
+ display: flex;
3
+ flex-direction: column;
4
+ gap: 0.5rem;
5
+
6
+ .str-chat__form-field-error {
7
+ margin-left: 0.5rem;
8
+ }
9
+ }
10
+
11
+ .str-chat__form__switch-field {
12
+ width: 100%;
13
+ padding: 1rem;
14
+
15
+ input[type='checkbox'] {
16
+ display: none;
17
+ }
18
+
19
+ label {
20
+ display: flex;
21
+ align-items: center;
22
+ justify-content: space-between;
23
+ width: 100%;
24
+ }
25
+
26
+ .str-chat__form__switch-field__switch {
27
+ display: flex;
28
+ align-items: center;
29
+ width: calc(var(--str-chat__spacing-px) * 52);
30
+ height: calc(var(--str-chat__spacing-px) * 32);
31
+ padding: 0.25rem;
32
+
33
+ .str-chat__form__switch-field__switch-handle {
34
+ height: 1.5rem;
35
+ width: 1.5rem;
36
+ }
37
+
38
+ &.str-chat__form__switch-field__switch--on {
39
+ justify-content: flex-end;
40
+ }
41
+ }
42
+ }
43
+
44
+ .str-chat__dropdown {
45
+ .str-chat__dropdown__open-button {
46
+ width: 100%;
47
+ text-align: start;
48
+ }
49
+ }
@@ -0,0 +1,82 @@
1
+ @use '../utils';
2
+
3
+ .str-chat {
4
+ // hide spin buttons form input of type number
5
+ /* Chrome, Safari, Edge, Opera */
6
+
7
+ input::-webkit-outer-spin-button,
8
+ input::-webkit-inner-spin-button {
9
+ -webkit-appearance: none;
10
+ margin: 0;
11
+ }
12
+
13
+ /* Firefox */
14
+ input[type='number'] {
15
+ -moz-appearance: textfield;
16
+ }
17
+ }
18
+
19
+ .str-chat__form-field-error {
20
+ font-size: 0.75rem;
21
+ color: var(--str-chat__danger-color);
22
+ }
23
+
24
+ // fixme: duplicate mixin in poll theme
25
+ @mixin field-background {
26
+ background-color: var(--str-chat__tertiary-surface-color);
27
+ border-radius: 0.75rem;
28
+ }
29
+
30
+
31
+
32
+ .str-chat__form__switch-field {
33
+ @include field-background;
34
+
35
+ &, label {
36
+ cursor: pointer;
37
+ }
38
+
39
+ label {
40
+ display: flex;
41
+ gap: 0.5rem;
42
+ }
43
+
44
+ .str-chat__form__switch-field__switch {
45
+ cursor: pointer;
46
+ background-color: var(--str-chat__text-low-emphasis-color);
47
+ border-radius: 100px;
48
+
49
+ .str-chat__form__switch-field__switch-handle {
50
+ border-radius: var(--str-chat__border-radius-circle);
51
+ background-color: var(--str-chat__disabled-color);
52
+ }
53
+
54
+ &.str-chat__form__switch-field__switch--on {
55
+ background-color: var(--str-chat__green600);
56
+
57
+ .str-chat__form__switch-field__switch-handle {
58
+ background-color: var(--str-chat__background-color);
59
+ border-radius: var(--str-chat__border-radius-circle);
60
+ }
61
+ }
62
+ }
63
+ }
64
+
65
+ .str-chat__form__switch-field--disabled {
66
+ .str-chat__form__switch-field--disabled,
67
+ .str-chat__form__switch-field--disabled .str-chat__form__switch-field__switch,
68
+ label {
69
+ cursor: not-allowed;
70
+ }
71
+ }
72
+
73
+ .str-chat__dropdown {
74
+ .str-chat__dropdown__open-button {
75
+ @include utils.button-reset;
76
+ cursor: pointer;
77
+ }
78
+
79
+ .str-chat__dropdown__items {
80
+ background-color: var(--str-chat__background-color);
81
+ }
82
+ }
@@ -0,0 +1,98 @@
1
+ /* Only available in Angular v5+ */
2
+ .str-chat {
3
+ /* The height of the icon, only available in Angular v5+ */
4
+ --str-chat-icon-height: calc(var(--str-chat__spacing-px) * 24);
5
+ /* The width of the icon, only available in Angular v5+ */
6
+ --str-chat-icon-width: auto;
7
+ }
8
+
9
+ .str-chat__icon {
10
+ display: flex;
11
+ font-family: 'stream-chat-icons';
12
+ font-style: normal;
13
+ font-weight: normal;
14
+ font-size: var(--str-chat-icon-height);
15
+ line-height: var(--str-chat-icon-height);
16
+ height: var(--str-chat-icon-height);
17
+ width: var(--str-chat-icon-width);
18
+
19
+ &::before {
20
+ line-height: var(--str-chat-icon-height);
21
+ }
22
+ }
23
+
24
+ // File type icons
25
+ .str-chat__icon--unspecified-filetype {
26
+ content: url('data:image/svg+xml;base64,PHN2ZwogIGRhdGEtdGVzdGlkPSJ1bnNwZWNpZmllZC1maWxldHlwZSIKICB3aWR0aD0iMzQiCiAgaGVpZ2h0PSI0MCIKICB2aWV3Qm94PSIwIDAgMzQgNDAiCiAgZmlsbD0ibm9uZSIKICB4bWxucz0iaHR0c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TQuNjg2IDIyLjE2MDUgMTQuNjAyOFoiCiAgICBmaWxsPSIjMjcyN0IwIgogICAgZmlsbC1ydWxlPSJldmVub2RkIgogID48L3BhdGg+Cjwvc3ZnPg==');
31
+ }
32
+
33
+ .str-chat__icon--poll {
34
+ --str-chat-icon-width: var(--str-chat-icon-height);
35
+ -webkit-mask: var(--str-chat__poll-icon) no-repeat center / contain;
36
+ mask: var(--str-chat__poll-icon) no-repeat center / contain;
37
+ }
38
+
39
+ .str-chat__icon--action::before {
40
+ content: '\e800';
41
+ } /* '' */
42
+ .str-chat__icon--arrow-down::before {
43
+ content: '\e801';
44
+ } /* '' */
45
+ .str-chat__icon--arrow-left::before {
46
+ content: '\e802';
47
+ } /* '' */
48
+ .str-chat__icon--arrow-right::before {
49
+ content: '\e803';
50
+ } /* '' */
51
+ .str-chat__icon--close::before {
52
+ content: '\e804';
53
+ } /* '' */
54
+ .str-chat__icon--arrow-up::before {
55
+ content: '\e805';
56
+ } /* '' */
57
+ .str-chat__icon--chat-bubble::before {
58
+ content: '\e806';
59
+ } /* '' */
60
+ .str-chat__icon--pause::before {
61
+ content: '\e807';
62
+ } /* '' */
63
+ .str-chat__icon--download::before {
64
+ content: '\e808';
65
+ } /* '' */
66
+ .str-chat__icon--delivered::before {
67
+ content: '\e809';
68
+ } /* '' */
69
+ .str-chat__icon--play::before {
70
+ content: '\e814';
71
+ } /* '' */
72
+ .str-chat__icon--reaction::before {
73
+ content: '\e80b';
74
+ } /* '' */
75
+ .str-chat__icon--error::before {
76
+ content: '\e80c';
77
+ } /* '' */
78
+ .str-chat__icon--read::before {
79
+ content: '\e80d';
80
+ } /* '' */
81
+ .str-chat__icon--retry::before {
82
+ content: '\e80e';
83
+ } /* '' */
84
+ .str-chat__icon--reply-in-thread::before {
85
+ content: '\e80f';
86
+ } /* '' */
87
+ .str-chat__icon--send::before {
88
+ content: '\e810';
89
+ } /* '' */
90
+ .str-chat__icon--attach::before {
91
+ content: '\e811';
92
+ } /* '' */
93
+ .str-chat__icon--mic::before {
94
+ content: '\e812';
95
+ } /* '' */
96
+ .str-chat__icon--bin::before {
97
+ content: '\e813';
98
+ } /* '' */
@@ -0,0 +1,17 @@
1
+ /* Only available in Angular v5+ */
2
+ .str-chat {
3
+ /* The color of the icon, only available in Angular v5+ */
4
+ --str-chat-icon-color: var(--str-chat__text-color);
5
+ }
6
+
7
+ .str-chat__icon {
8
+ color: var(--str-chat-icon-color);
9
+ }
10
+
11
+ .str-chat__icon--error {
12
+ --str-chat-icon-color: var(--str-chat__danger-color);
13
+ }
14
+
15
+ .str-chat__icon--poll {
16
+ background-color: var(--str-chat-icon-color);
17
+ }
@@ -0,0 +1,51 @@
1
+ .str-chat__image-carousel {
2
+ display: flex;
3
+ flex-direction: column;
4
+ justify-content: space-between;
5
+ align-items: center;
6
+ min-height: 0;
7
+ min-width: 0;
8
+ max-width: 100%;
9
+ max-height: 100%;
10
+ height: 100%;
11
+
12
+ .str-chat__image-carousel-stepper {
13
+ --str-chat-icon-height: calc(var(--str-chat__spacing-px) * 30);
14
+ padding: var(--str-chat__spacing-2_5);
15
+ border: none;
16
+ cursor: pointer;
17
+ background: transparent;
18
+ }
19
+
20
+ .str-chat__image-carousel-image {
21
+ object-fit: contain;
22
+ min-height: 0;
23
+ max-height: 100%;
24
+ min-width: 0;
25
+ max-width: 100%;
26
+ height: 100%;
27
+ width: 100%;
28
+ }
29
+ }
30
+
31
+ .str-chat__message {
32
+ .str-chat__attachment-list {
33
+ .str-chat__modal--open {
34
+ .str-chat__modal__inner {
35
+ height: 80%;
36
+ width: 80%;
37
+
38
+ @media only screen and (max-device-width: 768px) {
39
+ height: 100%;
40
+ width: 100%;
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
46
+
47
+ [dir='rtl'] .str-chat__image-carousel-stepper {
48
+ svg {
49
+ transform: scale(-1, 1);
50
+ }
51
+ }
@@ -0,0 +1,30 @@
1
+ @use '../utils';
2
+
3
+ /* Only available in Angular SDK. */
4
+ .str-chat {
5
+ /* The color of the stepper icon. */
6
+ --str-chat__image-carousel-stepper-color: var(--str-chat__text-color);
7
+ }
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
+
21
+ .str-chat__image-carousel {
22
+ .str-chat__image-carousel-stepper {
23
+ --str-chat-icon-color: var(--str-chat__image-carousel-stepper-color);
24
+ cursor: pointer;
25
+
26
+ svg path {
27
+ fill: var(--str-chat__image-carousel-stepper-color);
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,4 @@
1
+ .str-chat__infinite-scroll-paginator {
2
+ overflow-y: auto;
3
+ overflow-x: hidden;
4
+ }
@@ -0,0 +1,67 @@
1
+ @use '../utils';
2
+
3
+ .str-chat__link-preview-list {
4
+ display: flex;
5
+ flex-direction: column;
6
+ align-items: center;
7
+ gap: 0.75rem;
8
+ width: 100%;
9
+ margin-bottom: 0.75rem;
10
+ padding-inline: 0.75rem;
11
+ }
12
+
13
+ .str-chat__link-preview-card {
14
+ width: 100%;
15
+ min-width: 0;
16
+ display: flex;
17
+ align-items: center;
18
+ justify-content: space-around;
19
+ gap: 1rem;
20
+
21
+ .str-chat__tooltip {
22
+ @include utils.ellipsis-text();
23
+ display: block;
24
+ max-width: calc(var(--str-chat__spacing-px) * 250);
25
+ padding-inline: 0.5rem;
26
+ }
27
+
28
+ .str-chat__link-preview-card__icon-container {
29
+ display: flex;
30
+ align-items: center;
31
+ }
32
+
33
+ .str-chat__link-preview-card__content {
34
+ width: 100%;
35
+ min-width: 0;
36
+ flex: 1;
37
+ padding-inline: 0.5rem;
38
+
39
+ .str-chat__link-preview-card__content-title,
40
+ .str-chat__link-preview-card__content-description {
41
+ @include utils.ellipsis-text();
42
+ }
43
+ }
44
+
45
+ .str-chat__link-preview-card__dismiss-button {
46
+ @include utils.button-reset;
47
+ cursor: pointer;
48
+ }
49
+ }
50
+
51
+ .str-chat__link-preview-card--loading {
52
+ .str-chat__link-preview-card__content {
53
+ display: flex;
54
+ flex-direction: column;
55
+ gap: 0.25rem;
56
+
57
+ .str-chat__link-preview-card__content-title {
58
+ height: calc(var(--str-chat__spacing-px) * 16);
59
+ width: 100%
60
+ }
61
+
62
+ .str-chat__link-preview-card__content-description {
63
+ height: calc(var(--str-chat__spacing-px) * 12);
64
+ width: 100%;
65
+ }
66
+ }
67
+ }
@@ -0,0 +1,32 @@
1
+ @use '../utils';
2
+
3
+ .str-chat {
4
+ --str-chat__link-preview-loading-state-color: var(--str-chat__disabled-color);
5
+ }
6
+
7
+ .str-chat__link-preview-card {
8
+ .str-chat__link-preview-card__content {
9
+ border-left: 2px solid var(--str-chat__primary-color);
10
+
11
+ .str-chat__link-preview-card__content-title {
12
+ font: var(--str-chat__body-medium-text);
13
+ }
14
+
15
+ .str-chat__link-preview-card__content-description {
16
+ font: var(--str-chat__caption-text);
17
+ }
18
+ }
19
+
20
+ .str-chat__link-preview-card__dismiss-button svg path {
21
+ fill: var(--str-chat__text-low-emphasis-color);
22
+ }
23
+ }
24
+
25
+ .str-chat__link-preview-card--loading {
26
+ .str-chat__link-preview-card__content-title,
27
+ .str-chat__link-preview-card__content-description {
28
+ @include utils.loading-item-background('link-preview');
29
+ @include utils.loading-animation;
30
+ border-radius: calc(var(--str-chat__spacing-px) * 3);
31
+ }
32
+ }
@@ -0,0 +1,2 @@
1
+ @import "LinkPreview-layout";
2
+ @import "LinkPreview-theme";
@@ -0,0 +1,64 @@
1
+ .str-chat {
2
+ /* The size of the loading indicator, only available in Angular v5+ */
3
+ --str-chat__loading-indicator-size: calc(var(--str-chat__spacing-px) * 15);
4
+ }
5
+
6
+ .str-chat__loading-indicator {
7
+ display: flex;
8
+ align-items: center;
9
+ justify-content: center;
10
+ animation: rotate 1s linear infinite;
11
+
12
+ svg {
13
+ width: var(--str-chat__loading-indicator-size);
14
+ height: var(--str-chat__loading-indicator-size);
15
+ }
16
+
17
+ @-webkit-keyframes rotate {
18
+ from {
19
+ -webkit-transform: rotate(0deg);
20
+ -o-transform: rotate(0deg);
21
+ transform: rotate(0deg);
22
+ }
23
+
24
+ to {
25
+ -webkit-transform: rotate(360deg);
26
+ -o-transform: rotate(360deg);
27
+ transform: rotate(360deg);
28
+ }
29
+ }
30
+
31
+ @keyframes rotate {
32
+ from {
33
+ -ms-transform: rotate(0deg);
34
+ -moz-transform: rotate(0deg);
35
+ -webkit-transform: rotate(0deg);
36
+ -o-transform: rotate(0deg);
37
+ transform: rotate(0deg);
38
+ }
39
+
40
+ to {
41
+ -ms-transform: rotate(360deg);
42
+ -moz-transform: rotate(360deg);
43
+ -webkit-transform: rotate(360deg);
44
+ -o-transform: rotate(360deg);
45
+ transform: rotate(360deg);
46
+ }
47
+ }
48
+ }
49
+
50
+ stream-loading-indicator {
51
+ display: flex;
52
+ align-items: center;
53
+ justify-content: center;
54
+
55
+ .str-chat__loading-indicator {
56
+ width: var(--str-chat__loading-indicator-size);
57
+ height: var(--str-chat__loading-indicator-size);
58
+ }
59
+ }
60
+
61
+ .str-chat__loading-indicator-placeholder {
62
+ width: var(--str-chat__loading-indicator-size);
63
+ height: var(--str-chat__loading-indicator-size);
64
+ }
@@ -0,0 +1,14 @@
1
+ .str-chat {
2
+ /* The color of the loading indicator */
3
+ --str-chat__loading-indicator-color: var(--str-chat__primary-color);
4
+ }
5
+
6
+ .str-chat__loading-indicator {
7
+ svg {
8
+ linearGradient {
9
+ stop:last-child {
10
+ stop-color: var(--str-chat__loading-indicator-color);
11
+ }
12
+ }
13
+ }
14
+ }
@@ -0,0 +1,52 @@
1
+ .str-chat__modal.str-chat__share-location-modal {
2
+ .str-chat__modal__close-button {
3
+ display: none;
4
+ }
5
+
6
+ .str-chat__share-location-dialog {
7
+ .str-chat__modal-header {
8
+ padding-top: 0;
9
+ }
10
+
11
+ .str-chat__dialog__body {
12
+ display: flex;
13
+ flex-direction: column;
14
+ gap: 1rem;
15
+ padding-block: 0;
16
+ -webkit-touch-callout: none;
17
+ -webkit-user-select: none;
18
+ user-select: none;
19
+
20
+ .str-chat__live-location-activation {
21
+ padding: 0.5rem;
22
+
23
+ .str-chat__form__switch-field {
24
+ padding: 0.5rem;
25
+ }
26
+
27
+ .str-chat__dropdown__open-button {
28
+ padding: 0.5rem;
29
+ }
30
+
31
+ .str-chat__dialog-contents {
32
+ .str-chat__dropdown__items {
33
+ display: flex;
34
+ flex-direction: column;
35
+ align-items: flex-start;
36
+ padding-block: 0.25rem;
37
+
38
+ .str-chat__live-location-sharing-duration-option {
39
+ padding: 0.25rem 0.5rem;
40
+ width: 100%;
41
+ text-align: start;
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
47
+
48
+ .str-chat__dialog__controls {
49
+ padding: 1.25rem 1rem 0;
50
+ }
51
+ }
52
+ }