stream-chat-react 11.10.0 → 11.12.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 (134) hide show
  1. package/dist/{Window-7d524c3b.js → Window-e8323a54.js} +357 -74
  2. package/dist/browser.full-bundle.js +466 -147
  3. package/dist/browser.full-bundle.js.map +1 -1
  4. package/dist/browser.full-bundle.min.js +4 -4
  5. package/dist/browser.full-bundle.min.js.map +1 -1
  6. package/dist/components/Attachment/Attachment.d.ts +6 -1
  7. package/dist/components/Attachment/Attachment.d.ts.map +1 -1
  8. package/dist/components/Attachment/Attachment.js +8 -2
  9. package/dist/components/Attachment/AttachmentContainer.d.ts +1 -0
  10. package/dist/components/Attachment/AttachmentContainer.d.ts.map +1 -1
  11. package/dist/components/Attachment/AttachmentContainer.js +7 -0
  12. package/dist/components/Attachment/Audio.d.ts +0 -10
  13. package/dist/components/Attachment/Audio.d.ts.map +1 -1
  14. package/dist/components/Attachment/Audio.js +1 -14
  15. package/dist/components/Attachment/Card.d.ts.map +1 -1
  16. package/dist/components/Attachment/Card.js +1 -1
  17. package/dist/components/Attachment/FileAttachment.d.ts.map +1 -1
  18. package/dist/components/Attachment/FileAttachment.js +1 -2
  19. package/dist/components/Attachment/VoiceRecording.d.ts +18 -0
  20. package/dist/components/Attachment/VoiceRecording.d.ts.map +1 -0
  21. package/dist/components/Attachment/VoiceRecording.js +45 -0
  22. package/dist/components/Attachment/components/DownloadButton.d.ts.map +1 -0
  23. package/dist/components/Attachment/{DownloadButton.js → components/DownloadButton.js} +2 -2
  24. package/dist/components/Attachment/components/FileSizeIndicator.d.ts +13 -0
  25. package/dist/components/Attachment/components/FileSizeIndicator.d.ts.map +1 -0
  26. package/dist/components/Attachment/{FileSizeIndicator.js → components/FileSizeIndicator.js} +2 -2
  27. package/dist/components/Attachment/components/PlayButton.d.ts +8 -0
  28. package/dist/components/Attachment/components/PlayButton.d.ts.map +1 -0
  29. package/dist/components/Attachment/components/PlayButton.js +6 -0
  30. package/dist/components/Attachment/components/PlaybackRateButton.d.ts +4 -0
  31. package/dist/components/Attachment/components/PlaybackRateButton.d.ts.map +1 -0
  32. package/dist/components/Attachment/components/PlaybackRateButton.js +5 -0
  33. package/dist/components/Attachment/components/ProgressBar.d.ts +7 -0
  34. package/dist/components/Attachment/components/ProgressBar.d.ts.map +1 -0
  35. package/dist/components/Attachment/components/ProgressBar.js +8 -0
  36. package/dist/components/Attachment/components/WaveProgressBar.d.ts +22 -0
  37. package/dist/components/Attachment/components/WaveProgressBar.d.ts.map +1 -0
  38. package/dist/components/Attachment/components/WaveProgressBar.js +121 -0
  39. package/dist/components/Attachment/components/index.d.ts +7 -0
  40. package/dist/components/Attachment/components/index.d.ts.map +1 -0
  41. package/dist/components/Attachment/components/index.js +6 -0
  42. package/dist/components/Attachment/hooks/useAudioController.d.ts +12 -2
  43. package/dist/components/Attachment/hooks/useAudioController.d.ts.map +1 -1
  44. package/dist/components/Attachment/hooks/useAudioController.js +60 -25
  45. package/dist/components/Attachment/index.d.ts +1 -0
  46. package/dist/components/Attachment/index.d.ts.map +1 -1
  47. package/dist/components/Attachment/index.js +1 -0
  48. package/dist/components/Attachment/utils.d.ts +4 -2
  49. package/dist/components/Attachment/utils.d.ts.map +1 -1
  50. package/dist/components/Attachment/utils.js +14 -0
  51. package/dist/components/Channel/Channel.d.ts +2 -0
  52. package/dist/components/Channel/Channel.d.ts.map +1 -1
  53. package/dist/components/Channel/Channel.js +1 -0
  54. package/dist/components/Chat/hooks/useCreateChatClient.d.ts +10 -0
  55. package/dist/components/Chat/hooks/useCreateChatClient.d.ts.map +1 -0
  56. package/dist/components/Chat/hooks/useCreateChatClient.js +31 -0
  57. package/dist/components/Chat/index.d.ts +1 -0
  58. package/dist/components/Chat/index.d.ts.map +1 -1
  59. package/dist/components/Chat/index.js +1 -0
  60. package/dist/components/Emojis/index.cjs.js +3 -3
  61. package/dist/components/Gallery/BaseImage.js +1 -1
  62. package/dist/components/InfiniteScrollPaginator/InfiniteScroll.d.ts.map +1 -1
  63. package/dist/components/InfiniteScrollPaginator/InfiniteScroll.js +2 -1
  64. package/dist/components/Message/MessageEditedTimestamp.d.ts +8 -0
  65. package/dist/components/Message/MessageEditedTimestamp.d.ts.map +1 -0
  66. package/dist/components/Message/MessageEditedTimestamp.js +22 -0
  67. package/dist/components/Message/MessageSimple.d.ts.map +1 -1
  68. package/dist/components/Message/MessageSimple.js +13 -3
  69. package/dist/components/Message/MessageTimestamp.d.ts +1 -1
  70. package/dist/components/Message/MessageTimestamp.d.ts.map +1 -1
  71. package/dist/components/Message/MessageTimestamp.js +8 -13
  72. package/dist/components/Message/QuotedMessage.d.ts.map +1 -1
  73. package/dist/components/Message/QuotedMessage.js +1 -1
  74. package/dist/components/Message/Timestamp.d.ts +10 -0
  75. package/dist/components/Message/Timestamp.d.ts.map +1 -0
  76. package/dist/components/Message/Timestamp.js +24 -0
  77. package/dist/components/Message/renderText/index.d.ts +1 -1
  78. package/dist/components/Message/renderText/index.d.ts.map +1 -1
  79. package/dist/components/Message/utils.d.ts +1 -0
  80. package/dist/components/Message/utils.d.ts.map +1 -1
  81. package/dist/components/Message/utils.js +1 -0
  82. package/dist/components/MessageInput/QuotedMessagePreview.d.ts.map +1 -1
  83. package/dist/components/MessageInput/QuotedMessagePreview.js +1 -1
  84. package/dist/components/MessageList/MessageList.d.ts +1 -1
  85. package/dist/components/MessageList/MessageList.d.ts.map +1 -1
  86. package/dist/components/MessageList/MessageList.js +12 -13
  87. package/dist/components/MessageList/VirtualizedMessageListComponents.d.ts.map +1 -1
  88. package/dist/components/MessageList/VirtualizedMessageListComponents.js +11 -6
  89. package/dist/components/MessageList/utils.d.ts.map +1 -1
  90. package/dist/components/MessageList/utils.js +5 -2
  91. package/dist/components/index.d.ts +2 -1
  92. package/dist/components/index.d.ts.map +1 -1
  93. package/dist/constants/limits.d.ts +1 -0
  94. package/dist/constants/limits.d.ts.map +1 -1
  95. package/dist/constants/limits.js +1 -0
  96. package/dist/context/ComponentContext.d.ts +2 -0
  97. package/dist/context/ComponentContext.d.ts.map +1 -1
  98. package/dist/css/index.css +1 -1
  99. package/dist/css/v2/index.css +1 -1
  100. package/dist/css/v2/index.layout.css +1 -1
  101. package/dist/i18n/Streami18n.d.ts +3 -0
  102. package/dist/i18n/Streami18n.d.ts.map +1 -1
  103. package/dist/i18n/de.json +3 -0
  104. package/dist/i18n/en.json +3 -0
  105. package/dist/i18n/es.json +3 -0
  106. package/dist/i18n/fr.json +3 -0
  107. package/dist/i18n/hi.json +3 -0
  108. package/dist/i18n/it.json +3 -0
  109. package/dist/i18n/ja.json +3 -0
  110. package/dist/i18n/ko.json +3 -0
  111. package/dist/i18n/nl.json +3 -0
  112. package/dist/i18n/pt.json +3 -0
  113. package/dist/i18n/ru.json +3 -0
  114. package/dist/i18n/tr.json +3 -0
  115. package/dist/index.cjs.js +67 -21
  116. package/dist/scss/Message.scss +21 -17
  117. package/dist/scss/MessageActions.scss +0 -9
  118. package/dist/scss/_base.scss +8 -1
  119. package/dist/scss/v2/AttachmentList/AttachmentList-layout.scss +84 -0
  120. package/dist/scss/v2/AttachmentList/AttachmentList-theme.scss +72 -1
  121. package/dist/scss/v2/EditMessageForm/EditMessageForm-layout.scss +13 -15
  122. package/dist/scss/v2/Message/Message-layout.scss +48 -4
  123. package/dist/scss/v2/MessageActionsBox/MessageActionsBox-layout.scss +0 -8
  124. package/dist/scss/v2/_base.scss +1 -2
  125. package/dist/scss/v2/_utils.scss +0 -1
  126. package/dist/types/index.d.ts +1 -1
  127. package/dist/types/index.d.ts.map +1 -1
  128. package/dist/version.d.ts +1 -1
  129. package/dist/version.js +1 -1
  130. package/package.json +7 -7
  131. package/dist/components/Attachment/DownloadButton.d.ts.map +0 -1
  132. package/dist/components/Attachment/FileSizeIndicator.d.ts +0 -7
  133. package/dist/components/Attachment/FileSizeIndicator.d.ts.map +0 -1
  134. /package/dist/components/Attachment/{DownloadButton.d.ts → components/DownloadButton.d.ts} +0 -0
