@azure/communication-react 1.2.3-alpha-202206220015.0 → 1.2.3-alpha-202206280015.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 (86) hide show
  1. package/dist/communication-react.d.ts +36 -15
  2. package/dist/dist-cjs/communication-react/index.js +154 -111
  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 +30 -12
  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/ChatMessageComponentAsMessageBubble.js +2 -1
  15. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
  16. package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts +16 -3
  17. package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts.map +1 -1
  18. package/dist/dist-esm/react-components/src/components/ErrorBar.js +6 -0
  19. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  20. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +1 -1
  21. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts.map +1 -1
  22. package/dist/dist-esm/react-components/src/components/MicrophoneButton.d.ts +3 -3
  23. package/dist/dist-esm/react-components/src/components/MicrophoneButton.d.ts.map +1 -1
  24. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js +14 -6
  25. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
  26. package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +2 -2
  27. package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts.map +1 -1
  28. package/dist/dist-esm/react-components/src/components/SendBox.d.ts.map +1 -1
  29. package/dist/dist-esm/react-components/src/components/SendBox.js +3 -2
  30. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  31. package/dist/dist-esm/react-components/src/components/VoiceOverButton.d.ts +7 -0
  32. package/dist/dist-esm/react-components/src/components/VoiceOverButton.d.ts.map +1 -0
  33. package/dist/dist-esm/react-components/src/components/VoiceOverButton.js +32 -0
  34. package/dist/dist-esm/react-components/src/components/VoiceOverButton.js.map +1 -0
  35. package/dist/dist-esm/react-components/src/components/styles/VoiceOverButton.style.d.ts +9 -0
  36. package/dist/dist-esm/react-components/src/components/styles/VoiceOverButton.style.d.ts.map +1 -0
  37. package/dist/dist-esm/react-components/src/components/styles/VoiceOverButton.style.js +26 -0
  38. package/dist/dist-esm/react-components/src/components/styles/VoiceOverButton.style.js.map +1 -0
  39. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +3 -0
  40. package/dist/dist-esm/react-components/src/theming/icons.d.ts +3 -0
  41. package/dist/dist-esm/react-components/src/theming/icons.d.ts.map +1 -1
  42. package/dist/dist-esm/react-components/src/theming/icons.js +4 -1
  43. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  44. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.d.ts.map +1 -1
  45. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js +3 -3
  46. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js.map +1 -1
  47. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts.map +1 -1
  48. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +2 -23
  49. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  50. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.d.ts.map +1 -1
  51. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js +3 -3
  52. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js.map +1 -1
  53. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.d.ts +2 -3
  54. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.d.ts.map +1 -1
  55. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js +2 -2
  56. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js.map +1 -1
  57. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +1 -1
  58. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  59. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.d.ts.map +1 -1
  60. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +4 -4
  61. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js.map +1 -1
  62. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/SidePaneHeader.js +1 -1
  63. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/SidePaneHeader.js.map +1 -1
  64. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +4 -4
  65. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts.map +1 -1
  66. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.d.ts +1 -1
  67. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.d.ts.map +1 -1
  68. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.d.ts.map +1 -1
  69. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +28 -6
  70. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
  71. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.d.ts.map +1 -1
  72. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +5 -3
  73. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
  74. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +5 -0
  75. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts.map +1 -1
  76. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  77. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.d.ts +5 -1
  78. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.d.ts.map +1 -1
  79. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js +10 -0
  80. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js.map +1 -1
  81. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +1 -1
  82. package/package.json +7 -7
  83. package/dist/dist-esm/react-composites/src/composites/common/CustomDataModelUtils.d.ts +0 -21
  84. package/dist/dist-esm/react-composites/src/composites/common/CustomDataModelUtils.d.ts.map +0 -1
  85. package/dist/dist-esm/react-composites/src/composites/common/CustomDataModelUtils.js +0 -59
  86. package/dist/dist-esm/react-composites/src/composites/common/CustomDataModelUtils.js.map +0 -1
