stream-chat-react 13.13.0 → 13.13.1
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/Attachment/AttachmentActions.js +7 -2
- package/dist/components/Chat/hooks/useChat.js +1 -1
- package/dist/components/Message/ReminderNotification.js +2 -2
- package/dist/components/Message/hooks/useMuteHandler.js +2 -2
- package/dist/components/MessageInput/AttachmentPreviewList/AttachmentPreviewList.js +1 -1
- package/dist/components/MessageInput/AttachmentPreviewList/FileAttachmentPreview.d.ts +2 -1
- package/dist/components/MessageInput/AttachmentPreviewList/FileAttachmentPreview.js +3 -2
- package/dist/components/MessageInput/AttachmentPreviewList/ImageAttachmentPreview.js +1 -1
- package/dist/components/MessageInput/AttachmentPreviewList/VoiceRecordingPreview.js +1 -1
- package/dist/components/MessageInput/SendButton.js +3 -1
- package/dist/components/Poll/PollCreationDialog/MultipleAnswersField.js +6 -2
- package/dist/components/Poll/PollCreationDialog/NameField.js +5 -2
- package/dist/components/Poll/PollCreationDialog/OptionFieldSet.js +6 -2
- package/dist/components/TextareaComposer/SuggestionList/CommandItem.js +21 -3
- package/dist/css/v2/index.css +1 -1
- package/dist/css/v2/index.layout.css +1 -1
- package/dist/experimental/Search/SearchResults/SearchResultsHeader.js +7 -2
- package/dist/experimental/Search/SearchResults/SearchSourceResultsLoadingIndicator.js +3 -1
- package/dist/experimental/index.browser.cjs +18 -2
- package/dist/experimental/index.browser.cjs.map +2 -2
- package/dist/experimental/index.node.cjs +18 -2
- package/dist/experimental/index.node.cjs.map +2 -2
- package/dist/i18n/Streami18n.d.ts +90 -78
- package/dist/i18n/de.json +91 -89
- package/dist/i18n/en.json +91 -79
- package/dist/i18n/es.json +99 -97
- package/dist/i18n/fr.json +99 -97
- package/dist/i18n/hi.json +91 -89
- package/dist/i18n/it.json +99 -97
- package/dist/i18n/ja.json +88 -86
- package/dist/i18n/ko.json +88 -86
- package/dist/i18n/nl.json +91 -89
- package/dist/i18n/pt.json +99 -97
- package/dist/i18n/ru.json +104 -102
- package/dist/i18n/tr.json +91 -89
- package/dist/index.browser.cjs +1607 -1518
- package/dist/index.browser.cjs.map +2 -2
- package/dist/index.node.cjs +1607 -1518
- package/dist/index.node.cjs.map +2 -2
- package/dist/scss/v2/Message/Message-layout.scss +1 -0
- package/dist/scss/v2/Poll/Poll-layout.scss +4 -0
- package/package.json +7 -7
|
@@ -17358,7 +17358,9 @@ var SearchSourceResultsLoadingIndicator = () => {
|
|
|
17358
17358
|
className: "str-chat__search-source-results__loading-indicator",
|
|
17359
17359
|
"data-testid": "search-loading-indicator"
|
|
17360
17360
|
},
|
|
17361
|
-
t(
|
|
17361
|
+
t("Searching for {{ searchSourceType }}...", {
|
|
17362
|
+
searchSourceType: searchSource.type
|
|
17363
|
+
})
|
|
17362
17364
|
);
|
|
17363
17365
|
};
|
|
17364
17366
|
|
|
@@ -17474,6 +17476,20 @@ var SearchSourceFilterButton = ({ source }) => {
|
|
|
17474
17476
|
const { searchController } = useSearchContext();
|
|
17475
17477
|
const { isActive } = useStateStore(source.state, searchSourceStateSelector4);
|
|
17476
17478
|
const label = `search-results-header-filter-source-button-label--${source.type}`;
|
|
17479
|
+
const knownLabels = (0, import_react53.useMemo)(
|
|
17480
|
+
() => ({
|
|
17481
|
+
"search-results-header-filter-source-button-label--channels": t(
|
|
17482
|
+
"search-results-header-filter-source-button-label--channels"
|
|
17483
|
+
),
|
|
17484
|
+
"search-results-header-filter-source-button-label--messages": t(
|
|
17485
|
+
"search-results-header-filter-source-button-label--messages"
|
|
17486
|
+
),
|
|
17487
|
+
"search-results-header-filter-source-button-label--users": t(
|
|
17488
|
+
"search-results-header-filter-source-button-label--users"
|
|
17489
|
+
)
|
|
17490
|
+
}),
|
|
17491
|
+
[t]
|
|
17492
|
+
);
|
|
17477
17493
|
return /* @__PURE__ */ import_react53.default.createElement(
|
|
17478
17494
|
"button",
|
|
17479
17495
|
{
|
|
@@ -17492,7 +17508,7 @@ var SearchSourceFilterButton = ({ source }) => {
|
|
|
17492
17508
|
}
|
|
17493
17509
|
}
|
|
17494
17510
|
},
|
|
17495
|
-
t(label)
|
|
17511
|
+
knownLabels[label] ?? t(label)
|
|
17496
17512
|
);
|
|
17497
17513
|
};
|
|
17498
17514
|
var SearchResultsHeader = () => {
|