@azure/communication-react 1.4.3-alpha-202212160013.0 → 1.4.3-alpha-202212180014.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 (84) hide show
  1. package/dist/communication-react.d.ts +21 -33
  2. package/dist/dist-cjs/communication-react/index.js +646 -469
  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/StreamUtils.js +6 -2
  7. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
  8. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +3 -0
  9. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +8 -3
  10. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  11. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.d.ts +1 -1
  12. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js +2 -2
  13. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js.map +1 -1
  14. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.d.ts +1 -1
  15. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js +2 -2
  16. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js.map +1 -1
  17. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.d.ts +2 -27
  18. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +1 -1
  19. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
  20. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.d.ts +2 -26
  21. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +2 -2
  22. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
  23. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.d.ts +34 -0
  24. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js +4 -0
  25. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js.map +1 -0
  26. package/dist/dist-esm/react-components/src/components/VideoGallery/PinnedParticipantsLayout.d.ts +25 -0
  27. package/dist/dist-esm/react-components/src/components/VideoGallery/PinnedParticipantsLayout.js +62 -0
  28. package/dist/dist-esm/react-components/src/components/VideoGallery/PinnedParticipantsLayout.js.map +1 -0
  29. package/dist/dist-esm/react-components/src/components/VideoGallery/VideoGalleryResponsiveHorizontalGallery.d.ts +3 -1
  30. package/dist/dist-esm/react-components/src/components/VideoGallery/VideoGalleryResponsiveHorizontalGallery.js +3 -1
  31. package/dist/dist-esm/react-components/src/components/VideoGallery/VideoGalleryResponsiveHorizontalGallery.js.map +1 -1
  32. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.d.ts +1 -0
  33. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +2 -1
  34. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -1
  35. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.d.ts +0 -14
  36. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js +1 -8
  37. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js.map +1 -1
  38. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.d.ts +5 -0
  39. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +22 -2
  40. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
  41. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.d.ts +36 -0
  42. package/dist/dist-esm/react-components/src/components/VideoGallery/{videoGalleryUtils.js → utils/videoGalleryLayoutUtils.js} +46 -2
  43. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -0
  44. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +16 -0
  45. package/dist/dist-esm/react-components/src/components/VideoGallery.js +77 -7
  46. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  47. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +3 -1
  48. package/dist/dist-esm/react-components/src/theming/icons.d.ts +2 -0
  49. package/dist/dist-esm/react-components/src/theming/icons.js +6 -2
  50. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  51. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +0 -5
  52. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +6 -2
  53. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  54. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +0 -26
  55. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  56. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +0 -2
  57. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
  58. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +11 -11
  59. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  60. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js +1 -1
  61. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
  62. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +0 -1
  63. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  64. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +4 -13
  65. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +1 -1
  66. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.d.ts +0 -4
  67. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js +0 -8
  68. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js.map +1 -1
  69. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +2 -4
  70. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +45 -25
  71. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  72. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js +1 -11
  73. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js.map +1 -1
  74. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +3 -1
  75. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  76. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.d.ts +0 -2
  77. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js +0 -15
  78. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js.map +1 -1
  79. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +2 -0
  80. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js +1 -1
  81. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js.map +1 -1
  82. package/package.json +8 -8
  83. package/dist/dist-esm/react-components/src/components/VideoGallery/videoGalleryUtils.d.ts +0 -17
  84. package/dist/dist-esm/react-components/src/components/VideoGallery/videoGalleryUtils.js.map +0 -1
@@ -291,10 +291,6 @@ export declare type AzureCommunicationCallAdapterOptions = {
291
291
  * {@link CallComposite}. The true role of the user will be synced with ACS services when a Rooms call starts.
292
292
  */
293
293
  roleHint?: Role;
294
- /**
295
- * Optional feature flags to be enabled in the CallAdapter.
296
- */
297
- features?: CallAdapterOptionalFeatures;
298
294
  };
299
295
 
300
296
  /**
@@ -739,10 +735,6 @@ export declare type CallAdapterClientState = {
739
735
  * Environment information about system the adapter is made on
740
736
  */
741
737
  environmentInfo?: EnvironmentInfo;
742
- /**
743
- * Optional features that are to be enabled through the adapter.
744
- */
745
- features?: CallAdapterOptionalFeatures;
746
738
  /**
747
739
  * Use this to hint the role of the user when the role is not available before a Rooms call is started. This value
748
740
  * should be obtained using the Rooms API. This role will determine permissions in the configuration page of the
@@ -835,18 +827,6 @@ export declare interface CallAdapterDeviceManagement {
835
827
  */
