@azure/communication-react 1.14.1-alpha-202404020012 → 1.15.0-alpha-202404030013
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/communication-react.d.ts +19 -19
- package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-BTyywbnH.js → RichTextSendBoxWrapper-B8qxZi1I.js} +2 -2
- package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-BTyywbnH.js.map → RichTextSendBoxWrapper-B8qxZi1I.js.map} +1 -1
- package/dist/dist-cjs/communication-react/{index-Bj9ORqhl.js → index-aOBAWcNI.js} +116 -113
- package/dist/dist-cjs/communication-react/index-aOBAWcNI.js.map +1 -0
- package/dist/dist-cjs/communication-react/index.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +20 -20
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/AttachmentUploadCards.js +2 -2
- package/dist/dist-esm/react-components/src/components/AttachmentUploadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +4 -4
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsRichTextEditBox.js +2 -2
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsRichTextEditBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ReactionButton.js +5 -11
- package/dist/dist-esm/react-components/src/components/ReactionButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.js +3 -3
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js +3 -3
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBox.d.ts +3 -3
- package/dist/dist-esm/react-components/src/components/SendBox.js +3 -3
- package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.d.ts +3 -3
- package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js +15 -9
- package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +2 -2
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.js +2 -2
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.js +4 -3
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js +1 -1
- package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/Attachment.d.ts +9 -9
- package/dist/dist-esm/react-components/src/types/Attachment.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +2 -2
- package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +3 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +1 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +6 -6
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationAttachmentUploadAdapter.js +4 -4
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationAttachmentUploadAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUpload.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUpload.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUpload.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.js +3 -3
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/attachmentUploadsSelector.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/attachmentUploadsSelector.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/attachmentUploadsSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +2 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +6 -2
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/SendBox.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/SendBox.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/strings.json +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/strings.json +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/strings.json +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/strings.json +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/strings.json +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/strings.json +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/strings.json +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +1 -1
- package/package.json +1 -1
- package/dist/dist-cjs/communication-react/index-Bj9ORqhl.js.map +0 -1
@@ -254,7 +254,7 @@ export declare interface AttachmentMetadata {
|
|
254
254
|
*/
|
255
255
|
id: string;
|
256
256
|
/**
|
257
|
-
*
|
257
|
+
* Attachment name to be displayed.
|
258
258
|
*/
|
259
259
|
name: string;
|
260
260
|
/**
|
@@ -298,12 +298,12 @@ export declare interface AttachmentUploadAdapter {
|
|
298
298
|
* @beta
|
299
299
|
* A callback function for handling attachment uploads.
|
300
300
|
*
|
301
|
-
* @param AttachmentUploads - The list of uploaded
|
301
|
+
* @param AttachmentUploads - The list of uploaded attachments. Each attachment is represented by an {@link AttachmentUpload} object.
|
302
302
|
*/
|
303
303
|
export declare type AttachmentUploadHandler = (attachmentUploads: AttachmentUploadManager[]) => void;
|
304
304
|
|
305
305
|
/**
|
306
|
-
* A wrapper object for a
|
306
|
+
* A wrapper object for a attachment that is being uploaded.
|
307
307
|
* Allows managing attachment uploads by providing common functions for updating the
|
308
308
|
* upload progress, canceling an upload, completing an upload etc.
|
309
309
|
* @beta
|
@@ -314,7 +314,7 @@ export declare interface AttachmentUploadManager {
|
|
314
314
|
*/
|
315
315
|
id: string;
|
316
316
|
/**
|
317
|
-
* HTML {@link File} object for the uploaded
|
317
|
+
* HTML {@link File} object for the uploaded attachment.
|
318
318
|
*/
|
319
319
|
file?: File;
|
320
320
|
/**
|
@@ -325,7 +325,7 @@ export declare interface AttachmentUploadManager {
|
|
325
325
|
notifyProgressChanged: (value: number) => void;
|
326
326
|
/**
|
327
327
|
* Mark the upload as complete.
|
328
|
-
* Requires the `metadata` param containing uploaded
|
328
|
+
* Requires the `metadata` param containing uploaded attachment information.
|
329
329
|
* @param metadata - {@link AttachmentMetadata}
|
330
330
|
*/
|
331
331
|
notifyCompleted: (metadata: AttachmentMetadata) => void;
|
@@ -344,14 +344,14 @@ export declare interface AttachmentUploadOptions {
|
|
344
344
|
* A list of strings containing the comma separated list of supported media (aka. mime) types.
|
345
345
|
* i.e. ['image/*', 'video/*', 'audio/*']
|
346
346
|
* Default value is `['*']`, meaning all media types are supported.
|
347
|
-
* Similar to the `accept` attribute of the `<input type="
|
347
|
+
* Similar to the `accept` attribute of the `<input type="attachment" />` element.
|
348
348
|
* @beta
|
349
349
|
*/
|
350
350
|
supportedMediaTypes?: string[];
|
351
351
|
/**
|
352
|
-
* Disable multiple
|
353
|
-
* Default value is `false`, meaning multiple
|
354
|
-
* Similar to the `multiple` attribute of the `<input type="
|
352
|
+
* Disable multiple attachments to be selected if set to `true`.
|
353
|
+
* Default value is `false`, meaning multiple attachments can be selected.
|
354
|
+
* Similar to the `multiple` attribute of the `<input type="attachment" />` element.
|
355
355
|
* @beta
|
356
356
|
*/
|
357
357
|
disableMultipleUploads?: boolean;
|
@@ -4618,7 +4618,7 @@ export declare interface ChatAdapterThreadManagement {
|
|
4618
4618
|
export declare type ChatAdapterUiState = {
|
4619
4619
|
error?: Error;
|
4620
4620
|
/**
|
4621
|
-
*
|
4621
|
+
* Attachments being uploaded by a user in the current thread.
|
4622
4622
|
* Should be set to null once the upload is complete.
|
4623
4623
|
* Array of type {@link AttachmentUploadsUiState}
|
4624
4624
|
* @beta
|
@@ -4825,9 +4825,9 @@ export declare interface ChatCompositeStrings {
|
|
4825
4825
|
*/
|
4826
4826
|
chatListHeader: string;
|
4827
4827
|
/**
|
4828
|
-
* Upload
|
4828
|
+
* Upload Attachment Button text
|
4829
4829
|
*/
|
4830
|
-
|
4830
|
+
uploadAttachment: string;
|
4831
4831
|
}
|
4832
4832
|
|
4833
4833
|
/**
|
@@ -4925,10 +4925,10 @@ export declare interface ChatMessage extends MessageCommon {
|
|
4925
4925
|
metadata?: Record<string, string>;
|
4926
4926
|
/**
|
4927
4927
|
* @beta
|
4928
|
-
* A list of
|
4928
|
+
* A list of attachments in the message.
|
4929
4929
|
* {@link AttachmentMetadata}
|
4930
4930
|
*/
|
4931
|
-
|
4931
|
+
attachments?: AttachmentMetadata[];
|
4932
4932
|
}
|
4933
4933
|
|
4934
4934
|
/**
|
@@ -5235,7 +5235,7 @@ export declare type CommonCallControlOptions = {
|
|
5235
5235
|
* Show, Hide or Disable captions during a call.
|
5236
5236
|
* @defaultValue true
|
5237
5237
|
*/
|
5238
|
-
|
5238
|
+
captionsButton?: boolean;
|
5239
5239
|
};
|
5240
5240
|
|
5241
5241
|
/**
|
@@ -9621,7 +9621,7 @@ export declare interface RichTextSendBoxProps {
|
|
9621
9621
|
* cancel icon.
|
9622
9622
|
* @beta
|
9623
9623
|
*/
|
9624
|
-
onCancelAttachmentUpload?: (
|
9624
|
+
onCancelAttachmentUpload?: (attachmentId: string) => void;
|
9625
9625
|
/**
|
9626
9626
|
* Callback function used when the send button is clicked.
|
9627
9627
|
*/
|
@@ -9857,8 +9857,8 @@ export declare interface SendBoxProps {
|
|
9857
9857
|
*/
|
9858
9858
|
autoFocus?: 'sendBoxTextField';
|
9859
9859
|
/**
|
9860
|
-
* Optional callback to render uploaded
|
9861
|
-
* vertically to accommodate the uploaded
|
9860
|
+
* Optional callback to render uploaded attachments in the SendBox. The sendBox will expand
|
9861
|
+
* vertically to accommodate the uploaded attachments. Attachment uploads will
|
9862
9862
|
* be rendered below the text area in sendBox.
|
9863
9863
|
* @beta
|
9864
9864
|
*/
|
@@ -9874,7 +9874,7 @@ export declare interface SendBoxProps {
|
|
9874
9874
|
* cancel icon.
|
9875
9875
|
* @beta
|
9876
9876
|
*/
|
9877
|
-
onCancelAttachmentUpload?: (
|
9877
|
+
onCancelAttachmentUpload?: (attachmentId: string) => void;
|
9878
9878
|
}
|
9879
9879
|
|
9880
9880
|
/**
|
@@ -1,7 +1,7 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
3
|
var React = require('react');
|
4
|
-
var index = require('./index-
|
4
|
+
var index = require('./index-aOBAWcNI.js');
|
5
5
|
require('@fluentui/react');
|
6
6
|
require('@fluentui/react-components');
|
7
7
|
require('@fluentui-contrib/react-chat');
|
@@ -51,4 +51,4 @@ const RichTextSendBoxWrapper = () => {
|
|
51
51
|
};
|
52
52
|
|
53
53
|
exports.RichTextSendBoxWrapper = RichTextSendBoxWrapper;
|
54
|
-
//# sourceMappingURL=RichTextSendBoxWrapper-
|
54
|
+
//# sourceMappingURL=RichTextSendBoxWrapper-B8qxZi1I.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"RichTextSendBoxWrapper-
|
1
|
+
{"version":3,"file":"RichTextSendBoxWrapper-B8qxZi1I.js","sources":["../../../../react-composites/src/composites/common/RichTextSendBoxWrapper.tsx"],"sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/* @conditional-compile-remove(rich-text-editor) */\nimport React from 'react';\n/* @conditional-compile-remove(rich-text-editor) */\nimport { usePropsFor } from '../ChatComposite/hooks/usePropsFor';\n/* @conditional-compile-remove(rich-text-editor) */\nimport { RichTextSendBox } from '@internal/react-components';\n\n/* @conditional-compile-remove(rich-text-editor) */\n/**\n * @private\n *\n * Wrapper for RichTextSendBox component to allow us to use usePropsFor with richTextSendBox\n * before lazyLoading is done\n */\nexport const RichTextSendBoxWrapper = (): JSX.Element => {\n const richTextSendBoxProps = usePropsFor(RichTextSendBox);\n\n return <RichTextSendBox {...richTextSendBoxProps} />;\n};\n"],"names":["usePropsFor","RichTextSendBox"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AAEA;AAOA;AACA;;;;;AAKG;AACI,MAAM,sBAAsB,GAAG,MAAkB;AACtD,IAAA,MAAM,oBAAoB,GAAGA,iBAAW,CAACC,qBAAe,CAAC,CAAC;AAE1D,IAAA,OAAO,KAAC,CAAA,aAAA,CAAAA,qBAAe,EAAK,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,oBAAoB,EAAI,CAAC;AACvD;;;;"}
|