@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,141 @@
|
|
|
1
|
+
@use '../utils';
|
|
2
|
+
|
|
3
|
+
.str-chat__attachment-preview-list {
|
|
4
|
+
--str-chat__loading-indicator-size: calc(var(--str-chat__spacing-px) * 18);
|
|
5
|
+
$preview-height: calc(var(--str-chat__spacing-px) * 72);
|
|
6
|
+
|
|
7
|
+
@include utils.flex-row-center;
|
|
8
|
+
padding: var(--str-chat__spacing-1_5);
|
|
9
|
+
width: 100%;
|
|
10
|
+
|
|
11
|
+
.str-chat__attachment-list-scroll-container {
|
|
12
|
+
overflow-y: hidden;
|
|
13
|
+
overflow-x: auto;
|
|
14
|
+
width: 100%;
|
|
15
|
+
max-width: 100%;
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: flex-start;
|
|
19
|
+
column-gap: var(--str-chat__spacing-2);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@mixin overlay {
|
|
23
|
+
@include utils.flex-row-center;
|
|
24
|
+
position: absolute;
|
|
25
|
+
width: 100%;
|
|
26
|
+
height: 100%;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.str-chat__attachment-preview-image {
|
|
30
|
+
@include utils.flex-row-center;
|
|
31
|
+
position: relative;
|
|
32
|
+
height: $preview-height;
|
|
33
|
+
width: $preview-height;
|
|
34
|
+
min-width: $preview-height;
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
|
|
37
|
+
.str-chat__attachment-preview-image-loading {
|
|
38
|
+
@include overlay;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.str-chat__attachment-preview-thumbnail {
|
|
42
|
+
object-fit: cover;
|
|
43
|
+
height: $preview-height;
|
|
44
|
+
width: $preview-height;
|
|
45
|
+
word-break: break-all;
|
|
46
|
+
overflow: hidden;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.str-chat__location-preview,
|
|
51
|
+
.str-chat__attachment-preview-unsupported,
|
|
52
|
+
.str-chat__attachment-preview-voice-recording,
|
|
53
|
+
.str-chat__attachment-preview-file {
|
|
54
|
+
display: flex;
|
|
55
|
+
justify-content: flex-start;
|
|
56
|
+
align-items: center;
|
|
57
|
+
|
|
58
|
+
height: $preview-height;
|
|
59
|
+
width: calc(var(--str-chat__spacing-px) * 200);
|
|
60
|
+
position: relative;
|
|
61
|
+
padding: 0 var(--str-chat__spacing-4);
|
|
62
|
+
column-gap: var(--str-chat__spacing-2);
|
|
63
|
+
|
|
64
|
+
.str-chat__attachment-preview-metadata,
|
|
65
|
+
.str-chat__attachment-preview-file-end {
|
|
66
|
+
@include utils.ellipsis-text-parent;
|
|
67
|
+
flex: 1;
|
|
68
|
+
display: flex;
|
|
69
|
+
flex-direction: column;
|
|
70
|
+
align-items: flex-start;
|
|
71
|
+
justify-content: center;
|
|
72
|
+
|
|
73
|
+
.str-chat__attachment-preview-title,
|
|
74
|
+
.str-chat__attachment-preview-subtitle,
|
|
75
|
+
.str-chat__attachment-preview-file-name {
|
|
76
|
+
@include utils.ellipsis-text;
|
|
77
|
+
max-width: 100%;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.str-chat__location-preview-image,
|
|
82
|
+
.str-chat__attachment-preview-file-icon {
|
|
83
|
+
--str-chat-icon-height: calc(var(--str-chat__spacing-px) * 37);
|
|
84
|
+
--str-chat-icon-width: auto;
|
|
85
|
+
@include utils.flex-row-center;
|
|
86
|
+
|
|
87
|
+
svg {
|
|
88
|
+
height: calc(var(--str-chat__spacing-px) * 37);
|
|
89
|
+
width: unset;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.str-chat__attachment-preview-file {
|
|
95
|
+
.str-chat__attachment-preview-file-end {
|
|
96
|
+
.str-chat__attachment-preview-file-download {
|
|
97
|
+
--str-chat-icon-height: calc(var(--str-chat__spacing-px) * 16);
|
|
98
|
+
line-height: calc(var(--str-chat__spacing-px) * 13);
|
|
99
|
+
|
|
100
|
+
svg {
|
|
101
|
+
width: calc(var(--str-chat__spacing-px) * 16);
|
|
102
|
+
height: calc(var(--str-chat__spacing-px) * 16);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
// button version of the same "class"
|
|
109
|
+
button.str-chat__attachment-preview-delete {
|
|
110
|
+
@include utils.unset-button;
|
|
111
|
+
display: flex;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.str-chat__attachment-preview-delete {
|
|
115
|
+
--str-chat-icon-height: calc(var(--str-chat__spacing-px) * 24);
|
|
116
|
+
position: absolute;
|
|
117
|
+
top: calc(var(--str-chat__spacing-px) * 2);
|
|
118
|
+
inset-inline-end: calc(var(--str-chat__spacing-px) * 2);
|
|
119
|
+
cursor: pointer;
|
|
120
|
+
z-index: 1;
|
|
121
|
+
|
|
122
|
+
svg {
|
|
123
|
+
width: calc(var(--str-chat__spacing-px) * 24);
|
|
124
|
+
height: calc(var(--str-chat__spacing-px) * 24);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.str-chat__attachment-preview-error {
|
|
129
|
+
--str-chat-icon-height: calc(var(--str-chat__spacing-px) * 24);
|
|
130
|
+
@include overlay;
|
|
131
|
+
@include utils.unset-button(unset);
|
|
132
|
+
inset-inline-start: 0;
|
|
133
|
+
cursor: pointer;
|
|
134
|
+
z-index: 0;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.str-chat__attachment-preview-list-angular-host {
|
|
139
|
+
width: 100%;
|
|
140
|
+
max-width: 100%;
|
|
141
|
+
}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
@use '../utils';
|
|
2
|
+
|
|
3
|
+
.str-chat {
|
|
4
|
+
/* The border radius used for the borders of the component */
|
|
5
|
+
--str-chat__attachment-preview-list-border-radius: var(--str-chat__border-radius-sm);
|
|
6
|
+
|
|
7
|
+
/* The text/icon color of the component */
|
|
8
|
+
--str-chat__attachment-preview-list-color: var(--str-chat__text-color);
|
|
9
|
+
|
|
10
|
+
/* The background color of the component */
|
|
11
|
+
--str-chat__attachment-preview-list-background-color: transparent;
|
|
12
|
+
|
|
13
|
+
/* Top border of the component */
|
|
14
|
+
--str-chat__attachment-preview-list-border-block-start: none;
|
|
15
|
+
|
|
16
|
+
/* Bottom border of the component */
|
|
17
|
+
--str-chat__attachment-preview-list-border-block-end: none;
|
|
18
|
+
|
|
19
|
+
/* Left (right in RTL layout) border of the component */
|
|
20
|
+
--str-chat__attachment-preview-list-border-inline-start: none;
|
|
21
|
+
|
|
22
|
+
/* Right (left in RTL layout) border of the component */
|
|
23
|
+
--str-chat__attachment-preview-list-border-inline-end: none;
|
|
24
|
+
|
|
25
|
+
/* Box shadow applied to the component */
|
|
26
|
+
--str-chat__attachment-preview-list-box-shadow: none;
|
|
27
|
+
|
|
28
|
+
/* Background color of the preview delete icon */
|
|
29
|
+
--str-chat__attachment-preview-close-icon-background: var(--str-chat__secondary-overlay-color);
|
|
30
|
+
|
|
31
|
+
/* Foreground color of the preview delete icon */
|
|
32
|
+
--str-chat__attachment-preview-close-icon-color: var(--str-chat__secondary-overlay-text-color);
|
|
33
|
+
|
|
34
|
+
/* Color of the upload retry icon */
|
|
35
|
+
--str-chat__attachment-preview-retry-icon-color: var(--str-chat__primary-color);
|
|
36
|
+
|
|
37
|
+
/* Color of the preview download icon */
|
|
38
|
+
--str-chat__attachment-preview-download-icon-color: var(--str-chat__text-low-emphasis-color);
|
|
39
|
+
|
|
40
|
+
/* Overlay color applied to attachment previews during upload and if an error occured during upload */
|
|
41
|
+
--str-chat__attachment-preview-overlay-color: var(--str-chat__overlay-color);
|
|
42
|
+
|
|
43
|
+
/* The border radius used for the borders of the image preview */
|
|
44
|
+
--str-chat__attachment-preview-image-border-radius: var(--str-chat__border-radius-sm);
|
|
45
|
+
|
|
46
|
+
/* The text/icon color of the image preview */
|
|
47
|
+
--str-chat__attachment-preview-image-color: var(--str-chat__text-color);
|
|
48
|
+
|
|
49
|
+
/* The background color of the image preview */
|
|
50
|
+
--str-chat__attachment-preview-image-background-color: transparent;
|
|
51
|
+
|
|
52
|
+
/* Top border of the image preview */
|
|
53
|
+
--str-chat__attachment-preview-image-border-block-start: none;
|
|
54
|
+
|
|
55
|
+
/* Bottom border of the image preview */
|
|
56
|
+
--str-chat__attachment-preview-image-border-block-end: none;
|
|
57
|
+
|
|
58
|
+
/* Left (right in RTL layout) border of the image preview */
|
|
59
|
+
--str-chat__attachment-preview-image-border-inline-start: none;
|
|
60
|
+
|
|
61
|
+
/* Right (left in RTL layout) border of the image preview */
|
|
62
|
+
--str-chat__attachment-preview-image-border-inline-end: none;
|
|
63
|
+
|
|
64
|
+
/* Box shadow applied to the image preview */
|
|
65
|
+
--str-chat__attachment-preview-image-box-shadow: none;
|
|
66
|
+
|
|
67
|
+
/* The border radius used for the borders of the file preview */
|
|
68
|
+
--str-chat__attachment-preview-file-border-radius: var(--str-chat__border-radius-md);
|
|
69
|
+
|
|
70
|
+
/* The text/icon color of the file preview */
|
|
71
|
+
--str-chat__attachment-preview-file-color: var(--str-chat__text-color);
|
|
72
|
+
|
|
73
|
+
/* The background color of the file preview */
|
|
74
|
+
--str-chat__attachment-preview-file-background-color: transparent;
|
|
75
|
+
|
|
76
|
+
/* Top border of the file preview */
|
|
77
|
+
--str-chat__attachment-preview-file-border-block-start: 1px solid var(--str-chat__surface-color);
|
|
78
|
+
|
|
79
|
+
/* Bottom border of the file preview */
|
|
80
|
+
--str-chat__attachment-preview-file-border-block-end: 1px solid var(--str-chat__surface-color);
|
|
81
|
+
|
|
82
|
+
/* Left (right in RTL layout) border of the file preview */
|
|
83
|
+
--str-chat__attachment-preview-file-border-inline-start: 1px solid var(--str-chat__surface-color);
|
|
84
|
+
|
|
85
|
+
/* Right (left in RTL layout) border of the file preview */
|
|
86
|
+
--str-chat__attachment-preview-file-border-inline-end: 1px solid var(--str-chat__surface-color);
|
|
87
|
+
|
|
88
|
+
/* Box shadow applied to the file preview */
|
|
89
|
+
--str-chat__attachment-preview-file-box-shadow: none;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.str-chat__attachment-preview-list {
|
|
93
|
+
@include utils.component-layer-overrides('attachment-preview-list');
|
|
94
|
+
|
|
95
|
+
.str-chat__attachment-list-scroll-container {
|
|
96
|
+
// inherit as border-radius on parent does nothing
|
|
97
|
+
border-radius: inherit;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.str-chat__attachment-preview-image {
|
|
101
|
+
@include utils.component-layer-overrides('attachment-preview-image');
|
|
102
|
+
|
|
103
|
+
.str-chat__attachment-preview-thumbnail,
|
|
104
|
+
.str-chat__attachment-preview-image-loading {
|
|
105
|
+
border-radius: var(--str-chat__attachment-preview-image-border-radius);
|
|
106
|
+
background-color: var(--str-chat__attachment-preview-overlay-color);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.str-chat__location-preview,
|
|
111
|
+
.str-chat__attachment-preview-unsupported,
|
|
112
|
+
.str-chat__attachment-preview-voice-recording,
|
|
113
|
+
.str-chat__attachment-preview-file {
|
|
114
|
+
@include utils.component-layer-overrides('attachment-preview-file');
|
|
115
|
+
|
|
116
|
+
.str-chat__attachment-preview-title,
|
|
117
|
+
.str-chat__attachment-preview-file-name {
|
|
118
|
+
font: var(--str-chat__subtitle-medium-text);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.str-chat__attachment-preview-subtitle {
|
|
122
|
+
font: var(--str-chat__caption-text);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.str-chat__attachment-preview-file-download {
|
|
126
|
+
--str-chat-icon-color: var(--str-chat__attachment-preview-download-icon-color);
|
|
127
|
+
text-decoration: none;
|
|
128
|
+
|
|
129
|
+
svg path {
|
|
130
|
+
fill: var(--str-chat__attachment-preview-download-icon-color);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.str-chat__attachment-preview-file {
|
|
136
|
+
.str-chat__attachment-preview-file-download {
|
|
137
|
+
svg path {
|
|
138
|
+
fill: var(--str-chat__attachment-preview-download-icon-color);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.str-chat__attachment-preview-voice-recording {
|
|
144
|
+
.str-chat__recording-timer {
|
|
145
|
+
color: var(--str-chat__text-low-emphasis-color);
|
|
146
|
+
font: var(--str-chat__caption-medium-text);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.str-chat__location-preview {
|
|
151
|
+
.str-chat__location-preview-image {
|
|
152
|
+
color: var(--str-chat__active-primary-color);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.str-chat__attachment-preview-delete {
|
|
157
|
+
--str-chat-icon-color: var(--str-chat__attachment-preview-close-icon-color);
|
|
158
|
+
|
|
159
|
+
.str-chat__icon {
|
|
160
|
+
background-color: var(--str-chat__attachment-preview-close-icon-background);
|
|
161
|
+
border-radius: 999px;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
svg {
|
|
165
|
+
background-color: var(--str-chat__attachment-preview-close-icon-background);
|
|
166
|
+
border-radius: 999px;
|
|
167
|
+
|
|
168
|
+
path {
|
|
169
|
+
fill: var(--str-chat__attachment-preview-close-icon-color);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.str-chat__attachment-preview-error {
|
|
175
|
+
--str-chat-icon-color: var(--str-chat__attachment-preview-retry-icon-color);
|
|
176
|
+
background-color: var(--str-chat__attachment-preview-overlay-color);
|
|
177
|
+
|
|
178
|
+
svg path {
|
|
179
|
+
fill: var(--str-chat__attachment-preview-retry-icon-color);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
&.str-chat__attachment-preview-error-image {
|
|
183
|
+
border-radius: var(--str-chat__attachment-preview-image-border-radius);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
&.str-chat__attachment-preview-error-file {
|
|
187
|
+
border-radius: var(--str-chat__attachment-preview-file-border-radius);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
@use '../utils';
|
|
2
|
+
|
|
3
|
+
.str-chat__audio_recorder-container {
|
|
4
|
+
bottom: 0;
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
justify-content: flex-end;
|
|
8
|
+
width: 100%;
|
|
9
|
+
min-height: 3.25rem;
|
|
10
|
+
padding-inline: 1rem;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.str-chat__audio_recorder,
|
|
14
|
+
stream-voice-recorder-wavebar {
|
|
15
|
+
@include utils.flex-row-center;
|
|
16
|
+
gap: 0.375rem;
|
|
17
|
+
|
|
18
|
+
button {
|
|
19
|
+
@include utils.flex-row-center;
|
|
20
|
+
height: 32px;
|
|
21
|
+
width: 32px;
|
|
22
|
+
padding: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.str-chat__audio_recorder__cancel-button {
|
|
26
|
+
--str-chat-icon-height: 28px;
|
|
27
|
+
|
|
28
|
+
svg {
|
|
29
|
+
height: 28px;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.str-chat__audio_recorder__toggle-playback-button {
|
|
34
|
+
--str-chat-icon-height: 16px;
|
|
35
|
+
|
|
36
|
+
svg {
|
|
37
|
+
height: 16px;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.str-chat__audio_recorder__pause-recording-button {
|
|
42
|
+
--str-chat-icon-height: 12px;
|
|
43
|
+
|
|
44
|
+
svg {
|
|
45
|
+
height: 12px;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.str-chat__audio_recorder__resume-recording-button {
|
|
50
|
+
--str-chat-icon-height: 24px;
|
|
51
|
+
|
|
52
|
+
svg {
|
|
53
|
+
height: 24px;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.str-chat__audio_recorder__stop-button {
|
|
58
|
+
--str-chat-icon-height: 12px;
|
|
59
|
+
|
|
60
|
+
svg {
|
|
61
|
+
height: 12px;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.str-chat__audio_recorder__complete-button {
|
|
66
|
+
--str-chat-icon-height: 16px;
|
|
67
|
+
|
|
68
|
+
svg {
|
|
69
|
+
height: 16px;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.str-chat__recording-timer {
|
|
74
|
+
display: flex;
|
|
75
|
+
align-items: center;
|
|
76
|
+
width: 3rem;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.str-chat__recording-timer--hours {
|
|
80
|
+
width: 3.75rem;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.str-chat__wave-progress-bar__track-container {
|
|
84
|
+
padding-block: 0.5rem;
|
|
85
|
+
overflow-x: auto;
|
|
86
|
+
height: fit-content;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.str-chat__waveform-box-container {
|
|
90
|
+
flex: 1;
|
|
91
|
+
display: flex;
|
|
92
|
+
align-items: center;
|
|
93
|
+
justify-content: flex-end;
|
|
94
|
+
width: 100%;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.str-chat__audio_recorder__waveform-box,
|
|
98
|
+
.str-chat__wave-progress-bar__track {
|
|
99
|
+
display: flex;
|
|
100
|
+
justify-content: flex-end;
|
|
101
|
+
align-items: center;
|
|
102
|
+
flex-wrap: nowrap;
|
|
103
|
+
height: 2rem;
|
|
104
|
+
margin-inline: 1rem;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.str-chat__wave-progress-bar__track {
|
|
108
|
+
width: 120px;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.str-chat__audio_recorder__waveform-box {
|
|
112
|
+
overflow-x: hidden;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.str-chat__audio_recorder-container {
|
|
117
|
+
.str-chat__message-attachment__voice-recording-widget {
|
|
118
|
+
display: flex;
|
|
119
|
+
gap: var(--str-chat__spacing-1_5);
|
|
120
|
+
|
|
121
|
+
.str-chat__message-attachment-voice-recording-widget--first-row {
|
|
122
|
+
display: none;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.str-chat__message-attachment__voice-recording-widget__audio-state {
|
|
126
|
+
display: flex;
|
|
127
|
+
gap: var(--str-chat__spacing-1_5);
|
|
128
|
+
|
|
129
|
+
.str-chat__message-attachment__voice-recording-widget__timer {
|
|
130
|
+
min-width: 3rem;
|
|
131
|
+
align-self: center;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.str-chat__message-attachment__voice-recording-widget__right-section {
|
|
136
|
+
display: none;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
@use '../utils';
|
|
2
|
+
|
|
3
|
+
.str-chat__audio_recorder-container {
|
|
4
|
+
background-color: var(--str-chat__background-color);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.str-chat__audio_recorder {
|
|
8
|
+
//@include utils.component-layer-overrides('audio-recorder');
|
|
9
|
+
|
|
10
|
+
button {
|
|
11
|
+
@include utils.button-reset;
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
|
|
14
|
+
&:disabled {
|
|
15
|
+
cursor: default;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.str-chat__audio_recorder__cancel-button {
|
|
20
|
+
--str-chat-icon-color: var(--str-chat__text-low-emphasis-color);
|
|
21
|
+
color: var(--str-chat__text-low-emphasis-color);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.str-chat__audio_recorder__toggle-playback-button {
|
|
25
|
+
--str-chat-icon-color: var(--str-chat__text-low-emphasis-color);
|
|
26
|
+
color: var(--str-chat__text-low-emphasis-color);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.str-chat__message-attachment-audio-widget--play-button {
|
|
30
|
+
--str-chat-icon-color: var(--str-chat__text-low-emphasis-color);
|
|
31
|
+
box-shadow: none;
|
|
32
|
+
border: none;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.str-chat__audio_recorder__pause-recording-button,
|
|
36
|
+
.str-chat__audio_recorder__resume-recording-button {
|
|
37
|
+
--str-chat-icon-color: var(--str-chat__danger-color);
|
|
38
|
+
color: var(--str-chat__danger-color);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.str-chat__audio_recorder__pause-recording-button {
|
|
42
|
+
border: 3px solid var(--str-chat__danger-color);
|
|
43
|
+
border-radius: var(--str-chat__border-radius-circle);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.str-chat__audio_recorder__stop-button,
|
|
47
|
+
.str-chat__audio_recorder__complete-button {
|
|
48
|
+
--str-chat-icon-color: var(--str-chat__on-primary-color);
|
|
49
|
+
border-radius: var(--str-chat__border-radius-circle);
|
|
50
|
+
color: var(--str-chat__on-primary-color);
|
|
51
|
+
background-color: var(--str-chat__primary-color);
|
|
52
|
+
|
|
53
|
+
.str-chat__loading-indicator svg {
|
|
54
|
+
linearGradient {
|
|
55
|
+
stop:last-child {
|
|
56
|
+
stop-color: var(--str-chat__background-color);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
@use '../utils';
|
|
2
|
+
|
|
3
|
+
// Class defined by Angular mentions
|
|
4
|
+
// !important necessary to override library defined styles
|
|
5
|
+
.str-chat__message-textarea-angular-host {
|
|
6
|
+
position: relative;
|
|
7
|
+
|
|
8
|
+
mention-list {
|
|
9
|
+
width: 100%;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.mention-menu {
|
|
13
|
+
padding: var(--str-chat__spacing-2) 0 !important;
|
|
14
|
+
margin: 0 !important;
|
|
15
|
+
max-width: 100%;
|
|
16
|
+
|
|
17
|
+
.mention-item {
|
|
18
|
+
padding: 0 !important;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// React SDK's version of Angular SDK's .dropup (mention-list)
|
|
24
|
+
.str-chat__suggestion-list-container {
|
|
25
|
+
position: absolute;
|
|
26
|
+
bottom: calc(100% + var(--str-chat__spacing-2_5));
|
|
27
|
+
width: 100%;
|
|
28
|
+
padding: var(--str-chat__spacing-2) 0;
|
|
29
|
+
|
|
30
|
+
.str-chat__suggestion-list {
|
|
31
|
+
overflow-y: auto;
|
|
32
|
+
max-height: calc(var(--str-chat__spacing-px) * 320);
|
|
33
|
+
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
|
|
37
|
+
list-style: none;
|
|
38
|
+
padding: unset;
|
|
39
|
+
margin: unset;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.str-chat__suggestion-list--react {
|
|
43
|
+
overflow-y: unset;
|
|
44
|
+
|
|
45
|
+
.str-chat__suggestion-list-item {
|
|
46
|
+
> button {
|
|
47
|
+
width: 100%;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.str-chat__slash-command {
|
|
54
|
+
padding: var(--str-chat__spacing-2_5);
|
|
55
|
+
|
|
56
|
+
.str-chat__slash-command-header {
|
|
57
|
+
.str-chat__slash-command-args {
|
|
58
|
+
margin-inline-start: var(--str-chat__spacing-2);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.str-chat__user-item {
|
|
64
|
+
@include utils.flex-row-center;
|
|
65
|
+
padding: var(--str-chat__spacing-2_5);
|
|
66
|
+
column-gap: var(--str-chat__spacing-2);
|
|
67
|
+
|
|
68
|
+
.str-chat__user-item--name {
|
|
69
|
+
@include utils.ellipsis-text;
|
|
70
|
+
@include utils.prevent-glitch-text-overflow;
|
|
71
|
+
display: flex;
|
|
72
|
+
align-items: center;
|
|
73
|
+
width: 100%;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.str-chat__emoji-item {
|
|
78
|
+
@include utils.flex-row-center;
|
|
79
|
+
padding: var(--str-chat__spacing-2_5);
|
|
80
|
+
column-gap: var(--str-chat__spacing-2);
|
|
81
|
+
|
|
82
|
+
.str-chat__emoji-item--name {
|
|
83
|
+
@include utils.ellipsis-text;
|
|
84
|
+
display: flex;
|
|
85
|
+
align-items: center;
|
|
86
|
+
width: 100%;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.str-chat__message-textarea-angular-host--autocomplete-hidden {
|
|
91
|
+
mention-list {
|
|
92
|
+
display: none;
|
|
93
|
+
}
|
|
94
|
+
}
|