Skip to content

Commit be590ae

Browse files
authored
feat: bump to stream-chat-react@12.12.0 stream-chat@8.56.0 react@19 (#109)
1 parent 2c60c63 commit be590ae

11 files changed

Lines changed: 2576 additions & 2298 deletions

File tree

gaming-livestream/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
"@emoji-mart/react": "^1.1.1",
99
"@sentry/react": "^7.56.0",
1010
"emoji-mart": "^5.5.2",
11-
"react": "^18.2.0",
12-
"react-dom": "^18.2.0",
13-
"stream-chat": "^8.52.3",
14-
"stream-chat-react": "^12.10.0"
11+
"react": "^19.0.0",
12+
"react-dom": "^19.0.0",
13+
"stream-chat": "^8.56.0",
14+
"stream-chat-react": "^12.12.0"
1515
},
1616
"devDependencies": {
17-
"@types/react": "^18.2.37",
18-
"@types/react-dom": "^18.2.15",
17+
"@types/react": "^19.0.8",
18+
"@types/react-dom": "^19.0.3",
1919
"react-scripts": "^5.0.1",
2020
"sass": "^1.77.7",
2121
"typescript": "^4.8.4"

gaming-livestream/yarn.lock

Lines changed: 634 additions & 536 deletions
Large diffs are not rendered by default.

social-messenger-ts/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010
"clsx": "^2.1.1",
1111
"emoji-mart": "^5.5.2",
1212
"lodash.debounce": "^4.0.8",
13-
"react": "^18.2.0",
14-
"react-dom": "^18.2.0",
15-
"stream-chat": "^8.52.3",
16-
"stream-chat-react": "^12.10.0"
13+
"react": "^19.0.0",
14+
"react-dom": "^19.0.0",
15+
"stream-chat": "^8.56.0",
16+
"stream-chat-react": "^12.12.0"
1717
},
1818
"devDependencies": {
1919
"@types/jest": "^27.5.2",
2020
"@types/lodash.debounce": "^4.0.7",
21-
"@types/react": "^18.0.21",
22-
"@types/react-dom": "^18.0.6",
21+
"@types/react": "^19.0.8",
22+
"@types/react-dom": "^19.0.3",
2323
"react-scripts": "^5.0.1",
2424
"typescript": "^4.7.4"
2525
},

social-messenger-ts/yarn.lock

Lines changed: 630 additions & 532 deletions
Large diffs are not rendered by default.

team-ts/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@
1515
"clsx": "^1.2.1",
1616
"emoji-mart": "^5.5.2",
1717
"lodash.debounce": "^4.0.8",
18-
"react": "^18.2.0",
19-
"react-dom": "^18.2.0",
18+
"react": "^19.0.0",
19+
"react-dom": "^19.0.0",
2020
"react-dropzone": "^14.2.3",
2121
"react-popper": "^2.3.0",
22-
"stream-chat": "^8.52.3",
23-
"stream-chat-react": "^12.10.0"
22+
"stream-chat": "^8.56.0",
23+
"stream-chat-react": "^12.12.0"
2424
},
2525
"devDependencies": {
2626
"@types/emoji-mart": "^3.0.9",
2727
"@types/jest": "^26.0.22",
2828
"@types/lodash.debounce": "^4.0.7",
29-
"@types/react": "^18.0.21",
30-
"@types/react-dom": "^18.0.6",
29+
"@types/react": "^19.0.8",
30+
"@types/react-dom": "^19.0.3",
3131
"react-scripts": "^5.0.1",
3232
"sass": "^1.77.7",
3333
"typescript": "^4.8.4"

team-ts/src/App.test.tsx

Lines changed: 0 additions & 12 deletions
This file was deleted.

team-ts/yarn.lock

Lines changed: 634 additions & 536 deletions
Large diffs are not rendered by default.

virtual-event/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@
88
"@emoji-mart/react": "^1.1.1",
99
"@sentry/react": "^7.56.0",
1010
"emoji-mart": "^5.5.2",
11-
"framer-motion": "^7.5.0",
11+
"framer-motion": "^12.4.2",
1212
"lottie-web": "^5.9.6",
13-
"react": "^18.2.0",
14-
"react-dom": "^18.2.0",
15-
"stream-chat": "^8.52.3",
16-
"stream-chat-react": "^12.10.0"
13+
"react": "^19.0.0",
14+
"react-dom": "^19.0.0",
15+
"stream-chat": "^8.56.0",
16+
"stream-chat-react": "^12.12.0"
1717
},
1818
"devDependencies": {
1919
"@types/emoji-mart": "^3.0.8",
2020
"@types/node": "^16",
21-
"@types/react": "^18.0.21",
22-
"@types/react-dom": "^18.0.6",
21+
"@types/react": "^19.0.8",
22+
"@types/react-dom": "^19.0.3",
2323
"postcss-normalize": "^10.0.1",
2424
"react-scripts": "^5.0.1",
2525
"sass": "^1.77.7",

virtual-event/src/components/Chat/DMChannelList.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { PropsWithChildren } from 'react';
1+
import React, {PropsWithChildren, ReactNode} from 'react';
22
import type {
33
Channel as StreamChannel,
44
ChannelFilters,
@@ -69,7 +69,7 @@ type PreviewUIProps = ChannelPreviewUIComponentProps & {
6969
};
7070

7171
const PreviewUI = (props: PreviewUIProps) => {
72-
const { channel, displayImage, displayTitle, latestMessage, setDmChannel, unread } = props;
72+
const { channel, displayImage, displayTitle, latestMessagePreview, setDmChannel, unread } = props;
7373

7474
const { client } = useChatContext();
7575

@@ -94,7 +94,7 @@ const PreviewUI = (props: PreviewUIProps) => {
9494
<div>{displayTitle}</div>
9595
<div>{formattedTime}</div>
9696
</div>
97-
<div className={`dm-list-preview-bottom ${unread ? 'unread' : ''}`}>{latestMessage}</div>
97+
<div className={`dm-list-preview-bottom ${unread ? 'unread' : ''}`}>{latestMessagePreview as ReactNode}</div>
9898
</div>
9999
<ClickDMIcon />
100100
</div>

virtual-event/src/components/Chat/utils.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ type EmEmojiProps = {
5151
skin: string;
5252
};
5353

54-
declare global {
54+
declare module "react" {
5555
namespace JSX {
5656
interface IntrinsicElements {
57-
['em-emoji']: CustomElement<EmEmojiProps>;
57+
'em-emoji': CustomElement<EmEmojiProps>;
5858
}
5959
}
6060
}

0 commit comments

Comments
 (0)