@@ -855,6 +855,7 @@ export declare type CallCompositeIcons = {
855
855
  ErrorBarCallMacOsMicrophoneAccessDenied?: JSX.Element;
856
856
  ErrorBarCallMicrophoneAccessDenied?: JSX.Element;
857
857
  ErrorBarCallMicrophoneMutedBySystem?: JSX.Element;
858
+ ErrorBarCallMicrophoneUnmutedBySystem?: JSX.Element;
858
859
  ErrorBarCallNetworkQualityLow?: JSX.Element;
859
860
  ErrorBarCallNoMicrophoneFound?: JSX.Element;
860
861
  ErrorBarCallNoSpeakerFound?: JSX.Element;
@@ -1853,6 +1854,7 @@ export declare type CallWithChatCompositeIcons = {
1853
1854
  ErrorBarCallMacOsMicrophoneAccessDenied?: JSX.Element;
1854
1855
  ErrorBarCallMicrophoneAccessDenied?: JSX.Element;
1855
1856
  ErrorBarCallMicrophoneMutedBySystem?: JSX.Element;
1857
+ ErrorBarCallMicrophoneUnmutedBySystem?: JSX.Element;
1856
1858
  ErrorBarCallNetworkQualityLow?: JSX.Element;
1857
1859
  ErrorBarCallNoMicrophoneFound?: JSX.Element;
1858
1860
  ErrorBarCallNoSpeakerFound?: JSX.Element;
@@ -1981,7 +1983,7 @@ export declare interface CallWithChatCompositeStrings {
1981
1983
  *
1982
1984
  * Only used with `mobileView` set to `true` and when no speakers are available.
1983
1985
  */
1984
- moreDrawerAudioDeviceMenuTitle: string;
1986
+ moreDrawerAudioDeviceMenuTitle?: string;
1985
1987
  /**
1986
1988
  * Title for the microphone selection sub-menu in more button drawer.
1987
1989
  *
@@ -2037,15 +2039,15 @@ export declare interface CallWithChatCompositeStrings {
2037
2039
  /**
2038
2040
  * Label for SidePaneHeader dismiss button
2039
2041
  */
2040
- dismissSidePaneButton: string;
2042
+ dismissSidePaneButtonLabel?: string;
2041
2043
  /**
2042
2044
  * Aria Description string for return to call button
2043
2045
  */
2044
- returnToCallButtonAriaDescription: string;
2046
+ returnToCallButtonAriaDescription?: string;
2045
2047
  /**
2046
2048
  * Aria label string for return to call back button
2047
2049
  */
2048
- returnToCallButtonAriaLabel: string;
2050
+ returnToCallButtonAriaLabel?: string;
2049
2051
  }
2050
2052
 
2051
2053
  /**
@@ -2228,11 +2230,11 @@ export declare interface CameraButtonStrings {
2228
2230
  /**
2229
2231
  * Camera action turned on string for announcer
2230
2232
  */
2231
- cameraActionTurnedOnAnnouncement: string;
2233
+ cameraActionTurnedOnAnnouncement?: string;
2232
2234
  /**
2233
2235
  * Camera action turned off string for announcer
2234
2236
  */
2235
- cameraActionTurnedOffAnnouncement: string;
2237
+ cameraActionTurnedOffAnnouncement?: string;
2236
2238
  }
2237
2239
 
2238
2240
  /**
@@ -3644,9 +3646,12 @@ export declare const DEFAULT_COMPONENT_ICONS: {
3644
3646
  ErrorBarCallMacOsMicrophoneAccessDenied: JSX.Element;
3645
3647
  ErrorBarCallMicrophoneAccessDenied: JSX.Element;
3646
3648
  ErrorBarCallMicrophoneMutedBySystem: JSX.Element;
3649
+ ErrorBarCallMicrophoneUnmutedBySystem: JSX.Element;
3647
3650
  ErrorBarCallNetworkQualityLow: JSX.Element;
3648
3651
  ErrorBarCallNoMicrophoneFound: JSX.Element;
3649
3652
  ErrorBarCallNoSpeakerFound: JSX.Element;
3653
+ ErrorBarCallVideoRecoveredBySystem: JSX.Element;
3654
+ ErrorBarCallVideoStoppedBySystem: JSX.Element;
3650
3655
  HorizontalGalleryLeftButton: JSX.Element;
3651
3656
  HorizontalGalleryRightButton: JSX.Element;
3652
3657
  MessageDelivered: JSX.Element;
@@ -3705,6 +3710,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
3705
3710
  ErrorBarCallMacOsMicrophoneAccessDenied: JSX.Element;
3706
3711
  ErrorBarCallMicrophoneAccessDenied: JSX.Element;
3707
3712
  ErrorBarCallMicrophoneMutedBySystem: JSX.Element;
3713
+ ErrorBarCallMicrophoneUnmutedBySystem: JSX.Element;
3708
3714
  ErrorBarCallNetworkQualityLow: JSX.Element;
3709
3715
  ErrorBarCallNoMicrophoneFound: JSX.Element;
3710
3716
  ErrorBarCallNoSpeakerFound: JSX.Element;
@@ -3742,6 +3748,8 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
3742
3748
  ChatMessageOptions: JSX.Element;
3743
3749
  CancelFileUpload: JSX.Element;
3744
3750
  DownloadFile: JSX.Element;
3751
+ ErrorBarCallVideoRecoveredBySystem: JSX.Element;
3752
+ ErrorBarCallVideoStoppedBySystem: JSX.Element;
3745
3753
  MessageResend: JSX.Element;
3746
3754
  HoldCall: JSX.Element;
3747
3755
  ResumeCall: JSX.Element;
@@ -4212,6 +4220,11 @@ export declare interface ErrorBarStrings {
4212
4220
  * Message shown when microphone is muted by the system (not by local or remote participants)
4213
4221
  */
4214
4222
  callMicrophoneMutedBySystem: string;
4223
+ /**
4224
+ * Message shown when microphone is unmuted by the system (not by local or remote participants).
4225
+ * This typically occurs if the system recovers from an unexpected mute.
4226
+ */
4227
+ callMicrophoneUnmutedBySystem: string;
4215
4228
  /**
4216
4229
  * Mac OS specific message shown when microphone can be enumerated but access is
4217
4230
  * blocked by the system.
@@ -4230,6 +4243,14 @@ export declare interface ErrorBarStrings {
4230
4243
  * another applciation.
4231
4244
  */
4232
4245
  callCameraAlreadyInUse: string;
4246
+ /**
4247
+ * Message shown when local video is stopped by the system (not by local or remote participants)
4248
+ */
4249
+ callVideoStoppedBySystem: string;
4250
+ /**
4251
+ * Message shown when local video was recovered by the system (not by the local participant)
4252
+ */
4253
+ callVideoRecoveredBySystem: string;
4233
4254
  /**
4234
4255
  * Mac OS specific message shown when system denies access to camera.
4235
4256
  */
@@ -4241,15 +4262,15 @@ export declare interface ErrorBarStrings {
4241
4262
  /**
4242
4263
  * Dimiss errorbar button aria label read by screen reader accessibility tools
4243
4264
  */
4244
- dismissButtonAriaLabel: string;
4265
+ dismissButtonAriaLabel?: string;
4245
4266
  /**
4246
4267
  * An error message when joining a call fails.
4247
4268
  */
4248
- failedToJoinCallGeneric: string;
4269
+ failedToJoinCallGeneric?: string;
4249
4270
  /**
4250
4271
  * An error message when joining a call fails specifically due to an invalid meeting link.
4251
4272
  */
4252
- failedToJoinCallInvalidMeetingLink: string;
4273
+ failedToJoinCallInvalidMeetingLink?: string;
4253
4274
  }
4254
4275
 
4255
4276
  /**
@@ -5275,7 +5296,7 @@ export declare interface MessageThreadStrings {
5275
5296
  /** String for Submit in EditBox when there is no user input*/
5276
5297
  editBoxSubmitButton: string;
5277
5298
  /** String for action menu indicating there are more options */
5278
- actionMenuMoreOptions: string;
5299
+ actionMenuMoreOptions?: string;
5279
5300
  /** String for download file button in file card */
5280
5301
  downloadFile: string;
5281
5302
  }
