stream-chat-react 13.0.5 → 13.1.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.
- package/dist/components/Channel/Channel.d.ts +1 -1
- package/dist/components/Channel/Channel.js +7 -0
- package/dist/components/ChannelList/hooks/useChannelListShape.js +3 -3
- package/dist/components/Chat/hooks/useChat.js +7 -3
- package/dist/components/Dialog/ButtonWithSubmenu.d.ts +11 -0
- package/dist/components/Dialog/ButtonWithSubmenu.js +88 -0
- package/dist/components/Dialog/index.d.ts +1 -0
- package/dist/components/Dialog/index.js +1 -0
- package/dist/components/Loading/LoadingErrorIndicator.js +1 -1
- package/dist/components/Message/Message.js +3 -2
- package/dist/components/Message/MessageSimple.js +11 -4
- package/dist/components/Message/MessageThreadReplyInChannelButtonIndicator.d.ts +2 -0
- package/dist/components/Message/MessageThreadReplyInChannelButtonIndicator.js +63 -0
- package/dist/components/Message/ReminderNotification.d.ts +6 -0
- package/dist/components/Message/ReminderNotification.js +30 -0
- package/dist/components/Message/hooks/index.d.ts +1 -0
- package/dist/components/Message/hooks/index.js +1 -0
- package/dist/components/Message/hooks/useMessageReminder.d.ts +1 -0
- package/dist/components/Message/hooks/useMessageReminder.js +11 -0
- package/dist/components/Message/index.d.ts +1 -0
- package/dist/components/Message/index.js +1 -0
- package/dist/components/Message/utils.d.ts +4 -2
- package/dist/components/Message/utils.js +11 -1
- package/dist/components/MessageActions/MessageActionsBox.js +12 -6
- package/dist/components/MessageActions/RemindMeSubmenu.d.ts +6 -0
- package/dist/components/MessageActions/RemindMeSubmenu.js +18 -0
- package/dist/components/MessageInput/MessageInputFlat.js +5 -3
- package/dist/components/MessageInput/SendToChannelCheckbox.d.ts +2 -0
- package/dist/components/MessageInput/SendToChannelCheckbox.js +20 -0
- package/dist/components/MessageList/MessageListNotifications.js +8 -3
- package/dist/components/MessageList/VirtualizedMessageListComponents.d.ts +1 -1
- package/dist/components/MessageList/VirtualizedMessageListComponents.js +4 -0
- package/dist/components/Notifications/hooks/index.d.ts +1 -0
- package/dist/components/Notifications/hooks/index.js +1 -0
- package/dist/components/Notifications/hooks/useNotifications.d.ts +2 -0
- package/dist/components/Notifications/hooks/useNotifications.js +10 -0
- package/dist/components/Notifications/index.d.ts +1 -0
- package/dist/components/Notifications/index.js +1 -0
- package/dist/components/TextareaComposer/TextareaComposer.js +4 -0
- package/dist/components/Thread/LegacyThreadContext.d.ts +8 -0
- package/dist/components/Thread/LegacyThreadContext.js +3 -0
- package/dist/components/Thread/Thread.d.ts +0 -4
- package/dist/components/Thread/Thread.js +2 -3
- package/dist/components/Thread/index.d.ts +1 -0
- package/dist/components/Thread/index.js +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/context/ComponentContext.d.ts +6 -1
- package/dist/css/v2/index.css +1 -1
- package/dist/css/v2/index.layout.css +1 -1
- package/dist/experimental/MessageActions/defaults.d.ts +1 -1
- package/dist/experimental/MessageActions/defaults.js +27 -4
- package/dist/experimental/index.browser.cjs +382 -169
- package/dist/experimental/index.browser.cjs.map +4 -4
- package/dist/experimental/index.node.cjs +382 -169
- package/dist/experimental/index.node.cjs.map +4 -4
- package/dist/i18n/Streami18n.d.ts +32 -3
- package/dist/i18n/Streami18n.js +34 -5
- package/dist/i18n/TranslationBuilder/TranslationBuilder.d.ts +31 -0
- package/dist/i18n/TranslationBuilder/TranslationBuilder.js +68 -0
- package/dist/i18n/TranslationBuilder/index.d.ts +2 -0
- package/dist/i18n/TranslationBuilder/index.js +2 -0
- package/dist/i18n/TranslationBuilder/notifications/NotificationTranslationTopic.d.ts +11 -0
- package/dist/i18n/TranslationBuilder/notifications/NotificationTranslationTopic.js +27 -0
- package/dist/i18n/TranslationBuilder/notifications/attachmentUpload.d.ts +4 -0
- package/dist/i18n/TranslationBuilder/notifications/attachmentUpload.js +32 -0
- package/dist/i18n/TranslationBuilder/notifications/index.d.ts +1 -0
- package/dist/i18n/TranslationBuilder/notifications/index.js +1 -0
- package/dist/i18n/TranslationBuilder/notifications/pollComposition.d.ts +3 -0
- package/dist/i18n/TranslationBuilder/notifications/pollComposition.js +9 -0
- package/dist/i18n/TranslationBuilder/notifications/types.d.ts +4 -0
- package/dist/i18n/TranslationBuilder/notifications/types.js +1 -0
- package/dist/i18n/de.json +23 -0
- package/dist/i18n/en.json +23 -0
- package/dist/i18n/es.json +23 -0
- package/dist/i18n/fr.json +23 -0
- package/dist/i18n/hi.json +23 -0
- package/dist/i18n/index.d.ts +1 -0
- package/dist/i18n/index.js +1 -0
- package/dist/i18n/it.json +23 -0
- package/dist/i18n/ja.json +23 -0
- package/dist/i18n/ko.json +23 -0
- package/dist/i18n/nl.json +23 -0
- package/dist/i18n/pt.json +23 -0
- package/dist/i18n/ru.json +23 -0
- package/dist/i18n/tr.json +23 -0
- package/dist/i18n/types.d.ts +54 -0
- package/dist/i18n/utils.d.ts +1 -1
- package/dist/i18n/utils.js +8 -2
- package/dist/index.browser.cjs +3589 -2162
- package/dist/index.browser.cjs.map +4 -4
- package/dist/index.node.cjs +3645 -2156
- package/dist/index.node.cjs.map +4 -4
- package/dist/plugins/Emojis/index.browser.cjs +1 -2
- package/dist/plugins/Emojis/index.browser.cjs.map +3 -3
- package/dist/plugins/Emojis/index.node.cjs +1 -2
- package/dist/plugins/Emojis/index.node.cjs.map +3 -3
- package/dist/scss/v2/Message/Message-layout.scss +11 -1
- package/dist/scss/v2/Message/Message-theme.scss +31 -1
- package/dist/scss/v2/MessageActionsBox/MessageActionsBox-theme.scss +8 -0
- package/dist/scss/v2/MessageInput/MessageInput-layout.scss +19 -0
- package/dist/scss/v2/MessageInput/MessageInput-theme.scss +11 -0
- package/package.json +6 -8
|
@@ -198,6 +198,30 @@
|
|
|
198
198
|
|
|
199
199
|
/* The hover color of the translation notice that is displayed if a message is translated with auto-translation */
|
|
200
200
|
--str-chat__translation-notice-active-background-color: var(--str-chat__tertiary-surface-color);
|
|
201
|
+
|
|
202
|
+
/* The text color of the message reminder, if it's a quoted message */
|
|
203
|
+
--str-chat__message-reminder-color: var(--str-chat__primary-color);
|
|
204
|
+
|
|
205
|
+
/* The background of the message reminder, if it's a quoted message */
|
|
206
|
+
--str-chat__message-reminder-background-color: var(--str-chat__secondary-background-color);
|
|
207
|
+
|
|
208
|
+
/* Top border of the message reminder */
|
|
209
|
+
--str-chat__message-reminder-border-block-start: none;
|
|
210
|
+
|
|
211
|
+
/* Bottom border of the message reminder */
|
|
212
|
+
--str-chat__message-reminder-border-block-end: none;
|
|
213
|
+
|
|
214
|
+
/* Left (right in RTL layout) border of the message reminder */
|
|
215
|
+
--str-chat__message-reminder-border-inline-start: none;
|
|
216
|
+
|
|
217
|
+
/* Right (left in RTL layout) border of the message reminder */
|
|
218
|
+
--str-chat__message-reminder-border-inline-end: none;
|
|
219
|
+
|
|
220
|
+
/* Box shadow applied to the message reminder */
|
|
221
|
+
--str-chat__message-reminder-box-shadow: none;
|
|
222
|
+
|
|
223
|
+
/* The border radius used for the borders of a message reminder */
|
|
224
|
+
--str-chat__message-reminder-border-radius: 0;
|
|
201
225
|
}
|
|
202
226
|
|
|
203
227
|
.str-chat__message--system {
|
|
@@ -228,6 +252,11 @@
|
|
|
228
252
|
color: var(--str-chat__message-link-color);
|
|
229
253
|
}
|
|
230
254
|
|
|
255
|
+
.str-chat__message-reminder {
|
|
256
|
+
@include utils.component-layer-overrides('message-reminder');
|
|
257
|
+
font: var(--str-chat__caption-medium-text);
|
|
258
|
+
}
|
|
259
|
+
|
|
231
260
|
.str-chat__message-bubble {
|
|
232
261
|
@include utils.component-layer-overrides('message-bubble');
|
|
233
262
|
font: var(--str-chat__body2-text);
|
|
@@ -315,7 +344,8 @@
|
|
|
315
344
|
}
|
|
316
345
|
}
|
|
317
346
|
|
|
318
|
-
.str-chat__message-replies-count-button-wrapper
|
|
347
|
+
.str-chat__message-replies-count-button-wrapper,
|
|
348
|
+
.str-chat__message-is-thread-reply-button-wrapper {
|
|
319
349
|
button {
|
|
320
350
|
border: none;
|
|
321
351
|
background-color: transparent;
|
|
@@ -66,6 +66,14 @@
|
|
|
66
66
|
background-color: var(--str-chat__message-actions-box-item-hover-background-color);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
+
|
|
70
|
+
.str_chat__button-with-submenu--submenu-open {
|
|
71
|
+
background-color: var(--str-chat__message-actions-box-item-hover-background-color);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.str-chat__message-actions-box__submenu {
|
|
75
|
+
@include utils.component-layer-overrides('message-actions-box');
|
|
76
|
+
}
|
|
69
77
|
}
|
|
70
78
|
|
|
71
79
|
@media (hover: none) {
|
|
@@ -239,3 +239,22 @@
|
|
|
239
239
|
min-width: 300px;
|
|
240
240
|
padding-block: 0.5rem;
|
|
241
241
|
}
|
|
242
|
+
|
|
243
|
+
.str-chat__send-to-channel-checkbox__container {
|
|
244
|
+
width: 100%;
|
|
245
|
+
display: flex;
|
|
246
|
+
padding: 0.5rem 0.75rem;
|
|
247
|
+
|
|
248
|
+
.str-chat__send-to-channel-checkbox__field {
|
|
249
|
+
display: flex;
|
|
250
|
+
align-items: center;
|
|
251
|
+
|
|
252
|
+
label {
|
|
253
|
+
padding-inline: 0.5rem;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
input {
|
|
257
|
+
margin: 0;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stream-chat-react",
|
|
3
|
-
"version": "13.0
|
|
3
|
+
"version": "13.1.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/",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"emoji-regex": "^9.2.0",
|
|
111
111
|
"fix-webm-duration": "^1.0.5",
|
|
112
112
|
"hast-util-find-and-replace": "^5.0.1",
|
|
113
|
-
"i18next": "^
|
|
113
|
+
"i18next": "^25.2.1",
|
|
114
114
|
"linkifyjs": "^4.1.0",
|
|
115
115
|
"lodash.debounce": "^4.0.8",
|
|
116
116
|
"lodash.defaultsdeep": "^4.6.1",
|
|
@@ -118,7 +118,6 @@
|
|
|
118
118
|
"lodash.throttle": "^4.1.1",
|
|
119
119
|
"lodash.uniqby": "^4.7.0",
|
|
120
120
|
"nanoid": "^3.3.4",
|
|
121
|
-
"prop-types": "^15.7.2",
|
|
122
121
|
"react-dropzone": "^14.2.3",
|
|
123
122
|
"react-fast-compare": "^3.2.2",
|
|
124
123
|
"react-image-gallery": "1.2.12",
|
|
@@ -128,7 +127,6 @@
|
|
|
128
127
|
"react-textarea-autosize": "^8.3.0",
|
|
129
128
|
"react-virtuoso": "^2.16.5",
|
|
130
129
|
"remark-gfm": "^4.0.1",
|
|
131
|
-
"textarea-caret": "^3.1.0",
|
|
132
130
|
"tslib": "^2.6.2",
|
|
133
131
|
"unist-builder": "^4.0.0",
|
|
134
132
|
"unist-util-visit": "^5.0.0",
|
|
@@ -145,7 +143,7 @@
|
|
|
145
143
|
"emoji-mart": "^5.4.0",
|
|
146
144
|
"react": "^19.0.0 || ^18.0.0 || ^17.0.0 || ^16.14.0",
|
|
147
145
|
"react-dom": "^19.0.0 || ^18.0.0 || ^17.0.0 || ^16.14.0",
|
|
148
|
-
"stream-chat": "^9.
|
|
146
|
+
"stream-chat": "^9.6.0"
|
|
149
147
|
},
|
|
150
148
|
"peerDependenciesMeta": {
|
|
151
149
|
"@breezystack/lamejs": {
|
|
@@ -186,7 +184,7 @@
|
|
|
186
184
|
"@playwright/test": "^1.42.1",
|
|
187
185
|
"@semantic-release/changelog": "^6.0.3",
|
|
188
186
|
"@semantic-release/git": "^10.0.1",
|
|
189
|
-
"@stream-io/stream-chat-css": "^5.
|
|
187
|
+
"@stream-io/stream-chat-css": "^5.11.0",
|
|
190
188
|
"@testing-library/dom": "^10.4.0",
|
|
191
189
|
"@testing-library/jest-dom": "^6.6.3",
|
|
192
190
|
"@testing-library/react": "^16.2.0",
|
|
@@ -228,7 +226,7 @@
|
|
|
228
226
|
"eslint-plugin-sort-destructure-keys": "^2.0.0",
|
|
229
227
|
"globals": "^15.13.0",
|
|
230
228
|
"husky": "^8.0.3",
|
|
231
|
-
"i18next-parser": "^
|
|
229
|
+
"i18next-parser": "^9.3.0",
|
|
232
230
|
"jest": "^29.7.0",
|
|
233
231
|
"jest-axe": "^8.0.0",
|
|
234
232
|
"jest-environment-jsdom": "^29.7.0",
|
|
@@ -239,7 +237,7 @@
|
|
|
239
237
|
"react": "^19.0.0",
|
|
240
238
|
"react-dom": "^19.0.0",
|
|
241
239
|
"semantic-release": "^24.2.3",
|
|
242
|
-
"stream-chat": "9.
|
|
240
|
+
"stream-chat": "^9.6.0",
|
|
243
241
|
"ts-jest": "^29.2.5",
|
|
244
242
|
"typescript": "^5.4.5",
|
|
245
243
|
"typescript-eslint": "^8.17.0"
|