stream-chat-react 10.9.0 → 10.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 (169) hide show
  1. package/dist/browser.full-bundle.js +2212 -3323
  2. package/dist/browser.full-bundle.js.map +1 -1
  3. package/dist/browser.full-bundle.min.js +5 -5
  4. package/dist/browser.full-bundle.min.js.map +1 -1
  5. package/dist/components/Attachment/FileAttachment.js +1 -1
  6. package/dist/components/AutoCompleteTextarea/Textarea.d.ts.map +1 -1
  7. package/dist/components/AutoCompleteTextarea/Textarea.js +2 -0
  8. package/dist/components/Channel/Channel.d.ts +16 -4
  9. package/dist/components/Channel/Channel.d.ts.map +1 -1
  10. package/dist/components/Channel/Channel.js +23 -8
  11. package/dist/components/Channel/hooks/useCreateChannelStateContext.d.ts.map +1 -1
  12. package/dist/components/Channel/hooks/useCreateChannelStateContext.js +9 -1
  13. package/dist/components/Channel/hooks/useEditMessageHandler.d.ts +3 -3
  14. package/dist/components/Channel/hooks/useEditMessageHandler.d.ts.map +1 -1
  15. package/dist/components/Channel/hooks/useEditMessageHandler.js +3 -3
  16. package/dist/components/ChannelSearch/index.d.ts +1 -0
  17. package/dist/components/ChannelSearch/index.d.ts.map +1 -1
  18. package/dist/components/MessageInput/AttachmentPreviewList.js +1 -1
  19. package/dist/components/MessageInput/DropzoneProvider.js +1 -1
  20. package/dist/components/MessageInput/EditMessageForm.js +1 -1
  21. package/dist/components/MessageInput/LinkPreviewList.d.ts +6 -0
  22. package/dist/components/MessageInput/LinkPreviewList.d.ts.map +1 -0
  23. package/dist/components/MessageInput/LinkPreviewList.js +34 -0
  24. package/dist/components/MessageInput/MessageInput.d.ts +6 -3
  25. package/dist/components/MessageInput/MessageInput.d.ts.map +1 -1
  26. package/dist/components/MessageInput/MessageInputFlat.d.ts.map +1 -1
  27. package/dist/components/MessageInput/MessageInputFlat.js +14 -12
  28. package/dist/components/MessageInput/MessageInputSmall.js +1 -1
  29. package/dist/components/MessageInput/UploadsPreview.js +1 -1
  30. package/dist/components/MessageInput/hooks/useAttachments.d.ts +1 -1
  31. package/dist/components/MessageInput/hooks/useAttachments.d.ts.map +1 -1
  32. package/dist/components/MessageInput/hooks/useCreateMessageInputContext.d.ts.map +1 -1
  33. package/dist/components/MessageInput/hooks/useCreateMessageInputContext.js +10 -1
  34. package/dist/components/MessageInput/hooks/useFileState.d.ts +1 -1
  35. package/dist/components/MessageInput/hooks/useFileState.d.ts.map +1 -1
  36. package/dist/components/MessageInput/hooks/useLinkPreviews.d.ts +31 -0
  37. package/dist/components/MessageInput/hooks/useLinkPreviews.d.ts.map +1 -0
  38. package/dist/components/MessageInput/hooks/useLinkPreviews.js +120 -0
  39. package/dist/components/MessageInput/hooks/useMessageInputState.d.ts +36 -36
  40. package/dist/components/MessageInput/hooks/useMessageInputState.d.ts.map +1 -1
  41. package/dist/components/MessageInput/hooks/useMessageInputState.js +51 -13
  42. package/dist/components/MessageInput/hooks/useMessageInputText.d.ts +2 -1
  43. package/dist/components/MessageInput/hooks/useMessageInputText.d.ts.map +1 -1
  44. package/dist/components/MessageInput/hooks/useMessageInputText.js +3 -2
  45. package/dist/components/MessageInput/hooks/usePasteHandler.d.ts +3 -2
  46. package/dist/components/MessageInput/hooks/usePasteHandler.d.ts.map +1 -1
  47. package/dist/components/MessageInput/hooks/usePasteHandler.js +5 -2
  48. package/dist/components/MessageInput/hooks/useSubmitHandler.d.ts +2 -1
  49. package/dist/components/MessageInput/hooks/useSubmitHandler.d.ts.map +1 -1
  50. package/dist/components/MessageInput/hooks/useSubmitHandler.js +38 -7
  51. package/dist/components/MessageInput/hooks/utils.d.ts +1 -1
  52. package/dist/components/MessageInput/hooks/utils.d.ts.map +1 -1
  53. package/dist/components/MessageInput/icons.d.ts +1 -0
  54. package/dist/components/MessageInput/icons.d.ts.map +1 -1
  55. package/dist/components/MessageInput/icons.js +2 -0
  56. package/dist/components/MessageInput/index.d.ts +1 -0
  57. package/dist/components/MessageInput/index.d.ts.map +1 -1
  58. package/dist/components/MessageInput/index.js +1 -0
  59. package/dist/components/MessageInput/types.d.ts +57 -0
  60. package/dist/components/MessageInput/types.d.ts.map +1 -0
  61. package/dist/components/MessageInput/types.js +19 -0
  62. package/dist/components/MessageList/VirtualizedMessageList.d.ts +3 -1
  63. package/dist/components/MessageList/VirtualizedMessageList.d.ts.map +1 -1
  64. package/dist/components/MessageList/VirtualizedMessageList.js +1 -1
  65. package/dist/components/ReactFileUtilities/FileIcon/FileIcon.d.ts +15 -0
  66. package/dist/components/ReactFileUtilities/FileIcon/FileIcon.d.ts.map +1 -0
  67. package/dist/components/ReactFileUtilities/FileIcon/FileIcon.js +49 -0
  68. package/dist/components/ReactFileUtilities/FileIcon/FileIconSet/v1.d.ts +23 -0
  69. package/dist/components/ReactFileUtilities/FileIcon/FileIconSet/v1.d.ts.map +1 -0
  70. package/dist/components/ReactFileUtilities/FileIcon/FileIconSet/v1.js +83 -0
  71. package/dist/components/ReactFileUtilities/FileIcon/FileIconSet/v2.d.ts +25 -0
  72. package/dist/components/ReactFileUtilities/FileIcon/FileIconSet/v2.d.ts.map +1 -0
  73. package/dist/components/ReactFileUtilities/FileIcon/FileIconSet/v2.js +194 -0
  74. package/dist/components/ReactFileUtilities/FileIcon/iconMap.d.ts +19 -0
  75. package/dist/components/ReactFileUtilities/FileIcon/iconMap.d.ts.map +1 -0
  76. package/dist/components/ReactFileUtilities/FileIcon/iconMap.js +96 -0
  77. package/dist/components/ReactFileUtilities/FileIcon/index.d.ts +2 -0
  78. package/dist/components/ReactFileUtilities/FileIcon/index.d.ts.map +1 -0
  79. package/dist/components/ReactFileUtilities/FileIcon/index.js +1 -0
  80. package/dist/components/ReactFileUtilities/FileIcon/mimeTypes.d.ts +8 -0
  81. package/dist/components/ReactFileUtilities/FileIcon/mimeTypes.d.ts.map +1 -0
  82. package/dist/components/ReactFileUtilities/FileIcon/mimeTypes.js +146 -0
  83. package/dist/components/ReactFileUtilities/FilePreviewer.d.ts +14 -0
  84. package/dist/components/ReactFileUtilities/FilePreviewer.d.ts.map +1 -0
  85. package/dist/components/ReactFileUtilities/FilePreviewer.js +31 -0
  86. package/dist/components/ReactFileUtilities/FileUploadButton.d.ts +13 -0
  87. package/dist/components/ReactFileUtilities/FileUploadButton.d.ts.map +1 -0
  88. package/dist/components/ReactFileUtilities/FileUploadButton.js +17 -0
  89. package/dist/components/ReactFileUtilities/IconButton.d.ts +9 -0
  90. package/dist/components/ReactFileUtilities/IconButton.d.ts.map +1 -0
  91. package/dist/components/ReactFileUtilities/IconButton.js +8 -0
  92. package/dist/components/ReactFileUtilities/ImageDropzone.d.ts +17 -0
  93. package/dist/components/ReactFileUtilities/ImageDropzone.d.ts.map +1 -0
  94. package/dist/components/ReactFileUtilities/ImageDropzone.js +53 -0
  95. package/dist/components/ReactFileUtilities/ImagePreviewer.d.ts +21 -0
  96. package/dist/components/ReactFileUtilities/ImagePreviewer.d.ts.map +1 -0
  97. package/dist/components/ReactFileUtilities/ImagePreviewer.js +24 -0
  98. package/dist/components/ReactFileUtilities/ImageUploadButton.d.ts +12 -0
  99. package/dist/components/ReactFileUtilities/ImageUploadButton.d.ts.map +1 -0
  100. package/dist/components/ReactFileUtilities/ImageUploadButton.js +13 -0
  101. package/dist/components/ReactFileUtilities/LoadingIndicator.d.ts +8 -0
  102. package/dist/components/ReactFileUtilities/LoadingIndicator.d.ts.map +1 -0
  103. package/dist/components/ReactFileUtilities/LoadingIndicator.js +12 -0
  104. package/dist/components/ReactFileUtilities/Thumbnail.d.ts +10 -0
  105. package/dist/components/ReactFileUtilities/Thumbnail.d.ts.map +1 -0
  106. package/dist/components/ReactFileUtilities/Thumbnail.js +11 -0
  107. package/dist/components/ReactFileUtilities/ThumbnailPlaceholder.d.ts +6 -0
  108. package/dist/components/ReactFileUtilities/ThumbnailPlaceholder.d.ts.map +1 -0
  109. package/dist/components/ReactFileUtilities/ThumbnailPlaceholder.js +9 -0
  110. package/dist/components/ReactFileUtilities/UploadButton.d.ts +7 -0
  111. package/dist/components/ReactFileUtilities/UploadButton.d.ts.map +1 -0
  112. package/dist/components/ReactFileUtilities/UploadButton.js +29 -0
  113. package/dist/components/ReactFileUtilities/icons/AttachmentIcon.d.ts +5 -0
  114. package/dist/components/ReactFileUtilities/icons/AttachmentIcon.d.ts.map +1 -0
  115. package/dist/components/ReactFileUtilities/icons/AttachmentIcon.js +7 -0
  116. package/dist/components/ReactFileUtilities/icons/CloseIcon.d.ts +2 -0
  117. package/dist/components/ReactFileUtilities/icons/CloseIcon.d.ts.map +1 -0
  118. package/dist/components/ReactFileUtilities/icons/CloseIcon.js +11 -0
  119. package/dist/components/ReactFileUtilities/icons/FilePlaceholderIcon.d.ts +3 -0
  120. package/dist/components/ReactFileUtilities/icons/FilePlaceholderIcon.d.ts.map +1 -0
  121. package/dist/components/ReactFileUtilities/icons/FilePlaceholderIcon.js +16 -0
  122. package/dist/components/ReactFileUtilities/icons/PictureIcon.d.ts +5 -0
  123. package/dist/components/ReactFileUtilities/icons/PictureIcon.d.ts.map +1 -0
  124. package/dist/components/ReactFileUtilities/icons/PictureIcon.js +6 -0
  125. package/dist/components/ReactFileUtilities/icons/RetryIcon.d.ts +2 -0
  126. package/dist/components/ReactFileUtilities/icons/RetryIcon.d.ts.map +1 -0
  127. package/dist/components/ReactFileUtilities/icons/RetryIcon.js +3 -0
  128. package/dist/components/ReactFileUtilities/icons/index.d.ts +6 -0
  129. package/dist/components/ReactFileUtilities/icons/index.d.ts.map +1 -0
  130. package/dist/components/ReactFileUtilities/icons/index.js +5 -0
  131. package/dist/components/ReactFileUtilities/index.d.ts +14 -0
  132. package/dist/components/ReactFileUtilities/index.d.ts.map +1 -0
  133. package/dist/components/ReactFileUtilities/index.js +13 -0
  134. package/dist/components/ReactFileUtilities/types.d.ts +31 -0
  135. package/dist/components/ReactFileUtilities/types.d.ts.map +1 -0
  136. package/dist/components/ReactFileUtilities/types.js +1 -0
  137. package/dist/components/ReactFileUtilities/utils.d.ts +5 -0
  138. package/dist/components/ReactFileUtilities/utils.d.ts.map +1 -0
  139. package/dist/components/ReactFileUtilities/utils.js +157 -0
  140. package/dist/context/ChannelActionContext.d.ts +3 -3
  141. package/dist/context/ChannelActionContext.d.ts.map +1 -1
  142. package/dist/context/ChannelStateContext.d.ts +6 -1
  143. package/dist/context/ChannelStateContext.d.ts.map +1 -1
  144. package/dist/context/ComponentContext.d.ts +3 -0
  145. package/dist/context/ComponentContext.d.ts.map +1 -1
  146. package/dist/context/MessageInputContext.d.ts +22 -1
  147. package/dist/context/MessageInputContext.d.ts.map +1 -1
  148. package/dist/css/index.css +1 -1
  149. package/dist/css/index.css.map +1 -1
  150. package/dist/css/v2/index.css +1 -1
  151. package/dist/css/v2/index.css.map +1 -1
  152. package/dist/css/v2/index.layout.css +1 -1
  153. package/dist/css/v2/index.layout.css.map +1 -1
  154. package/dist/index.cjs.js +27297 -26274
  155. package/dist/index.cjs.js.map +1 -1
  156. package/dist/scss/_base.scss +17 -0
  157. package/dist/scss/v2/Autocomplete/Autocomplete-layout.scss +1 -0
  158. package/dist/scss/v2/LinkPreview/LinkPreview-layout.scss +49 -0
  159. package/dist/scss/v2/LinkPreview/LinkPreview-theme.scss +17 -0
  160. package/dist/scss/v2/LinkPreview/index.scss +2 -0
  161. package/dist/scss/v2/_base.scss +17 -0
  162. package/dist/scss/v2/index.layout.scss +1 -0
  163. package/dist/scss/v2/index.scss +1 -0
  164. package/dist/types/types.d.ts +12 -0
  165. package/dist/types/types.d.ts.map +1 -1
  166. package/dist/version.d.ts +1 -1
  167. package/dist/version.d.ts.map +1 -1
  168. package/dist/version.js +1 -1
  169. package/package.json +8 -9