@@ -5427,7 +5448,7 @@ export declare interface MicrophoneButtonStrings {
5427
5448
  /**
5428
5449
  * Description of microphone button split button role
5429
5450
  */
5430
- microphoneButtonSplitRoleDescription: string;
5451
+ microphoneButtonSplitRoleDescription?: string;
5431
5452
  /**
5432
5453
  * Microphone split button aria label when mic is enabled.
5433
5454
  */
@@ -5439,11 +5460,11 @@ export declare interface MicrophoneButtonStrings {
5439
5460
  /**
5440
5461
  * Microphone action turned on string for announcer
5441
5462
  */
5442
- microphoneActionTurnedOnAnnouncement: string;
5463
+ microphoneActionTurnedOnAnnouncement?: string;
5443
5464
  /**
5444
5465
  * Microphone action turned off string for announcer
5445
5466
  */
5446
- microphoneActionTurnedOffAnnouncement: string;
5467
+ microphoneActionTurnedOffAnnouncement?: string;
5447
5468
  }
5448
5469
 
5449
5470
  /**
@@ -5536,7 +5557,7 @@ export declare interface ParticipantItemProps {
5536
5557
  /** Unique User ID of the participant. This `userId` is available in the `onRenderAvatar` callback function */
5537
5558
  userId?: string;
5538
5559
  /** Name of participant. */
5539
- displayName: string;
5560
+ displayName?: string;
5540
5561
  /** Optional indicator to show participant is the user. */
5541
5562
  me?: boolean;
5542
5563
  /** Optional callback returning a JSX element to override avatar. */
@@ -5584,7 +5605,7 @@ export declare interface ParticipantItemStrings {
5584
5605
  /** Label for the muted icon in participant state stack */
5585
5606
  mutedIconLabel: string;
5586
5607
  /** placeholder text for participants who does not have a display name*/
5587
- displayNamePlaceholder: string;
5608
+ displayNamePlaceholder?: string;
5588
5609
  }
5589
5610
 
5590
5611
  /**