@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.
- package/README.md +139 -2
- package/assets/i18n/en.d.ts +157 -0
- package/assets/version.d.ts +1 -0
- package/esm2022/assets/i18n/en.mjs +158 -0
- package/esm2022/assets/version.mjs +2 -0
- package/esm2022/lib/attachment-configuration.service.mjs +182 -0
- package/esm2022/lib/attachment-list/attachment-list.component.mjs +232 -0
- package/esm2022/lib/attachment-preview-list/attachment-preview-list.component.mjs +55 -0
- package/esm2022/lib/attachment.service.mjs +481 -0
- package/esm2022/lib/avatar/avatar.component.mjs +160 -0
- package/esm2022/lib/avatar-placeholder/avatar-placeholder.component.mjs +66 -0
- package/esm2022/lib/channel/channel.component.mjs +45 -0
- package/esm2022/lib/channel-header/channel-header.component.mjs +72 -0
- package/esm2022/lib/channel-list/channel-list.component.mjs +47 -0
- package/esm2022/lib/channel-preview/channel-preview.component.mjs +158 -0
- package/esm2022/lib/channel-query.mjs +77 -0
- package/esm2022/lib/channel.service.mjs +1576 -0
- package/esm2022/lib/chat-client.service.mjs +233 -0
- package/esm2022/lib/custom-templates.service.mjs +258 -0
- package/esm2022/lib/date-parser.service.mjs +51 -0
- package/esm2022/lib/file-utils.mjs +35 -0
- package/esm2022/lib/format-duration.mjs +16 -0
- package/esm2022/lib/get-channel-display-text.mjs +14 -0
- package/esm2022/lib/get-message-translation.mjs +12 -0
- package/esm2022/lib/icon/icon-placeholder/icon-placeholder.component.mjs +28 -0
- package/esm2022/lib/icon/icon.component.mjs +17 -0
- package/esm2022/lib/icon/icon.module.mjs +37 -0
- package/esm2022/lib/icon/loading-indicator/loading-indicator.component.mjs +15 -0
- package/esm2022/lib/icon/loading-indicator-placeholder/loading-indicator-placeholder.component.mjs +20 -0
- package/esm2022/lib/injection-tokens.mjs +3 -0
- package/esm2022/lib/is-image-attachment.mjs +6 -0
- package/esm2022/lib/is-on-separate-date.mjs +11 -0
- package/esm2022/lib/is-safari.mjs +2 -0
- package/esm2022/lib/list-users.mjs +12 -0
- package/esm2022/lib/message/message.component.mjs +501 -0
- package/esm2022/lib/message-actions-box/message-actions-box.component.mjs +123 -0
- package/esm2022/lib/message-actions.service.mjs +191 -0
- package/esm2022/lib/message-blocked/message-blocked.component.mjs +25 -0
- package/esm2022/lib/message-bounce-prompt/message-bounce-prompt.component.mjs +71 -0
- package/esm2022/lib/message-input/autocomplete-textarea/autocomplete-textarea.component.mjs +333 -0
- package/esm2022/lib/message-input/emoji-input.service.mjs +23 -0
- package/esm2022/lib/message-input/message-input-config.service.mjs +50 -0
- package/esm2022/lib/message-input/message-input.component.mjs +626 -0
- package/esm2022/lib/message-input/textarea/textarea.component.mjs +113 -0
- package/esm2022/lib/message-input/textarea.directive.mjs +93 -0
- package/esm2022/lib/message-input/textarea.interface.mjs +2 -0
- package/esm2022/lib/message-input/voice-recorder.service.mjs +27 -0
- package/esm2022/lib/message-list/group-styles.mjs +52 -0
- package/esm2022/lib/message-list/message-list.component.mjs +717 -0
- package/esm2022/lib/message-preview.mjs +22 -0
- package/esm2022/lib/message-reactions/message-reactions.component.mjs +168 -0
- package/esm2022/lib/message-reactions-selector/message-reactions-selector.component.mjs +61 -0
- package/esm2022/lib/message-reactions.service.mjs +70 -0
- package/esm2022/lib/message-text/message-text.component.mjs +141 -0
- package/esm2022/lib/message.service.mjs +43 -0
- package/esm2022/lib/modal/modal.component.mjs +69 -0
- package/esm2022/lib/modal/stream-modal.module.mjs +19 -0
- package/esm2022/lib/notification/notification.component.mjs +20 -0
- package/esm2022/lib/notification-list/notification-list.component.mjs +36 -0
- package/esm2022/lib/notification-list/stream-notification.module.mjs +20 -0
- package/esm2022/lib/notification.service.mjs +79 -0
- package/esm2022/lib/paginated-list/paginated-list.component.mjs +94 -0
- package/esm2022/lib/paginated-list/stream-paginated-list.module.mjs +20 -0
- package/esm2022/lib/parse-date.mjs +27 -0
- package/esm2022/lib/polls/base-poll.component.mjs +87 -0
- package/esm2022/lib/polls/poll/poll.component.mjs +34 -0
- package/esm2022/lib/polls/poll-actions/add-option/add-option.component.mjs +67 -0
- package/esm2022/lib/polls/poll-actions/poll-actions.component.mjs +137 -0
- package/esm2022/lib/polls/poll-actions/poll-answers-list/poll-answers-list.component.mjs +82 -0
- package/esm2022/lib/polls/poll-actions/poll-results/poll-results-list/poll-results-list.component.mjs +63 -0
- package/esm2022/lib/polls/poll-actions/poll-results/poll-vote/poll-vote.component.mjs +33 -0
- package/esm2022/lib/polls/poll-actions/poll-results/poll-vote-results-list/poll-vote-results-list.component.mjs +82 -0
- package/esm2022/lib/polls/poll-actions/upsert-answer/upsert-answer.component.mjs +60 -0
- package/esm2022/lib/polls/poll-composer/poll-composer.component.mjs +134 -0
- package/esm2022/lib/polls/poll-composer/validators.mjs +18 -0
- package/esm2022/lib/polls/poll-header/poll-header.component.mjs +80 -0
- package/esm2022/lib/polls/poll-option-selector/poll-option-selector.component.mjs +137 -0
- package/esm2022/lib/polls/poll-options-list/poll-options-list.component.mjs +39 -0
- package/esm2022/lib/polls/poll-preview/poll-preview.component.mjs +31 -0
- package/esm2022/lib/polls/stream-polls.module.mjs +107 -0
- package/esm2022/lib/polls/unique.validator.mjs +13 -0
- package/esm2022/lib/read-by.mjs +13 -0
- package/esm2022/lib/stream-autocomplete-textarea.module.mjs +33 -0
- package/esm2022/lib/stream-avatar.module.mjs +20 -0
- package/esm2022/lib/stream-chat.module.mjs +163 -0
- package/esm2022/lib/stream-i18n.service.mjs +34 -0
- package/esm2022/lib/stream-textarea.module.mjs +31 -0
- package/esm2022/lib/theme.service.mjs +23 -0
- package/esm2022/lib/thread/thread.component.mjs +51 -0
- package/esm2022/lib/transliteration.service.mjs +24 -0
- package/esm2022/lib/types-custom.mjs +2 -0
- package/esm2022/lib/types.mjs +2 -0
- package/esm2022/lib/user-list/user-list.component.mjs +47 -0
- package/esm2022/lib/virtualized-list.service.mjs +271 -0
- package/esm2022/lib/virtualized-message-list.service.mjs +73 -0
- package/esm2022/lib/voice-recorder/amplitude-recorder.service.mjs +119 -0
- package/esm2022/lib/voice-recorder/audio-recorder.service.mjs +79 -0
- package/esm2022/lib/voice-recorder/media-recorder.mjs +190 -0
- package/esm2022/lib/voice-recorder/mp3-transcoder.mjs +61 -0
- package/esm2022/lib/voice-recorder/transcoder.service.mjs +121 -0
- package/esm2022/lib/voice-recorder/voice-recorder-wavebar/voice-recorder-wavebar.component.mjs +35 -0
- package/esm2022/lib/voice-recorder/voice-recorder.component.mjs +80 -0
- package/esm2022/lib/voice-recorder/voice-recorder.module.mjs +34 -0
- package/esm2022/lib/voice-recording/voice-recording-wavebar/voice-recording-wavebar.component.mjs +112 -0
- package/esm2022/lib/voice-recording/voice-recording.component.mjs +91 -0
- package/esm2022/lib/voice-recording/voice-recording.module.mjs +21 -0
- package/esm2022/lib/wave-form-sampler.mjs +72 -0
- package/esm2022/public-api.mjs +104 -0
- package/esm2022/stream-chat-angular.mjs +5 -0
- package/esm2022/stream-chat.mjs +2 -0
- package/fesm2022/stream-chat-angular.mjs +10363 -0
- package/fesm2022/stream-chat-angular.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/attachment-configuration.service.d.ts +58 -0
- package/lib/attachment-list/attachment-list.component.d.ts +76 -0
- package/lib/attachment-preview-list/attachment-preview-list.component.d.ts +37 -0
- package/lib/attachment.service.d.ts +104 -0
- package/lib/avatar/avatar.component.d.ts +64 -0
- package/lib/avatar-placeholder/avatar-placeholder.component.d.ts +48 -0
- package/lib/channel/channel.component.d.ts +22 -0
- package/lib/channel-header/channel-header.component.d.ts +36 -0
- package/lib/channel-list/channel-list.component.d.ts +30 -0
- package/lib/channel-preview/channel-preview.component.d.ts +46 -0
- package/lib/channel-query.d.ts +26 -0
- package/lib/channel.service.d.ts +482 -0
- package/lib/chat-client.service.d.ts +91 -0
- package/lib/custom-templates.service.d.ts +258 -0
- package/lib/date-parser.service.d.ts +39 -0
- package/lib/file-utils.d.ts +9 -0
- package/lib/format-duration.d.ts +1 -0
- package/lib/get-channel-display-text.d.ts +2 -0
- package/lib/get-message-translation.d.ts +3 -0
- package/lib/icon/icon-placeholder/icon-placeholder.component.d.ts +20 -0
- package/lib/icon/icon.component.d.ts +14 -0
- package/lib/icon/icon.module.d.ts +11 -0
- package/lib/icon/loading-indicator/loading-indicator.component.d.ts +9 -0
- package/lib/icon/loading-indicator-placeholder/loading-indicator-placeholder.component.d.ts +11 -0
- package/lib/injection-tokens.d.ts +3 -0
- package/lib/is-image-attachment.d.ts +2 -0
- package/lib/is-on-separate-date.d.ts +1 -0
- package/lib/is-safari.d.ts +1 -0
- package/lib/list-users.d.ts +2 -0
- package/lib/message/message.component.d.ts +126 -0
- package/lib/message-actions-box/message-actions-box.component.d.ts +49 -0
- package/lib/message-actions.service.d.ts +49 -0
- package/lib/message-blocked/message-blocked.component.d.ts +17 -0
- package/lib/message-bounce-prompt/message-bounce-prompt.component.d.ts +28 -0
- package/lib/message-input/autocomplete-textarea/autocomplete-textarea.component.d.ts +98 -0
- package/lib/message-input/emoji-input.service.d.ts +14 -0
- package/lib/message-input/message-input-config.service.d.ts +54 -0
- package/lib/message-input/message-input.component.d.ts +189 -0
- package/lib/message-input/textarea/textarea.component.d.ts +55 -0
- package/lib/message-input/textarea.directive.d.ts +24 -0
- package/lib/message-input/textarea.interface.d.ts +14 -0
- package/lib/message-input/voice-recorder.service.d.ts +19 -0
- package/lib/message-list/group-styles.d.ts +3 -0
- package/lib/message-list/message-list.component.d.ts +146 -0
- package/lib/message-preview.d.ts +2 -0
- package/lib/message-reactions/message-reactions.component.d.ts +69 -0
- package/lib/message-reactions-selector/message-reactions-selector.component.d.ts +35 -0
- package/lib/message-reactions.service.d.ts +50 -0
- package/lib/message-text/message-text.component.d.ts +45 -0
- package/lib/message.service.d.ts +38 -0
- package/lib/modal/modal.component.d.ts +29 -0
- package/lib/modal/stream-modal.module.d.ts +9 -0
- package/lib/notification/notification.component.d.ts +19 -0
- package/lib/notification-list/notification-list.component.d.ts +23 -0
- package/lib/notification-list/stream-notification.module.d.ts +10 -0
- package/lib/notification.service.d.ts +38 -0
- package/lib/paginated-list/paginated-list.component.d.ts +45 -0
- package/lib/paginated-list/stream-paginated-list.module.d.ts +10 -0
- package/lib/parse-date.d.ts +1 -0
- package/lib/polls/base-poll.component.d.ts +43 -0
- package/lib/polls/poll/poll.component.d.ts +12 -0
- package/lib/polls/poll-actions/add-option/add-option.component.d.ts +22 -0
- package/lib/polls/poll-actions/poll-actions.component.d.ts +50 -0
- package/lib/polls/poll-actions/poll-answers-list/poll-answers-list.component.d.ts +25 -0
- package/lib/polls/poll-actions/poll-results/poll-results-list/poll-results-list.component.d.ts +22 -0
- package/lib/polls/poll-actions/poll-results/poll-vote/poll-vote.component.d.ts +20 -0
- package/lib/polls/poll-actions/poll-results/poll-vote-results-list/poll-vote-results-list.component.d.ts +24 -0
- package/lib/polls/poll-actions/upsert-answer/upsert-answer.component.d.ts +27 -0
- package/lib/polls/poll-composer/poll-composer.component.d.ts +43 -0
- package/lib/polls/poll-composer/validators.d.ts +3 -0
- package/lib/polls/poll-header/poll-header.component.d.ts +19 -0
- package/lib/polls/poll-option-selector/poll-option-selector.component.d.ts +27 -0
- package/lib/polls/poll-options-list/poll-options-list.component.d.ts +17 -0
- package/lib/polls/poll-preview/poll-preview.component.d.ts +13 -0
- package/lib/polls/stream-polls.module.d.ts +26 -0
- package/lib/polls/unique.validator.d.ts +2 -0
- package/lib/read-by.d.ts +2 -0
- package/lib/stream-autocomplete-textarea.module.d.ts +11 -0
- package/lib/stream-avatar.module.d.ts +10 -0
- package/lib/stream-chat.module.d.ts +35 -0
- package/lib/stream-i18n.service.d.ts +19 -0
- package/lib/stream-textarea.module.d.ts +9 -0
- package/lib/theme.service.d.ts +14 -0
- package/lib/thread/thread.component.d.ts +26 -0
- package/lib/transliteration.service.d.ts +15 -0
- package/lib/types-custom.d.ts +16 -0
- package/lib/types.d.ts +365 -0
- package/lib/user-list/user-list.component.d.ts +29 -0
- package/lib/virtualized-list.service.d.ts +58 -0
- package/lib/virtualized-message-list.service.d.ts +15 -0
- package/lib/voice-recorder/amplitude-recorder.service.d.ts +71 -0
- package/lib/voice-recorder/audio-recorder.service.d.ts +46 -0
- package/lib/voice-recorder/media-recorder.d.ts +46 -0
- package/lib/voice-recorder/mp3-transcoder.d.ts +1 -0
- package/lib/voice-recorder/transcoder.service.d.ts +40 -0
- package/lib/voice-recorder/voice-recorder-wavebar/voice-recorder-wavebar.component.d.ts +21 -0
- package/lib/voice-recorder/voice-recorder.component.d.ts +30 -0
- package/lib/voice-recorder/voice-recorder.module.d.ts +12 -0
- package/lib/voice-recording/voice-recording-wavebar/voice-recording-wavebar.component.d.ts +36 -0
- package/lib/voice-recording/voice-recording.component.d.ts +29 -0
- package/lib/voice-recording/voice-recording.module.d.ts +11 -0
- package/lib/wave-form-sampler.d.ts +1 -0
- package/package.json +62 -4
- package/public-api.d.ts +99 -0
- package/src/assets/assets/EmojiOneColor.woff2 +0 -0
- package/src/assets/assets/NotoColorEmoji-flags.woff2 +0 -0
- package/src/assets/assets/icons/stream-chat-icons.eot +0 -0
- package/src/assets/assets/icons/stream-chat-icons.svg +50 -0
- package/src/assets/assets/icons/stream-chat-icons.ttf +0 -0
- package/src/assets/assets/icons/stream-chat-icons.woff +0 -0
- package/src/assets/assets/icons/stream-chat-icons.woff2 +0 -0
- package/src/assets/i18n/en.ts +184 -0
- package/src/assets/styles/css/emoji-mart.css +1 -0
- package/src/assets/styles/css/emoji-replacement.css +1 -0
- package/src/assets/styles/css/index.css +1 -0
- package/src/assets/styles/css/index.layout.css +1 -0
- package/src/assets/styles/scss/AIStateIndicator/AIStateIndicator-layout.scss +3 -0
- package/src/assets/styles/scss/AIStateIndicator/AIStateIndicator-theme.scss +7 -0
- package/src/assets/styles/scss/AttachmentList/AttachmentList-layout.scss +701 -0
- package/src/assets/styles/scss/AttachmentList/AttachmentList-theme.scss +605 -0
- package/src/assets/styles/scss/AttachmentPreviewList/AttachmentPreviewList-layout.scss +141 -0
- package/src/assets/styles/scss/AttachmentPreviewList/AttachmentPreviewList-theme.scss +190 -0
- package/src/assets/styles/scss/AudioRecorder/AudioRecorder-layout.scss +139 -0
- package/src/assets/styles/scss/AudioRecorder/AudioRecorder-theme.scss +61 -0
- package/src/assets/styles/scss/Autocomplete/Autocomplete-layout.scss +94 -0
- package/src/assets/styles/scss/Autocomplete/Autocomplete-theme.scss +220 -0
- package/src/assets/styles/scss/Avatar/Avatar-layout.scss +137 -0
- package/src/assets/styles/scss/Avatar/Avatar-theme.scss +64 -0
- package/src/assets/styles/scss/BaseImage/BaseImage-layout.scss +21 -0
- package/src/assets/styles/scss/BaseImage/BaseImage-theme.scss +35 -0
- package/src/assets/styles/scss/BaseImage/index.scss +2 -0
- package/src/assets/styles/scss/Channel/Channel-layout.scss +141 -0
- package/src/assets/styles/scss/Channel/Channel-theme.scss +100 -0
- package/src/assets/styles/scss/ChannelHeader/ChannelHeader-layout.scss +27 -0
- package/src/assets/styles/scss/ChannelHeader/ChannelHeader-theme.scss +43 -0
- package/src/assets/styles/scss/ChannelList/ChannelList-layout.scss +65 -0
- package/src/assets/styles/scss/ChannelList/ChannelList-theme.scss +89 -0
- package/src/assets/styles/scss/ChannelPreview/ChannelPreview-layout.scss +126 -0
- package/src/assets/styles/scss/ChannelPreview/ChannelPreview-theme.scss +148 -0
- package/src/assets/styles/scss/ChannelSearch/ChannelSearch-layout.scss +122 -0
- package/src/assets/styles/scss/ChannelSearch/ChannelSearch-theme.scss +238 -0
- package/src/assets/styles/scss/ChatView/ChatView-layout.scss +43 -0
- package/src/assets/styles/scss/ChatView/ChatView-theme.scss +32 -0
- package/src/assets/styles/scss/Dialog/Dialog-layout.scss +70 -0
- package/src/assets/styles/scss/Dialog/Dialog-theme.scss +103 -0
- package/src/assets/styles/scss/DragAndDropContainer/DragAndDropContainer-layout.scss +5 -0
- package/src/assets/styles/scss/DragAndDropContainer/DragAndDropContainer-theme.scss +47 -0
- package/src/assets/styles/scss/DropzoneContainer/DropzoneContainer-layout.scss +14 -0
- package/src/assets/styles/scss/DropzoneContainer/DropzoneContainer-theme.scss +17 -0
- package/src/assets/styles/scss/EditMessageForm/EditMessageForm-layout.scss +51 -0
- package/src/assets/styles/scss/EditMessageForm/EditMessageForm-theme.scss +50 -0
- package/src/assets/styles/scss/Form/Form-layout.scss +49 -0
- package/src/assets/styles/scss/Form/Form-theme.scss +82 -0
- package/src/assets/styles/scss/Icon/Icon-layout.scss +98 -0
- package/src/assets/styles/scss/Icon/Icon-theme.scss +17 -0
- package/src/assets/styles/scss/ImageCarousel/ImageCarousel-layout.scss +51 -0
- package/src/assets/styles/scss/ImageCarousel/ImageCarousel-theme.scss +30 -0
- package/src/assets/styles/scss/InfiniteScrollPaginator/InfiniteScrollPaginator-layout.scss +4 -0
- package/src/assets/styles/scss/LinkPreview/LinkPreview-layout.scss +67 -0
- package/src/assets/styles/scss/LinkPreview/LinkPreview-theme.scss +32 -0
- package/src/assets/styles/scss/LinkPreview/index.scss +2 -0
- package/src/assets/styles/scss/LoadingIndicator/LoadingIndicator-layout.scss +64 -0
- package/src/assets/styles/scss/LoadingIndicator/LoadingIndicator-theme.scss +14 -0
- package/src/assets/styles/scss/Location/Location-layout.scss +52 -0
- package/src/assets/styles/scss/Location/Location-theme.scss +32 -0
- package/src/assets/styles/scss/Message/Message-layout.scss +605 -0
- package/src/assets/styles/scss/Message/Message-theme.scss +483 -0
- package/src/assets/styles/scss/MessageActionsBox/MessageActionsBox-layout.scss +20 -0
- package/src/assets/styles/scss/MessageActionsBox/MessageActionsBox-theme.scss +85 -0
- package/src/assets/styles/scss/MessageBouncePrompt/MessageBouncePrompt-layout.scss +19 -0
- package/src/assets/styles/scss/MessageBouncePrompt/MessageBouncePrompt-theme.scss +51 -0
- package/src/assets/styles/scss/MessageInput/MessageInput-layout.scss +268 -0
- package/src/assets/styles/scss/MessageInput/MessageInput-theme.scss +359 -0
- package/src/assets/styles/scss/MessageList/MessageList-layout.scss +65 -0
- package/src/assets/styles/scss/MessageList/MessageList-theme.scss +107 -0
- package/src/assets/styles/scss/MessageList/VirtualizedMessageList-layout.scss +57 -0
- package/src/assets/styles/scss/MessageList/VirtualizedMessageList-theme.scss +41 -0
- package/src/assets/styles/scss/MessageReactions/MessageReactions-layout.scss +143 -0
- package/src/assets/styles/scss/MessageReactions/MessageReactions-theme.scss +92 -0
- package/src/assets/styles/scss/MessageReactions/MessageReactionsSelector-layout.scss +86 -0
- package/src/assets/styles/scss/MessageReactions/MessageReactionsSelector-theme.scss +94 -0
- package/src/assets/styles/scss/Modal/Modal-layout.scss +74 -0
- package/src/assets/styles/scss/Modal/Modal-theme.scss +109 -0
- package/src/assets/styles/scss/Notification/MessageNotification-layout.scss +12 -0
- package/src/assets/styles/scss/Notification/MessageNotification-theme.scss +34 -0
- package/src/assets/styles/scss/Notification/Notification-layout.scss +7 -0
- package/src/assets/styles/scss/Notification/Notification-theme.scss +32 -0
- package/src/assets/styles/scss/Notification/NotificationList-layout.scss +11 -0
- package/src/assets/styles/scss/Notification/NotificationList-theme.scss +31 -0
- package/src/assets/styles/scss/Poll/Poll-layout.scss +489 -0
- package/src/assets/styles/scss/Poll/Poll-theme.scss +178 -0
- package/src/assets/styles/scss/Search/Search-layout.scss +148 -0
- package/src/assets/styles/scss/Search/Search-theme.scss +222 -0
- package/src/assets/styles/scss/Thread/Thread-layout.scss +65 -0
- package/src/assets/styles/scss/Thread/Thread-theme.scss +82 -0
- package/src/assets/styles/scss/ThreadList/ThreadList-layout.scss +152 -0
- package/src/assets/styles/scss/ThreadList/ThreadList-theme.scss +75 -0
- package/src/assets/styles/scss/Tooltip/Tooltip-layout.scss +10 -0
- package/src/assets/styles/scss/Tooltip/Tooltip-theme.scss +36 -0
- package/src/assets/styles/scss/TypingIndicator/TypingIndicator-layout.scss +31 -0
- package/src/assets/styles/scss/TypingIndicator/TypingIndicator-theme.scss +68 -0
- package/src/assets/styles/scss/UnreadCountBadge/UnreadCountBadge-layout.scss +49 -0
- package/src/assets/styles/scss/UnreadCountBadge/UnreadCountBadge-theme.scss +11 -0
- package/src/assets/styles/scss/_base.scss +65 -0
- package/src/assets/styles/scss/_emoji-replacement.scss +45 -0
- package/src/assets/styles/scss/_global-layout-variables.scss +65 -0
- package/src/assets/styles/scss/_global-theme-variables.scss +173 -0
- package/src/assets/styles/scss/_icons.scss +36 -0
- package/src/assets/styles/scss/_palette-variables.scss +55 -0
- package/src/assets/styles/scss/_utils.scss +212 -0
- package/src/assets/styles/scss/_variables.scss +2 -0
- package/src/assets/styles/scss/common/CTAButton/CTAButton-layout.scss +4 -0
- package/src/assets/styles/scss/common/CTAButton/CTAButton-theme.scss +42 -0
- package/src/assets/styles/scss/common/CircleFAButton/CircleFAButton-layout.scss +14 -0
- package/src/assets/styles/scss/common/CircleFAButton/CircleFAButton-theme.scss +35 -0
- package/src/assets/styles/scss/index.layout.scss +49 -0
- package/src/assets/styles/scss/index.scss +50 -0
- package/src/assets/styles/scss/vendor/emoji-mart.scss +514 -0
- package/src/assets/styles/scss/vendor/react-image-gallery.scss +258 -0
- package/src/assets/version.ts +1 -0
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
@use '../utils';
|
|
2
|
+
|
|
3
|
+
.str-chat__search {
|
|
4
|
+
position: relative;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
|
|
9
|
+
&.str-chat__search--active {
|
|
10
|
+
flex: 1;
|
|
11
|
+
max-height: 100%;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.str-chat__search-bar {
|
|
15
|
+
@include utils.flex-row-center;
|
|
16
|
+
padding: var(--str-chat__spacing-2_5) var(--str-chat__spacing-2);
|
|
17
|
+
gap: 0.25rem;
|
|
18
|
+
|
|
19
|
+
.str-chat__search-bar-button {
|
|
20
|
+
@include utils.button-reset;
|
|
21
|
+
padding: var(--str-chat__spacing-1);
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.str-chat__search-input--wrapper {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
flex: 1;
|
|
29
|
+
padding: var(--str-chat__spacing-1_5) var(--str-chat__spacing-2);
|
|
30
|
+
min-width: 0;
|
|
31
|
+
|
|
32
|
+
.str-chat__search-input--icon {
|
|
33
|
+
height: 20px;
|
|
34
|
+
width: 20px;
|
|
35
|
+
margin-right: 0.5rem;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.str-chat__search-input--clear-button {
|
|
39
|
+
@include utils.button-reset;
|
|
40
|
+
cursor: pointer;
|
|
41
|
+
padding: 0;
|
|
42
|
+
|
|
43
|
+
&:disabled {
|
|
44
|
+
cursor: default;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.str-chat__search-input--clear-button-icon {
|
|
48
|
+
height: 20px;
|
|
49
|
+
width: 20px;
|
|
50
|
+
mask-size: 20px;
|
|
51
|
+
-webkit-mask-size: 20px;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
input {
|
|
56
|
+
flex: 1;
|
|
57
|
+
min-width: 0;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.str-chat__search-results {
|
|
63
|
+
flex: 1;
|
|
64
|
+
display: flex;
|
|
65
|
+
flex-direction: column;
|
|
66
|
+
min-height: 0;
|
|
67
|
+
|
|
68
|
+
.str-chat__search-results-header {
|
|
69
|
+
width: 100%;
|
|
70
|
+
|
|
71
|
+
button {
|
|
72
|
+
@include utils.button-reset();
|
|
73
|
+
cursor: pointer;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.str-chat__search-results-header__filter-source-buttons {
|
|
77
|
+
display: flex;
|
|
78
|
+
flex-wrap: wrap;
|
|
79
|
+
gap: 0.5rem;
|
|
80
|
+
padding: var(--str-chat__spacing-3) var(--str-chat__spacing-2_5);
|
|
81
|
+
width: 100%;
|
|
82
|
+
|
|
83
|
+
.str-chat__search-results-header__filter-source-button {
|
|
84
|
+
padding: 0.5rem 0.75rem;
|
|
85
|
+
border-radius: var(--str-chat__border-radius-circle);
|
|
86
|
+
background-color: var(--str-chat__tertiary-surface-color);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.str-chat__search-results-header__filter-source-button--active {
|
|
90
|
+
background-color: var(--str-chat__surface-color);
|
|
91
|
+
color: var(--str-chat__text-color);
|
|
92
|
+
font-weight: 500;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.str-chat__search-results-presearch,
|
|
98
|
+
.str-chat__search-source-results-empty {
|
|
99
|
+
width: 100%;
|
|
100
|
+
display: flex;
|
|
101
|
+
justify-content: center;
|
|
102
|
+
align-items: center;
|
|
103
|
+
padding: 1.25rem;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.str-chat__search-source-results {
|
|
107
|
+
flex: 1;
|
|
108
|
+
display: flex;
|
|
109
|
+
flex-direction: column;
|
|
110
|
+
min-height: 0;
|
|
111
|
+
|
|
112
|
+
.str-chat__search-source-result-list {
|
|
113
|
+
flex: 1;
|
|
114
|
+
display: flex;
|
|
115
|
+
flex-direction: column;
|
|
116
|
+
min-height: 0;
|
|
117
|
+
|
|
118
|
+
.str-chat__infinite-scroll-paginator__content {
|
|
119
|
+
display: flex;
|
|
120
|
+
flex-direction: column;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.str-chat__search-result {
|
|
124
|
+
display: flex;
|
|
125
|
+
align-items: center;
|
|
126
|
+
width: 100%;
|
|
127
|
+
column-gap: var(--str-chat__spacing-2);
|
|
128
|
+
padding: var(--str-chat__spacing-3) var(--str-chat__spacing-2);
|
|
129
|
+
|
|
130
|
+
.search__result-text,
|
|
131
|
+
.str-chat__search-result--display-name {
|
|
132
|
+
@include utils.ellipsis-text;
|
|
133
|
+
@include utils.prevent-glitch-text-overflow;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.str-chat__search-source-result-list__footer {
|
|
138
|
+
height: 4rem;
|
|
139
|
+
width: 100%;
|
|
140
|
+
display: flex;
|
|
141
|
+
justify-content: center;
|
|
142
|
+
align-items: center;
|
|
143
|
+
flex-direction: column;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
@use '../utils';
|
|
2
|
+
|
|
3
|
+
/* Only available in React SDK. */
|
|
4
|
+
.str-chat {
|
|
5
|
+
/* The text/icon color of the component */
|
|
6
|
+
--str-chat__search-input-color: var(--str-chat__text-color);
|
|
7
|
+
|
|
8
|
+
/* The text/icon color of the component */
|
|
9
|
+
--str-chat__search-input-placeholder-color: var(--str-chat__text-low-emphasis-color);
|
|
10
|
+
|
|
11
|
+
/* The text/icon color of the component */
|
|
12
|
+
--str-chat__search-input-icon-color: var(--str-chat__text-low-emphasis-color);
|
|
13
|
+
|
|
14
|
+
/* Top border of the component */
|
|
15
|
+
--str-chat__search-input-border-block-start: none;
|
|
16
|
+
|
|
17
|
+
/* Bottom border of the component */
|
|
18
|
+
--str-chat__search-input-border-block-end: none;
|
|
19
|
+
|
|
20
|
+
/* Left (right in RTL layout) borhe component */
|
|
21
|
+
--str-chat__search-input-border-inline-start: none;
|
|
22
|
+
|
|
23
|
+
/* Right (left in RTL layout) borhe component */
|
|
24
|
+
--str-chat__search-input-border-inline-end: none;
|
|
25
|
+
|
|
26
|
+
/* The border radius used for the borders of the component */
|
|
27
|
+
--str-chat__search-input-wrapper-border-radius: var(--str-chat__border-radius-circle);
|
|
28
|
+
|
|
29
|
+
/* The background color of the component */
|
|
30
|
+
--str-chat__search-input-wrapper-background-color: transparent;
|
|
31
|
+
|
|
32
|
+
/* Top border of the component */
|
|
33
|
+
--str-chat__search-input-wrapper-border-block-start: var(--str-chat__surface-color) 1px
|
|
34
|
+
solid;
|
|
35
|
+
|
|
36
|
+
/* Bottom border of the component */
|
|
37
|
+
--str-chat__search-input-wrapper-border-block-end: var(--str-chat__surface-color) 1px
|
|
38
|
+
solid;
|
|
39
|
+
|
|
40
|
+
/* Left (right in RTL layout) border of the component */
|
|
41
|
+
--str-chat__search-input-wrapper-border-inline-start: var(--str-chat__surface-color) 1px
|
|
42
|
+
solid;
|
|
43
|
+
|
|
44
|
+
/* Right (left in RTL layout) border of the component */
|
|
45
|
+
--str-chat__search-input-wrapper-border-inline-end: var(--str-chat__surface-color) 1px
|
|
46
|
+
solid;
|
|
47
|
+
|
|
48
|
+
/* The border radius used for the borders of the component */
|
|
49
|
+
--str-chat__search-input-wrapper-active-border-radius: var(--str-chat__border-radius-circle);
|
|
50
|
+
|
|
51
|
+
/* The background color of the component */
|
|
52
|
+
--str-chat__search-input-wrapper-active-background-color: transparent;
|
|
53
|
+
|
|
54
|
+
/* Top border of the component */
|
|
55
|
+
--str-chat__search-input-wrapper-active-border-block-start: var(--str-chat__primary-color)
|
|
56
|
+
1px solid;
|
|
57
|
+
|
|
58
|
+
/* Bottom border of the component */
|
|
59
|
+
--str-chat__search-input-wrapper-active-border-block-end: var(--str-chat__primary-color)
|
|
60
|
+
1px solid;
|
|
61
|
+
|
|
62
|
+
/* Left (right in RTL layout) border of the component */
|
|
63
|
+
--str-chat__search-input-wrapper-active-border-inline-start: var(
|
|
64
|
+
--str-chat__primary-color
|
|
65
|
+
)
|
|
66
|
+
1px solid;
|
|
67
|
+
|
|
68
|
+
/* Right (left in RTL layout) border of the component */
|
|
69
|
+
--str-chat__search-input-wrapper-active-border-inline-end: var(--str-chat__primary-color)
|
|
70
|
+
1px solid;
|
|
71
|
+
|
|
72
|
+
/* The background applied to channel search result */
|
|
73
|
+
--str-chat__search-result-background-color: transparent;
|
|
74
|
+
|
|
75
|
+
/* Top border of the component */
|
|
76
|
+
--str-chat__search-result-border-block-start: none;
|
|
77
|
+
|
|
78
|
+
/* Bottom border of the component */
|
|
79
|
+
--str-chat__search-result-border-block-end: none;
|
|
80
|
+
|
|
81
|
+
/* Left (right in RTL layout) border of the component */
|
|
82
|
+
--str-chat__search-result-border-inline-start: none;
|
|
83
|
+
|
|
84
|
+
/* Right (left in RTL layout) border of the component */
|
|
85
|
+
--str-chat__search-result-border-inline-end: none;
|
|
86
|
+
|
|
87
|
+
/* Background color used for the search result hover / focused state */
|
|
88
|
+
--str-chat__search-result-hover-background-color: var(
|
|
89
|
+
--str-chat__secondary-surface-color
|
|
90
|
+
);
|
|
91
|
+
|
|
92
|
+
--str-chat__search-result-list-color: var(--str-chat__text-color);
|
|
93
|
+
|
|
94
|
+
--str-chat__search-result-list-background-color: var(--str-chat__secondary-background-color);
|
|
95
|
+
|
|
96
|
+
/* Top border of the component */
|
|
97
|
+
--str-chat__search-result-list-border-block-start: none;
|
|
98
|
+
|
|
99
|
+
/* Bottom border of the component */
|
|
100
|
+
--str-chat__search-result-list-border-block-end: none;
|
|
101
|
+
|
|
102
|
+
/* Left (right in RTL layout) border of the component */
|
|
103
|
+
--str-chat__search-result-list-border-inline-start: none;
|
|
104
|
+
|
|
105
|
+
/* Right (left in RTL layout) border of the component */
|
|
106
|
+
--str-chat__search-result-list-border-inline-end: none;
|
|
107
|
+
|
|
108
|
+
/* Box shadow applied to the component */
|
|
109
|
+
--str-chat__search-result-list-popup-box-shadow: 0 4px 4px var(--str-chat__box-shadow-color);
|
|
110
|
+
|
|
111
|
+
/* The font color used in the search results header */
|
|
112
|
+
--str-chat__search-results-header-color: var(--str-chat__text-low-emphasis-color);
|
|
113
|
+
|
|
114
|
+
/* The background color used in the search results header */
|
|
115
|
+
--str-chat__search-results-header-background-color: var(--str-chat__background-color);
|
|
116
|
+
|
|
117
|
+
/* Top border of the component */
|
|
118
|
+
--str-chat__search-results-header-border-block-start: none;
|
|
119
|
+
|
|
120
|
+
/* Bottom border of the component */
|
|
121
|
+
--str-chat__search-results-header-border-block-end: var(--str-chat__surface-color) 1px
|
|
122
|
+
solid;
|
|
123
|
+
|
|
124
|
+
/* Left (right in RTL layout) border of the component */
|
|
125
|
+
--str-chat__search-results-header-border-inline-start: none;
|
|
126
|
+
|
|
127
|
+
/* Right (left in RTL layout) border of the component */
|
|
128
|
+
--str-chat__search-results-header-border-inline-end: none;
|
|
129
|
+
|
|
130
|
+
/* The font color used in the empty search results indicator */
|
|
131
|
+
--str-chat__search-results-empty-color: var(--str-chat__text-low-emphasis-color);
|
|
132
|
+
|
|
133
|
+
/* The icon color used in the empty search results indicator */
|
|
134
|
+
--str-chat__search-results-empty-icon-color: var(--str-chat__disabled-color);
|
|
135
|
+
|
|
136
|
+
/* The background color used in the empty search results indicator */
|
|
137
|
+
--str-chat__search-results-empty-background-color: var(--str-chat__background-color);
|
|
138
|
+
|
|
139
|
+
/* Top border of the component */
|
|
140
|
+
--str-chat__search-results-empty-border-block-start: none;
|
|
141
|
+
|
|
142
|
+
/* Bottom border of the component */
|
|
143
|
+
--str-chat__search-results-empty-border-block-end: none;
|
|
144
|
+
|
|
145
|
+
/* Left (right in RTL layout) border of the component */
|
|
146
|
+
--str-chat__search-results-empty-border-inline-start: none;
|
|
147
|
+
|
|
148
|
+
/* Right (left in RTL layout) border of the component */
|
|
149
|
+
--str-chat__search-results-empty-border-inline-end: none;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.str-chat__search-input--wrapper {
|
|
153
|
+
@include utils.component-layer-overrides('search-input-wrapper');
|
|
154
|
+
|
|
155
|
+
.str-chat__search-input--icon {
|
|
156
|
+
background-image: var(--str-chat__magnifier-glass-icon);
|
|
157
|
+
background-repeat: no-repeat;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
input {
|
|
161
|
+
@include utils.component-layer-overrides('search-input');
|
|
162
|
+
outline: none;
|
|
163
|
+
font: var(--str-chat__subtitle-text);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.str-chat__search-input--clear-button-icon {
|
|
167
|
+
background-color: transparent;
|
|
168
|
+
-webkit-mask: var(--str-chat__clear-icon) no-repeat center / contain;
|
|
169
|
+
mask: var(--str-chat__clear-icon) no-repeat center / contain;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.str-chat__search-input--wrapper-active {
|
|
174
|
+
@include utils.component-layer-overrides('search-input-wrapper-active');
|
|
175
|
+
|
|
176
|
+
.str-chat__search-input--clear-button-icon {
|
|
177
|
+
background-color: var(--str-chat__text-low-emphasis-color);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.str-chat__search-bar-button--exit-search {
|
|
182
|
+
@include utils.button-reset();
|
|
183
|
+
color: var(--str-chat__primary-color);
|
|
184
|
+
font: var(--str-chat__subtitle-text);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.str-chat__search-results-header {
|
|
188
|
+
@include utils.component-layer-overrides('search-results-header');
|
|
189
|
+
font: var(--str-chat__subtitle-text);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.str-chat__search-source-result-list {
|
|
193
|
+
@include utils.component-layer-overrides('search-result-list');
|
|
194
|
+
|
|
195
|
+
.str-chat__search-container-empty {
|
|
196
|
+
@include utils.component-layer-overrides('search-results-empty');
|
|
197
|
+
font: var(--str-chat__subtitle2-medium-text);
|
|
198
|
+
|
|
199
|
+
svg path {
|
|
200
|
+
fill: var(--str-chat__search-results-empty-icon-color);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.str-chat__search-result {
|
|
205
|
+
@include utils.component-layer-overrides('search-result');
|
|
206
|
+
|
|
207
|
+
&.str-chat__channel-preview-messenger--active {
|
|
208
|
+
background-color: var(--str-chat__channel-preview-active-background-color);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.str-chat__search-result--display-name {
|
|
212
|
+
@include utils.channel-preview-display-name-theme;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
.str-chat__search-result:hover,
|
|
219
|
+
.str-chat__search-result--focused {
|
|
220
|
+
background-color: var(--str-chat__search-result-hover-background-color);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
@use '../utils';
|
|
2
|
+
|
|
3
|
+
// FIXME: figure out why does this "container" exist when __thread is completely valid
|
|
4
|
+
.str-chat__thread-container {
|
|
5
|
+
height: 100%;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
width: 100%;
|
|
9
|
+
|
|
10
|
+
.str-chat__thread-header {
|
|
11
|
+
@include utils.header-layout;
|
|
12
|
+
|
|
13
|
+
.str-chat__thread-header-details {
|
|
14
|
+
@include utils.header-text-layout;
|
|
15
|
+
|
|
16
|
+
.str-chat__thread-header-name,
|
|
17
|
+
.str-chat__thread-header-reply-count,
|
|
18
|
+
.str-chat__thread-header-channel-name,
|
|
19
|
+
.str-chat__thread-header-subtitle,
|
|
20
|
+
.str-chat__thread-header-title {
|
|
21
|
+
@include utils.ellipsis-text;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.str-chat__thread-header-subtitle {
|
|
25
|
+
@include utils.prevent-glitch-text-overflow;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.str-chat__close-thread-button {
|
|
30
|
+
$icon-size: calc(var(--str-chat__spacing-px) * 21);
|
|
31
|
+
@include utils.flex-top-right;
|
|
32
|
+
width: calc(var(--str-chat__spacing-px) * 40);
|
|
33
|
+
height: calc(var(--str-chat__spacing-px) * 40);
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
line-height: $icon-size;
|
|
36
|
+
font-size: $icon-size;
|
|
37
|
+
|
|
38
|
+
svg {
|
|
39
|
+
height: $icon-size;
|
|
40
|
+
width: $icon-size;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.str-chat__thread {
|
|
47
|
+
.str-chat__main-panel-inner {
|
|
48
|
+
height: auto;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.str-chat__thread--virtualized {
|
|
53
|
+
.str-chat__main-panel-inner {
|
|
54
|
+
height: 100%;
|
|
55
|
+
|
|
56
|
+
// the first message in virtualized thread has to be separated from the top by padding, not margin
|
|
57
|
+
.str-chat__virtual-list-message-wrapper:first-of-type {
|
|
58
|
+
padding-block-start: var(--str-chat__spacing-4);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.str-chat__parent-message-li {
|
|
64
|
+
padding: var(--str-chat__spacing-2);
|
|
65
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
@use '../utils';
|
|
2
|
+
|
|
3
|
+
.str-chat {
|
|
4
|
+
/* The border radius used for the borders of the component */
|
|
5
|
+
--str-chat__thread-border-radius: 0;
|
|
6
|
+
|
|
7
|
+
/* The text/icon color of the component */
|
|
8
|
+
--str-chat__thread-color: var(--str-chat__text-color);
|
|
9
|
+
|
|
10
|
+
/* The background color of the component */
|
|
11
|
+
--str-chat__thread-background-color: var(--str-chat__secondary-background-color);
|
|
12
|
+
|
|
13
|
+
/* Top border of the component */
|
|
14
|
+
--str-chat__thread-border-block-start: none;
|
|
15
|
+
|
|
16
|
+
/* Bottom border of the component */
|
|
17
|
+
--str-chat__thread-border-block-end: none;
|
|
18
|
+
|
|
19
|
+
/* Left (right in RTL layout) border of the component */
|
|
20
|
+
--str-chat__thread-border-inline-start: 1px solid var(--str-chat__surface-color);
|
|
21
|
+
|
|
22
|
+
/* Right (left in RTL layout) border of the component */
|
|
23
|
+
--str-chat__thread-border-inline-end: none;
|
|
24
|
+
|
|
25
|
+
/* Box shadow applied to the component */
|
|
26
|
+
--str-chat__thread-box-shadow: none;
|
|
27
|
+
|
|
28
|
+
/* The border radius used for the borders of the thread header */
|
|
29
|
+
--str-chat__thread-header-border-radius: 0;
|
|
30
|
+
|
|
31
|
+
/* The text/icon color of the thread header */
|
|
32
|
+
--str-chat__thread-header-color: var(--str-chat__text-color);
|
|
33
|
+
|
|
34
|
+
/* The background color of the thread header */
|
|
35
|
+
--str-chat__thread-header-background-color: var(--str-chat__secondary-background-color);
|
|
36
|
+
|
|
37
|
+
/* Top border of the thread header */
|
|
38
|
+
--str-chat__thread-header-border-block-start: none;
|
|
39
|
+
|
|
40
|
+
/* Bottom border of the thread header */
|
|
41
|
+
--str-chat__thread-header-border-block-end: none;
|
|
42
|
+
|
|
43
|
+
/* Left (right in RTL layout) border of the thread header */
|
|
44
|
+
--str-chat__thread-header-border-inline-start: none;
|
|
45
|
+
|
|
46
|
+
/* Right (left in RTL layout) border of the thread header */
|
|
47
|
+
--str-chat__thread-header-border-inline-end: none;
|
|
48
|
+
|
|
49
|
+
/* Box shadow applied to the thread header */
|
|
50
|
+
--str-chat__thread-header-box-shadow: none;
|
|
51
|
+
|
|
52
|
+
/* The text/icon color used to display less emphasized text in the channel header */
|
|
53
|
+
--str-chat__thread-header-info-color: var(--str-chat__text-low-emphasis-color);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.str-chat__thread-container {
|
|
57
|
+
@include utils.component-layer-overrides('thread');
|
|
58
|
+
|
|
59
|
+
.str-chat__thread-header {
|
|
60
|
+
@include utils.component-layer-overrides('thread-header');
|
|
61
|
+
|
|
62
|
+
.str-chat__thread-header-name,
|
|
63
|
+
.str-chat__thread-header-title {
|
|
64
|
+
font: var(--str-chat__subtitle-medium-text);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.str-chat__thread-header-channel-name,
|
|
68
|
+
.str-chat__thread-header-subtitle {
|
|
69
|
+
font: var(--str-chat__body-text);
|
|
70
|
+
color: var(--str-chat__thread-header-info-color);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.str-chat__close-thread-button {
|
|
74
|
+
background-color: transparent;
|
|
75
|
+
border: none;
|
|
76
|
+
|
|
77
|
+
svg path {
|
|
78
|
+
fill: var(--str-chat__thread-color);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
.str-chat__thread-list-container {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
flex-grow: 1;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.str-chat__unseen-threads-banner {
|
|
8
|
+
font-size: 16px;
|
|
9
|
+
font-weight: 400;
|
|
10
|
+
|
|
11
|
+
margin: 8px;
|
|
12
|
+
padding: 16px;
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: space-between;
|
|
16
|
+
|
|
17
|
+
&__button {
|
|
18
|
+
--str-chat-icon-width: 16px;
|
|
19
|
+
--str-chat-icon-heigh: 22px;
|
|
20
|
+
|
|
21
|
+
all: unset;
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
justify-content: center;
|
|
26
|
+
width: 24px;
|
|
27
|
+
height: 24px;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.str-chat__thread-list {
|
|
32
|
+
.str-chat__thread-list-item {
|
|
33
|
+
align-items: stretch;
|
|
34
|
+
box-sizing: border-box;
|
|
35
|
+
padding-block: 14px;
|
|
36
|
+
padding-inline: 8px;
|
|
37
|
+
gap: 6px;
|
|
38
|
+
width: 100%;
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
|
|
43
|
+
.str-chat__thread-list-item__channel {
|
|
44
|
+
--str-chat-icon-height: 14px;
|
|
45
|
+
--str-chat-icon-width: 14px;
|
|
46
|
+
|
|
47
|
+
display: flex;
|
|
48
|
+
gap: 5px;
|
|
49
|
+
|
|
50
|
+
.str-chat__icon {
|
|
51
|
+
margin-top: 2px;
|
|
52
|
+
flex-shrink: 0;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.str-chat__thread-list-item__thread-status-symbol {
|
|
57
|
+
font-size: 14px;
|
|
58
|
+
line-height: 1;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.str-chat__thread-list-item__channel-text {
|
|
62
|
+
overflow: hidden;
|
|
63
|
+
white-space: nowrap;
|
|
64
|
+
text-overflow: ellipsis;
|
|
65
|
+
font-size: 14px;
|
|
66
|
+
font-weight: 400;
|
|
67
|
+
line-height: 1;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.str-chat__thread-list-item__parent-message {
|
|
71
|
+
display: flex;
|
|
72
|
+
gap: 3px;
|
|
73
|
+
justify-content: space-between;
|
|
74
|
+
align-items: center;
|
|
75
|
+
height: 15px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.str-chat__thread-list-item__parent-message-text {
|
|
79
|
+
font-size: 12px;
|
|
80
|
+
font-weight: 400;
|
|
81
|
+
overflow: hidden;
|
|
82
|
+
white-space: nowrap;
|
|
83
|
+
text-overflow: ellipsis;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.str-chat__thread-list-item__latest-reply {
|
|
87
|
+
--str-chat__avatar-size: 49px;
|
|
88
|
+
|
|
89
|
+
display: flex;
|
|
90
|
+
align-items: center;
|
|
91
|
+
gap: 5px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.str-chat__thread-list-item__latest-reply-details {
|
|
95
|
+
display: flex;
|
|
96
|
+
flex-direction: column;
|
|
97
|
+
flex-grow: 1;
|
|
98
|
+
gap: 4px;
|
|
99
|
+
width: 0;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.str-chat__thread-list-item__latest-reply-created-by {
|
|
103
|
+
font-weight: 500;
|
|
104
|
+
font-size: 16px;
|
|
105
|
+
text-align: left;
|
|
106
|
+
text-overflow: ellipsis;
|
|
107
|
+
white-space: nowrap;
|
|
108
|
+
overflow-x: hidden;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.str-chat__thread-list-item__latest-reply-text-and-timestamp {
|
|
112
|
+
display: flex;
|
|
113
|
+
font-size: 14px;
|
|
114
|
+
font-weight: 400;
|
|
115
|
+
justify-content: space-between;
|
|
116
|
+
align-items: baseline;
|
|
117
|
+
line-height: 16px;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.str-chat__thread-list-item__latest-reply-text {
|
|
121
|
+
overflow: hidden;
|
|
122
|
+
white-space: nowrap;
|
|
123
|
+
text-overflow: ellipsis;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.str-chat__thread-list-item__latest-reply-timestamp {
|
|
127
|
+
white-space: nowrap;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.str-chat__thread-list-loading-indicator {
|
|
132
|
+
display: flex;
|
|
133
|
+
align-items: center;
|
|
134
|
+
justify-content: center;
|
|
135
|
+
padding-block: 14px;
|
|
136
|
+
padding-inline: 8px;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.str-chat__thread-list-empty-placeholder {
|
|
141
|
+
--str-chat-icon-height: 95px;
|
|
142
|
+
--str-chat-icon-width: 95px;
|
|
143
|
+
|
|
144
|
+
font-size: 20px;
|
|
145
|
+
font-weight: 500;
|
|
146
|
+
display: flex;
|
|
147
|
+
flex-direction: column;
|
|
148
|
+
align-items: center;
|
|
149
|
+
justify-content: center;
|
|
150
|
+
height: 100%;
|
|
151
|
+
gap: 16px;
|
|
152
|
+
}
|