@@ -20,6 +20,23 @@
20
20
  display: none !important;
21
21
  }
22
22
  }
23
+
24
+ // Quick fix for: https://github.com/tonysamperi/ngx-popperjs/issues/52
25
+ &.google-chrome {
26
+ popper-content {
27
+ .ngxp__container {
28
+ display: block !important;
29
+ position: absolute;
30
+ right: 0;
31
+ bottom: 0;
32
+ opacity: 0;
33
+
34
+ &[aria-hidden="true"] {
35
+ visibility: hidden;
36
+ }
37
+ }
38
+ }
39
+ }
23
40
  }
24
41
 
25
42
  .clearfix {
@@ -20,6 +20,7 @@
20
20
  padding: var(--str-chat__spacing-2) 0;
21
21
 
22
22
  .str-chat__suggestion-list {
23
+ overflow-y: auto;
23
24
  max-height: calc(var(--str-chat__spacing-px) * 320);
24
25
 
25
26
  display: flex;
@@ -0,0 +1,49 @@
1
+ @use '../utils';
2
+
3
+ .str-chat__link-preview-list {
4
+ display: flex;
5
+ flex-direction: column;
6
+ align-items: center;
7
+ gap: 0.75rem;
8
+ width: 100%;
9
+ margin-bottom: 0.75rem;
10
+ padding-inline: 0.75rem;
11
+ }
12
+
13
+ .str-chat__link-preview-card {
14
+ width: 100%;
15
+ min-width: 0;
16
+ display: flex;
17
+ align-items: center;
18
+ justify-content: space-around;
19
+ gap: 1rem;
20
+
21
+ .str-chat__tooltip {
22
+ @include utils.ellipsis-text();
23
+ display: block;
24
+ max-width: calc(var(--str-chat__spacing-px) * 250);
25
+ padding-inline: 0.5rem;
26
+ }
27
+
28
+ .str-chat__link-preview-card__icon-container {
29
+ display: flex;
30
+ align-items: center;
31
+ }
32
+
33
+ .str-chat__link-preview-card__content {
34
+ width: 100%;
35
+ min-width: 0;
36
+ flex: 1;
37
+ padding-inline: 0.5rem;
38
+
39
+ .str-chat__link-preview-card__content-title,
40
+ .str-chat__link-preview-card__content-description {
41
+ @include utils.ellipsis-text();
42
+ }
43
+ }
44
+
45
+ .str-chat__link-preview-card__dismiss-button {
46
+ @include utils.button-reset;
47
+ cursor: pointer;
48
+ }
49
+ }
@@ -0,0 +1,17 @@
1
+ .str-chat__link-preview-card {
2
+ .str-chat__link-preview-card__content {
3
+ border-left: 2px solid var(--str-chat__primary-color);
4
+
5
+ .str-chat__link-preview-card__content-title {
6
+ font: var(--str-chat__body-medium-text);
7
+ }
8
+
9
+ .str-chat__link-preview-card__content-description {
10
+ font: var(--str-chat__caption-text);
11
+ }
12
+ }
13
+
14
+ .str-chat__link-preview-card__dismiss-button svg path {
15
+ fill: var(--str-chat__text-low-emphasis-color);
16
+ }
17
+ }
@@ -0,0 +1,2 @@
1
+ @import "LinkPreview-layout";
2
+ @import "LinkPreview-theme";
@@ -18,6 +18,23 @@
18
18
  display: none !important;
19
19
  }
20
20
  }
