@azure/communication-react 1.4.3-alpha-202212170012.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 (36) hide show
  1. package/dist/communication-react.d.ts +16 -32
  2. package/dist/dist-cjs/communication-react/index.js +232 -159
  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/react-components/src/components/RemoteVideoTile.d.ts +3 -0
  7. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +8 -3
  8. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  9. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.d.ts +5 -0
  10. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +22 -2
  11. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
  12. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +12 -0
  13. package/dist/dist-esm/react-components/src/components/VideoGallery.js +31 -5
  14. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  15. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +3 -1
  16. package/dist/dist-esm/react-components/src/theming/icons.d.ts +2 -0
  17. package/dist/dist-esm/react-components/src/theming/icons.js +6 -2
  18. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  19. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +0 -5
  20. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +6 -2
  21. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  22. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +0 -26
  23. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  24. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +0 -2
  25. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
  26. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +0 -1
  27. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  28. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +3 -12
  29. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +1 -1
  30. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +2 -4
  31. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +45 -25
  32. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  33. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +3 -1
  34. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  35. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +2 -0
  36. package/package.json +8 -8
@@ -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
  /**
@@ -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
  *
@@ -8322,6 +8294,14 @@ export declare interface VideoGalleryProps {
8322
8294
  * @defaultValue `true`
8323
8295
  */
8324
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;
8325
8305
  }
8326
8306
 
8327
8307
  /**
@@ -8397,6 +8377,10 @@ export declare interface VideoGalleryStrings {
8397
8377
  fitRemoteParticipantToFrame: string;
8398
8378
  /** Menu text shown in Video Tile contextual menu for setting a remote participants video to fill the frame */
8399
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;
8400
8384
  }
8401
8385
 
8402
8386
  /**