836
828
  export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | /* @conditional-compile-remove(rooms) */ RoomCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
837
829
 
838
- /**
839
- * options object to enable opt in features for the CallAdapter
840
- *
841
- * @beta
842
- */
843
- export declare type CallAdapterOptionalFeatures = {
844
- /**
845
- * Feature flag for enabling the unsupported environment logic in the CallAdapter.
846
- */
847
- unsupportedEnvironment?: boolean | UnsupportedEnvironmentFeatures;
848
- };
849
-
850
830
  /**
851
831
  * {@link CommonCallAdapter} state.
852
832
  *
@@ -4599,6 +4579,8 @@ export declare const DEFAULT_COMPONENT_ICONS: {
4599
4579
  VideoTileMoreOptions: JSX.Element;
4600
4580
  VideoTileScaleFit: JSX.Element;
4601
4581
  VideoTileScaleFill: JSX.Element;
4582
+ PinParticipant: JSX.Element;
4583
+ UnpinParticipant: JSX.Element;
4602
4584
  };
4603
4585
 
4604
4586
  /**
@@ -4698,6 +4680,8 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4698
4680
  VideoTileMoreOptions: JSX.Element;
4699
4681
  VideoTileScaleFit: JSX.Element;
4700
4682
  VideoTileScaleFill: JSX.Element;
4683
+ PinParticipant: JSX.Element;
4684
+ UnpinParticipant: JSX.Element;
4701
4685
  };
4702
4686
 
4703
4687
  /**
@@ -7951,7 +7935,7 @@ export declare interface UnsupportedBrowserVersionProps {
7951
7935
  /** String overrides for the component */
7952
7936
  strings?: UnsupportedBrowserVersionStrings;
7953
7937
  /** Handler to allow user to continue into the call */
7954
- onContinueClick?: () => void;
7938
+ onContinueAnywayClick?: () => void;
7955
7939
  }
7956
7940
 
7957
7941
  /**
@@ -7970,18 +7954,6 @@ export declare interface UnsupportedBrowserVersionStrings {
7970
7954
  continueAnywayButtonText?: string;
7971
7955
  }
7972
7956
 
7973
- /**
7974
- * Feature options for unsupported browser functionality
7975
- *
7976
- * @beta
7977
- */
7978
- export declare type UnsupportedEnvironmentFeatures = {
7979
- /**
7980
- * Will allow the end user to choose to enter a call with a unsupported browser version.
7981
- */
7982
- unsupportedBrowserVersionAllowed?: boolean;
7983
- };
7984
-
7985
7957
  /**
7986
7958
  * UI to display to the user that the operating system they are using is not supported by Azure Communications Calling service.
7987
7959
  *
@@ -8313,11 +8285,23 @@ export declare interface VideoGalleryProps {
8313
8285
  * Camera control information for button to switch cameras.
8314
8286
  */
8315
8287
  localVideoCameraCycleButtonProps?: LocalVideoCameraCycleButtonProps;
8288
+ /**
8289
+ * List of pinned participant userIds
8290
+ */
8291
+ pinnedParticipants?: string[];
8316
8292
  /**
8317
8293
  * Whether to show the remote video tile contextual menu.
8318
8294
  * @defaultValue `true`
8319
8295
  */
8320
8296
  showRemoteVideoTileContextualMenu?: boolean;
8297
+ /**
8298
+ * This callback will be called when a participant video tile is pinned
8299
+ */
8300
+ onPinParticipant?: (userId: string) => void;
8301
+ /**
8302
+ * This callback will be called when a participant video tile is un-pinned
8303
+ */
8304
+ onUnpinParticipant?: (userId: string) => void;
8321
8305
  }
8322
8306
 
8323
8307
  /**
@@ -8393,6 +8377,10 @@ export declare interface VideoGalleryStrings {
8393
8377
  fitRemoteParticipantToFrame: string;
8394
8378
  /** Menu text shown in Video Tile contextual menu for setting a remote participants video to fill the frame */
8395
8379
  fillRemoteParticipantFrame: string;
8380
+ /** Menu text shown in Video Tile contextual menu for pinning a remote participant's video tile */
8381
+ pinParticipantForMe: string;
8382
+ /** Menu text shown in Video Tile contextual menu for setting a remote participant's video tile */
8383
+ unpinParticipantForMe: string;
8396
8384
  }
8397
8385
 
8398
8386
  /**