21
+
22
+ // Quick fix for: https://github.com/tonysamperi/ngx-popperjs/issues/52
23
+ &.google-chrome {
24
+ popper-content {
25
+ .ngxp__container {
26
+ display: block !important;
27
+ position: absolute;
28
+ right: 0;
29
+ bottom: 0;
30
+ opacity: 0;
31
+
32
+ &[aria-hidden="true"] {
33
+ visibility: hidden;
34
+ }
35
+ }
36
+ }
37
+ }
21
38
  }
22
39
 
23
40
  // Fixes icon sizing problem in Angular SDK
@@ -15,6 +15,7 @@
15
15
  @use 'common/CircleFAButton/CircleFAButton-layout';
16
16
  @use 'EditMessageForm/EditMessageForm-layout';
17
17
  @use 'ImageCarousel/ImageCarousel-layout';
18
+ @use 'LinkPreview/LinkPreview-layout';
18
19
  @use 'LoadingIndicator/LoadingIndicator-layout';
19
20
  @use 'Message/Message-layout';
20
21
  @use 'MessageActionsBox/MessageActionsBox-layout';
@@ -18,6 +18,7 @@
18
18
  @use 'ChannelSearch/ChannelSearch-theme';
19
19
  @use 'EditMessageForm/EditMessageForm-theme';
