@azure/communication-react 1.5.1-alpha-202305180013 → 1.5.1-alpha-202305200012

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 (101) hide show
  1. package/dist/communication-react.d.ts +22 -10
  2. package/dist/dist-cjs/communication-react/index.js +351 -292
  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/acs-ui-common/src/telemetryVersion.js.map +1 -1
  6. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +2 -6
  7. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  8. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +1 -1
  9. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +3 -11
  10. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  11. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +1 -0
  12. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  13. package/dist/dist-esm/calling-stateful-client/src/Converter.d.ts +4 -0
  14. package/dist/dist-esm/calling-stateful-client/src/Converter.js +14 -2
  15. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  16. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.d.ts +1 -1
  17. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js +12 -17
  18. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js.map +1 -1
  19. package/dist/dist-esm/communication-react/src/index.d.ts +1 -0
  20. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  21. package/dist/dist-esm/react-components/src/components/CameraButton.js +1 -1
  22. package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
  23. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +6 -2
  24. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
  25. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js +11 -3
  26. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js.map +1 -1
  27. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.d.ts +1 -1
  28. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js +4 -47
  29. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js.map +1 -1
  30. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.d.ts +11 -0
  31. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js +56 -0
  32. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js.map +1 -0
  33. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.d.ts +5 -0
  34. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +6 -4
  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.d.ts +13 -0
  37. package/dist/dist-esm/react-components/src/components/VideoGallery.js +11 -6
  38. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  39. package/dist/dist-esm/react-components/src/components/index.d.ts +1 -0
  40. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  41. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +7 -2
  42. package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +7 -2
  43. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +7 -2
  44. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +7 -2
  45. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +7 -2
  46. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +7 -2
  47. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +7 -2
  48. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +7 -2
  49. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +7 -2
  50. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +7 -2
  51. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +7 -2
  52. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +7 -2
  53. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +7 -2
  54. package/dist/dist-esm/react-components/src/theming/icons.d.ts +2 -1
  55. package/dist/dist-esm/react-components/src/theming/icons.js +4 -2
  56. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  57. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +1 -1
  58. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +22 -6
  59. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  60. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +1 -1
  61. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  62. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts +1 -0
  63. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +9 -1
  64. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
  65. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +3 -1
  66. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  67. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +1 -1
  68. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  69. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +3 -11
  70. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  71. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.d.ts +2 -0
  72. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +24 -5
  73. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
  74. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +9 -5
  75. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +15 -18
  76. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  77. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +1 -1
  78. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +3 -3
  79. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  80. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +1 -1
  81. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  82. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +1 -1
  83. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +2 -2
  84. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  85. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js +5 -5
  86. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js.map +1 -1
  87. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +2 -1
  88. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +5 -0
  89. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +5 -0
  90. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +5 -0
  91. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +5 -0
  92. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +5 -0
  93. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +5 -0
  94. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +5 -0
  95. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +5 -0
  96. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +5 -0
  97. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +5 -0
  98. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +5 -0
  99. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +5 -0
  100. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +5 -0
  101. package/package.json +10 -10
@@ -791,7 +791,7 @@ export declare interface CallAdapterCallOperations {
791
791
  *
792
792
  * @beta
793
793
  */
794
- stopVideoBackgroundEffect(): Promise<void>;
794
+ stopVideoBackgroundEffects(): Promise<void>;
795
795
  /**
796
796
  * Override the background picker images for background replacement effect.
797
797
  *
@@ -2483,7 +2483,7 @@ export declare interface CallWithChatAdapterManagement {
2483
2483
  *
2484
2484
  * @beta
2485
2485
  */
2486
- stopVideoBackgroundEffect(): Promise<void>;
2486
+ stopVideoBackgroundEffects(): Promise<void>;
2487
2487
  /**
2488
2488
  * Override the background picker images for background replacement effect.
2489
2489
  *
@@ -5038,7 +5038,8 @@ export declare const DEFAULT_COMPONENT_ICONS: {
5038
5038
  SplitButtonPrimaryActionMicMuted: JSX.Element;
5039
5039
  VerticalGalleryLeftButton: JSX.Element;
5040
5040
  VerticalGalleryRightButton: JSX.Element;
5041
- OptionsVideoBackgroundEffect: JSX.Element;
5041
+ ControlButtonVideoEffectsOption: JSX.Element;
5042
+ ConfigurationScreenVideoEffectsButton: JSX.Element;
5042
5043
  CaptionsIcon: JSX.Element;
5043
5044
  CaptionsOffIcon: JSX.Element;
5044
5045
  CaptionsSettingsIcon: JSX.Element;
@@ -5153,7 +5154,8 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
5153
5154
  SplitButtonPrimaryActionMicMuted: JSX.Element;
5154
5155
  VerticalGalleryLeftButton: JSX.Element;
5155
5156
  VerticalGalleryRightButton: JSX.Element;
5156
- OptionsVideoBackgroundEffect: JSX.Element;
5157
+ ControlButtonVideoEffectsOption: JSX.Element;
5158
+ ConfigurationScreenVideoEffectsButton: JSX.Element;
5157
5159
  CaptionsIcon: JSX.Element;
5158
5160
  CaptionsOffIcon: JSX.Element;
5159
5161
  CaptionsSettingsIcon: JSX.Element;
@@ -6364,15 +6366,18 @@ export declare interface LocalVideoStreamState {
6364
6366
  */
6365
6367
  export declare interface LocalVideoStreamVideoEffectsState {
6366
6368
  /**
6367
- * State of the video background effect.
6369
+ * List of effects if any are active.
6368
6370
  */
6369
- isActive: boolean;
6370
- /**
6371
- * Name of the effect if one is active.
6372
- */
6373
- effectName?: VideoEffectName;
6371
+ activeEffects?: VideoEffectName[];
6374
6372
  }
6375
6373
 
6374
+ /**
6375
+ * different modes of the local video tile
6376
+ *
6377
+ * @beta
6378
+ */
6379
+ export declare type LocalVideoTileSize = '9:16' | '16:9' | 'hidden' | 'followDeviceOrientation';
6380
+
6376
6381
  /**
6377
6382
  * Payload for {@link DiagnosticChangedEventListner} where there is a change in a media diagnostic.
6378
6383
  *
@@ -9074,6 +9079,13 @@ export declare interface VideoGalleryProps {
9074
9079
  * @defaultValue 'HorizontalBottom'
9075
9080
  */
9076
9081
  overflowGalleryPosition?: OverflowGalleryPosition;
9082
+ /**
9083
+ * Determines the aspect ratio of local video tile in the video gallery.
9084
+ * @remarks 'followDeviceOrientation' will be responsive to the screen orientation and will change between 9:16 (portrait) and
9085
+ * 16:9 (landscape) aspect ratios.
9086
+ * @defaultValue 'followDeviceOrientation'
9087
+ */
9088
+ localVideoTileSize?: LocalVideoTileSize;
9077
9089
  }
9078
9090
 
9079
9091
  /**