stream-chat-react 12.9.0 → 12.10.0

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.
Files changed (43) hide show
  1. package/dist/components/Attachment/components/WaveProgressBar.js +1 -1
  2. package/dist/components/Attachment/hooks/useAudioController.d.ts +1 -1
  3. package/dist/components/Attachment/hooks/useAudioController.js +1 -1
  4. package/dist/components/AutoCompleteTextarea/Textarea.js +0 -4
  5. package/dist/components/AutoCompleteTextarea/utils.js +1 -5
  6. package/dist/components/Channel/Channel.js +3 -2
  7. package/dist/components/Channel/channelState.d.ts +1 -3
  8. package/dist/components/Channel/channelState.js +1 -1
  9. package/dist/components/Channel/hooks/useIsMounted.d.ts +1 -1
  10. package/dist/components/ChannelList/hooks/useChannelListShape.js +2 -2
  11. package/dist/components/ChannelList/hooks/useMobileNavigation.d.ts +1 -1
  12. package/dist/components/ChannelList/hooks/usePaginatedChannels.js +1 -1
  13. package/dist/components/ChannelSearch/SearchBar.d.ts +1 -1
  14. package/dist/components/ChannelSearch/SearchInput.d.ts +1 -1
  15. package/dist/components/ChannelSearch/hooks/useChannelSearch.js +1 -1
  16. package/dist/components/Chat/hooks/useChat.js +1 -1
  17. package/dist/components/Gallery/BaseImage.d.ts +1 -3
  18. package/dist/components/Gallery/Gallery.js +10 -2
  19. package/dist/components/Gallery/ModalGallery.js +5 -4
  20. package/dist/components/InfiniteScrollPaginator/InfiniteScroll.js +4 -4
  21. package/dist/components/MessageActions/hooks/useMessageActionsBoxPopper.d.ts +1 -1
  22. package/dist/components/MessageInput/hooks/useMessageInputText.d.ts +1 -1
  23. package/dist/components/MessageInput/hooks/useMessageInputText.js +2 -2
  24. package/dist/components/MessageInput/hooks/useTimeElapsed.js +1 -1
  25. package/dist/components/MessageList/MessageList.js +0 -1
  26. package/dist/components/MessageList/VirtualizedMessageList.d.ts +1 -1
  27. package/dist/components/MessageList/VirtualizedMessageList.js +2 -2
  28. package/dist/components/MessageList/hooks/MessageList/useMessageListScrollManager.js +1 -1
  29. package/dist/components/MessageList/hooks/VirtualizedMessageList/useMessageSetKey.js +1 -1
  30. package/dist/components/MessageList/hooks/VirtualizedMessageList/useNewMessageNotification.d.ts +1 -1
  31. package/dist/components/MessageList/hooks/VirtualizedMessageList/usePrependMessagesCount.js +2 -2
  32. package/dist/components/MessageList/hooks/VirtualizedMessageList/useScrollToBottomOnNewMessage.js +1 -1
  33. package/dist/components/MessageList/hooks/useMarkRead.d.ts +2 -4
  34. package/dist/components/MessageList/hooks/useMarkRead.js +14 -16
  35. package/dist/context/VirtualizedMessageListContext.d.ts +13 -0
  36. package/dist/context/VirtualizedMessageListContext.js +7 -0
  37. package/dist/experimental/index.browser.cjs.map +2 -2
  38. package/dist/experimental/index.node.cjs.map +2 -2
  39. package/dist/index.browser.cjs +572 -178
  40. package/dist/index.browser.cjs.map +4 -4
  41. package/dist/index.node.cjs +836 -197
  42. package/dist/index.node.cjs.map +4 -4
  43. package/package.json +12 -15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stream-chat-react",
3
- "version": "12.9.0",
3
+ "version": "12.10.0",
4
4
  "description": "React components to create chat conversations or livestream style chat",
5
5
  "author": "GetStream",