20
20
  @use 'ImageCarousel/ImageCarousel-theme';
21
+ @use 'LinkPreview/LinkPreview-theme';
21
22
  @use 'LoadingIndicator/LoadingIndicator-theme';
22
23
  @use 'Message/Message-theme';
23
24
  @use 'MessageActionsBox/MessageActionsBox-theme';
@@ -88,4 +88,16 @@ export declare type VideoAttachmentConfiguration = ImageAttachmentConfiguration
88
88
  };
89
89
  export declare type ImageAttachmentSizeHandler = (attachment: Attachment, element: HTMLElement) => ImageAttachmentConfiguration;
90
90
  export declare type VideoAttachmentSizeHandler = (attachment: Attachment, element: HTMLElement, shouldGenerateVideoThumbnail: boolean) => VideoAttachmentConfiguration;
91
+ export declare type SendMessageOptions = {
92
+ force_moderation?: boolean;
93
+ is_pending_message?: boolean;
94
+ keep_channel_hidden?: boolean;
95
+ pending?: boolean;
96
+ pending_message_metadata?: Record<string, string>;
97
+ skip_enrich_url?: boolean;
98
+ skip_push?: boolean;
99
+ };
100
+ export declare type UpdateMessageOptions = {
101
+ skip_enrich_url?: boolean;
102
+ };
91
103
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,iBAAiB,EACjB,KAAK,EACL,kBAAkB,EAClB,qBAAqB,EACrB,IAAI,EACL,MAAM,aAAa,CAAC;AAErB,oBAAY,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAClD,oBAAY,qBAAqB,GAAG,iBAAiB,CAAC,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;AAE5E,oBAAY,aAAa,GAAG;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG;QACb,cAAc,EAAE,WAAW,CAAC;QAC5B,IAAI,EAAE,WAAW,CAAC;KACnB,CAAC;CACH,CAAC;AAEF,oBAAY,iBAAiB,GAAG,eAAe,GAAG,cAAc,CAAC;AAEjE,oBAAY,qBAAqB,GAAG,WAAW,GAAG;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,KAAK,CAAC;QACb,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC,CAAC;CACJ,CAAC;AAEF,oBA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10.0";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,YAAY,CAAC"}
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export var version = '10.9.0';
1
+ export var version = '10.10.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stream-chat-react",
3
- "version": "10.9.0",
3
+ "version": "10.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/",
@@ -28,10 +28,10 @@
28
28
  "getstream.io"
