stream-chat-react 14.0.0-beta.3 → 14.0.0-beta.5
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.0c10cb67.js +4638 -0
- package/dist/cjs/WithAudioPlayback.0c10cb67.js.map +1 -0
- package/dist/cjs/emojis.js +2 -2
- package/dist/cjs/emojis.js.map +1 -1
- package/dist/cjs/index.js +262 -364
- package/dist/cjs/index.js.map +1 -1
- package/dist/css/emoji-replacement.css +34 -0
- package/dist/css/emoji-replacement.css.map +1 -0
- package/dist/css/index.css +81 -78
- package/dist/css/index.css.map +1 -1
- package/dist/es/WithAudioPlayback.e7821fd4.mjs +4622 -0
- package/dist/es/WithAudioPlayback.e7821fd4.mjs.map +1 -0
- package/dist/es/emojis.mjs +2 -2
- package/dist/es/emojis.mjs.map +1 -1
- package/dist/es/index.mjs +323 -425
- package/dist/es/index.mjs.map +1 -1
- package/dist/types/components/ChannelHeader/ChannelHeader.d.ts +1 -1
- package/dist/types/components/ChannelHeader/ChannelHeader.d.ts.map +1 -1
- package/dist/types/components/Dialog/service/DialogPortal.d.ts.map +1 -1
- package/dist/types/components/Form/SwitchField.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/Icons/icons.d.ts +57 -373
- package/dist/types/components/Icons/icons.d.ts.map +1 -1
- package/dist/types/components/Icons/index.d.ts +0 -1
- package/dist/types/components/Icons/index.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/Message/Message.d.ts.map +1 -1
- package/dist/types/components/Message/hooks/useUserRole.d.ts.map +1 -1
- package/dist/types/components/Message/types.d.ts +1 -5
- package/dist/types/components/Message/types.d.ts.map +1 -1
- package/dist/types/components/MessageActions/MessageActions.defaults.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/MediaAttachmentPreview.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/MessageComposerUI.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/hooks/useSubmitHandler.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/preEditSnapshot.d.ts +16 -0
- package/dist/types/components/MessageComposer/preEditSnapshot.d.ts.map +1 -0
- package/dist/types/components/MessageList/MessageList.d.ts +1 -1
- package/dist/types/components/MessageList/MessageList.d.ts.map +1 -1
- package/dist/types/components/MessageList/VirtualizedMessageList.d.ts +1 -1
- package/dist/types/components/MessageList/VirtualizedMessageList.d.ts.map +1 -1
- package/dist/types/components/MessageList/VirtualizedMessageListComponents.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 +4 -16
- package/dist/types/components/Reactions/MessageReactions.d.ts.map +1 -1
- package/dist/types/components/Reactions/MessageReactionsDetail.d.ts +4 -4
- package/dist/types/components/Reactions/MessageReactionsDetail.d.ts.map +1 -1
- package/dist/types/components/Reactions/hooks/useProcessReactions.d.ts +4 -2
- package/dist/types/components/Reactions/hooks/useProcessReactions.d.ts.map +1 -1
- package/dist/types/components/Reactions/types.d.ts +0 -1
- package/dist/types/components/Reactions/types.d.ts.map +1 -1
- package/dist/types/components/SummarizedMessagePreview/SummarizedMessagePreview.d.ts.map +1 -1
- package/dist/types/components/SummarizedMessagePreview/hooks/useLatestMessagePreview.d.ts.map +1 -1
- package/dist/types/components/Thread/ThreadHeader.d.ts +1 -1
- package/dist/types/components/Thread/ThreadHeader.d.ts.map +1 -1
- package/dist/types/context/MessageBounceContext.d.ts.map +1 -1
- package/dist/types/context/MessageContext.d.ts +1 -5
- package/dist/types/context/MessageContext.d.ts.map +1 -1
- package/package.json +3 -4
- 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/cjs/WithAudioPlayback.4a84360f.js +0 -4727
- package/dist/cjs/WithAudioPlayback.4a84360f.js.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/es/WithAudioPlayback.a3d5a2fc.mjs +0 -4711
- package/dist/es/WithAudioPlayback.a3d5a2fc.mjs.map +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/types/components/Icons/IconGiphy.d.ts +0 -3
- package/dist/types/components/Icons/IconGiphy.d.ts.map +0 -1
- /package/dist/{assets → css/assets}/EmojiOneColor.woff2 +0 -0
- /package/dist/{assets → css/assets}/NotoColorEmoji-flags.woff2 +0 -0
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
@use '../utils';
|
|
2
|
-
|
|
3
|
-
.str-chat__search {
|
|
4
|
-
position: relative;
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
justify-content: center;
|
|
8
|
-
|
|
9
|
-
&.str-chat__search--active {
|
|
10
|
-
flex: 1;
|
|
11
|
-
max-height: 100%;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.str-chat__search-bar {
|
|
15
|
-
@include utils.flex-row-center;
|
|
16
|
-
padding: var(--str-chat__spacing-2_5) var(--str-chat__spacing-2);
|
|
17
|
-
gap: 0.25rem;
|
|
18
|
-
|
|
19
|
-
.str-chat__search-bar-button {
|
|
20
|
-
@include utils.button-reset;
|
|
21
|
-
padding: var(--str-chat__spacing-1);
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.str-chat__search-input--wrapper {
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
flex: 1;
|
|
29
|
-
padding: var(--str-chat__spacing-1_5) var(--str-chat__spacing-2);
|
|
30
|
-
min-width: 0;
|
|
31
|
-
|
|
32
|
-
.str-chat__search-input--icon {
|
|
33
|
-
height: 20px;
|
|
34
|
-
width: 20px;
|
|
35
|
-
margin-right: 0.5rem;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.str-chat__search-input--clear-button {
|
|
39
|
-
@include utils.button-reset;
|
|
40
|
-
cursor: pointer;
|
|
41
|
-
padding: 0;
|
|
42
|
-
|
|
43
|
-
&:disabled {
|
|
44
|
-
cursor: default;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.str-chat__search-input--clear-button-icon {
|
|
48
|
-
height: 20px;
|
|
49
|
-
width: 20px;
|
|
50
|
-
mask-size: 20px;
|
|
51
|
-
-webkit-mask-size: 20px;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
input {
|
|
56
|
-
flex: 1;
|
|
57
|
-
min-width: 0;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.str-chat__search-results {
|
|
63
|
-
flex: 1;
|
|
64
|
-
display: flex;
|
|
65
|
-
flex-direction: column;
|
|
66
|
-
min-height: 0;
|
|
67
|
-
|
|
68
|
-
.str-chat__search-results-header {
|
|
69
|
-
width: 100%;
|
|
70
|
-
|
|
71
|
-
button {
|
|
72
|
-
@include utils.button-reset();
|
|
73
|
-
cursor: pointer;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.str-chat__search-results-header__filter-source-buttons {
|
|
77
|
-
display: flex;
|
|
78
|
-
flex-wrap: wrap;
|
|
79
|
-
gap: 0.5rem;
|
|
80
|
-
padding: var(--str-chat__spacing-3) var(--str-chat__spacing-2_5);
|
|
81
|
-
width: 100%;
|
|
82
|
-
|
|
83
|
-
.str-chat__search-results-header__filter-source-button {
|
|
84
|
-
padding: 0.5rem 0.75rem;
|
|
85
|
-
border-radius: var(--str-chat__border-radius-circle);
|
|
86
|
-
background-color: var(--str-chat__tertiary-surface-color);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.str-chat__search-results-header__filter-source-button--active {
|
|
90
|
-
background-color: var(--str-chat__surface-color);
|
|
91
|
-
color: var(--str-chat__text-color);
|
|
92
|
-
font-weight: 500;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.str-chat__search-results-presearch,
|
|
98
|
-
.str-chat__search-source-results-empty {
|
|
99
|
-
width: 100%;
|
|
100
|
-
display: flex;
|
|
101
|
-
justify-content: center;
|
|
102
|
-
align-items: center;
|
|
103
|
-
padding: 1.25rem;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.str-chat__search-source-results {
|
|
107
|
-
flex: 1;
|
|
108
|
-
display: flex;
|
|
109
|
-
flex-direction: column;
|
|
110
|
-
min-height: 0;
|
|
111
|
-
|
|
112
|
-
.str-chat__search-source-result-list {
|
|
113
|
-
flex: 1;
|
|
114
|
-
display: flex;
|
|
115
|
-
flex-direction: column;
|
|
116
|
-
min-height: 0;
|
|
117
|
-
|
|
118
|
-
.str-chat__infinite-scroll-paginator__content {
|
|
119
|
-
display: flex;
|
|
120
|
-
flex-direction: column;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.str-chat__search-result {
|
|
124
|
-
display: flex;
|
|
125
|
-
align-items: center;
|
|
126
|
-
width: 100%;
|
|
127
|
-
column-gap: var(--str-chat__spacing-2);
|
|
128
|
-
padding: var(--str-chat__spacing-3) var(--str-chat__spacing-2);
|
|
129
|
-
|
|
130
|
-
.search__result-text,
|
|
131
|
-
.str-chat__search-result--display-name {
|
|
132
|
-
@include utils.ellipsis-text;
|
|
133
|
-
@include utils.prevent-glitch-text-overflow;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.str-chat__search-source-result-list__footer {
|
|
138
|
-
height: 4rem;
|
|
139
|
-
width: 100%;
|
|
140
|
-
display: flex;
|
|
141
|
-
justify-content: center;
|
|
142
|
-
align-items: center;
|
|
143
|
-
flex-direction: column;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
@@ -1,222 +0,0 @@
|
|
|
1
|
-
@use '../utils';
|
|
2
|
-
|
|
3
|
-
/* Only available in React SDK. */
|
|
4
|
-
.str-chat {
|
|
5
|
-
/* The text/icon color of the component */
|
|
6
|
-
--str-chat__search-input-color: var(--str-chat__text-color);
|
|
7
|
-
|
|
8
|
-
/* The text/icon color of the component */
|
|
9
|
-
--str-chat__search-input-placeholder-color: var(--str-chat__text-low-emphasis-color);
|
|
10
|
-
|
|
11
|
-
/* The text/icon color of the component */
|
|
12
|
-
--str-chat__search-input-icon-color: var(--str-chat__text-low-emphasis-color);
|
|
13
|
-
|
|
14
|
-
/* Top border of the component */
|
|
15
|
-
--str-chat__search-input-border-block-start: none;
|
|
16
|
-
|
|
17
|
-
/* Bottom border of the component */
|
|
18
|
-
--str-chat__search-input-border-block-end: none;
|
|
19
|
-
|
|
20
|
-
/* Left (right in RTL layout) borhe component */
|
|
21
|
-
--str-chat__search-input-border-inline-start: none;
|
|
22
|
-
|
|
23
|
-
/* Right (left in RTL layout) borhe component */
|
|
24
|
-
--str-chat__search-input-border-inline-end: none;
|
|
25
|
-
|
|
26
|
-
/* The border radius used for the borders of the component */
|
|
27
|
-
--str-chat__search-input-wrapper-border-radius: var(--str-chat__border-radius-circle);
|
|
28
|
-
|
|
29
|
-
/* The background color of the component */
|
|
30
|
-
--str-chat__search-input-wrapper-background-color: transparent;
|
|
31
|
-
|
|
32
|
-
/* Top border of the component */
|
|
33
|
-
--str-chat__search-input-wrapper-border-block-start: var(--str-chat__surface-color) 1px
|
|
34
|
-
solid;
|
|
35
|
-
|
|
36
|
-
/* Bottom border of the component */
|
|
37
|
-
--str-chat__search-input-wrapper-border-block-end: var(--str-chat__surface-color) 1px
|
|
38
|
-
solid;
|
|
39
|
-
|
|
40
|
-
/* Left (right in RTL layout) border of the component */
|
|
41
|
-
--str-chat__search-input-wrapper-border-inline-start: var(--str-chat__surface-color) 1px
|
|
42
|
-
solid;
|
|
43
|
-
|
|
44
|
-
/* Right (left in RTL layout) border of the component */
|
|
45
|
-
--str-chat__search-input-wrapper-border-inline-end: var(--str-chat__surface-color) 1px
|
|
46
|
-
solid;
|
|
47
|
-
|
|
48
|
-
/* The border radius used for the borders of the component */
|
|
49
|
-
--str-chat__search-input-wrapper-active-border-radius: var(--str-chat__border-radius-circle);
|
|
50
|
-
|
|
51
|
-
/* The background color of the component */
|
|
52
|
-
--str-chat__search-input-wrapper-active-background-color: transparent;
|
|
53
|
-
|
|
54
|
-
/* Top border of the component */
|
|
55
|
-
--str-chat__search-input-wrapper-active-border-block-start: var(--str-chat__primary-color)
|
|
56
|
-
1px solid;
|
|
57
|
-
|
|
58
|
-
/* Bottom border of the component */
|
|
59
|
-
--str-chat__search-input-wrapper-active-border-block-end: var(--str-chat__primary-color)
|
|
60
|
-
1px solid;
|
|
61
|
-
|
|
62
|
-
/* Left (right in RTL layout) border of the component */
|
|
63
|
-
--str-chat__search-input-wrapper-active-border-inline-start: var(
|
|
64
|
-
--str-chat__primary-color
|
|
65
|
-
)
|
|
66
|
-
1px solid;
|
|
67
|
-
|
|
68
|
-
/* Right (left in RTL layout) border of the component */
|
|
69
|
-
--str-chat__search-input-wrapper-active-border-inline-end: var(--str-chat__primary-color)
|
|
70
|
-
1px solid;
|
|
71
|
-
|
|
72
|
-
/* The background applied to channel search result */
|
|
73
|
-
--str-chat__search-result-background-color: transparent;
|
|
74
|
-
|
|
75
|
-
/* Top border of the component */
|
|
76
|
-
--str-chat__search-result-border-block-start: none;
|
|
77
|
-
|
|
78
|
-
/* Bottom border of the component */
|
|
79
|
-
--str-chat__search-result-border-block-end: none;
|
|
80
|
-
|
|
81
|
-
/* Left (right in RTL layout) border of the component */
|
|
82
|
-
--str-chat__search-result-border-inline-start: none;
|
|
83
|
-
|
|
84
|
-
/* Right (left in RTL layout) border of the component */
|
|
85
|
-
--str-chat__search-result-border-inline-end: none;
|
|
86
|
-
|
|
87
|
-
/* Background color used for the search result hover / focused state */
|
|
88
|
-
--str-chat__search-result-hover-background-color: var(
|
|
89
|
-
--str-chat__secondary-surface-color
|
|
90
|
-
);
|
|
91
|
-
|
|
92
|
-
--str-chat__search-result-list-color: var(--str-chat__text-color);
|
|
93
|
-
|
|
94
|
-
--str-chat__search-result-list-background-color: var(--str-chat__secondary-background-color);
|
|
95
|
-
|
|
96
|
-
/* Top border of the component */
|
|
97
|
-
--str-chat__search-result-list-border-block-start: none;
|
|
98
|
-
|
|
99
|
-
/* Bottom border of the component */
|
|
100
|
-
--str-chat__search-result-list-border-block-end: none;
|
|
101
|
-
|
|
102
|
-
/* Left (right in RTL layout) border of the component */
|
|
103
|
-
--str-chat__search-result-list-border-inline-start: none;
|
|
104
|
-
|
|
105
|
-
/* Right (left in RTL layout) border of the component */
|
|
106
|
-
--str-chat__search-result-list-border-inline-end: none;
|
|
107
|
-
|
|
108
|
-
/* Box shadow applied to the component */
|
|
109
|
-
--str-chat__search-result-list-popup-box-shadow: 0 4px 4px var(--str-chat__box-shadow-color);
|
|
110
|
-
|
|
111
|
-
/* The font color used in the search results header */
|
|
112
|
-
--str-chat__search-results-header-color: var(--str-chat__text-low-emphasis-color);
|
|
113
|
-
|
|
114
|
-
/* The background color used in the search results header */
|
|
115
|
-
--str-chat__search-results-header-background-color: var(--str-chat__background-color);
|
|
116
|
-
|
|
117
|
-
/* Top border of the component */
|
|
118
|
-
--str-chat__search-results-header-border-block-start: none;
|
|
119
|
-
|
|
120
|
-
/* Bottom border of the component */
|
|
121
|
-
--str-chat__search-results-header-border-block-end: var(--str-chat__surface-color) 1px
|
|
122
|
-
solid;
|
|
123
|
-
|
|
124
|
-
/* Left (right in RTL layout) border of the component */
|
|
125
|
-
--str-chat__search-results-header-border-inline-start: none;
|
|
126
|
-
|
|
127
|
-
/* Right (left in RTL layout) border of the component */
|
|
128
|
-
--str-chat__search-results-header-border-inline-end: none;
|
|
129
|
-
|
|
130
|
-
/* The font color used in the empty search results indicator */
|
|
131
|
-
--str-chat__search-results-empty-color: var(--str-chat__text-low-emphasis-color);
|
|
132
|
-
|
|
133
|
-
/* The icon color used in the empty search results indicator */
|
|
134
|
-
--str-chat__search-results-empty-icon-color: var(--str-chat__disabled-color);
|
|
135
|
-
|
|
136
|
-
/* The background color used in the empty search results indicator */
|
|
137
|
-
--str-chat__search-results-empty-background-color: var(--str-chat__background-color);
|
|
138
|
-
|
|
139
|
-
/* Top border of the component */
|
|
140
|
-
--str-chat__search-results-empty-border-block-start: none;
|
|
141
|
-
|
|
142
|
-
/* Bottom border of the component */
|
|
143
|
-
--str-chat__search-results-empty-border-block-end: none;
|
|
144
|
-
|
|
145
|
-
/* Left (right in RTL layout) border of the component */
|
|
146
|
-
--str-chat__search-results-empty-border-inline-start: none;
|
|
147
|
-
|
|
148
|
-
/* Right (left in RTL layout) border of the component */
|
|
149
|
-
--str-chat__search-results-empty-border-inline-end: none;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.str-chat__search-input--wrapper {
|
|
153
|
-
@include utils.component-layer-overrides('search-input-wrapper');
|
|
154
|
-
|
|
155
|
-
.str-chat__search-input--icon {
|
|
156
|
-
background-image: var(--str-chat__magnifier-glass-icon);
|
|
157
|
-
background-repeat: no-repeat;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
input {
|
|
161
|
-
@include utils.component-layer-overrides('search-input');
|
|
162
|
-
outline: none;
|
|
163
|
-
font: var(--str-chat__subtitle-text);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.str-chat__search-input--clear-button-icon {
|
|
167
|
-
background-color: transparent;
|
|
168
|
-
-webkit-mask: var(--str-chat__clear-icon) no-repeat center / contain;
|
|
169
|
-
mask: var(--str-chat__clear-icon) no-repeat center / contain;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.str-chat__search-input--wrapper-active {
|
|
174
|
-
@include utils.component-layer-overrides('search-input-wrapper-active');
|
|
175
|
-
|
|
176
|
-
.str-chat__search-input--clear-button-icon {
|
|
177
|
-
background-color: var(--str-chat__text-low-emphasis-color);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.str-chat__search-bar-button--exit-search {
|
|
182
|
-
@include utils.button-reset();
|
|
183
|
-
color: var(--str-chat__primary-color);
|
|
184
|
-
font: var(--str-chat__subtitle-text);
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.str-chat__search-results-header {
|
|
188
|
-
@include utils.component-layer-overrides('search-results-header');
|
|
189
|
-
font: var(--str-chat__subtitle-text);
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.str-chat__search-source-result-list {
|
|
193
|
-
@include utils.component-layer-overrides('search-result-list');
|
|
194
|
-
|
|
195
|
-
.str-chat__search-container-empty {
|
|
196
|
-
@include utils.component-layer-overrides('search-results-empty');
|
|
197
|
-
font: var(--str-chat__subtitle2-medium-text);
|
|
198
|
-
|
|
199
|
-
svg path {
|
|
200
|
-
fill: var(--str-chat__search-results-empty-icon-color);
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.str-chat__search-result {
|
|
205
|
-
@include utils.component-layer-overrides('search-result');
|
|
206
|
-
|
|
207
|
-
&.str-chat__channel-preview-messenger--active {
|
|
208
|
-
background-color: var(--str-chat__channel-preview-active-background-color);
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.str-chat__search-result--display-name {
|
|
212
|
-
@include utils.channel-preview-display-name-theme;
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
.str-chat__search-result:hover,
|
|
219
|
-
.str-chat__search-result--focused {
|
|
220
|
-
background-color: var(--str-chat__search-result-hover-background-color);
|
|
221
|
-
}
|
|
222
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
@use '../utils';
|
|
2
|
-
|
|
3
|
-
// FIXME: figure out why does this "container" exist when __thread is completely valid
|
|
4
|
-
.str-chat__thread-container {
|
|
5
|
-
height: 100%;
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
width: 100%;
|
|
9
|
-
|
|
10
|
-
.str-chat__thread-header {
|
|
11
|
-
@include utils.header-layout;
|
|
12
|
-
|
|
13
|
-
.str-chat__thread-header-details {
|
|
14
|
-
@include utils.header-text-layout;
|
|
15
|
-
|
|
16
|
-
.str-chat__thread-header-name,
|
|
17
|
-
.str-chat__thread-header-reply-count,
|
|
18
|
-
.str-chat__thread-header-channel-name,
|
|
19
|
-
.str-chat__thread-header-subtitle,
|
|
20
|
-
.str-chat__thread-header-title {
|
|
21
|
-
@include utils.ellipsis-text;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.str-chat__thread-header-subtitle {
|
|
25
|
-
@include utils.prevent-glitch-text-overflow;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.str-chat__close-thread-button {
|
|
30
|
-
$icon-size: calc(var(--str-chat__spacing-px) * 21);
|
|
31
|
-
@include utils.flex-top-right;
|
|
32
|
-
width: calc(var(--str-chat__spacing-px) * 40);
|
|
33
|
-
height: calc(var(--str-chat__spacing-px) * 40);
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
line-height: $icon-size;
|
|
36
|
-
font-size: $icon-size;
|
|
37
|
-
|
|
38
|
-
svg {
|
|
39
|
-
height: $icon-size;
|
|
40
|
-
width: $icon-size;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.str-chat__thread {
|
|
47
|
-
.str-chat__main-panel-inner {
|
|
48
|
-
height: auto;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.str-chat__thread--virtualized {
|
|
53
|
-
.str-chat__main-panel-inner {
|
|
54
|
-
height: 100%;
|
|
55
|
-
|
|
56
|
-
// the first message in virtualized thread has to be separated from the top by padding, not margin
|
|
57
|
-
.str-chat__virtual-list-message-wrapper:first-of-type {
|
|
58
|
-
padding-block-start: var(--str-chat__spacing-4);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.str-chat__parent-message-li {
|
|
64
|
-
padding: var(--str-chat__spacing-2);
|
|
65
|
-
}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
@use '../utils';
|
|
2
|
-
|
|
3
|
-
.str-chat {
|
|
4
|
-
/* The border radius used for the borders of the component */
|
|
5
|
-
--str-chat__thread-border-radius: 0;
|
|
6
|
-
|
|
7
|
-
/* The text/icon color of the component */
|
|
8
|
-
--str-chat__thread-color: var(--str-chat__text-color);
|
|
9
|
-
|
|
10
|
-
/* The background color of the component */
|
|
11
|
-
--str-chat__thread-background-color: var(--str-chat__secondary-background-color);
|
|
12
|
-
|
|
13
|
-
/* Top border of the component */
|
|
14
|
-
--str-chat__thread-border-block-start: none;
|
|
15
|
-
|
|
16
|
-
/* Bottom border of the component */
|
|
17
|
-
--str-chat__thread-border-block-end: none;
|
|
18
|
-
|
|
19
|
-
/* Left (right in RTL layout) border of the component */
|
|
20
|
-
--str-chat__thread-border-inline-start: 1px solid var(--str-chat__surface-color);
|
|
21
|
-
|
|
22
|
-
/* Right (left in RTL layout) border of the component */
|
|
23
|
-
--str-chat__thread-border-inline-end: none;
|
|
24
|
-
|
|
25
|
-
/* Box shadow applied to the component */
|
|
26
|
-
--str-chat__thread-box-shadow: none;
|
|
27
|
-
|
|
28
|
-
/* The border radius used for the borders of the thread header */
|
|
29
|
-
--str-chat__thread-header-border-radius: 0;
|
|
30
|
-
|
|
31
|
-
/* The text/icon color of the thread header */
|
|
32
|
-
--str-chat__thread-header-color: var(--str-chat__text-color);
|
|
33
|
-
|
|
34
|
-
/* The background color of the thread header */
|
|
35
|
-
--str-chat__thread-header-background-color: var(--str-chat__secondary-background-color);
|
|
36
|
-
|
|
37
|
-
/* Top border of the thread header */
|
|
38
|
-
--str-chat__thread-header-border-block-start: none;
|
|
39
|
-
|
|
40
|
-
/* Bottom border of the thread header */
|
|
41
|
-
--str-chat__thread-header-border-block-end: none;
|
|
42
|
-
|
|
43
|
-
/* Left (right in RTL layout) border of the thread header */
|
|
44
|
-
--str-chat__thread-header-border-inline-start: none;
|
|
45
|
-
|
|
46
|
-
/* Right (left in RTL layout) border of the thread header */
|
|
47
|
-
--str-chat__thread-header-border-inline-end: none;
|
|
48
|
-
|
|
49
|
-
/* Box shadow applied to the thread header */
|
|
50
|
-
--str-chat__thread-header-box-shadow: none;
|
|
51
|
-
|
|
52
|
-
/* The text/icon color used to display less emphasized text in the channel header */
|
|
53
|
-
--str-chat__thread-header-info-color: var(--str-chat__text-low-emphasis-color);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.str-chat__thread-container {
|
|
57
|
-
@include utils.component-layer-overrides('thread');
|
|
58
|
-
|
|
59
|
-
.str-chat__thread-header {
|
|
60
|
-
@include utils.component-layer-overrides('thread-header');
|
|
61
|
-
|
|
62
|
-
.str-chat__thread-header-name,
|
|
63
|
-
.str-chat__thread-header-title {
|
|
64
|
-
font: var(--str-chat__subtitle-medium-text);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.str-chat__thread-header-channel-name,
|
|
68
|
-
.str-chat__thread-header-subtitle {
|
|
69
|
-
font: var(--str-chat__body-text);
|
|
70
|
-
color: var(--str-chat__thread-header-info-color);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.str-chat__close-thread-button {
|
|
74
|
-
background-color: transparent;
|
|
75
|
-
border: none;
|
|
76
|
-
|
|
77
|
-
svg path {
|
|
78
|
-
fill: var(--str-chat__thread-color);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
.str-chat__thread-list-container {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
flex-grow: 1;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.str-chat__unseen-threads-banner {
|
|
8
|
-
font-size: 16px;
|
|
9
|
-
font-weight: 400;
|
|
10
|
-
|
|
11
|
-
margin: 8px;
|
|
12
|
-
padding: 16px;
|
|
13
|
-
display: flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
justify-content: space-between;
|
|
16
|
-
|
|
17
|
-
&__button {
|
|
18
|
-
--str-chat-icon-width: 16px;
|
|
19
|
-
--str-chat-icon-heigh: 22px;
|
|
20
|
-
|
|
21
|
-
all: unset;
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
display: flex;
|
|
24
|
-
align-items: center;
|
|
25
|
-
justify-content: center;
|
|
26
|
-
width: 24px;
|
|
27
|
-
height: 24px;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.str-chat__thread-list {
|
|
32
|
-
.str-chat__thread-list-item {
|
|
33
|
-
align-items: stretch;
|
|
34
|
-
box-sizing: border-box;
|
|
35
|
-
padding-block: 14px;
|
|
36
|
-
padding-inline: 8px;
|
|
37
|
-
gap: 6px;
|
|
38
|
-
width: 100%;
|
|
39
|
-
display: flex;
|
|
40
|
-
flex-direction: column;
|
|
41
|
-
cursor: pointer;
|
|
42
|
-
|
|
43
|
-
.str-chat__thread-list-item__channel {
|
|
44
|
-
--str-chat-icon-height: 14px;
|
|
45
|
-
--str-chat-icon-width: 14px;
|
|
46
|
-
|
|
47
|
-
display: flex;
|
|
48
|
-
gap: 5px;
|
|
49
|
-
|
|
50
|
-
.str-chat__icon {
|
|
51
|
-
margin-top: 2px;
|
|
52
|
-
flex-shrink: 0;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.str-chat__thread-list-item__thread-status-symbol {
|
|
57
|
-
font-size: 14px;
|
|
58
|
-
line-height: 1;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.str-chat__thread-list-item__channel-text {
|
|
62
|
-
overflow: hidden;
|
|
63
|
-
white-space: nowrap;
|
|
64
|
-
text-overflow: ellipsis;
|
|
65
|
-
font-size: 14px;
|
|
66
|
-
font-weight: 400;
|
|
67
|
-
line-height: 1;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.str-chat__thread-list-item__parent-message {
|
|
71
|
-
display: flex;
|
|
72
|
-
gap: 3px;
|
|
73
|
-
justify-content: space-between;
|
|
74
|
-
align-items: center;
|
|
75
|
-
height: 15px;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.str-chat__thread-list-item__parent-message-text {
|
|
79
|
-
font-size: 12px;
|
|
80
|
-
font-weight: 400;
|
|
81
|
-
overflow: hidden;
|
|
82
|
-
white-space: nowrap;
|
|
83
|
-
text-overflow: ellipsis;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.str-chat__thread-list-item__latest-reply {
|
|
87
|
-
--str-chat__avatar-size: 49px;
|
|
88
|
-
|
|
89
|
-
display: flex;
|
|
90
|
-
align-items: center;
|
|
91
|
-
gap: 5px;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.str-chat__thread-list-item__latest-reply-details {
|
|
95
|
-
display: flex;
|
|
96
|
-
flex-direction: column;
|
|
97
|
-
flex-grow: 1;
|
|
98
|
-
gap: 4px;
|
|
99
|
-
width: 0;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.str-chat__thread-list-item__latest-reply-created-by {
|
|
103
|
-
font-weight: 500;
|
|
104
|
-
font-size: 16px;
|
|
105
|
-
text-align: left;
|
|
106
|
-
text-overflow: ellipsis;
|
|
107
|
-
white-space: nowrap;
|
|
108
|
-
overflow-x: hidden;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.str-chat__thread-list-item__latest-reply-text-and-timestamp {
|
|
112
|
-
display: flex;
|
|
113
|
-
font-size: 14px;
|
|
114
|
-
font-weight: 400;
|
|
115
|
-
justify-content: space-between;
|
|
116
|
-
align-items: baseline;
|
|
117
|
-
line-height: 16px;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.str-chat__thread-list-item__latest-reply-text {
|
|
121
|
-
overflow: hidden;
|
|
122
|
-
white-space: nowrap;
|
|
123
|
-
text-overflow: ellipsis;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.str-chat__thread-list-item__latest-reply-timestamp {
|
|
127
|
-
white-space: nowrap;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.str-chat__thread-list-loading-indicator {
|
|
132
|
-
display: flex;
|
|
133
|
-
align-items: center;
|
|
134
|
-
justify-content: center;
|
|
135
|
-
padding-block: 14px;
|
|
136
|
-
padding-inline: 8px;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.str-chat__thread-list-empty-placeholder {
|
|
141
|
-
--str-chat-icon-height: 95px;
|
|
142
|
-
--str-chat-icon-width: 95px;
|
|
143
|
-
|
|
144
|
-
font-size: 20px;
|
|
145
|
-
font-weight: 500;
|
|
146
|
-
display: flex;
|
|
147
|
-
flex-direction: column;
|
|
148
|
-
align-items: center;
|
|
149
|
-
justify-content: center;
|
|
150
|
-
height: 100%;
|
|
151
|
-
gap: 16px;
|
|
152
|
-
}
|