Skip to content

Commit

Permalink
chore: bump stream-chat-react to v11.19.0 (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinCupela authored May 24, 2024
1 parent d83b533 commit 9eaf6d8
Show file tree
Hide file tree
Showing 15 changed files with 37 additions and 27 deletions.
2 changes: 1 addition & 1 deletion gaming-livestream/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"react-scripts": "^5.0.1",
"sass": "^1.56.1",
"stream-chat": "^8.30.0",
"stream-chat-react": "^11.16.0"
"stream-chat-react": "^11.19.0"
},
"devDependencies": {
"@types/react": "^18.2.37",
Expand Down
8 changes: 4 additions & 4 deletions gaming-livestream/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9504,10 +9504,10 @@ [email protected]:
resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c"
integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==

stream-chat-react@^11.16.0:
version "11.16.1"
resolved "https://registry.yarnpkg.com/stream-chat-react/-/stream-chat-react-11.16.1.tgz#c0b6bf912c1ddedb27deb7bf1cb7b052255780cc"
integrity sha512-MMmwicl+rI6t8rbp1usMp6gDd/aEWkwyev7O3R0D/9CiQnLTekAUGb5hBo0YslxJf3OaWBpOrgd/JiWx9Hivrg==
stream-chat-react@^11.19.0:
version "11.19.0"
resolved "https://registry.yarnpkg.com/stream-chat-react/-/stream-chat-react-11.19.0.tgz#0280d3f72a28df9c2a94fc00c6f50b5af4812641"
integrity sha512-6TKJtg7xMz6BqE2SYdkiEKAAjNuU600K6I/KWwiiOlNfN+cig9pw8K09M+4ctqW63jK42Ic5MiaS1XPykDs7lQ==
dependencies:
"@babel/runtime" "^7.23.6"
"@braintree/sanitize-url" "^6.0.4"
Expand Down
2 changes: 1 addition & 1 deletion social-messenger-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"react-dom": "^18.2.0",
"react-file-utils": "^1.2.0",
"stream-chat": "^8.30.0",
"stream-chat-react": "^11.16.0"
"stream-chat-react": "^11.19.0"
},
"devDependencies": {
"@types/jest": "^27.5.2",
Expand Down
1 change: 1 addition & 0 deletions social-messenger-ts/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ const App = (props: AppProps) => {
TypingIndicator={() => null}
EmojiPicker={WrappedEmojiPicker}
emojiSearchIndex={SearchIndex}
enrichURLForPreview
>
{isCreating && (
<CreateChannel toggleMobile={toggleMobile} onClose={() => setIsCreating(false)} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const ChannelInner = (props: ChannelInnerProps) => {
<Window>
<MessagingChannelHeader theme={theme} toggleMobile={toggleMobile} />
<MessageList messageActions={actions} />
<MessageInput focus overrideSubmitHandler={overrideSubmitHandler} />
<MessageInput focus overrideSubmitHandler={overrideSubmitHandler} audioRecordingEnabled asyncMessagesMultiSendEnabled />
</Window>
<Thread />
</>
Expand Down
8 changes: 4 additions & 4 deletions social-messenger-ts/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9538,10 +9538,10 @@ [email protected]:
resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c"
integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==

stream-chat-react@^11.16.0:
version "11.16.0"
resolved "https://registry.yarnpkg.com/stream-chat-react/-/stream-chat-react-11.16.0.tgz#525e38ffbbdae328e02898c67b175ddaf9f183c7"
integrity sha512-KLz2Qoiom79k+Q+XILNOQY9lnN0jKSui0unAraLNZEDTt6epzOZWcju2bHQh+IorDisVyEmYwEr+su/L7GUqOg==
stream-chat-react@^11.19.0:
version "11.19.0"
resolved "https://registry.yarnpkg.com/stream-chat-react/-/stream-chat-react-11.19.0.tgz#0280d3f72a28df9c2a94fc00c6f50b5af4812641"
integrity sha512-6TKJtg7xMz6BqE2SYdkiEKAAjNuU600K6I/KWwiiOlNfN+cig9pw8K09M+4ctqW63jK42Ic5MiaS1XPykDs7lQ==
dependencies:
"@babel/runtime" "^7.23.6"
"@braintree/sanitize-url" "^6.0.4"
Expand Down
2 changes: 1 addition & 1 deletion team-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"react-scripts": "^5.0.1",
"sass": "^1.55.0",
"stream-chat": "^8.30.0",
"stream-chat-react": "^11.16.0"
"stream-chat-react": "^11.19.0"
},
"devDependencies": {
"@types/emoji-mart": "^3.0.9",
Expand Down
2 changes: 0 additions & 2 deletions team-ts/src/styles/MessageInput/MessageInput.theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ textarea {
}

&:disabled {
background-color: var(--str-chat__message-send-disabled-background-color);

svg path {
fill: var(--str-chat__message-send-disabled-color);
}
Expand Down
8 changes: 4 additions & 4 deletions team-ts/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9642,10 +9642,10 @@ [email protected]:
resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c"
integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==

stream-chat-react@^11.16.0:
version "11.16.1"
resolved "https://registry.yarnpkg.com/stream-chat-react/-/stream-chat-react-11.16.1.tgz#c0b6bf912c1ddedb27deb7bf1cb7b052255780cc"
integrity sha512-MMmwicl+rI6t8rbp1usMp6gDd/aEWkwyev7O3R0D/9CiQnLTekAUGb5hBo0YslxJf3OaWBpOrgd/JiWx9Hivrg==
stream-chat-react@^11.19.0:
version "11.19.0"
resolved "https://registry.yarnpkg.com/stream-chat-react/-/stream-chat-react-11.19.0.tgz#0280d3f72a28df9c2a94fc00c6f50b5af4812641"
integrity sha512-6TKJtg7xMz6BqE2SYdkiEKAAjNuU600K6I/KWwiiOlNfN+cig9pw8K09M+4ctqW63jK42Ic5MiaS1XPykDs7lQ==
dependencies:
"@babel/runtime" "^7.23.6"
"@braintree/sanitize-url" "^6.0.4"
Expand Down
2 changes: 1 addition & 1 deletion virtual-event/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"react-dom": "^18.2.0",
"sass": "^1.55.0",
"stream-chat": "^8.30.0",
"stream-chat-react": "^11.16.0"
"stream-chat-react": "^11.19.0"
},
"devDependencies": {
"@types/emoji-mart": "^3.0.8",
Expand Down
4 changes: 0 additions & 4 deletions virtual-event/src/components/Chat/EmptyStateIndicators.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ const emptyStateIndicatorContents = ({ chatType, isDmChannel }: { chatType: Chat
};

export const EmptyStateIndicatorChannel = (props: PropsWithChildren<EmptyStateIndicatorProps & { isDmChannel?: boolean }>) => {
const { thread } = useChannelStateContext();

if (thread) return null;

return <EmptyStateIndicators {...props}/>
};

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.str-chat__channel-search {
display: flex;
flex-direction: column;
justify-content: flex-start;

.str-chat__channel-search-result-list.inline {
padding-bottom: 1rem;

.search-result {
padding-block: 0.5rem;
}
}
}
1 change: 1 addition & 0 deletions virtual-event/src/styles/Chat/ChannelSearch/index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import "ChannelSearch.layout";
1 change: 1 addition & 0 deletions virtual-event/src/styles/Chat/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
@import './Attachment';
@import './Channel';
@import './ChannelHeader';
@import './ChannelSearch';
@import './ChatContainer';
@import './ChatSidebar';
@import './DMChannelList';
Expand Down
8 changes: 4 additions & 4 deletions virtual-event/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9227,10 +9227,10 @@ [email protected]:
resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c"
integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==

stream-chat-react@^11.16.0:
version "11.16.1"
resolved "https://registry.yarnpkg.com/stream-chat-react/-/stream-chat-react-11.16.1.tgz#c0b6bf912c1ddedb27deb7bf1cb7b052255780cc"
integrity sha512-MMmwicl+rI6t8rbp1usMp6gDd/aEWkwyev7O3R0D/9CiQnLTekAUGb5hBo0YslxJf3OaWBpOrgd/JiWx9Hivrg==
stream-chat-react@^11.19.0:
version "11.19.0"
resolved "https://registry.yarnpkg.com/stream-chat-react/-/stream-chat-react-11.19.0.tgz#0280d3f72a28df9c2a94fc00c6f50b5af4812641"
integrity sha512-6TKJtg7xMz6BqE2SYdkiEKAAjNuU600K6I/KWwiiOlNfN+cig9pw8K09M+4ctqW63jK42Ic5MiaS1XPykDs7lQ==
dependencies:
"@babel/runtime" "^7.23.6"
"@braintree/sanitize-url" "^6.0.4"
Expand Down

0 comments on commit 9eaf6d8

Please sign in to comment.