@azure/communication-react 1.2.3-alpha-202206180014.0 → 1.2.3-alpha-202206240013.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 (91) hide show
  1. package/dist/communication-react.d.ts +46 -15
  2. package/dist/dist-cjs/communication-react/index.js +399 -280
  3. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  4. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  5. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +1 -1
  6. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
  7. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.d.ts.map +1 -1
  8. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +23 -11
  9. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
  10. package/dist/dist-esm/react-components/src/components/CameraButton.d.ts +2 -2
  11. package/dist/dist-esm/react-components/src/components/CameraButton.d.ts.map +1 -1
  12. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.d.ts +1 -1
  13. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.d.ts.map +1 -1
  14. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.d.ts.map +1 -1
  15. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +1 -1
  16. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +1 -1
  17. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.d.ts.map +1 -1
  18. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +16 -2
  19. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
  20. package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts +11 -3
  21. package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts.map +1 -1
  22. package/dist/dist-esm/react-components/src/components/ErrorBar.js +4 -0
  23. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  24. package/dist/dist-esm/react-components/src/components/FileCard.d.ts +5 -0
  25. package/dist/dist-esm/react-components/src/components/FileCard.d.ts.map +1 -1
  26. package/dist/dist-esm/react-components/src/components/FileCard.js +44 -14
  27. package/dist/dist-esm/react-components/src/components/FileCard.js.map +1 -1
  28. package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +13 -0
  29. package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts.map +1 -1
  30. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +18 -1
  31. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
  32. package/dist/dist-esm/react-components/src/components/FileUploadCards.d.ts +17 -0
  33. package/dist/dist-esm/react-components/src/components/FileUploadCards.d.ts.map +1 -1
  34. package/dist/dist-esm/react-components/src/components/FileUploadCards.js +19 -2
  35. package/dist/dist-esm/react-components/src/components/FileUploadCards.js.map +1 -1
  36. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.d.ts.map +1 -1
  37. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js +8 -4
  38. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js.map +1 -1
  39. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +3 -1
  40. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts.map +1 -1
  41. package/dist/dist-esm/react-components/src/components/MessageThread.js +11 -9
  42. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  43. package/dist/dist-esm/react-components/src/components/MicrophoneButton.d.ts +3 -3
  44. package/dist/dist-esm/react-components/src/components/MicrophoneButton.d.ts.map +1 -1
  45. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js +14 -6
  46. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
  47. package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +2 -2
  48. package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts.map +1 -1
  49. package/dist/dist-esm/react-components/src/components/SendBox.d.ts +12 -0
  50. package/dist/dist-esm/react-components/src/components/SendBox.d.ts.map +1 -1
  51. package/dist/dist-esm/react-components/src/components/SendBox.js +7 -3
  52. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  53. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.d.ts.map +1 -1
  54. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js +8 -5
  55. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js.map +1 -1
  56. package/dist/dist-esm/react-components/src/components/index.d.ts +1 -0
  57. package/dist/dist-esm/react-components/src/components/index.d.ts.map +1 -1
  58. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  59. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +8 -2
  60. package/dist/dist-esm/react-components/src/theming/icons.d.ts +2 -0
  61. package/dist/dist-esm/react-components/src/theming/icons.d.ts.map +1 -1
  62. package/dist/dist-esm/react-components/src/theming/icons.js +3 -1
  63. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  64. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/SidePaneHeader.js +1 -1
  65. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/SidePaneHeader.js.map +1 -1
  66. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +4 -4
  67. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts.map +1 -1
  68. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.d.ts +1 -1
  69. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.d.ts.map +1 -1
  70. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.d.ts.map +1 -1
  71. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  72. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts +4 -0
  73. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts.map +1 -1
  74. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.d.ts.map +1 -1
  75. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js +11 -1
  76. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js.map +1 -1
  77. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.d.ts +5 -0
  78. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.d.ts.map +1 -1
  79. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js +7 -1
  80. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js.map +1 -1
  81. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.d.ts.map +1 -1
  82. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +3 -1
  83. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
  84. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +3 -0
  85. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts.map +1 -1
  86. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.d.ts +2 -2
  87. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.d.ts.map +1 -1
  88. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js +10 -4
  89. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js.map +1 -1
  90. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +3 -2
  91. package/package.json +7 -7