6
6
  "homepage": "https://getstream.io/chat/",
@@ -122,7 +122,6 @@
122
122
  "react-dropzone": "^14.2.3",
123
123
  "react-fast-compare": "^3.2.2",
124
124
  "react-image-gallery": "1.2.12",
125
- "react-is": "^18.1.0",
126
125
  "react-markdown": "^8.0.7",
127
126
  "react-player": "2.10.1",
128
127
  "react-popper": "^2.3.0",
@@ -144,8 +143,8 @@
144
143
  "@emoji-mart/data": "^1.1.0",
145
144
  "@emoji-mart/react": "^1.1.0",
146
145
  "emoji-mart": "^5.4.0",
147
- "react": "^18.0.0 || ^17.0.0 || ^16.8.0",
148
- "react-dom": "^18.0.0 || ^17.0.0 || ^16.8.0",
146
+ "react": "^19.0.0 || ^18.0.0 || ^17.0.0 || ^16.8.0",
147
+ "react-dom": "^19.0.0 || ^18.0.0 || ^17.0.0 || ^16.8.0",
149
148
  "stream-chat": "^8.50.0"
150
149
  },
151
150
  "peerDependenciesMeta": {
@@ -189,12 +188,12 @@
189
188
  "@semantic-release/git": "^10.0.1",
190
189
  "@stream-io/rollup-plugin-node-builtins": "^2.1.5",
191
190
  "@stream-io/stream-chat-css": "^5.6.0",
192
- "@testing-library/jest-dom": "^6.1.4",
193
- "@testing-library/react": "^13.1.1",
194
- "@testing-library/react-hooks": "^8.0.0",
191
+ "@testing-library/jest-dom": "^6.6.3",
192
+ "@testing-library/react": "^16.2.0",
195
193
  "@types/deep-equal": "^1.0.1",
196
194
  "@types/dotenv": "^8.2.0",
197
195
  "@types/hast": "^2.3.4",
196
+ "@types/jest": "^29.5.14",
198
197
  "@types/jsdom": "^21.1.5",
199
198
  "@types/linkifyjs": "^2.1.3",
200
199
  "@types/lodash.debounce": "^4.0.7",
@@ -203,10 +202,9 @@
203
202
  "@types/lodash.throttle": "^4.1.7",
204
203
  "@types/lodash.uniqby": "^4.7.7",
205
204
  "@types/moment": "^2.13.0",
206
- "@types/react": "^18.2.55",
207
- "@types/react-dom": "^18.2.19",
205
+ "@types/react": "^19.0.7",
206
+ "@types/react-dom": "^19.0.3",
208
207
  "@types/react-image-gallery": "^1.2.4",
209
- "@types/react-is": "^18.2.4",
210
208
  "@types/textarea-caret": "3.0.0",
211
209
  "@types/use-sync-external-store": "^0.0.6",
212
210
  "@types/uuid": "^8.3.0",
@@ -250,17 +248,16 @@
250
248
  "i18next-parser": "^6.0.0",
251
249
  "jest": "^29.7.0",
252
250
  "jest-axe": "^8.0.0",
253
- "jest-environment-jsdom": "^28.1.3",
251
+ "jest-environment-jsdom": "^29.7.0",
254
252
  "jsdom": "^24.1.1",
255
253
  "lint-staged": "^15.2.1",
256
254
  "moment-timezone": "^0.5.43",
257
255
  "prettier": "^2.2.0",
258
- "react": "^18.1.0",
259
- "react-dom": "^18.1.0",
260
- "react-test-renderer": "^18.1.0",
256
+ "react": "^19.0.0",
257
+ "react-dom": "^19.0.0",
261
258
  "semantic-release": "^19.0.5",
262
259
  "stream-chat": "^8.50.0",
263
- "ts-jest": "^29.1.4",
260
+ "ts-jest": "^29.2.5",
264
261
  "typescript": "^5.4.5"
265
262
  },
266
263
  "scripts": {