@@ -170,6 +170,35 @@
170
170
  /* Box shadow applied to audio widget */
171
171
  --str-chat__audio-attachment-widget-box-shadow: none;
172
172
 
173
+ /* Border radius applied to audio recording widget */
174
+ --str-chat__voice-recording-attachment-widget-border-radius: calc(
175
+ var(--str-chat__message-bubble-border-radius) - var(--str-chat__attachment-margin)
176
+ );
177
+
178
+ /* Text color used in audio recording widget */
179
+ --str-chat__voice-recording-attachment-widget-color: var(--str-chat__text-color);
180
+
181
+ /* Border radius applied to audio recording widget */
182
+ --str-chat__voice-recording-attachment-widget-secondary-color: var(--str-chat__text-low-emphasis-color);
183
+
184
+ /* The text/icon color for low emphasis texts (for example file size) in audio recording widget */
185
+ --str-chat__voice-recording-attachment-widget-background-color: var(--str-chat__secondary-background-color);
186
+
187
+ /* Top border of audio recording widget */
188
+ --str-chat__voice-recording-attachment-widget-border-block-start: none;
189
+
190
+ /* Bottom border of audio recording widget */
191
+ --str-chat__voice-recording-attachment-widget-border-block-end: none;
192
+
193
+ /* Left (right in RTL layout) border of audio recording widget */
194
+ --str-chat__voice-recording-attachment-widget-border-inline-start: none;
195
+
196
+ /* Right (left in RTL layout) border of audio recording widget */
197
+ --str-chat__voice-recording-attachment-widget-border-inline-end: none;
198
+
199
+ /* Box shadow applied to audio recording widget */
200
+ --str-chat__voice-recording-attachment-widget-box-shadow: none;
201
+
173
202
  /* Border radius applied to the play / pause button of audio widget */