@@ -1981,7 +1981,7 @@ export declare interface CallWithChatCompositeStrings {
1981
1981
  *
1982
1982
  * Only used with `mobileView` set to `true` and when no speakers are available.
1983
1983
  */
1984
- moreDrawerAudioDeviceMenuTitle: string;
1984
+ moreDrawerAudioDeviceMenuTitle?: string;
1985
1985
  /**
1986
1986
  * Title for the microphone selection sub-menu in more button drawer.
1987
1987
  *
@@ -2037,15 +2037,15 @@ export declare interface CallWithChatCompositeStrings {
2037
2037
  /**
2038
2038
  * Label for SidePaneHeader dismiss button
2039
2039
  */
2040
- dismissSidePaneButton: string;
2040
+ dismissSidePaneButtonLabel?: string;
2041
2041
  /**
2042
2042
  * Aria Description string for return to call button
2043
2043
  */
2044
- returnToCallButtonAriaDescription: string;
2044
+ returnToCallButtonAriaDescription?: string;
2045
2045
  /**
2046
2046
  * Aria label string for return to call back button
2047
2047
  */
2048
- returnToCallButtonAriaLabel: string;
2048
+ returnToCallButtonAriaLabel?: string;
2049
2049
  }
2050
2050
 
2051
2051
  /**
@@ -2228,11 +2228,11 @@ export declare interface CameraButtonStrings {
2228
2228
  /**
2229
2229
  * Camera action turned on string for announcer
2230
2230
  */
2231
- cameraActionTurnedOnAnnouncement: string;
2231
+ cameraActionTurnedOnAnnouncement?: string;
2232
2232
  /**
2233
2233
  * Camera action turned off string for announcer
2234
2234
  */
2235
- cameraActionTurnedOffAnnouncement: string;
2235
+ cameraActionTurnedOffAnnouncement?: string;
2236
2236
  }
2237
2237
 
2238
2238
  /**
@@ -2578,6 +2578,10 @@ export declare interface ChatCompositeStrings {
2578
2578
  * Chat list header text
2579
2579
  */
2580
2580
  chatListHeader: string;
2581
+ /**
2582
+ * Upload File Button text
2583
+ */
2584
+ uploadFile: string;
2581
2585
  }
2582
2586
 
2583
2587
  /**
@@ -3643,6 +3647,8 @@ export declare const DEFAULT_COMPONENT_ICONS: {
3643
3647
  ErrorBarCallNetworkQualityLow: JSX.Element;
3644
3648
  ErrorBarCallNoMicrophoneFound: JSX.Element;
3645
3649
  ErrorBarCallNoSpeakerFound: JSX.Element;
3650
+ ErrorBarCallVideoRecoveredBySystem: JSX.Element;
3651
+ ErrorBarCallVideoStoppedBySystem: JSX.Element;
3646
3652
  HorizontalGalleryLeftButton: JSX.Element;
3647
3653
  HorizontalGalleryRightButton: JSX.Element;
3648
3654
  MessageDelivered: JSX.Element;
@@ -3736,8 +3742,11 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
3736
3742
  MoreDrawerSelectedSpeaker?: JSX.Element | undefined;
3737
3743
  MoreDrawerSpeakers?: JSX.Element | undefined;
3738
3744
  ChatMessageOptions: JSX.Element;
3745
+ /** @private */
3739
3746
  CancelFileUpload: JSX.Element;
3740
3747
  DownloadFile: JSX.Element;
3748
+ ErrorBarCallVideoRecoveredBySystem: JSX.Element;
3749
+ ErrorBarCallVideoStoppedBySystem: JSX.Element;
3741
3750
  MessageResend: JSX.Element;
3742
3751
  HoldCall: JSX.Element;
3743
3752
  ResumeCall: JSX.Element;
