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,109 +0,0 @@
|
|
|
1
|
-
@use '../utils';
|
|
2
|
-
|
|
3
|
-
.str-chat {
|
|
4
|
-
/* The border radius used for the borders of the content area of the component of the content area of the component */
|
|
5
|
-
--str-chat__modal-border-radius: var(--str-chat__border-radius-sm);
|
|
6
|
-
|
|
7
|
-
/* The text/icon color of the content area of the component */
|
|
8
|
-
--str-chat__modal-color: var(--str-chat__text-color);
|
|
9
|
-
|
|
10
|
-
/* The background color of the content area of the component */
|
|
11
|
-
--str-chat__modal-background-color: var(--str-chat__secondary-background-color);
|
|
12
|
-
|
|
13
|
-
/* The overlay color of the component */
|
|
14
|
-
--str-chat__modal-overlay-color: var(--str-chat__secondary-overlay-color);
|
|
15
|
-
|
|
16
|
-
/* The backdrop filter applied to the component */
|
|
17
|
-
--str-chat__modal-overlay-backdrop-filter: blur(3px);
|
|
18
|
-
|
|
19
|
-
/* Top border of the content area of the component */
|
|
20
|
-
--str-chat__modal-border-block-start: none;
|
|
21
|
-
|
|
22
|
-
/* Bottom border of the content area of the component */
|
|
23
|
-
--str-chat__modal-border-block-end: none;
|
|
24
|
-
|
|
25
|
-
/* Left (right in RTL layout) border of the content area of the component */
|
|
26
|
-
--str-chat__modal-border-inline-start: none;
|
|
27
|
-
|
|
28
|
-
/* Right (left in RTL layout) border of the content area of the component */
|
|
29
|
-
--str-chat__modal-border-inline-end: none;
|
|
30
|
-
|
|
31
|
-
/* Box shadow applied to the content area of the component */
|
|
32
|
-
--str-chat__modal-box-shadow: none;
|
|
33
|
-
|
|
34
|
-
/* The background color of the close button */
|
|
35
|
-
--str-chat__modal-close-icon-background: var(--str-chat__text-low-emphasis-color);
|
|
36
|
-
|
|
37
|
-
/* The icon color of the close button */
|
|
38
|
-
--str-chat__modal-close-icon-color: var(--str-chat__on-disabled-color);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.str-chat__modal {
|
|
42
|
-
background-color: var(--str-chat__modal-overlay-color);
|
|
43
|
-
backdrop-filter: var(--str-chat__modal-overlay-backdrop-filter);
|
|
44
|
-
|
|
45
|
-
.str-chat__modal__inner {
|
|
46
|
-
@include utils.component-layer-overrides('modal');
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.str-chat__modal-header {
|
|
50
|
-
.str-chat__modal-header__title {
|
|
51
|
-
font: var(--str-chat__subtitle2-medium-text);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.str-chat__modal__close-button {
|
|
56
|
-
--str-chat-icon-color: var(--str-chat__modal-close-icon-color);
|
|
57
|
-
@include utils.button-reset;
|
|
58
|
-
|
|
59
|
-
.str-chat__icon {
|
|
60
|
-
background-color: var(--str-chat__modal-close-icon-background);
|
|
61
|
-
border-radius: 999px;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
svg {
|
|
65
|
-
path {
|
|
66
|
-
fill: var(--str-chat__modal-close-icon-color);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
rect,
|
|
70
|
-
circle {
|
|
71
|
-
fill: var(--str-chat__modal-close-icon-background);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
@mixin image-on-modal {
|
|
78
|
-
.str-chat__modal__inner.str-chat-react__modal__inner {
|
|
79
|
-
background-color: transparent;
|
|
80
|
-
width: unset;
|
|
81
|
-
max-width: unset;
|
|
82
|
-
height: unset;
|
|
83
|
-
padding: 0;
|
|
84
|
-
|
|
85
|
-
img {
|
|
86
|
-
max-width: unset;
|
|
87
|
-
max-height: calc(100vh - 80px);
|
|
88
|
-
cursor: default;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// stream-chat-react image gallery does not show the modal inner container. It has to be reset to
|
|
94
|
-
// width of its content in order the modal can be closed when clicked on overlay
|
|
95
|
-
// todo: remove this rule once only GlobalModal is used and old Modal is removed from stream-chat-react
|
|
96
|
-
.str-chat__message-attachment--card,
|
|
97
|
-
.str-chat__message-attachment--image,
|
|
98
|
-
.str-chat__message-attachment--gallery {
|
|
99
|
-
.str-chat__modal--open {
|
|
100
|
-
@include image-on-modal;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.str-chat-react__modal.str-chat__modal--open {
|
|
105
|
-
&.str-chat__image-modal,
|
|
106
|
-
&.str-chat__gallery-modal {
|
|
107
|
-
@include image-on-modal;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
.str-chat__message-notification {
|
|
2
|
-
display: block;
|
|
3
|
-
position: absolute;
|
|
4
|
-
align-self: center;
|
|
5
|
-
padding: var(--str-chat__spacing-1) var(--str-chat__spacing-2);
|
|
6
|
-
bottom: calc(var(--str-chat__spacing-px) * 10);
|
|
7
|
-
z-index: 100;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.str-chat__list-notifications {
|
|
11
|
-
position: relative;
|
|
12
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
@use '../utils';
|
|
2
|
-
|
|
3
|
-
/* Only available in React SDK. */
|
|
4
|
-
.str-chat {
|
|
5
|
-
/* The background color of the component */
|
|
6
|
-
--str-chat__message-notification-background-color: var(--str-chat__primary-color);
|
|
7
|
-
|
|
8
|
-
/* Top border of the component */
|
|
9
|
-
--str-chat__message-notification-border-block-start: none;
|
|
10
|
-
|
|
11
|
-
/* Bottom border of the component */
|
|
12
|
-
--str-chat__message-notification-border-block-end: none;
|
|
13
|
-
|
|
14
|
-
/* Left (right in RTL layout) border of the component */
|
|
15
|
-
--str-chat__message-notification-border-inline-start: none;
|
|
16
|
-
|
|
17
|
-
/* Right (left in RTL layout) border of the component */
|
|
18
|
-
--str-chat__message-notification-border-inline-end: none;
|
|
19
|
-
|
|
20
|
-
/* The border radius used for the borders of the component */
|
|
21
|
-
--str-chat__message-notification-border-radius: 50px;
|
|
22
|
-
|
|
23
|
-
/* Box shadow applied to the component */
|
|
24
|
-
--str-chat__message-notification-box-shadow: none;
|
|
25
|
-
|
|
26
|
-
/* The text/icon color of the component */
|
|
27
|
-
--str-chat__message-notification-color: var(--str-chat__on-primary-color);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.str-chat__message-notification {
|
|
31
|
-
@include utils.component-layer-overrides('message-notification');
|
|
32
|
-
font: var(--str-chat__caption-text);
|
|
33
|
-
cursor: pointer;
|
|
34
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
@use '../utils';
|
|
2
|
-
|
|
3
|
-
.str-chat {
|
|
4
|
-
/* The border radius used for the borders of the component */
|
|
5
|
-
--str-chat__notification-border-radius: var(--str-chat__border-radius-sm);
|
|
6
|
-
|
|
7
|
-
/* The text/icon color of the component */
|
|
8
|
-
--str-chat__notification-color: var(--str-chat__opaque-surface-text-color);
|
|
9
|
-
|
|
10
|
-
/* The background color of the component */
|
|
11
|
-
--str-chat__notification-background-color: var(--str-chat__opaque-surface-background-color);
|
|
12
|
-
|
|
13
|
-
/* Top border of the component */
|
|
14
|
-
--str-chat__notification-border-block-start: none;
|
|
15
|
-
|
|
16
|
-
/* Bottom border of the component */
|
|
17
|
-
--str-chat__notification-border-block-end: none;
|
|
18
|
-
|
|
19
|
-
/* Left (right in RTL layout) border of the component */
|
|
20
|
-
--str-chat__notification-border-inline-start: none;
|
|
21
|
-
|
|
22
|
-
/* Right (left in RTL layout) border of the component */
|
|
23
|
-
--str-chat__notification-border-inline-end: none;
|
|
24
|
-
|
|
25
|
-
/* Box shadow applied to the component */
|
|
26
|
-
--str-chat__notification-box-shadow: 0 0 8px var(--str-chat__box-shadow-color);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.str-chat__notification {
|
|
30
|
-
@include utils.component-layer-overrides('notification');
|
|
31
|
-
font: var(--str-chat__subtitle-text);
|
|
32
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
@use '../utils';
|
|
2
|
-
|
|
3
|
-
.str-chat {
|
|
4
|
-
/* The border radius used for the borders of the component */
|
|
5
|
-
--str-chat__notification-list-border-radius: none;
|
|
6
|
-
|
|
7
|
-
/* The text/icon color of the component */
|
|
8
|
-
--str-chat__notification-list-color: var(--str-chat__notification-list-text-color);
|
|
9
|
-
|
|
10
|
-
/* The background color of the component */
|
|
11
|
-
--str-chat__notification-list-background-color: transparent;
|
|
12
|
-
|
|
13
|
-
/* Top border of the component */
|
|
14
|
-
--str-chat__notification-list-border-block-start: none;
|
|
15
|
-
|
|
16
|
-
/* Bottom border of the component */
|
|
17
|
-
--str-chat__notification-list-border-block-end: none;
|
|
18
|
-
|
|
19
|
-
/* Left (right in RTL layout) border of the component */
|
|
20
|
-
--str-chat__notification-list-border-inline-start: none;
|
|
21
|
-
|
|
22
|
-
/* Right (left in RTL layout) border of the component */
|
|
23
|
-
--str-chat__notification-list-border-inline-end: none;
|
|
24
|
-
|
|
25
|
-
/* Box shadow applied to the component */
|
|
26
|
-
--str-chat__notification-list-box-shadow: none;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.str-chat__list-notifications {
|
|
30
|
-
@include utils.component-layer-overrides('notification-list');
|
|
31
|
-
}
|