29
29
  ],
30
30
  "dependencies": {
31
- "@braintree/sanitize-url": "^6.0.2",
31
+ "@braintree/sanitize-url": "^6.0.4",
32
32
  "@popperjs/core": "^2.11.5",
33
- "@stream-io/stream-chat-css": "^3.11.0",
34
- "clsx": "^1.1.1",
33
+ "@stream-io/stream-chat-css": "^3.13.0",
34
+ "clsx": "^2.0.0",
35
35
  "dayjs": "^1.10.4",
36
36
  "emoji-mart": "3.0.1",
37
37
  "emoji-regex": "^9.2.0",
@@ -42,15 +42,14 @@
42
42
  "lodash.debounce": "^4.0.8",
43
43
  "lodash.throttle": "^4.1.1",
44
44
  "lodash.uniqby": "^4.7.0",
45
- "nanoid": "^3.3.4",
45
+ "nanoid": "^4.0.2",
46
46
  "pretty-bytes": "^5.4.1",
47
47
  "prop-types": "^15.7.2",
48
- "react-dropzone": "^14.2.2",
49
- "react-fast-compare": "^3.2.0",
50
- "react-file-utils": "^1.2.0",
48
+ "react-dropzone": "^14.2.3",
49
+ "react-fast-compare": "^3.2.2",
51
50
  "react-image-gallery": "1.2.12",
52
51
  "react-is": "^18.1.0",
53
- "react-markdown": "^8.0.3",
52
+ "react-markdown": "^8.0.7",
54
53
  "react-player": "2.10.1",
55
54
  "react-popper": "^2.3.0",
56
55
  "react-textarea-autosize": "^8.3.0",