@@ -4226,6 +4235,14 @@ export declare interface ErrorBarStrings {
4226
4235
  * another applciation.
4227
4236
  */
4228
4237
  callCameraAlreadyInUse: string;
4238
+ /**
4239
+ * Message shown when local video is stopped by the system (not by local or remote participants)
4240
+ */
4241
+ callVideoStoppedBySystem: string;
4242
+ /**
4243
+ * Message shown when local video was recovered by the system (not by the local participant)
4244
+ */
4245
+ callVideoRecoveredBySystem: string;
4229
4246
  /**
4230
4247
  * Mac OS specific message shown when system denies access to camera.
4231
4248
  */
@@ -4237,15 +4254,15 @@ export declare interface ErrorBarStrings {
4237
4254
  /**
4238
4255
  * Dimiss errorbar button aria label read by screen reader accessibility tools
4239
4256
  */
4240
- dismissButtonAriaLabel: string;
4257
+ dismissButtonAriaLabel?: string;
4241
4258
  /**
4242
4259
  * An error message when joining a call fails.
4243
4260
  */
4244
- failedToJoinCallGeneric: string;
4261
+ failedToJoinCallGeneric?: string;
4245
4262
  /**
4246
4263
  * An error message when joining a call fails specifically due to an invalid meeting link.
4247
4264
  */
4248
- failedToJoinCallInvalidMeetingLink: string;
4265
+ failedToJoinCallInvalidMeetingLink?: string;
4249
4266
  }
4250
4267
 
4251
4268
  /**
@@ -5271,7 +5288,9 @@ export declare interface MessageThreadStrings {
5271
5288
  /** String for Submit in EditBox when there is no user input*/
5272
5289
  editBoxSubmitButton: string;
5273
5290
  /** String for action menu indicating there are more options */
5274
- actionMenuMoreOptions: string;
5291
+ actionMenuMoreOptions?: string;
5292
+ /** String for download file button in file card */
5293
+ downloadFile: string;
5275
5294
  }
5276
5295
 
5277
5296
  /**
@@ -5421,7 +5440,7 @@ export declare interface MicrophoneButtonStrings {
5421
5440
  /**
5422
5441
  * Description of microphone button split button role
5423
5442
  */
5424
- microphoneButtonSplitRoleDescription: string;
5443
+ microphoneButtonSplitRoleDescription?: string;
5425
5444
  /**
5426
5445
  * Microphone split button aria label when mic is enabled.
5427
5446
  */
@@ -5433,11 +5452,11 @@ export declare interface MicrophoneButtonStrings {
5433
5452
  /**
5434
5453
  * Microphone action turned on string for announcer
5435
5454
  */
5436
- microphoneActionTurnedOnAnnouncement: string;
5455
+ microphoneActionTurnedOnAnnouncement?: string;
5437
5456
  /**
5438
5457
  * Microphone action turned off string for announcer
5439
5458
  */
5440
- microphoneActionTurnedOffAnnouncement: string;
5459
+ microphoneActionTurnedOffAnnouncement?: string;
5441
5460
  }
5442
5461
 
5443
5462
  /**
@@ -5530,7 +5549,7 @@ export declare interface ParticipantItemProps {
5530
5549
  /** Unique User ID of the participant. This `userId` is available in the `onRenderAvatar` callback function */
5531
5550
  userId?: string;
5532
5551
  /** Name of participant. */
5533
- displayName: string;
5552
+ displayName?: string;
5534
5553
  /** Optional indicator to show participant is the user. */
5535
5554
  me?: boolean;
5536
5555
  /** Optional callback returning a JSX element to override avatar. */
@@ -5578,7 +5597,7 @@ export declare interface ParticipantItemStrings {
5578
5597
  /** Label for the muted icon in participant state stack */
5579
5598
  mutedIconLabel: string;
5580
5599
  /** placeholder text for participants who does not have a display name*/
5581
- displayNamePlaceholder: string;
5600
+ displayNamePlaceholder?: string;
5582
5601
  }
5583
5602
 
5584
5603
  /**
@@ -6162,6 +6181,18 @@ export declare interface SendBoxStrings {
6162
6181
  * Error message indicating that all file uploads are not complete.
6163
6182
  */
6164
6183
  fileUploadsPendingError: string;
6184
+ /**
6185
+ * Aria label to notify user when focus is on cancel file upload button.
6186
+ */
6187
+ removeFile: string;
6188
+ /**
6189
+ * Aria label to notify user file uploading starts.
6190
+ */
6191
+ uploading: string;
6192
+ /**
6193
+ * Aria label to notify user file is uploaded.
6194
+ */
6195
+ uploadCompleted: string;
6165
6196
  }
6166
6197
 
6167
6198
  /**