174
203
  --str-chat__audio-attachment-controls-button-border-radius: var(--str-chat__border-radius-circle);
175
204
 
@@ -315,7 +344,11 @@
315
344
  }
316
345
 
317
346
  .str-chat__message-attachment-audio-widget--progress-track {
318
- background-color: var(--str-chat__disabled-color);
347
+ background: linear-gradient(
348
+ to right,
349
+ var(--str-chat__primary-color) var(--str-chat__message-attachment-audio-widget-progress),
350
+ var(--str-chat__disabled-color) var(--str-chat__message-attachment-audio-widget-progress)
351
+ );
319
352
  border-radius: calc(var(--str-chat__spacing-px) * 5);
320
353
 
321
354
  .str-chat__message-attachment-audio-widget--progress-indicator {
@@ -329,6 +362,44 @@
329
362
  @include utils.circle-fab-overrides('audio-attachment-controls-button');
330
363
  }
331
364
 
365
+ .str-chat__message-attachment__voice-recording-widget {
366
+ @include utils.component-layer-overrides('voice-recording-attachment-widget');
367
+
368
+ .str-chat__message-attachment__voice-recording-widget__title {
369
+ @include utils.ellipsis-text;
370
+ font: var(--str-chat__subtitle-medium-text);
371
+ }
372
+
373
+ .str-chat__message-attachment__voice-recording-widget__timer {
374
+ font: var(--str-chat__body-text);
375
+ color: var(--str-chat__text-low-emphasis-color);
376
+ white-space: nowrap;
377
+ }
378
+
379
+ .str-chat__wave-progress-bar__amplitude-bar {
380
+ background: var(--str-chat__text-low-emphasis-color);
381
+ border-radius: var(--str-chat__border-radius-circle);
382
+ }
383
+
384
+ .str-chat__wave-progress-bar__amplitude-bar--active {
385
+ background: var(--str-chat__primary-color);
386
+ }
387
+
388
+ .str-chat__wave-progress-bar__progress-indicator {
389
+ background-color: #fff;
390
+ border-radius: var(--str-chat__border-radius-circle);
391
+ border: 1px solid var(--str-chat__secondary-overlay-color);
392
+ cursor: grab;
393
+ }
394
+ }
395
+
396
+ .str-chat__message_attachment__playback-rate-button {
397
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
398
+ border-radius: var(--str-chat__border-radius-circle);
399
+ background-color: #fff; // in design marked as static, excluded from theming
400
+ cursor: pointer;
401
+ }
402
+
332
403
  .str-chat__message-attachment--card {
333
404
  @include utils.component-layer-overrides('card-attachment');
334
405
  font: var(--str-chat__body-text);
@@ -23,7 +23,7 @@
23
23
  }
24
24
  }
