stream-chat-react 14.0.0-beta.2 → 14.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/WithAudioPlayback.236d404c.js +4670 -0
- package/dist/cjs/WithAudioPlayback.236d404c.js.map +1 -0
- package/dist/{audioProcessing-BbOs2wMd.js → cjs/audioProcessing.56e5db9d.js} +1 -1
- package/dist/cjs/audioProcessing.56e5db9d.js.map +1 -0
- package/dist/cjs/emojis.js +2 -2
- package/dist/cjs/emojis.js.map +1 -1
- package/dist/cjs/index.js +807 -485
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/mp3-encoder.js +1 -1
- package/dist/css/emoji-replacement.css +34 -0
- package/dist/css/emoji-replacement.css.map +1 -0
- package/dist/css/index.css +190 -51
- package/dist/css/index.css.map +1 -1
- package/dist/es/WithAudioPlayback.89700cb5.mjs +4654 -0
- package/dist/es/WithAudioPlayback.89700cb5.mjs.map +1 -0
- package/dist/{audioProcessing-ByEVSjGG.mjs → es/audioProcessing.21cb49e1.mjs} +1 -1
- package/dist/es/audioProcessing.21cb49e1.mjs.map +1 -0
- package/dist/es/emojis.mjs +2 -2
- package/dist/es/emojis.mjs.map +1 -1
- package/dist/es/index.mjs +857 -535
- package/dist/es/index.mjs.map +1 -1
- package/dist/es/mp3-encoder.mjs +1 -1
- package/dist/types/components/Attachment/Giphy.d.ts.map +1 -1
- package/dist/types/components/Attachment/VoiceRecording.d.ts.map +1 -1
- package/dist/types/components/AudioPlayback/AudioPlayer.d.ts.map +1 -1
- package/dist/types/components/BaseImage/toBaseImageDescriptors.d.ts +1 -1
- package/dist/types/components/BaseImage/toBaseImageDescriptors.d.ts.map +1 -1
- package/dist/types/components/ChannelList/hooks/useMobileNavigation.d.ts.map +1 -1
- package/dist/types/components/ChannelListItem/ChannelListItemActionButtons.d.ts +3 -1
- package/dist/types/components/ChannelListItem/ChannelListItemActionButtons.d.ts.map +1 -1
- package/dist/types/components/ChannelListItem/ChannelListItemActionButtons.defaults.d.ts +6 -3
- package/dist/types/components/ChannelListItem/ChannelListItemActionButtons.defaults.d.ts.map +1 -1
- package/dist/types/components/Chat/hooks/useSplitActionSet.d.ts +5 -0
- package/dist/types/components/Chat/hooks/useSplitActionSet.d.ts.map +1 -1
- package/dist/types/components/Dialog/components/ContextMenu.d.ts +119 -3
- package/dist/types/components/Dialog/components/ContextMenu.d.ts.map +1 -1
- package/dist/types/components/Dialog/hooks/useDialog.d.ts +1 -1
- package/dist/types/components/Dialog/hooks/useDialog.d.ts.map +1 -1
- package/dist/types/components/Dialog/service/DialogAnchor.d.ts +14 -1
- package/dist/types/components/Dialog/service/DialogAnchor.d.ts.map +1 -1
- package/dist/types/components/Dialog/service/DialogManager.d.ts +14 -3
- package/dist/types/components/Dialog/service/DialogManager.d.ts.map +1 -1
- package/dist/types/components/Dialog/service/DialogPortal.d.ts.map +1 -1
- package/dist/types/components/Form/TextInput.d.ts +2 -2
- package/dist/types/components/Form/TextInput.d.ts.map +1 -1
- package/dist/types/components/Gallery/GalleryContext.d.ts +1 -1
- package/dist/types/components/Gallery/GalleryContext.d.ts.map +1 -1
- package/dist/types/components/Icons/IconGiphy.d.ts.map +1 -1
- package/dist/types/components/Icons/icons.d.ts +56 -340
- package/dist/types/components/Icons/icons.d.ts.map +1 -1
- package/dist/types/components/Loading/LoadingIndicator.d.ts +2 -2
- package/dist/types/components/Loading/LoadingIndicator.d.ts.map +1 -1
- package/dist/types/components/MessageActions/MessageActions.d.ts +14 -3
- package/dist/types/components/MessageActions/MessageActions.d.ts.map +1 -1
- package/dist/types/components/MessageActions/MessageActions.defaults.d.ts +1 -1
- package/dist/types/components/MessageActions/MessageActions.defaults.d.ts.map +1 -1
- package/dist/types/components/MessageActions/QuickMessageActionButton.d.ts.map +1 -1
- package/dist/types/components/MessageActions/hooks/useBaseMessageActionSetFilter.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/MediaAttachmentPreview.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentSelector/AttachmentSelector.d.ts.map +1 -1
- package/dist/types/components/MessageList/hooks/MessageList/useScrollLocationLogic.d.ts +18 -0
- package/dist/types/components/MessageList/hooks/MessageList/useScrollLocationLogic.d.ts.map +1 -1
- package/dist/types/components/Poll/PollActions/PollResults/PollOptionWithVotes.d.ts.map +1 -1
- package/dist/types/components/Poll/PollCreationDialog/OptionFieldSet.d.ts.map +1 -1
- package/dist/types/components/Reactions/MessageReactions.d.ts.map +1 -1
- package/dist/types/components/Reactions/MessageReactionsDetail.d.ts +1 -0
- package/dist/types/components/Reactions/MessageReactionsDetail.d.ts.map +1 -1
- package/dist/types/components/Reactions/ReactionSelector.d.ts +1 -1
- package/dist/types/components/Reactions/ReactionSelector.d.ts.map +1 -1
- package/dist/types/components/TextareaComposer/SuggestionList/SuggestionList.d.ts.map +1 -1
- package/dist/types/components/TextareaComposer/TextareaComposer.d.ts.map +1 -1
- package/dist/types/context/ChannelListContext.d.ts +1 -1
- package/dist/types/context/ChannelListContext.d.ts.map +1 -1
- package/dist/types/context/ComponentContext.d.ts +5 -1
- package/dist/types/context/ComponentContext.d.ts.map +1 -1
- package/dist/types/context/DialogManagerContext.d.ts +11 -7
- package/dist/types/context/DialogManagerContext.d.ts.map +1 -1
- package/package.json +5 -4
- package/dist/WithAudioPlayback-C1hfFIcu.mjs +0 -4716
- package/dist/WithAudioPlayback-C1hfFIcu.mjs.map +0 -1
- package/dist/WithAudioPlayback-myzUS2m6.js +0 -4732
- package/dist/WithAudioPlayback-myzUS2m6.js.map +0 -1
- package/dist/assets/icons/stream-chat-icons.eot +0 -0
- package/dist/assets/icons/stream-chat-icons.svg +0 -50
- package/dist/assets/icons/stream-chat-icons.ttf +0 -0
- package/dist/assets/icons/stream-chat-icons.woff +0 -0
- package/dist/assets/icons/stream-chat-icons.woff2 +0 -0
- package/dist/audioProcessing-BbOs2wMd.js.map +0 -1
- package/dist/audioProcessing-ByEVSjGG.mjs.map +0 -1
- package/dist/css/v2/emoji-mart.css +0 -1
- package/dist/css/v2/emoji-replacement.css +0 -1
- package/dist/css/v2/index.css +0 -1
- package/dist/css/v2/index.layout.css +0 -1
- package/dist/scss/v2/AIStateIndicator/AIStateIndicator-layout.scss +0 -3
- package/dist/scss/v2/AIStateIndicator/AIStateIndicator-theme.scss +0 -7
- package/dist/scss/v2/AttachmentList/AttachmentList-layout.scss +0 -701
- package/dist/scss/v2/AttachmentList/AttachmentList-theme.scss +0 -605
- package/dist/scss/v2/AttachmentPreviewList/AttachmentPreviewList-layout.scss +0 -141
- package/dist/scss/v2/AttachmentPreviewList/AttachmentPreviewList-theme.scss +0 -190
- package/dist/scss/v2/AudioRecorder/AudioRecorder-layout.scss +0 -139
- package/dist/scss/v2/AudioRecorder/AudioRecorder-theme.scss +0 -61
- package/dist/scss/v2/Autocomplete/Autocomplete-layout.scss +0 -94
- package/dist/scss/v2/Autocomplete/Autocomplete-theme.scss +0 -220
- package/dist/scss/v2/Avatar/Avatar-layout.scss +0 -137
- package/dist/scss/v2/Avatar/Avatar-theme.scss +0 -64
- package/dist/scss/v2/BaseImage/BaseImage-layout.scss +0 -21
- package/dist/scss/v2/BaseImage/BaseImage-theme.scss +0 -35
- package/dist/scss/v2/BaseImage/index.scss +0 -2
- package/dist/scss/v2/Channel/Channel-layout.scss +0 -141
- package/dist/scss/v2/Channel/Channel-theme.scss +0 -100
- package/dist/scss/v2/ChannelHeader/ChannelHeader-layout.scss +0 -27
- package/dist/scss/v2/ChannelHeader/ChannelHeader-theme.scss +0 -43
- package/dist/scss/v2/ChannelList/ChannelList-layout.scss +0 -65
- package/dist/scss/v2/ChannelList/ChannelList-theme.scss +0 -89
- package/dist/scss/v2/ChannelPreview/ChannelPreview-layout.scss +0 -126
- package/dist/scss/v2/ChannelPreview/ChannelPreview-theme.scss +0 -148
- package/dist/scss/v2/ChannelSearch/ChannelSearch-layout.scss +0 -122
- package/dist/scss/v2/ChannelSearch/ChannelSearch-theme.scss +0 -238
- package/dist/scss/v2/ChatView/ChatView-layout.scss +0 -43
- package/dist/scss/v2/ChatView/ChatView-theme.scss +0 -32
- package/dist/scss/v2/Dialog/Dialog-layout.scss +0 -70
- package/dist/scss/v2/Dialog/Dialog-theme.scss +0 -103
- package/dist/scss/v2/DragAndDropContainer/DragAndDropContainer-layout.scss +0 -5
- package/dist/scss/v2/DragAndDropContainer/DragAndDropContainer-theme.scss +0 -47
- package/dist/scss/v2/DropzoneContainer/DropzoneContainer-layout.scss +0 -14
- package/dist/scss/v2/DropzoneContainer/DropzoneContainer-theme.scss +0 -17
- package/dist/scss/v2/EditMessageForm/EditMessageForm-layout.scss +0 -51
- package/dist/scss/v2/EditMessageForm/EditMessageForm-theme.scss +0 -50
- package/dist/scss/v2/Form/Form-layout.scss +0 -49
- package/dist/scss/v2/Form/Form-theme.scss +0 -82
- package/dist/scss/v2/Icon/Icon-layout.scss +0 -98
- package/dist/scss/v2/Icon/Icon-theme.scss +0 -17
- package/dist/scss/v2/ImageCarousel/ImageCarousel-layout.scss +0 -51
- package/dist/scss/v2/ImageCarousel/ImageCarousel-theme.scss +0 -30
- package/dist/scss/v2/InfiniteScrollPaginator/InfiniteScrollPaginator-layout.scss +0 -4
- package/dist/scss/v2/LinkPreview/LinkPreview-layout.scss +0 -67
- package/dist/scss/v2/LinkPreview/LinkPreview-theme.scss +0 -32
- package/dist/scss/v2/LinkPreview/index.scss +0 -2
- package/dist/scss/v2/LoadingIndicator/LoadingIndicator-layout.scss +0 -64
- package/dist/scss/v2/LoadingIndicator/LoadingIndicator-theme.scss +0 -14
- package/dist/scss/v2/Location/Location-layout.scss +0 -52
- package/dist/scss/v2/Location/Location-theme.scss +0 -32
- package/dist/scss/v2/Message/Message-layout.scss +0 -619
- package/dist/scss/v2/Message/Message-theme.scss +0 -483
- package/dist/scss/v2/MessageActionsBox/MessageActionsBox-layout.scss +0 -21
- package/dist/scss/v2/MessageActionsBox/MessageActionsBox-theme.scss +0 -85
- package/dist/scss/v2/MessageBouncePrompt/MessageBouncePrompt-layout.scss +0 -19
- package/dist/scss/v2/MessageBouncePrompt/MessageBouncePrompt-theme.scss +0 -51
- package/dist/scss/v2/MessageInput/MessageInput-layout.scss +0 -268
- package/dist/scss/v2/MessageInput/MessageInput-theme.scss +0 -359
- package/dist/scss/v2/MessageList/MessageList-layout.scss +0 -65
- package/dist/scss/v2/MessageList/MessageList-theme.scss +0 -107
- package/dist/scss/v2/MessageList/VirtualizedMessageList-layout.scss +0 -57
- package/dist/scss/v2/MessageList/VirtualizedMessageList-theme.scss +0 -41
- package/dist/scss/v2/MessageReactions/MessageReactions-layout.scss +0 -143
- package/dist/scss/v2/MessageReactions/MessageReactions-theme.scss +0 -92
- package/dist/scss/v2/MessageReactions/MessageReactionsSelector-layout.scss +0 -86
- package/dist/scss/v2/MessageReactions/MessageReactionsSelector-theme.scss +0 -94
- package/dist/scss/v2/Modal/Modal-layout.scss +0 -74
- package/dist/scss/v2/Modal/Modal-theme.scss +0 -109
- package/dist/scss/v2/Notification/MessageNotification-layout.scss +0 -12
- package/dist/scss/v2/Notification/MessageNotification-theme.scss +0 -34
- package/dist/scss/v2/Notification/Notification-layout.scss +0 -7
- package/dist/scss/v2/Notification/Notification-theme.scss +0 -32
- package/dist/scss/v2/Notification/NotificationList-layout.scss +0 -11
- package/dist/scss/v2/Notification/NotificationList-theme.scss +0 -31
- package/dist/scss/v2/Poll/Poll-layout.scss +0 -493
- package/dist/scss/v2/Poll/Poll-theme.scss +0 -178
- package/dist/scss/v2/Search/Search-layout.scss +0 -148
- package/dist/scss/v2/Search/Search-theme.scss +0 -222
- package/dist/scss/v2/Thread/Thread-layout.scss +0 -65
- package/dist/scss/v2/Thread/Thread-theme.scss +0 -82
- package/dist/scss/v2/ThreadList/ThreadList-layout.scss +0 -152
- package/dist/scss/v2/ThreadList/ThreadList-theme.scss +0 -75
- package/dist/scss/v2/Tooltip/Tooltip-layout.scss +0 -10
- package/dist/scss/v2/Tooltip/Tooltip-theme.scss +0 -36
- package/dist/scss/v2/TypingIndicator/TypingIndicator-layout.scss +0 -31
- package/dist/scss/v2/TypingIndicator/TypingIndicator-theme.scss +0 -68
- package/dist/scss/v2/UnreadCountBadge/UnreadCountBadge-layout.scss +0 -49
- package/dist/scss/v2/UnreadCountBadge/UnreadCountBadge-theme.scss +0 -11
- package/dist/scss/v2/_base.scss +0 -65
- package/dist/scss/v2/_emoji-replacement.scss +0 -45
- package/dist/scss/v2/_global-layout-variables.scss +0 -65
- package/dist/scss/v2/_global-theme-variables.scss +0 -173
- package/dist/scss/v2/_icons.scss +0 -36
- package/dist/scss/v2/_palette-variables.scss +0 -55
- package/dist/scss/v2/_utils.scss +0 -212
- package/dist/scss/v2/_variables.scss +0 -2
- package/dist/scss/v2/common/CTAButton/CTAButton-layout.scss +0 -4
- package/dist/scss/v2/common/CTAButton/CTAButton-theme.scss +0 -42
- package/dist/scss/v2/common/CircleFAButton/CircleFAButton-layout.scss +0 -14
- package/dist/scss/v2/common/CircleFAButton/CircleFAButton-theme.scss +0 -35
- package/dist/scss/v2/index.layout.scss +0 -49
- package/dist/scss/v2/index.scss +0 -50
- package/dist/scss/v2/vendor/emoji-mart.scss +0 -514
- package/dist/scss/v2/vendor/react-image-gallery.scss +0 -258
- /package/dist/{assets → css/assets}/EmojiOneColor.woff2 +0 -0
- /package/dist/{assets → css/assets}/NotoColorEmoji-flags.woff2 +0 -0
package/dist/scss/v2/_icons.scss
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
@use 'variables';
|
|
2
|
-
|
|
3
|
-
.str-chat {
|
|
4
|
-
--str-chat__image-fallback-icon: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9ImN1cnJlbnRDb2xvciIgY2xhc3M9InN0ci1jaGF0X19pbWFnZS1mYWxsYmFja19faWNvbiIgdmlld0JveD0iMCAwIDE4IDE4Ij48cGF0aCBkPSJNMTYgMnYxNEgyV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DE4MyAyIDEwIDJaTTEzLjUzNTggNi40NjQ0NkMxMy4xNDUzIDYuMDczOTQgMTIuNTEyMSA2LjA3Mzk0IDEyLjEyMTYgNi40NjQ0NkwxMC4wMDAzIDguNTg1NzhMNy44Nzg5OCA2LjQ2NDQ2QzcuNDg4NDYgNi4wNzM5NCA2Ljg1NTI5IDYuMDczOTQgNi40NjQ3NyA2LjQ2NDQ2QzYuMDc0MjQgNi44NTQ5OSA2LjA3NDI0IDcuNDg4MTUgNi40NjQ3NyA3Ljg3ODY4TDguNTg2MDkgMTBMNi40NjQ3NyAxMi4xMjEzQzYuMDc0MjQgMTIuNTExOCA2LjA3NDI0IDEzLjE0NSA2LjQ2NDc3IDEzLjUzNTVDNi44NTUyOSAxMy45MjYxIDcuNDg4NDYgMTMuOTI2MSA3Ljg3ODk4IDEzLjUzNTVMMTAuMDAwMyAxMS40MTQyTDEyLjEyMTYgMTMuNTM1NUMxMi41MTIxIDEzLjkyNjEgMTMuMTQ1MyAxMy45MjYxIDEzLjUzNTggMTMuNTM1NUMxMy45MjY0IDEzLjE0NSAxMy45MjY0IDEyLjUxMTggMTMuNTM1OCAxMi4xMjEzTDExLjQxNDUgMTBMMTMuNTM1OCA3Ljg3ODY4QzEzLjkyNjQgNy40ODgxNSAxMy45MjY0IDYuODU0OTkgMTMuNTM1OCA2LjQ2NDQ2WiIvPgo8L3N2Zz4K');
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@font-face {
|
|
19
|
-
font-family: 'stream-chat-icons';
|
|
20
|
-
src: url('#{variables.$assetsPath}/icons/stream-chat-icons.eot');
|
|
21
|
-
src: url('#{variables.$assetsPath}/icons/stream-chat-icons.eot#iefix') format('embedded-opentype'),
|
|
22
|
-
url('#{variables.$assetsPath}/icons/stream-chat-icons.woff') format('woff2'),
|
|
23
|
-
url('#{variables.$assetsPath}/icons/stream-chat-icons.woff') format('woff'),
|
|
24
|
-
url('#{variables.$assetsPath}/icons/stream-chat-icons.ttf') format('truetype'),
|
|
25
|
-
url('#{variables.$assetsPath}/icons/stream-chat-icons.svg#stream-chat-icons') format('svg');
|
|
26
|
-
font-weight: normal;
|
|
27
|
-
font-style: normal;
|
|
28
|
-
}
|
|
29
|
-
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
|
|
30
|
-
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
|
|
31
|
-
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
|
32
|
-
@font-face {
|
|
33
|
-
font-family: 'stream-chat-icons';
|
|
34
|
-
src: url('#{variables.$assetsPath}/icons/stream-chat-icons.svg#stream-chat-icons') format('svg');
|
|
35
|
-
}
|
|
36
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
.str-chat {
|
|
2
|
-
--str-chat__blue950: #001333;
|
|
3
|
-
--str-chat__blue900: #00163d;
|
|
4
|
-
--str-chat__blue800: #002666;
|
|
5
|
-
--str-chat__blue700: #003999;
|
|
6
|
-
--str-chat__blue600: #004ccc;
|
|
7
|
-
--str-chat__blue500: #005fff;
|
|
8
|
-
--str-chat__blue400: #337eff;
|
|
9
|
-
--str-chat__blue300: #669fff;
|
|
10
|
-
--str-chat__blue200: #ccdfff;
|
|
11
|
-
--str-chat__blue100: #e0f0ff;
|
|
12
|
-
--str-chat__blue50: #ebf5ff;
|
|
13
|
-
|
|
14
|
-
--str-chat__grey950: #080707;
|
|
15
|
-
--str-chat__grey900: #17191c;
|
|
16
|
-
--str-chat__grey800: #1c1e22;
|
|
17
|
-
--str-chat__grey700: #272a30;
|
|
18
|
-
--str-chat__grey600: #4c525c;
|
|
19
|
-
--str-chat__grey500: #72767e;
|
|
20
|
-
--str-chat__grey400: #b4b7bb;
|
|
21
|
-
--str-chat__grey300: #dbdde1;
|
|
22
|
-
--str-chat__grey200: #e9eaed;
|
|
23
|
-
--str-chat__grey100: #f4f4f5;
|
|
24
|
-
--str-chat__grey50: #ffffff;
|
|
25
|
-
|
|
26
|
-
--str-chat__red900: #330003;
|
|
27
|
-
--str-chat__red800: #660006;
|
|
28
|
-
--str-chat__red700: #990008;
|
|
29
|
-
--str-chat__red600: #cc000b;
|
|
30
|
-
--str-chat__red500: #ff000e;
|
|
31
|
-
--str-chat__red400: #ff3742;
|
|
32
|
-
--str-chat__red300: #ff666e;
|
|
33
|
-
--str-chat__red200: #ff999f;
|
|
34
|
-
--str-chat__red100: #ffe5e7;
|
|
35
|
-
|
|
36
|
-
--str-chat__green900: #062d16;
|
|
37
|
-
--str-chat__green800: #0d592c;
|
|
38
|
-
--str-chat__green700: #138643;
|
|
39
|
-
--str-chat__green600: #19b359;
|
|
40
|
-
--str-chat__green500: #20e070;
|
|
41
|
-
--str-chat__green400: #4ce68c;
|
|
42
|
-
--str-chat__green300: #79eca9;
|
|
43
|
-
--str-chat__green200: #a6f2c6;
|
|
44
|
-
--str-chat__green100: #e9f1ff;
|
|
45
|
-
|
|
46
|
-
--str-chat__yellow900: #332500;
|
|
47
|
-
--str-chat__yellow800: #664900;
|
|
48
|
-
--str-chat__yellow700: #996e00;
|
|
49
|
-
--str-chat__yellow600: #cc9200;
|
|
50
|
-
--str-chat__yellow500: #ffb700;
|
|
51
|
-
--str-chat__yellow400: #ffd466;
|
|
52
|
-
--str-chat__yellow300: #ffe299;
|
|
53
|
-
--str-chat__yellow200: #fff1cc;
|
|
54
|
-
--str-chat__yellow100: #fff8e5;
|
|
55
|
-
}
|
package/dist/scss/v2/_utils.scss
DELETED
|
@@ -1,212 +0,0 @@
|
|
|
1
|
-
@mixin flex-row-center {
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
justify-content: center;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
@mixin flex-top-right {
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: flex-start;
|
|
10
|
-
justify-content: flex-end;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@mixin flex-col-center {
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-direction: column;
|
|
16
|
-
align-items: center;
|
|
17
|
-
justify-content: center;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
@mixin ellipsis-text-parent {
|
|
21
|
-
overflow-y: visible;
|
|
22
|
-
// Not every browser support clip overflow, so hidden is defined as a fallback
|
|
23
|
-
overflow-x: hidden;
|
|
24
|
-
overflow-x: clip;
|
|
25
|
-
min-width: 0;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
@mixin ellipsis-text {
|
|
29
|
-
white-space: nowrap;
|
|
30
|
-
overflow-y: visible;
|
|
31
|
-
// Not every browser support clip overflow, so hidden is defined as a fallback
|
|
32
|
-
overflow-x: hidden;
|
|
33
|
-
overflow-x: clip;
|
|
34
|
-
text-overflow: ellipsis;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
@mixin prevent-glitch-text-overflow {
|
|
38
|
-
// Prevent glitch text from overflowing. See the generator: https://lingojam.com/GlitchTextGenerator
|
|
39
|
-
overflow-y: hidden;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@mixin scrollable {
|
|
43
|
-
overflow-x: hidden;
|
|
44
|
-
overflow-y: auto;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
@mixin unset-button($outline-radius: var(--str-chat__border-radius-circle)) {
|
|
48
|
-
padding: unset;
|
|
49
|
-
background: unset;
|
|
50
|
-
border: unset;
|
|
51
|
-
border-radius: $outline-radius;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@mixin component-layer-overrides($component-name, $important: '') {
|
|
55
|
-
background: var(--str-chat__#{$component-name}-background-color) #{$important};
|
|
56
|
-
color: var(--str-chat__#{$component-name}-color) #{$important};
|
|
57
|
-
box-shadow: var(--str-chat__#{$component-name}-box-shadow) #{$important};
|
|
58
|
-
border-radius: var(--str-chat__#{$component-name}-border-radius) #{$important};
|
|
59
|
-
border-block-start: var(--str-chat__#{$component-name}-border-block-start) #{$important};
|
|
60
|
-
border-block-end: var(--str-chat__#{$component-name}-border-block-end) #{$important};
|
|
61
|
-
border-inline-start: var(--str-chat__#{$component-name}-border-inline-start) #{$important};
|
|
62
|
-
border-inline-end: var(--str-chat__#{$component-name}-border-inline-end) #{$important};
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
@mixin button-reset {
|
|
66
|
-
background: none;
|
|
67
|
-
border: none;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
@mixin cta-button-overrides($component-name) {
|
|
71
|
-
&:active {
|
|
72
|
-
background-color: var(--str-chat__#{$component-name}-pressed-background-color);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&:disabled {
|
|
76
|
-
background-color: var(--str-chat__#{$component-name}-disabled-background-color);
|
|
77
|
-
color: var(--str-chat__#{$component-name}-disabled-color);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
@mixin circle-fab-overrides($component-name) {
|
|
82
|
-
svg path {
|
|
83
|
-
fill: var(--str-chat__#{$component-name}-color);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&:active {
|
|
87
|
-
background-color: var(--str-chat__#{$component-name}-pressed-background-color);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
@mixin header-layout {
|
|
92
|
-
display: flex;
|
|
93
|
-
padding: var(--str-chat__spacing-2);
|
|
94
|
-
column-gap: var(--str-chat__spacing-4);
|
|
95
|
-
align-items: center;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
@mixin header-text-layout {
|
|
99
|
-
display: flex;
|
|
100
|
-
flex-direction: column;
|
|
101
|
-
overflow-y: hidden; // for Edge
|
|
102
|
-
overflow-x: hidden; // for ellipsis text
|
|
103
|
-
flex: 1;
|
|
104
|
-
row-gap: var(--str-chat__spacing-1_5);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
@mixin empty-layout {
|
|
108
|
-
height: 100%;
|
|
109
|
-
display: flex;
|
|
110
|
-
flex-direction: column;
|
|
111
|
-
align-items: center;
|
|
112
|
-
justify-content: center;
|
|
113
|
-
padding: var(--str-chat__spacing-4);
|
|
114
|
-
|
|
115
|
-
svg {
|
|
116
|
-
width: calc(var(--str-chat__spacing-px) * 136);
|
|
117
|
-
height: calc(var(--str-chat__spacing-px) * 136);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
@mixin empty-theme($component-name) {
|
|
122
|
-
font: var(--str-chat__headline-text);
|
|
123
|
-
text-align: center;
|
|
124
|
-
|
|
125
|
-
svg path {
|
|
126
|
-
fill: var(--str-chat__#{$component-name}-empty-indicator-color);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
@mixin message-list-spacing {
|
|
131
|
-
$spacing: var(--str-chat__spacing-2);
|
|
132
|
-
padding: 0 $spacing;
|
|
133
|
-
|
|
134
|
-
// Need this trick to be able to apply full-width background color on hover to messages / full-width separator to thread header
|
|
135
|
-
.str-chat__li {
|
|
136
|
-
margin-inline: calc(-1 * #{$spacing});
|
|
137
|
-
padding-inline: $spacing;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.str-chat__parent-message-li {
|
|
141
|
-
margin-inline: calc(-1 * #{$spacing});
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
@media only screen and (min-device-width: 768px) {
|
|
145
|
-
$spacing: min(var(--str-chat__spacing-10), 4%);
|
|
146
|
-
|
|
147
|
-
padding: 0 $spacing;
|
|
148
|
-
|
|
149
|
-
.str-chat__li {
|
|
150
|
-
margin-inline: calc(-1 * #{$spacing});
|
|
151
|
-
padding-inline: $spacing;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.str-chat__parent-message-li {
|
|
155
|
-
margin-inline: calc(-1 * #{$spacing} - 2px);
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
@mixin loading-item-background($component-name) {
|
|
161
|
-
background-image: linear-gradient(
|
|
162
|
-
-90deg,
|
|
163
|
-
var(--str-chat__#{$component-name}-loading-state-color) 0%,
|
|
164
|
-
var(--str-chat__#{$component-name}-loading-state-color) 100%
|
|
165
|
-
);
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
@mixin loading-animation {
|
|
169
|
-
animation: pulsate 1s linear 0s infinite alternate;
|
|
170
|
-
|
|
171
|
-
&:nth-of-type(2) {
|
|
172
|
-
animation: pulsate 1s linear 0.3334s infinite alternate;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
&:last-of-type {
|
|
176
|
-
animation: pulsate 1s linear 0.6667s infinite alternate;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
@keyframes pulsate {
|
|
180
|
-
from {
|
|
181
|
-
opacity: 0.5;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
to {
|
|
185
|
-
opacity: 1;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
@mixin channel-preview-display-name-theme {
|
|
191
|
-
font: var(--str-chat__subtitle-medium-text);
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
@mixin clamped-height-from-original-image-dimensions($max-height-css-var, $max-width-css-var) {
|
|
195
|
-
height: min(
|
|
196
|
-
var(#{$max-height-css-var}),
|
|
197
|
-
min(var(#{$max-width-css-var}, 1000000) / var(--original-width, 1000000), 1px) *
|
|
198
|
-
var(--original-height, 1000000)
|
|
199
|
-
);
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
@mixin apply-mask-image($imageDataUrl, $fill, $size) {
|
|
203
|
-
mask-image: $imageDataUrl;
|
|
204
|
-
-webkit-mask-image: $imageDataUrl;
|
|
205
|
-
mask-repeat: no-repeat;
|
|
206
|
-
-webkit-mask-repeat: no-repeat;
|
|
207
|
-
mask-position: center;
|
|
208
|
-
-webkit-mask-position: center;
|
|
209
|
-
mask-size: $size;
|
|
210
|
-
-webkit-mask-size: $size;
|
|
211
|
-
background-color: $fill;
|
|
212
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
@use '../../utils';
|
|
2
|
-
|
|
3
|
-
.str-chat {
|
|
4
|
-
/* The border radius used for the borders of the component */
|
|
5
|
-
--str-chat__cta-button-border-radius: var(--str-chat__border-radius-xs);
|
|
6
|
-
|
|
7
|
-
/* The text/icon color of the component */
|
|
8
|
-
--str-chat__cta-button-color: var(--str-chat__on-primary-color);
|
|
9
|
-
|
|
10
|
-
/* The background color of the component */
|
|
11
|
-
--str-chat__cta-button-background-color: var(--str-chat__primary-color);
|
|
12
|
-
|
|
13
|
-
/* Top border of the component */
|
|
14
|
-
--str-chat__cta-button-border-block-start: none;
|
|
15
|
-
|
|
16
|
-
/* Bottom border of the component */
|
|
17
|
-
--str-chat__cta-button-border-block-end: none;
|
|
18
|
-
|
|
19
|
-
/* Left (right in RTL layout) border of the component */
|
|
20
|
-
--str-chat__cta-button-border-inline-start: none;
|
|
21
|
-
|
|
22
|
-
/* Right (left in RTL layout) border of the component */
|
|
23
|
-
--str-chat__cta-button-border-inline-end: none;
|
|
24
|
-
|
|
25
|
-
/* Box shadow applied to the component */
|
|
26
|
-
--str-chat__cta-button-box-shadow: none;
|
|
27
|
-
|
|
28
|
-
/* The background color of the component in pressed state */
|
|
29
|
-
--str-chat__cta-button-pressed-background-color: var(--str-chat__active-primary-color);
|
|
30
|
-
|
|
31
|
-
/* The background color of the component in disabled state */
|
|
32
|
-
--str-chat__cta-button-disabled-background-color: var(--str-chat__disabled-color);
|
|
33
|
-
|
|
34
|
-
/* The text/icon color of the component in disabled state */
|
|
35
|
-
--str-chat__cta-button-disabled-color: var(--str-chat__on-disabled-color);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.str-chat__cta-button {
|
|
39
|
-
@include utils.component-layer-overrides('cta-button');
|
|
40
|
-
@include utils.cta-button-overrides('cta-button');
|
|
41
|
-
font: var(--str-chat__subtitle-text);
|
|
42
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
.str-chat__circle-fab {
|
|
2
|
-
width: calc(var(--str-chat__spacing-px) * 42);
|
|
3
|
-
height: calc(var(--str-chat__spacing-px) * 42);
|
|
4
|
-
padding: 0;
|
|
5
|
-
cursor: pointer;
|
|
6
|
-
display: flex;
|
|
7
|
-
justify-content: center;
|
|
8
|
-
align-items: center;
|
|
9
|
-
|
|
10
|
-
.str-chat__circle-fab-icon {
|
|
11
|
-
display: inline-block;
|
|
12
|
-
height: calc(var(--str-chat__spacing-px) * 24);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
@use '../../utils';
|
|
2
|
-
|
|
3
|
-
.str-chat {
|
|
4
|
-
/* The border radius used for the borders of the component */
|
|
5
|
-
--str-chat__circle-fab-border-radius: var(--str-chat__border-radius-circle);
|
|
6
|
-
|
|
7
|
-
/* The text/icon color of the component */
|
|
8
|
-
--str-chat__circle-fab-color: var(--str-chat__primary-color);
|
|
9
|
-
|
|
10
|
-
/* The background color of the component */
|
|
11
|
-
--str-chat__circle-fab-background-color: var(--str-chat__secondary-background-color);
|
|
12
|
-
|
|
13
|
-
/* The background color of the component in pressed state */
|
|
14
|
-
--str-chat__circle-fab-pressed-background-color: var(--str-chat__surface-color);
|
|
15
|
-
|
|
16
|
-
/* Box shadow applied to the component */
|
|
17
|
-
--str-chat__circle-fab-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
|
|
18
|
-
|
|
19
|
-
/* Top border of the component */
|
|
20
|
-
--str-chat__circle-fab-border-block-start: none;
|
|
21
|
-
|
|
22
|
-
/* Bottom border of the component */
|
|
23
|
-
--str-chat__circle-fab-border-block-end: none;
|
|
24
|
-
|
|
25
|
-
/* Left (right in RTL layout) border of the component */
|
|
26
|
-
--str-chat__circle-fab-border-inline-start: none;
|
|
27
|
-
|
|
28
|
-
/* Right (left in RTL layout) border of the component */
|
|
29
|
-
--str-chat__circle-fab-border-inline-end: none;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.str-chat__circle-fab {
|
|
33
|
-
@include utils.component-layer-overrides('circle-fab');
|
|
34
|
-
@include utils.circle-fab-overrides('circle-fab');
|
|
35
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
@use 'base';
|
|
2
|
-
@use 'global-layout-variables';
|
|
3
|
-
@use 'icons';
|
|
4
|
-
|
|
5
|
-
@use 'Avatar/Avatar-layout';
|
|
6
|
-
@use 'AttachmentList/AttachmentList-layout';
|
|
7
|
-
@use 'AttachmentPreviewList/AttachmentPreviewList-layout';
|
|
8
|
-
@use 'Autocomplete/Autocomplete-layout';
|
|
9
|
-
@use 'AudioRecorder/AudioRecorder-layout';
|
|
10
|
-
@use 'BaseImage/BaseImage-layout';
|
|
11
|
-
@use 'Channel/Channel-layout';
|
|
12
|
-
@use 'ChannelHeader/ChannelHeader-layout';
|
|
13
|
-
@use 'ChannelList/ChannelList-layout';
|
|
14
|
-
@use 'ChannelPreview/ChannelPreview-layout';
|
|
15
|
-
@use 'ChannelSearch/ChannelSearch-layout';
|
|
16
|
-
@use 'common/CTAButton/CTAButton-layout';
|
|
17
|
-
@use 'common/CircleFAButton/CircleFAButton-layout';
|
|
18
|
-
@use 'Dialog/Dialog-layout';
|
|
19
|
-
@use 'DragAndDropContainer/DragAndDropContainer-layout';
|
|
20
|
-
@use 'DropzoneContainer/DropzoneContainer-layout';
|
|
21
|
-
@use 'EditMessageForm/EditMessageForm-layout';
|
|
22
|
-
@use 'Form/Form-layout';
|
|
23
|
-
@use 'ImageCarousel/ImageCarousel-layout';
|
|
24
|
-
@use 'Icon/Icon-layout';
|
|
25
|
-
@use 'InfiniteScrollPaginator/InfiniteScrollPaginator-layout';
|
|
26
|
-
@use 'LinkPreview/LinkPreview-layout';
|
|
27
|
-
@use 'LoadingIndicator/LoadingIndicator-layout';
|
|
28
|
-
@use 'Location/Location-layout';
|
|
29
|
-
@use 'Message/Message-layout';
|
|
30
|
-
@use 'MessageActionsBox/MessageActionsBox-layout';
|
|
31
|
-
@use 'MessageBouncePrompt/MessageBouncePrompt-layout';
|
|
32
|
-
@use 'MessageInput/MessageInput-layout';
|
|
33
|
-
@use 'MessageList/MessageList-layout';
|
|
34
|
-
@use 'MessageList/VirtualizedMessageList-layout';
|
|
35
|
-
@use 'MessageReactions/MessageReactions-layout';
|
|
36
|
-
@use 'MessageReactions/MessageReactionsSelector-layout';
|
|
37
|
-
@use 'Modal/Modal-layout';
|
|
38
|
-
@use 'Notification/MessageNotification-layout';
|
|
39
|
-
@use 'Notification/NotificationList-layout';
|
|
40
|
-
@use 'Notification/Notification-layout';
|
|
41
|
-
@use 'Poll/Poll-layout';
|
|
42
|
-
@use 'Search/Search-layout';
|
|
43
|
-
@use 'Thread/Thread-layout';
|
|
44
|
-
@use 'Tooltip/Tooltip-layout';
|
|
45
|
-
@use 'TypingIndicator/TypingIndicator-layout';
|
|
46
|
-
@use 'ThreadList/ThreadList-layout';
|
|
47
|
-
@use 'ChatView/ChatView-layout';
|
|
48
|
-
@use 'UnreadCountBadge/UnreadCountBadge-layout';
|
|
49
|
-
@use 'AIStateIndicator/AIStateIndicator-layout';
|
package/dist/scss/v2/index.scss
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
@use 'index.layout.scss';
|
|
2
|
-
@use 'palette-variables';
|
|
3
|
-
@use 'global-theme-variables';
|
|
4
|
-
|
|
5
|
-
@use 'vendor/react-image-gallery';
|
|
6
|
-
|
|
7
|
-
@use 'common/CTAButton/CTAButton-theme';
|
|
8
|
-
@use 'common/CircleFAButton/CircleFAButton-theme';
|
|
9
|
-
@use 'Avatar/Avatar-theme';
|
|
10
|
-
@use 'AttachmentList/AttachmentList-theme';
|
|
11
|
-
@use 'AttachmentPreviewList/AttachmentPreviewList-theme';
|
|
12
|
-
@use 'AudioRecorder/AudioRecorder-theme';
|
|
13
|
-
@use 'Autocomplete/Autocomplete-theme';
|
|
14
|
-
@use 'BaseImage/BaseImage-theme';
|
|
15
|
-
@use 'Channel/Channel-theme.scss';
|
|
16
|
-
@use 'ChannelHeader/ChannelHeader-theme';
|
|
17
|
-
@use 'ChannelList/ChannelList-theme';
|
|
18
|
-
@use 'ChannelPreview/ChannelPreview-theme';
|
|
19
|
-
@use 'ChannelSearch/ChannelSearch-theme';
|
|
20
|
-
@use 'Dialog/Dialog-theme';
|
|
21
|
-
@use 'DragAndDropContainer/DragAndDropContainer-theme';
|
|
22
|
-
@use 'DropzoneContainer/DropzoneContainer-theme';
|
|
23
|
-
@use 'EditMessageForm/EditMessageForm-theme';
|
|
24
|
-
@use 'Form/Form-theme';
|
|
25
|
-
@use 'Icon/Icon-theme';
|
|
26
|
-
@use 'ImageCarousel/ImageCarousel-theme';
|
|
27
|
-
@use 'LinkPreview/LinkPreview-theme';
|
|
28
|
-
@use 'LoadingIndicator/LoadingIndicator-theme';
|
|
29
|
-
@use 'Location/Location-theme';
|
|
30
|
-
@use 'Message/Message-theme';
|
|
31
|
-
@use 'MessageActionsBox/MessageActionsBox-theme';
|
|
32
|
-
@use 'MessageBouncePrompt/MessageBouncePrompt-theme';
|
|
33
|
-
@use 'MessageInput/MessageInput-theme';
|
|
34
|
-
@use 'MessageList/MessageList-theme';
|
|
35
|
-
@use 'MessageList/VirtualizedMessageList-theme';
|
|
36
|
-
@use 'MessageReactions/MessageReactions-theme';
|
|
37
|
-
@use 'MessageReactions/MessageReactionsSelector-theme';
|
|
38
|
-
@use 'Modal/Modal-theme';
|
|
39
|
-
@use 'Notification/MessageNotification-theme';
|
|
40
|
-
@use 'Notification/NotificationList-theme';
|
|
41
|
-
@use 'Notification/Notification-theme';
|
|
42
|
-
@use 'Poll/Poll-theme';
|
|
43
|
-
@use 'Search/Search-theme';
|
|
44
|
-
@use 'Thread/Thread-theme';
|
|
45
|
-
@use 'Tooltip/Tooltip-theme';
|
|
46
|
-
@use 'TypingIndicator/TypingIndicator-theme';
|
|
47
|
-
@use 'ThreadList/ThreadList-theme';
|
|
48
|
-
@use 'ChatView/ChatView-theme';
|
|
49
|
-
@use 'UnreadCountBadge/UnreadCountBadge-theme';
|
|
50
|
-
@use 'AIStateIndicator/AIStateIndicator-theme';
|