stream-chat-react 14.0.0-beta.3 → 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/cjs/emojis.js +2 -2
- package/dist/cjs/emojis.js.map +1 -1
- package/dist/cjs/index.js +191 -264
- 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 +9 -25
- 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/es/emojis.mjs +2 -2
- package/dist/es/emojis.mjs.map +1 -1
- package/dist/es/index.mjs +230 -303
- package/dist/es/index.mjs.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/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/MessageComposer/AttachmentPreviewList/MediaAttachmentPreview.d.ts.map +1 -1
- package/dist/types/components/Poll/PollCreationDialog/OptionFieldSet.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/{assets → css/assets}/EmojiOneColor.woff2 +0 -0
- /package/dist/{assets → css/assets}/NotoColorEmoji-flags.woff2 +0 -0
|
@@ -1,493 +0,0 @@
|
|
|
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
|
-
.str-chat__dialog__controls {
|
|
182
|
-
padding-bottom: 0;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.str-chat__modal__poll-answer-list,
|
|
187
|
-
.str-chat__modal__poll-option-list,
|
|
188
|
-
.str-chat__modal__poll-results {
|
|
189
|
-
display: flex;
|
|
190
|
-
flex-direction: column;
|
|
191
|
-
width: 100%;
|
|
192
|
-
height: 100%;
|
|
193
|
-
min-height: 400px;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.str-chat__modal__poll-answer-list,
|
|
197
|
-
.str-chat__poll-option--full-vote-list {
|
|
198
|
-
.str-chat__loading-indicator-placeholder {
|
|
199
|
-
display: flex;
|
|
200
|
-
justify-content: center;
|
|
201
|
-
align-items: center;
|
|
202
|
-
width: 100%;
|
|
203
|
-
height: 40px;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.str-chat__modal__poll-option-list__title,
|
|
208
|
-
.str-chat__modal__poll-results__title {
|
|
209
|
-
padding: 1.175rem 1rem;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.str-chat__modal__poll-answer-list__body,
|
|
213
|
-
.str-chat__modal__poll-results__body {
|
|
214
|
-
display: flex;
|
|
215
|
-
flex-direction: column;
|
|
216
|
-
min-height: 0;
|
|
217
|
-
padding-bottom: 1rem;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
.str-chat__modal__poll-results__body,
|
|
221
|
-
.str-chat__modal__poll-option-list__body,
|
|
222
|
-
.str-chat__poll-answer-list,
|
|
223
|
-
.str-chat__modal__poll-results__option-list {
|
|
224
|
-
display: flex;
|
|
225
|
-
flex-direction: column;
|
|
226
|
-
flex: 1;
|
|
227
|
-
max-height: 100%;
|
|
228
|
-
min-height: 0;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.str-chat__poll-answer-list {
|
|
232
|
-
padding-bottom: 0;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
.str-chat__modal__poll-results__body,
|
|
236
|
-
.str-chat__modal__poll-option-list__body,
|
|
237
|
-
.str-chat__poll-answer-list {
|
|
238
|
-
overflow-y: auto;
|
|
239
|
-
padding: 0 $content-offset-inline 1.25rem;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.str-chat__poll-answer-list,
|
|
243
|
-
.str-chat__modal__poll-results__option-list {
|
|
244
|
-
gap: 0.5rem;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
.str-chat__modal__poll-results__body,
|
|
248
|
-
.str-chat__modal__poll-option-list__body {
|
|
249
|
-
gap: 2rem;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.str-chat__poll-option__show-all-votes-button {
|
|
253
|
-
padding-bottom: 1rem;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
.str-chat__poll-answer {
|
|
257
|
-
display: flex;
|
|
258
|
-
flex-direction: column;
|
|
259
|
-
gap: 1rem;
|
|
260
|
-
padding: 0.75rem 1rem;
|
|
261
|
-
|
|
262
|
-
.str-chat__poll-answer__text {
|
|
263
|
-
margin: 0;
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
.str-chat__checkmark {
|
|
268
|
-
margin-right: 1rem;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
.str-chat__poll-option__header {
|
|
272
|
-
display: flex;
|
|
273
|
-
align-items: flex-start;
|
|
274
|
-
gap: 0.25rem;
|
|
275
|
-
width: 100%;
|
|
276
|
-
padding: 0.75rem 1rem;
|
|
277
|
-
|
|
278
|
-
.str-chat__poll-option__option-text {
|
|
279
|
-
flex: 1;
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
.str-chat__poll-vote {
|
|
284
|
-
display: flex;
|
|
285
|
-
justify-content: space-between;
|
|
286
|
-
align-items: center;
|
|
287
|
-
gap: 0.5rem;
|
|
288
|
-
white-space: nowrap;
|
|
289
|
-
padding-block: 0.375rem;
|
|
290
|
-
|
|
291
|
-
.str-chat__poll-vote__author {
|
|
292
|
-
display: flex;
|
|
293
|
-
align-items: center;
|
|
294
|
-
gap: calc(var(--str-chat__spacing-px) * 5);
|
|
295
|
-
min-width: 0;
|
|
296
|
-
|
|
297
|
-
.str-chat__poll-vote__author__name {
|
|
298
|
-
@include utils.ellipsis-text;
|
|
299
|
-
max-width: 130px;
|
|
300
|
-
min-width: 0;
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
.str-chat__poll-result-option-vote-counter {
|
|
306
|
-
display: flex;
|
|
307
|
-
gap: 0.375rem;
|
|
308
|
-
|
|
309
|
-
.str-chat__poll-result-winning-option-icon {
|
|
310
|
-
height: 1.25rem;
|
|
311
|
-
width: 1.25rem;
|
|
312
|
-
background-image: var(--str-chat__winning-poll-option-icon);
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
.str-chat__poll-vote-listing {
|
|
319
|
-
padding: 0 1rem 0.75rem;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
.str-chat__modal__poll-results--option-detail {
|
|
323
|
-
.str-chat__modal-header__title {
|
|
324
|
-
padding-inline: 1rem;
|
|
325
|
-
flex: 1;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
.str-chat__modal__poll-results__body {
|
|
329
|
-
padding-inline: 1rem;
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
.str-chat__quoted-poll-preview {
|
|
334
|
-
display: flex;
|
|
335
|
-
flex-wrap: wrap;
|
|
336
|
-
gap: 0.5rem;
|
|
337
|
-
align-items: flex-start;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
.str-chat-angular__create-poll-modal .str-chat__modal,
|
|
341
|
-
.str-chat__modal.str-chat__create-poll-modal {
|
|
342
|
-
.str-chat__modal__close-button {
|
|
343
|
-
display: none;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
.str-chat__modal__inner {
|
|
347
|
-
padding: 0;
|
|
348
|
-
max-height: unset;
|
|
349
|
-
display: block;
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
.str-chat__poll-creation-dialog {
|
|
353
|
-
height: 100%;
|
|
354
|
-
width: 100%;
|
|
355
|
-
display: flex;
|
|
356
|
-
flex-direction: column;
|
|
357
|
-
|
|
358
|
-
button {
|
|
359
|
-
@include utils.button-reset;
|
|
360
|
-
cursor: pointer;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
.str-chat__modal-header {
|
|
364
|
-
padding-block: 14px;
|
|
365
|
-
|
|
366
|
-
.str-chat__modal-header__close-button {
|
|
367
|
-
background-image: var(--str-chat__close-icon);
|
|
368
|
-
background-repeat: no-repeat;
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
.str-chat__dialog__body {
|
|
373
|
-
flex: 1 1;
|
|
374
|
-
padding: 1rem;
|
|
375
|
-
|
|
376
|
-
form {
|
|
377
|
-
display: flex;
|
|
378
|
-
flex-direction: column;
|
|
379
|
-
gap: 2rem;
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
.str-chat__form__input-fieldset {
|
|
384
|
-
margin: 0;
|
|
385
|
-
padding: 0;
|
|
386
|
-
|
|
387
|
-
.str-chat__form__input-field {
|
|
388
|
-
width: 100%;
|
|
389
|
-
padding: 1rem;
|
|
390
|
-
|
|
391
|
-
.str-chat__form__input-field__value {
|
|
392
|
-
width: 100%;
|
|
393
|
-
|
|
394
|
-
.str-chat__form__input-field__error {
|
|
395
|
-
width: 100%;
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
.str-chat__form__input-field--with-label {
|
|
402
|
-
.str-chat__form__input-field__value {
|
|
403
|
-
padding: 1rem;
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
.str-chat__form__input-field__value input {
|
|
408
|
-
width: 100%;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
.str-chat__form__expandable-field {
|
|
412
|
-
padding: 1rem;
|
|
413
|
-
display: flex;
|
|
414
|
-
flex-direction: column;
|
|
415
|
-
gap: 1rem;
|
|
416
|
-
|
|
417
|
-
.str-chat__form__switch-field {
|
|
418
|
-
padding: 0;
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
.str-chat__form__input-field {
|
|
422
|
-
width: 100%;
|
|
423
|
-
|
|
424
|
-
.str-chat__form__input-field__value {
|
|
425
|
-
padding: 0;
|
|
426
|
-
|
|
427
|
-
.str-chat__form-field-error {
|
|
428
|
-
height: 1rem;
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
.str-chat__form__input-fieldset__values {
|
|
435
|
-
display: flex;
|
|
436
|
-
flex-direction: column;
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
.str-chat__form__field-label {
|
|
440
|
-
display: block;
|
|
441
|
-
margin-bottom: 0.5rem;
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
.str-chat__form__input-field--draggable {
|
|
445
|
-
display: flex;
|
|
446
|
-
align-items: center;
|
|
447
|
-
justify-content: space-between;
|
|
448
|
-
gap: 0.5rem;
|
|
449
|
-
|
|
450
|
-
.str-chat__drag-handle {
|
|
451
|
-
height: 1rem;
|
|
452
|
-
width: 1rem;
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
@media only screen and (max-device-width: 768px) {
|
|
459
|
-
.str-chat__modal--open .str-chat__modal__inner {
|
|
460
|
-
width: 90%;
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
.str-chat__create-poll-modal,
|
|
464
|
-
.str-chat__poll-answer-list-modal,
|
|
465
|
-
.str-chat__poll-results-modal {
|
|
466
|
-
.str-chat__modal__inner {
|
|
467
|
-
height: 90%;
|
|
468
|
-
max-height: unset;
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
.str-chat-angular__poll-actions {
|
|
474
|
-
.str-chat__modal__poll-option-list {
|
|
475
|
-
max-height: 100%;
|
|
476
|
-
min-height: 0;
|
|
477
|
-
display: flex;
|
|
478
|
-
flex-direction: column;
|
|
479
|
-
|
|
480
|
-
.str-chat__modal__poll-option-list__body {
|
|
481
|
-
max-height: 100%;
|
|
482
|
-
min-height: 0;
|
|
483
|
-
display: flex;
|
|
484
|
-
flex-direction: column;
|
|
485
|
-
|
|
486
|
-
stream-poll-options-list {
|
|
487
|
-
height: 100%;
|
|
488
|
-
overflow-y: auto;
|
|
489
|
-
overflow-x: hidden;
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
}
|
|
@@ -1,178 +0,0 @@
|
|
|
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
|
-
}
|