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