@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,489 @@
|
|
|
1
|
+
@use '../utils';
|
|
2
|
+
|
|
3
|
+
.str-chat__poll {
|
|
4
|
+
$checkmark_size: 1rem;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
gap: 0.5rem;
|
|
8
|
+
padding: 0.75rem 0.675rem;
|
|
9
|
+
max-width: 270px;
|
|
10
|
+
font: var(--str-chat__body-text);
|
|
11
|
+
|
|
12
|
+
button {
|
|
13
|
+
@include utils.button-reset;
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.str-chat__checkmark {
|
|
18
|
+
grid-column: 1 / 2;
|
|
19
|
+
grid-row: 1 / 2;
|
|
20
|
+
margin-right: 0.125rem;
|
|
21
|
+
height: $checkmark_size;
|
|
22
|
+
width: $checkmark_size;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.str-chat__checkmark--checked {
|
|
26
|
+
height: calc($checkmark_size + 1px);
|
|
27
|
+
width: calc($checkmark_size + 1px);
|
|
28
|
+
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Im00IDkuNC00LTRMMS40IDQgNCA2LjYgMTAuNiAwIDEyIDEuNGwtOCA4WiIvPjwvc3ZnPg==');
|
|
29
|
+
background-repeat: no-repeat;
|
|
30
|
+
background-position: center;
|
|
31
|
+
background-size: 11px 10px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.str-chat__poll-header {
|
|
35
|
+
.str-chat__poll-title {
|
|
36
|
+
font: var(--str-chat__body-medium-text);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.str-chat__poll-subtitle {
|
|
40
|
+
font: var(--str-chat__caption-text);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.str-chat__poll-actions {
|
|
45
|
+
display: flex;
|
|
46
|
+
flex-direction: column;
|
|
47
|
+
align-items: center;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.str-chat__poll-action {
|
|
52
|
+
padding: 0.675rem;
|
|
53
|
+
font: var(--str-chat__subtitle-text);
|
|
54
|
+
color: var(--str-chat__primary-color);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.str-chat__poll-results-modal,
|
|
58
|
+
.str-chat__poll-answer-list-modal,
|
|
59
|
+
.str-chat__add-poll-answer-modal,
|
|
60
|
+
.str-chat__suggest-poll-option-modal,
|
|
61
|
+
.str-chat__poll-options-modal {
|
|
62
|
+
button {
|
|
63
|
+
@include utils.button-reset;
|
|
64
|
+
cursor: pointer;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.str-chat__poll-option-list--full,
|
|
69
|
+
.str-chat__modal__poll-results {
|
|
70
|
+
.str-chat__amount-bar {
|
|
71
|
+
display: none;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.str-chat__poll-option {
|
|
76
|
+
cursor: pointer;
|
|
77
|
+
|
|
78
|
+
&.str-chat__poll-option--full-vote-list {
|
|
79
|
+
cursor: default;
|
|
80
|
+
height: 100%;
|
|
81
|
+
padding: 0;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.str-chat__poll-option-data {
|
|
85
|
+
flex: 1;
|
|
86
|
+
display: flex;
|
|
87
|
+
align-items: flex-start;
|
|
88
|
+
font: var(--str-chat__body-text);
|
|
89
|
+
gap: 0.125rem;
|
|
90
|
+
|
|
91
|
+
p {
|
|
92
|
+
margin: 0;
|
|
93
|
+
flex: 1;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.str-chat__poll-option-voters {
|
|
97
|
+
--str-chat__avatar-size: 1.175rem;
|
|
98
|
+
display: flex;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.str-chat__poll-option-list--full {
|
|
104
|
+
.str-chat__poll-option {
|
|
105
|
+
display: flex;
|
|
106
|
+
flex-direction: row;
|
|
107
|
+
padding: 1rem 0.75rem;
|
|
108
|
+
|
|
109
|
+
&:nth-of-type(1) {
|
|
110
|
+
padding-top: 1rem;
|
|
111
|
+
border-top-left-radius: var(--str-chat__border-radius-sm);
|
|
112
|
+
border-top-right-radius: var(--str-chat__border-radius-sm);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&:last-child {
|
|
116
|
+
padding-bottom: 1rem;
|
|
117
|
+
border-bottom-left-radius: var(--str-chat__border-radius-sm);
|
|
118
|
+
border-bottom-right-radius: var(--str-chat__border-radius-sm);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.str-chat__poll-option-list:not(.str-chat__poll-option-list--full) {
|
|
124
|
+
display: flex;
|
|
125
|
+
flex-direction: column;
|
|
126
|
+
gap: 1.5rem;
|
|
127
|
+
padding-block: 1rem 0.5rem;
|
|
128
|
+
|
|
129
|
+
.str-chat__poll-option {
|
|
130
|
+
display: grid;
|
|
131
|
+
grid-template-columns: auto 1fr;
|
|
132
|
+
grid-template-rows: 1fr auto;
|
|
133
|
+
gap: 0.125rem;
|
|
134
|
+
|
|
135
|
+
.str-chat__poll-option-data {
|
|
136
|
+
grid-column: 2 / 3;
|
|
137
|
+
grid-row: 1 / 2;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.str-chat__poll-option__votes-bar {
|
|
141
|
+
grid-column: 2 / 3;
|
|
142
|
+
grid-row: 2 / 3;
|
|
143
|
+
height: 0.25rem;
|
|
144
|
+
width: 100%;
|
|
145
|
+
margin-top: 0.25rem;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.str-chat__modal__poll-results {
|
|
151
|
+
.str-chat__poll-option {
|
|
152
|
+
display: flex;
|
|
153
|
+
flex-direction: column;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.str-chat-react__modal.str-chat__poll-action-modal,
|
|
158
|
+
.str-chat__poll-actions:not(.str-chat-angular__poll-actions) .str-chat__modal {
|
|
159
|
+
.str-chat__modal__close-button {
|
|
160
|
+
display: none;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.str-chat-react__modal.str-chat__poll-action-modal,
|
|
165
|
+
.str-chat__poll-actions .str-chat__modal {
|
|
166
|
+
.str-chat__modal__inner {
|
|
167
|
+
$content-offset-inline: 1rem;
|
|
168
|
+
padding: 0 0 0.5rem;
|
|
169
|
+
overflow: hidden;
|
|
170
|
+
max-width: 400px;
|
|
171
|
+
|
|
172
|
+
.str-chat__tooltip {
|
|
173
|
+
max-width: 300px;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.str-chat__modal__suggest-poll-option {
|
|
177
|
+
.str-chat__form-field-error {
|
|
178
|
+
height: 1rem;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.str-chat__modal__poll-answer-list,
|
|
183
|
+
.str-chat__modal__poll-option-list,
|
|
184
|
+
.str-chat__modal__poll-results {
|
|
185
|
+
display: flex;
|
|
186
|
+
flex-direction: column;
|
|
187
|
+
width: 100%;
|
|
188
|
+
height: 100%;
|
|
189
|
+
min-height: 400px;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.str-chat__modal__poll-answer-list,
|
|
193
|
+
.str-chat__poll-option--full-vote-list {
|
|
194
|
+
.str-chat__loading-indicator-placeholder {
|
|
195
|
+
display: flex;
|
|
196
|
+
justify-content: center;
|
|
197
|
+
align-items: center;
|
|
198
|
+
width: 100%;
|
|
199
|
+
height: 40px;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.str-chat__modal__poll-option-list__title,
|
|
204
|
+
.str-chat__modal__poll-results__title {
|
|
205
|
+
padding: 1.175rem 1rem;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.str-chat__modal__poll-answer-list__body,
|
|
209
|
+
.str-chat__modal__poll-results__body {
|
|
210
|
+
display: flex;
|
|
211
|
+
flex-direction: column;
|
|
212
|
+
min-height: 0;
|
|
213
|
+
padding-bottom: 1rem;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.str-chat__modal__poll-results__body,
|
|
217
|
+
.str-chat__modal__poll-option-list__body,
|
|
218
|
+
.str-chat__poll-answer-list,
|
|
219
|
+
.str-chat__modal__poll-results__option-list {
|
|
220
|
+
display: flex;
|
|
221
|
+
flex-direction: column;
|
|
222
|
+
flex: 1;
|
|
223
|
+
max-height: 100%;
|
|
224
|
+
min-height: 0;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.str-chat__poll-answer-list {
|
|
228
|
+
padding-bottom: 0;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.str-chat__modal__poll-results__body,
|
|
232
|
+
.str-chat__modal__poll-option-list__body,
|
|
233
|
+
.str-chat__poll-answer-list {
|
|
234
|
+
overflow-y: auto;
|
|
235
|
+
padding: 0 $content-offset-inline 1.25rem;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.str-chat__poll-answer-list,
|
|
239
|
+
.str-chat__modal__poll-results__option-list {
|
|
240
|
+
gap: 0.5rem;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.str-chat__modal__poll-results__body,
|
|
244
|
+
.str-chat__modal__poll-option-list__body {
|
|
245
|
+
gap: 2rem;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.str-chat__poll-option__show-all-votes-button {
|
|
249
|
+
padding-bottom: 1rem;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.str-chat__poll-answer {
|
|
253
|
+
display: flex;
|
|
254
|
+
flex-direction: column;
|
|
255
|
+
gap: 1rem;
|
|
256
|
+
padding: 0.75rem 1rem;
|
|
257
|
+
|
|
258
|
+
.str-chat__poll-answer__text {
|
|
259
|
+
margin: 0;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.str-chat__checkmark {
|
|
264
|
+
margin-right: 1rem;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.str-chat__poll-option__header {
|
|
268
|
+
display: flex;
|
|
269
|
+
align-items: flex-start;
|
|
270
|
+
gap: 0.25rem;
|
|
271
|
+
width: 100%;
|
|
272
|
+
padding: 0.75rem 1rem;
|
|
273
|
+
|
|
274
|
+
.str-chat__poll-option__option-text {
|
|
275
|
+
flex: 1;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.str-chat__poll-vote {
|
|
280
|
+
display: flex;
|
|
281
|
+
justify-content: space-between;
|
|
282
|
+
align-items: center;
|
|
283
|
+
gap: 0.5rem;
|
|
284
|
+
white-space: nowrap;
|
|
285
|
+
padding-block: 0.375rem;
|
|
286
|
+
|
|
287
|
+
.str-chat__poll-vote__author {
|
|
288
|
+
display: flex;
|
|
289
|
+
align-items: center;
|
|
290
|
+
gap: calc(var(--str-chat__spacing-px) * 5);
|
|
291
|
+
min-width: 0;
|
|
292
|
+
|
|
293
|
+
.str-chat__poll-vote__author__name {
|
|
294
|
+
@include utils.ellipsis-text;
|
|
295
|
+
max-width: 130px;
|
|
296
|
+
min-width: 0;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.str-chat__poll-result-option-vote-counter {
|
|
302
|
+
display: flex;
|
|
303
|
+
gap: 0.375rem;
|
|
304
|
+
|
|
305
|
+
.str-chat__poll-result-winning-option-icon {
|
|
306
|
+
height: 1.25rem;
|
|
307
|
+
width: 1.25rem;
|
|
308
|
+
background-image: var(--str-chat__winning-poll-option-icon);
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.str-chat__poll-vote-listing {
|
|
315
|
+
padding: 0 1rem 0.75rem;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.str-chat__modal__poll-results--option-detail {
|
|
319
|
+
.str-chat__modal-header__title {
|
|
320
|
+
padding-inline: 1rem;
|
|
321
|
+
flex: 1;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.str-chat__modal__poll-results__body {
|
|
325
|
+
padding-inline: 1rem;
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.str-chat__quoted-poll-preview {
|
|
330
|
+
display: flex;
|
|
331
|
+
flex-wrap: wrap;
|
|
332
|
+
gap: 0.5rem;
|
|
333
|
+
align-items: flex-start;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.str-chat-angular__create-poll-modal .str-chat__modal,
|
|
337
|
+
.str-chat__modal.str-chat__create-poll-modal {
|
|
338
|
+
.str-chat__modal__close-button {
|
|
339
|
+
display: none;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.str-chat__modal__inner {
|
|
343
|
+
padding: 0;
|
|
344
|
+
max-height: unset;
|
|
345
|
+
display: block;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.str-chat__poll-creation-dialog {
|
|
349
|
+
height: 100%;
|
|
350
|
+
width: 100%;
|
|
351
|
+
display: flex;
|
|
352
|
+
flex-direction: column;
|
|
353
|
+
|
|
354
|
+
button {
|
|
355
|
+
@include utils.button-reset;
|
|
356
|
+
cursor: pointer;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
.str-chat__modal-header {
|
|
360
|
+
padding-block: 14px;
|
|
361
|
+
|
|
362
|
+
.str-chat__modal-header__close-button {
|
|
363
|
+
background-image: var(--str-chat__close-icon);
|
|
364
|
+
background-repeat: no-repeat;
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.str-chat__dialog__body {
|
|
369
|
+
flex: 1 1;
|
|
370
|
+
padding: 1rem;
|
|
371
|
+
|
|
372
|
+
form {
|
|
373
|
+
display: flex;
|
|
374
|
+
flex-direction: column;
|
|
375
|
+
gap: 2rem;
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
.str-chat__form__input-fieldset {
|
|
380
|
+
margin: 0;
|
|
381
|
+
padding: 0;
|
|
382
|
+
|
|
383
|
+
.str-chat__form__input-field {
|
|
384
|
+
width: 100%;
|
|
385
|
+
padding: 1rem;
|
|
386
|
+
|
|
387
|
+
.str-chat__form__input-field__value {
|
|
388
|
+
width: 100%;
|
|
389
|
+
|
|
390
|
+
.str-chat__form__input-field__error {
|
|
391
|
+
width: 100%;
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.str-chat__form__input-field--with-label {
|
|
398
|
+
.str-chat__form__input-field__value {
|
|
399
|
+
padding: 1rem;
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.str-chat__form__input-field__value input {
|
|
404
|
+
width: 100%;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.str-chat__form__expandable-field {
|
|
408
|
+
padding: 1rem;
|
|
409
|
+
display: flex;
|
|
410
|
+
flex-direction: column;
|
|
411
|
+
gap: 1rem;
|
|
412
|
+
|
|
413
|
+
.str-chat__form__switch-field {
|
|
414
|
+
padding: 0;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.str-chat__form__input-field {
|
|
418
|
+
width: 100%;
|
|
419
|
+
|
|
420
|
+
.str-chat__form__input-field__value {
|
|
421
|
+
padding: 0;
|
|
422
|
+
|
|
423
|
+
.str-chat__form-field-error {
|
|
424
|
+
height: 1rem;
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.str-chat__form__input-fieldset__values {
|
|
431
|
+
display: flex;
|
|
432
|
+
flex-direction: column;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.str-chat__form__field-label {
|
|
436
|
+
display: block;
|
|
437
|
+
margin-bottom: 0.5rem;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
.str-chat__form__input-field--draggable {
|
|
441
|
+
display: flex;
|
|
442
|
+
align-items: center;
|
|
443
|
+
justify-content: space-between;
|
|
444
|
+
gap: 0.5rem;
|
|
445
|
+
|
|
446
|
+
.str-chat__drag-handle {
|
|
447
|
+
height: 1rem;
|
|
448
|
+
width: 1rem;
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
@media only screen and (max-device-width: 768px) {
|
|
455
|
+
.str-chat__modal--open .str-chat__modal__inner {
|
|
456
|
+
width: 90%;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
.str-chat__create-poll-modal,
|
|
460
|
+
.str-chat__poll-answer-list-modal,
|
|
461
|
+
.str-chat__poll-results-modal {
|
|
462
|
+
.str-chat__modal__inner {
|
|
463
|
+
height: 90%;
|
|
464
|
+
max-height: unset;
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.str-chat-angular__poll-actions {
|
|
470
|
+
.str-chat__modal__poll-option-list {
|
|
471
|
+
max-height: 100%;
|
|
472
|
+
min-height: 0;
|
|
473
|
+
display: flex;
|
|
474
|
+
flex-direction: column;
|
|
475
|
+
|
|
476
|
+
.str-chat__modal__poll-option-list__body {
|
|
477
|
+
max-height: 100%;
|
|
478
|
+
min-height: 0;
|
|
479
|
+
display: flex;
|
|
480
|
+
flex-direction: column;
|
|
481
|
+
|
|
482
|
+
stream-poll-options-list {
|
|
483
|
+
height: 100%;
|
|
484
|
+
overflow-y: auto;
|
|
485
|
+
overflow-x: hidden;
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
}
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
@mixin field-background {
|
|
2
|
+
background-color: var(--str-chat__tertiary-surface-color);
|
|
3
|
+
border-radius: 0.75rem;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.str-chat__poll {
|
|
7
|
+
.str-chat__poll-header {
|
|
8
|
+
.str-chat__poll-subtitle {
|
|
9
|
+
color: var(--str-chat__text-low-emphasis-color);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.str-chat__checkmark {
|
|
14
|
+
border-radius: var(--str-chat__border-radius-circle);
|
|
15
|
+
border: 1px solid var(--str-chat__disabled-color);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.str-chat__checkmark--checked {
|
|
19
|
+
background-color: var(--str-chat__primary-color);
|
|
20
|
+
border: none;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.str-chat__poll-option-list {
|
|
24
|
+
.str-chat__poll-option {
|
|
25
|
+
&.str-chat__poll-option--votable:hover {
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.str-chat__poll-option__votes-bar {
|
|
30
|
+
background: linear-gradient(
|
|
31
|
+
to right,
|
|
32
|
+
var(--str-chat__primary-color) var(--str-chat__amount-bar-fulfillment),
|
|
33
|
+
var(--str-chat__surface-color) var(--str-chat__amount-bar-fulfillment)
|
|
34
|
+
);
|
|
35
|
+
border-radius: calc(var(--str-chat__spacing-px) * 4);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.str-chat__poll-option__votes-bar--winner {
|
|
39
|
+
background: linear-gradient(
|
|
40
|
+
to right,
|
|
41
|
+
var(--str-chat__info-color) var(--str-chat__amount-bar-fulfillment),
|
|
42
|
+
var(--str-chat__surface-color) var(--str-chat__amount-bar-fulfillment)
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.str-chat__poll-option-list--full,
|
|
50
|
+
.str-chat__poll-answer,
|
|
51
|
+
.str-chat__modal__poll-option-list__title,
|
|
52
|
+
.str-chat__modal__poll-results .str-chat__modal__poll-results__title,
|
|
53
|
+
.str-chat__modal__poll-results .str-chat__poll-option {
|
|
54
|
+
border-radius: 0.75rem;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.str-chat__poll-option-list--full {
|
|
58
|
+
overflow: clip;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.str-chat__poll--closed {
|
|
62
|
+
.str-chat__poll-option {
|
|
63
|
+
&:hover {
|
|
64
|
+
cursor: unset;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.str-chat__modal, .str-chat__poll-actions .str-chat__modal {
|
|
70
|
+
.str-chat__poll-answer__text,
|
|
71
|
+
.str-chat__modal__poll-option-list__title,
|
|
72
|
+
.str-chat__modal__poll-results__title {
|
|
73
|
+
font: var(--str-chat__subtitle-medium-text);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.str-chat__poll-option-list--full,
|
|
77
|
+
.str-chat__poll-answer,
|
|
78
|
+
.str-chat__modal__poll-option-list__title,
|
|
79
|
+
.str-chat__modal__poll-results__title,
|
|
80
|
+
.str-chat__poll-option {
|
|
81
|
+
background-color: var(--str-chat__tertiary-surface-color);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.str-chat__poll-option-list--full {
|
|
85
|
+
.str-chat__poll-option-text {
|
|
86
|
+
font-weight: 500;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.str-chat__poll-option--votable:hover {
|
|
90
|
+
background-color: var(--str-chat__secondary-surface-color)
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.str-chat__poll-option {
|
|
95
|
+
.str-chat__poll-option__header {
|
|
96
|
+
font: var(--str-chat__subtitle-text);
|
|
97
|
+
|
|
98
|
+
.str-chat__poll-option__option-text {
|
|
99
|
+
font: var(--str-chat__subtitle-medium-text);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.str-chat__poll-option__show-all-votes-button {
|
|
104
|
+
font: var(--str-chat__subtitle-text);
|
|
105
|
+
color: var(--str-chat__primary-color);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.str-chat__poll-vote {
|
|
112
|
+
.str-chat__poll-vote__author__name {
|
|
113
|
+
text-transform: capitalize;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.str-chat__poll-vote__timestamp {
|
|
117
|
+
color: var(--str-chat__text-low-emphasis-color);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
.str-chat__quoted-poll-preview {
|
|
123
|
+
font: var(--str-chat__body-medium-text);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.str-chat__poll-creation-dialog {
|
|
127
|
+
.str-chat__form__input-fieldset {
|
|
128
|
+
border: none;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.str-chat__form__expandable-field,
|
|
132
|
+
.str-chat__form__input-field:not(.str-chat__form__input-field--with-label),
|
|
133
|
+
.str-chat__form__input-field--with-label .str-chat__form__input-field__value {
|
|
134
|
+
@include field-background;
|
|
135
|
+
|
|
136
|
+
input {
|
|
137
|
+
border: none;
|
|
138
|
+
background: transparent;
|
|
139
|
+
outline: none;
|
|
140
|
+
|
|
141
|
+
&, &::placeholder {
|
|
142
|
+
font: var(--str-chat__subtitle-text);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.str-chat__form__input-field--draggable {
|
|
148
|
+
input {
|
|
149
|
+
pointer-events: auto;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.str-chat__drag-handle {
|
|
153
|
+
background-color: var(--str-chat__text-low-emphasis-color);
|
|
154
|
+
-webkit-mask: var(--str-chat__handle-icon) no-repeat center / contain;
|
|
155
|
+
mask: var(--str-chat__handle-icon) no-repeat center / contain;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.str-chat__form__input-field--has-error {
|
|
160
|
+
border: 1px solid var(--str-chat__message-error-message-color);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.str-chat__form__expandable-field .str-chat__form__input-field--has-error, {
|
|
164
|
+
border: none;
|
|
165
|
+
|
|
166
|
+
.str-chat__form__input-field__value {
|
|
167
|
+
border: none;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.str-chat__form__input-field--with-label.str-chat__form__input-field--has-error {
|
|
172
|
+
border: none;
|
|
173
|
+
|
|
174
|
+
.str-chat__form__input-field__value {
|
|
175
|
+
border: 1px solid var(--str-chat__message-error-message-color);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|