@azure/communication-react 1.5.1-alpha-202302230015 → 1.5.1-beta.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.
Files changed (93) hide show
  1. package/CHANGELOG.beta.md +86 -1
  2. package/CHANGELOG.json +686 -0
  3. package/dist/communication-react.d.ts +1 -32
  4. package/dist/dist-cjs/communication-react/index.js +174 -375
  5. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  6. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  7. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  8. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +1 -22
  9. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  10. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +0 -14
  11. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +0 -44
  12. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  13. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +0 -1
  14. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +0 -21
  15. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  16. package/dist/dist-esm/calling-stateful-client/src/Converter.js +0 -1
  17. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  18. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.d.ts +1 -13
  19. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +1 -8
  20. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
  21. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.d.ts +0 -4
  22. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js +0 -28
  23. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js.map +1 -1
  24. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +1 -1
  25. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
  26. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +30 -50
  27. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
  28. package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +0 -1
  29. package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
  30. package/dist/dist-esm/react-components/src/components/ControlBarButton.js +1 -1
  31. package/dist/dist-esm/react-components/src/components/ControlBarButton.js.map +1 -1
  32. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +1 -1
  33. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  34. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +3 -3
  35. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
  36. package/dist/dist-esm/react-components/src/components/VideoGallery.js +0 -13
  37. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  38. package/dist/dist-esm/react-components/src/components/VideoTile.js +12 -9
  39. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  40. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +103 -9
  41. package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +102 -8
  42. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +102 -8
  43. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +103 -9
  44. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +102 -8
  45. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +102 -8
  46. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +102 -8
  47. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +102 -8
  48. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +103 -9
  49. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +102 -8
  50. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +103 -9
  51. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +102 -8
  52. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +102 -8
  53. package/dist/dist-esm/react-components/src/theming/icons.js +6 -6
  54. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  55. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js +1 -1
  56. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js.map +1 -1
  57. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.d.ts +5 -0
  58. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js +31 -1
  59. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js.map +1 -1
  60. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.d.ts +1 -1
  61. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js +3 -3
  62. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js.map +1 -1
  63. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js +6 -8
  64. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js.map +1 -1
  65. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.d.ts +3 -16
  66. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.js +43 -49
  67. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.js.map +1 -1
  68. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/DesktopMoreButton.d.ts +0 -2
  69. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/DesktopMoreButton.js +26 -47
  70. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/DesktopMoreButton.js.map +1 -1
  71. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.js +4 -4
  72. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.js.map +1 -1
  73. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +1 -1
  74. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
  75. package/dist/dist-esm/react-composites/src/composites/common/icons.js +4 -4
  76. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  77. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +17 -3
  78. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +17 -3
  79. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +17 -3
  80. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +17 -3
  81. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +17 -3
  82. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +17 -3
  83. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +17 -3
  84. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +17 -3
  85. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +17 -3
  86. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +17 -3
  87. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +17 -3
  88. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +17 -3
  89. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +17 -3
  90. package/package.json +12 -12
  91. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.d.ts +0 -29
  92. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js +0 -54
  93. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js.map +0 -1
@@ -64,7 +64,6 @@ import { IStyleFunctionOrObject } from '@fluentui/react';
64
64
  import { ITextFieldStyles } from '@fluentui/react';
65
65
  import { LatestMediaDiagnostics } from '@azure/communication-calling';
66
66
  import { LatestNetworkDiagnostics } from '@azure/communication-calling';
67
- import { LocalVideoStream } from '@azure/communication-calling';
68
67
  import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
69
68
  import { MediaStreamType } from '@azure/communication-calling';
70
69
  import { MicrosoftTeamsUserIdentifier } from '@azure/communication-common';
@@ -94,7 +93,6 @@ import { TypingIndicatorReceivedEvent } from '@azure/communication-chat';
94
93
  import { UnknownIdentifier } from '@azure/communication-common';
95
94
  import { UnknownIdentifierKind } from '@azure/communication-common';
96
95
  import { VideoDeviceInfo } from '@azure/communication-calling';
97
- import { VideoEffectName } from '@azure/communication-calling';
98
96
  import { VideoStreamRenderer } from '@azure/communication-calling';
99
97
  import { VideoStreamRendererView } from '@azure/communication-calling';
100
98
 
@@ -1778,7 +1776,7 @@ export declare type CallErrors = {
1778
1776
  *
1779
1777
  * @public
1780
1778
  */
1781
- export declare type CallErrorTarget = 'Call.addParticipant' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | /* @conditional-compile-remove(calling-beta-sdk) */ /* @conditional-compile-remove(teams-identity-support) */ 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallClient.getEnvironmentInfo' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject' | /* @conditional-compile-remove(calling-beta-sdk) */ /* @conditional-compile-remove(teams-identity-support) */ 'TeamsCall.addParticipant' | /* @conditional-compile-remove(video-background-effects) */ 'VideoEffectsFeature.startEffects';
1779
+ export declare type CallErrorTarget = 'Call.addParticipant' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | /* @conditional-compile-remove(calling-beta-sdk) */ /* @conditional-compile-remove(teams-identity-support) */ 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallClient.getEnvironmentInfo' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject' | /* @conditional-compile-remove(calling-beta-sdk) */ /* @conditional-compile-remove(teams-identity-support) */ 'TeamsCall.addParticipant';
1782
1780
 
1783
1781
  /**
1784
1782
  * Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
@@ -5859,27 +5857,6 @@ export declare interface LocalVideoStreamState {
5859
5857
  * API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
5860
5858
  */
5861
5859
  view?: VideoStreamRendererViewState;
5862
- /**
5863
- * Stores the state of the video effects.
5864
- * @beta
5865
- */
5866
- videoEffects?: LocalVideoStreamVideoEffectsState;
5867
- }
5868
-
5869
- /**
5870
- * State only version of a LocalVideoStream's {@link @azure/communication-calling#VideoEffectsFeature}.
5871
- *
5872
- * @beta
5873
- */
5874
- export declare interface LocalVideoStreamVideoEffectsState {
5875
- /**
5876
- * State of the video background effect.
5877
- */
5878
- isActive: boolean;
5879
- /**
5880
- * Name of the effect if one is active.
5881
- */
5882
- effectName?: VideoEffectName;
5883
5860
  }
5884
5861
 
5885
5862
  /**
@@ -7610,14 +7587,6 @@ export declare interface StatefulDeviceManager extends DeviceManager {
7610
7587
  * {@link StatefulDeviceManager}. See also {@link DeviceManagerState.selectedCamera}.
7611
7588
  */
7612
7589
  selectCamera: (VideoDeviceInfo: any) => void;
7613
- /**
7614
- * Gets the list of unparented video streams. This is a list of video streams that have not been added to a
7615
- * {@link @azure/communication-calling#Call}. This is useful for developers who want to interact with rendered
7616
- * video streams before they have started a call. See also {@link @azure/communication-react#CallClient.createView}.
7617
- *
7618
- * @beta
7619
- */
7620
- getUnparentedVideoStreams: LocalVideoStream[];
7621
7590
  }
7622
7591
 
7623
7592
  /**