25
25
 
26
- .str-chat__message {
26
+ .str-chat-angular__edit-message-form {
27
27
  .str-chat__message-input-angular-host {
28
28
  max-height: 100%;
29
29
  min-height: 0;
@@ -32,21 +32,19 @@
32
32
  max-width: 100%;
33
33
  }
34
34
 
35
- .str-chat__message-edit-in-progress {
36
- .str-chat__modal--open {
37
- .str-chat__modal__inner {
38
- height: 40%;
39
- max-height: 80%;
40
- min-width: 90%;
41
- max-width: 90%;
42
- width: 90%;
43
- flex-basis: min-content;
35
+ .str-chat__modal--open {
36
+ .str-chat__modal__inner {
37
+ height: 40%;
38
+ max-height: 80%;
39
+ min-width: 90%;
40
+ max-width: 90%;
41
+ width: 90%;
42
+ flex-basis: min-content;
44
43
 
45
- @media only screen and (min-device-width: 768px) {
46
- min-width: 40%;
47
- max-width: 60%;
48
- width: min-content;
49
- }
44
+ @media only screen and (min-device-width: 768px) {
45
+ min-width: 40%;
46
+ max-width: 60%;
47
+ width: min-content;
50
48
  }
51
49
  }
52
50
  }
@@ -11,7 +11,7 @@
11
11
  --str-chat__message-with-attachment-max-width: calc(var(--str-chat__spacing-px) * 300);
12
12
 
13
13
  /* The maximum allowed width of quoted messages inside the message component */
14
- --str-chat__quoted-message-max-width: calc(var(--str-chat__spacing-px) * 180);
14
+ --str-chat__quoted-message-max-width: calc(var(--str-chat__spacing-px) * 250);
15
15
 
16
16
  /* The maximum allowed width of quoted messages inside the message input component */
17
17
  --str-chat__quoted-message-inside-message-input-max-width: calc(
@@ -192,6 +192,7 @@
192
192
  .str-chat__message-metadata {
193
193
  grid-area: metadata;
194
194
  display: flex;
195
+ flex-wrap: wrap;
195
196
  align-items: center;
196
197
  column-gap: var(--str-chat__spacing-1);
197
198
  margin-block-start: var(--str-chat__spacing-0_5);
@@ -199,6 +200,21 @@
199
200
  .str-chat__message-simple-name {
200
201
  @include utils.prevent-glitch-text-overflow;
201
202
  }
203
+
204
+ .str-chat__message-simple-time + .str-chat__mesage-simple-edited::before {
205
+ content: '•';
206
+ margin-right: var(--str-chat__spacing-1);
207
+ }
208
+
209
+ .str-chat__message-edited-timestamp {
210
+ --str-chat__message-edited-timestamp-height: 1rem;
211
+ flex-basis: 100%;
212
+ }
213
+ }
214
+
215
+ &.str-chat__message--me .str-chat__message-metadata {
216
+ justify-content: flex-end;
217
+ text-align: right;
202
218
  }
203
219
 
204
220
  .str-chat__message-status {
@@ -269,7 +285,8 @@
269
285
  .str-chat__ul:not(.str-chat__message-options-in-bubble),
270
286
  .str-chat__virtual-list:not(.str-chat__message-options-in-bubble) {
271
287
  /* This rule won't be applied in browsers that don't support :has() */
272
- .str-chat__li:hover:not(:has(.str-chat__reaction-list:hover, .str-chat__modal--open)) {
288
+ .str-chat__li:hover:not(:has(.str-chat__reaction-list:hover, .str-chat__modal--open)),
289
+ .str-chat__li:focus-within:not(:has(.str-chat__reaction-list:focus-within, .str-chat__modal--open)) {
273
290
  .str-chat__message-options {
274
291
  display: flex;
275
292
  }
@@ -285,7 +302,8 @@
285
302
 
286
303
  /* Fallback for when :has() is unsupported */
287
304
  @supports not selector(:has(a, b)) {
288
- .str-chat__li:hover {
305
+ .str-chat__li:hover,
306
+ .str-chat__li:focus-within {
289
307
  .str-chat__message-options {
290
308
  display: flex;
291
309
  }
@@ -326,7 +344,6 @@
326
344
  display: none;
327
345
  }
328
346
 
329
- .str-chat__message-edit-in-progress.str-chat__message-options,
330
347
  .str-chat__message-actions-open.str-chat__message-options {
331
348
  display: flex;
332
349
  }
@@ -462,3 +479,30 @@
462
479
  }
463
480
  }
464
481
  }
482
+
483
+ .str-chat-angular__message-bubble {
484
+ /* transform: translate3d(0, 0, 0) fixes scrolling issues on iOS, see: https://stackoverflow.com/questions/50105780/elements-disappear-when-scrolling-in-safari-webkit-transform-fix-only-works-t/50144295#50144295 */
485
+ transform: translate3d(0, 0, 0);
486
+
487
+ &.str-chat-angular__message-bubble--attachment-modal-open {
488
+ /* transform: none is required when image carousel is open in order for the modal to be correctly positioned, see how the transform property changes the behavior of fixed positioned elements https://developer.mozilla.org/en-US/docs/Web/CSS/position */
489
+ transform: none;
490
+ }
491
+ }
492
+
493
+ .str-chat__message-edited-timestamp {
494
+ overflow: hidden;
495
+ transition: height 0.1s;
496
+
497
+ &--open {
498
+ height: var(--str-chat__message-edited-timestamp-height, 1rem);
499
+ }
500
+
501
+ &--collapsed {
502
+ height: 0;
503
+ }
504
+ }
505
+
506
+ .str-chat__message-text--pointer-cursor {
507
+ cursor: pointer;
508
+ }
@@ -27,11 +27,3 @@
27
27
  display: block;
28
28
  }
29
29
  }
30
-
31
- .str-chat__message-edit-in-progress {
32
- .ngxp__container {
33
- transform: initial !important;
34
- will-change: initial !important;
35
- z-index: initial;
36
- }
37
- }
@@ -14,8 +14,7 @@
14
14
  border-color: transparent !important;
15
15
 
16
16
  .ngxp__arrow {
17
- color: transparent;
18
- width: 100%;
17
+ display: none;
19
18
  }
20
19
  }
21
20
  }
@@ -63,7 +63,6 @@
63
63
  }
64
64
 
65
65
  @mixin button-reset {
66
- outline: none;
67
66
  background: none;
68
67
  border: none;
69
68
  }
@@ -1,2 +1,2 @@
1
- export { DefaultStreamChatGenerics, ChannelUnreadUiState } from './types';
1
+ export type { DefaultStreamChatGenerics, ChannelUnreadUiState } from './types';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC"}
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const version = "11.10.0";
1
+ export declare const version = "11.12.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export var version = '11.10.0';
1
+ export var version = '11.12.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stream-chat-react",
3
- "version": "11.10.0",
3
+ "version": "11.12.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/",
@@ -102,7 +102,7 @@
102
102
  "emoji-mart": "^5.4.0",
103
103
  "react": "^18.0.0 || ^17.0.0 || ^16.8.0",
104
104
  "react-dom": "^18.0.0 || ^17.0.0 || ^16.8.0",
105
- "stream-chat": "^8.15.0"
105
+ "stream-chat": "^8.21.0"
106
106
  },
107
107
  "peerDependenciesMeta": {
108
108
  "emoji-mart": {
@@ -135,7 +135,7 @@
135
135
  "@emoji-mart/data": "^1.1.2",
136
136
  "@emoji-mart/react": "^1.1.1",
137
137
  "@ladle/react": "^0.16.0",
138
- "@playwright/test": "^1.29.1",
138
+ "@playwright/test": "^1.42.1",
139
139
  "@rollup/plugin-babel": "^5.2.1",
140
140
  "@rollup/plugin-commonjs": "^23.0.2",
141
141
  "@rollup/plugin-image": "^2.1.1",
@@ -146,7 +146,7 @@
146
146
  "@semantic-release/changelog": "^6.0.2",
147
147
  "@semantic-release/git": "^10.0.1",
148
148
  "@stream-io/rollup-plugin-node-builtins": "^2.1.5",
149
- "@stream-io/stream-chat-css": "^4.7.1",
149
+ "@stream-io/stream-chat-css": "^4.9.0",
150
150
  "@testing-library/jest-dom": "^6.1.4",
151
151
  "@testing-library/react": "^13.1.1",
152
152
  "@testing-library/react-hooks": "^8.0.0",
@@ -223,7 +223,7 @@
223
223
  "rollup-plugin-url": "^3.0.1",
224
224
  "rollup-plugin-visualizer": "^4.2.0",
225
225
  "semantic-release": "^19.0.5",
226
- "stream-chat": "^8.15.0",
226
+ "stream-chat": "^8.21.0",
227
227
  "style-loader": "^2.0.0",
228
228
  "ts-jest": "^28.0.8",
229
229
  "typescript": "^4.7.4",
@@ -258,8 +258,8 @@
258
258
  "e2e": "playwright test",
259
259
  "e2e-fixtures": "node e2e/fixtures/fixtures.mjs",
260
260
  "e2e-container": "./e2e/scripts/run_in_container.sh",
261
- "docs-copy-css-docs": "scripts/merge-stream-chat-css-docs.sh node_modules/@stream-io/stream-chat-css/docs",
262
- "docs-run": "yarn docs-copy-css-docs && stream-chat-docusaurus -s"
261
+ "docs:copy-css-docs": "scripts/merge-stream-chat-css-docs.sh node_modules/@stream-io/stream-chat-css/docs",
262
+ "docs:run": "yarn docs:copy-css-docs && stream-chat-docusaurus -s"
263
263
  },
264
264
  "resolutions": {
265
265
  "ast-types": "^0.14.0",
@@ -1 +0,0 @@
1
- {"version":3,"file":"DownloadButton.d.ts","sourceRoot":"","sources":["../../../src/components/Attachment/DownloadButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,KAAK,mBAAmB,GAAG;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,cAAc,iBAAkB,mBAAmB,sBAS/D,CAAC"}
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- type FileSizeIndicatorProps = {
3
- fileSize?: number;
4
- };
5
- export declare const FileSizeIndicator: ({ fileSize }: FileSizeIndicatorProps) => React.JSX.Element | null;
6
- export {};
7
- //# sourceMappingURL=FileSizeIndicator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FileSizeIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/Attachment/FileSizeIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,KAAK,sBAAsB,GAAG;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,iBAAiB,iBAAkB,sBAAsB,6BAMrE,CAAC"}