@azure/communication-react 1.4.2-alpha-202211150040.0 → 1.4.2-alpha-202211170015.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 (99) hide show
  1. package/dist/communication-react.d.ts +125 -35
  2. package/dist/dist-cjs/communication-react/index.js +11130 -10756
  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-component-bindings/src/handlers/createCommonHandlers.d.ts +51 -0
  7. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +270 -0
  8. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -0
  9. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.d.ts +20 -0
  10. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js +36 -0
  11. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js.map +1 -0
  12. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts +6 -51
  13. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +22 -299
  14. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
  15. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.d.ts +43 -0
  16. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +81 -0
  17. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +1 -0
  18. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.d.ts +1 -1
  19. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.js +17 -5
  20. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.js.map +1 -1
  21. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +2 -2
  22. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  23. package/dist/dist-esm/calling-component-bindings/src/hooks/useSelector.js +3 -3
  24. package/dist/dist-esm/calling-component-bindings/src/hooks/useSelector.js.map +1 -1
  25. package/dist/dist-esm/calling-component-bindings/src/index.d.ts +4 -0
  26. package/dist/dist-esm/calling-component-bindings/src/index.js +4 -0
  27. package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
  28. package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.d.ts +12 -2
  29. package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.js +25 -1
  30. package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.js.map +1 -1
  31. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.d.ts +16 -2
  32. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js +27 -1
  33. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js.map +1 -1
  34. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.d.ts +11 -0
  35. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +15 -1
  36. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
  37. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.d.ts +8 -5
  38. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js.map +1 -1
  39. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js +6 -6
  40. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
  41. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.d.ts +1 -1
  42. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
  43. package/dist/dist-esm/calling-stateful-client/src/Converter.d.ts +1 -1
  44. package/dist/dist-esm/calling-stateful-client/src/Converter.js +2 -2
  45. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  46. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js +6 -6
  47. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +1 -1
  48. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.d.ts +1 -1
  49. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +1 -1
  50. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.d.ts +8 -8
  51. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js +8 -8
  52. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
  53. package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +8 -0
  54. package/dist/dist-esm/calling-stateful-client/src/index-public.js +4 -0
  55. package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -0
  56. package/dist/dist-esm/calling-stateful-client/src/index.d.ts +3 -7
  57. package/dist/dist-esm/calling-stateful-client/src/index.js +2 -1
  58. package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
  59. package/dist/dist-esm/communication-react/src/index.d.ts +5 -2
  60. package/dist/dist-esm/communication-react/src/index.js +3 -1
  61. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  62. package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissionsScaffolding.js +9 -5
  63. package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissionsScaffolding.js.map +1 -1
  64. package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +20 -1
  65. package/dist/dist-esm/react-components/src/components/VideoTile.js +29 -2
  66. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  67. package/dist/dist-esm/react-components/src/components/styles/DomainPermissions.styles.d.ts +4 -0
  68. package/dist/dist-esm/react-components/src/components/styles/DomainPermissions.styles.js +10 -1
  69. package/dist/dist-esm/react-components/src/components/styles/DomainPermissions.styles.js.map +1 -1
  70. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +1 -1
  71. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
  72. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.d.ts +9 -1
  73. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js +41 -0
  74. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
  75. package/dist/dist-esm/react-components/src/components/utils.d.ts +6 -1
  76. package/dist/dist-esm/react-components/src/components/utils.js +16 -0
  77. package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
  78. package/dist/dist-esm/react-components/src/index.d.ts +1 -0
  79. package/dist/dist-esm/react-components/src/index.js.map +1 -1
  80. package/dist/dist-esm/react-components/src/theming/icons.d.ts +1 -0
  81. package/dist/dist-esm/react-components/src/theming/icons.js +7 -3
  82. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  83. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +2 -15
  84. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  85. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +14 -8
  86. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  87. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +1 -0
  88. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
  89. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.d.ts +47 -0
  90. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +170 -0
  91. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +1 -0
  92. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +37 -48
  93. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  94. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +1 -1
  95. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +4 -4
  96. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  97. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
  98. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +1 -0
  99. package/package.json +11 -11
@@ -52,6 +52,7 @@ import { IContextualMenuItemStyles } from '@fluentui/react';
52
52
  import { IContextualMenuStyles } from '@fluentui/react';
53
53
  import { IDropdownOption } from '@fluentui/react';
54
54
  import { IDropdownStyles } from '@fluentui/react';
55
+ import { IIconProps } from '@fluentui/react';
55
56
  import { ILinkStyles } from '@fluentui/react';
56
57
  import { IMessageBarProps } from '@fluentui/react';
57
58
  import { IncomingCall } from '@azure/communication-calling';
@@ -83,6 +84,8 @@ import { RoomCallLocator } from '@azure/communication-calling';
83
84
  import { ScalingMode } from '@azure/communication-calling';
84
85
  import { SendMessageOptions } from '@azure/communication-chat';
85
86
  import { StartCallOptions } from '@azure/communication-calling';
87
+ import { TeamsCall } from '@azure/communication-calling';
88
+ import { TeamsCallAgent } from '@azure/communication-calling';
86
89
  import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
87
90
  import { Theme } from '@fluentui/react';
88
91
  import { TypingIndicatorReceivedEvent } from '@azure/communication-chat';
@@ -263,14 +266,21 @@ export declare type AzureCommunicationCallAdapterArgs = {
263
266
  /**
264
267
  * Optional parameters for the {@link AzureCommunicationCallAdapter} created
265
268
  */
266
- options?: {
267
- /**
268
- * Use this to hint the role of the user when the role is not available before a Rooms call is started. This value
269
- * should be obtained using the Rooms API. This role will determine permissions in the configuration page of the
270
- * {@link CallComposite}. The true role of the user will be synced with ACS services when a Rooms call starts.
271
- */
272
- roleHint?: Role;
273
- };
269
+ options?: AzureCommunicationCallAdapterOptions;
270
+ };
271
+
272
+ /**
273
+ * Optional parameters to create {@link AzureCommunicationCallAdapter}
274
+ *
275
+ * @beta
276
+ */
277
+ export declare type AzureCommunicationCallAdapterOptions = {
278
+ /**
279
+ * Use this to hint the role of the user when the role is not available before a Rooms call is started. This value
280
+ * should be obtained using the Rooms API. This role will determine permissions in the configuration page of the
281
+ * {@link CallComposite}. The true role of the user will be synced with ACS services when a Rooms call starts.
282
+ */
283
+ roleHint?: Role;
274
284
  };
275
285
 
276
286
  /**
@@ -919,7 +929,7 @@ export declare const CallAgentProvider: (props: CallAgentProviderProps) => JSX.E
919
929
  */
920
930
  export declare interface CallAgentProviderProps {
921
931
  children: React_2.ReactNode;
922
- callAgent?: CallAgent;
932
+ callAgent?: CallAgent | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
923
933
  }
924
934
 
925
935
  /**
@@ -1679,30 +1689,9 @@ export declare type CallingBaseSelectorProps = {
1679
1689
  *
1680
1690
  * @public
1681
1691
  */
1682
- export declare type CallingHandlers = {
1683
- onStartLocalVideo: () => Promise<void>;
1684
- onToggleCamera: (options?: VideoStreamOptions) => Promise<void>;
1685
- onStartCall: (participants: (CommunicationUserIdentifier | PhoneNumberIdentifier | UnknownIdentifier)[], options?: StartCallOptions) => Call | undefined;
1686
- onSelectMicrophone: (device: AudioDeviceInfo) => Promise<void>;
1687
- onSelectSpeaker: (device: AudioDeviceInfo) => Promise<void>;
1688
- onSelectCamera: (device: VideoDeviceInfo, options?: VideoStreamOptions) => Promise<void>;
1689
- onToggleMicrophone: () => Promise<void>;
1690
- onStartScreenShare: () => Promise<void>;
1691
- onStopScreenShare: () => Promise<void>;
1692
- onToggleScreenShare: () => Promise<void>;
1693
- onHangUp: (forEveryone?: boolean) => Promise<void>;
1694
- onToggleHold: () => Promise<void>;
1695
- onAddParticipant(participant: CommunicationUserIdentifier): Promise<void>;
1696
- onAddParticipant(participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions): Promise<void>;
1697
- onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
1698
- onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
1699
- onRemoveParticipant(userId: string): Promise<void>;
1700
- onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
1701
- onDisposeRemoteStreamView: (userId: string) => Promise<void>;
1702
- onDisposeLocalStreamView: () => Promise<void>;
1703
- onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
1704
- askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
1705
- };
1692
+ export declare interface CallingHandlers extends CommonCallingHandlers {
1693
+ onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => Call | undefined;
1694
+ }
1706
1695
 
1707
1696
  /**
1708
1697
  * Helper type for {@link usePropsFor}.
@@ -1776,7 +1765,7 @@ export declare const CallProvider: (props: CallProviderProps) => JSX.Element;
1776
1765
  */
1777
1766
  export declare interface CallProviderProps {
1778
1767
  children: React_2.ReactNode;
1779
- call?: Call;
1768
+ call?: Call | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
1780
1769
  }
1781
1770
 
1782
1771
  /**
@@ -3410,6 +3399,39 @@ export declare type ClientState = CallClientState & ChatClientState;
3410
3399
  */
3411
3400
  export declare type Common<A, B> = Pick<A, CommonProperties<A, B>>;
3412
3401
 
3402
+ /**
3403
+ * Object containing all the handlers required for calling components.
3404
+ *
3405
+ * Calling related components from this package are able to pick out relevant handlers from this object.
3406
+ * See {@link useHandlers} and {@link usePropsFor}.
3407
+ *
3408
+ * @public
3409
+ */
3410
+ export declare interface CommonCallingHandlers {
3411
+ onStartLocalVideo: () => Promise<void>;
3412
+ onToggleCamera: (options?: VideoStreamOptions) => Promise<void>;
3413
+ onSelectMicrophone: (device: AudioDeviceInfo) => Promise<void>;
3414
+ onSelectSpeaker: (device: AudioDeviceInfo) => Promise<void>;
3415
+ onSelectCamera: (device: VideoDeviceInfo, options?: VideoStreamOptions) => Promise<void>;
3416
+ onToggleMicrophone: () => Promise<void>;
3417
+ onStartScreenShare: () => Promise<void>;
3418
+ onStopScreenShare: () => Promise<void>;
3419
+ onToggleScreenShare: () => Promise<void>;
3420
+ onHangUp: (forEveryone?: boolean) => Promise<void>;
3421
+ onToggleHold: () => Promise<void>;
3422
+ onAddParticipant(participant: CommunicationUserIdentifier): Promise<void>;
3423
+ onAddParticipant(participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions): Promise<void>;
3424
+ onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
3425
+ onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
3426
+ onDisposeRemoteStreamView: (userId: string) => Promise<void>;
3427
+ onDisposeLocalStreamView: () => Promise<void>;
3428
+ onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
3429
+ onRemoveParticipant(userId: string): Promise<void>;
3430
+ onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
3431
+ askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
3432
+ onStartCall: (participants: (CommunicationUserIdentifier | PhoneNumberIdentifier | UnknownIdentifier)[], options?: StartCallOptions) => void;
3433
+ }
3434
+
3413
3435
  /**
3414
3436
  * @beta
3415
3437
  * Props for DomainPermissions components.
@@ -4010,7 +4032,7 @@ export declare const createAzureCommunicationChatAdapter: ({ endpoint: endpointU
4010
4032
  export declare const createAzureCommunicationChatAdapterFromClient: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => Promise<ChatAdapter>;
4011
4033
 
4012
4034
  /**
4013
- * Create the default implementation of {@link CallingHandlers}.
4035
+ * Create the default implementation of {@link CallingHandlers} for teams call.
4014
4036
  *
4015
4037
  * Useful when implementing a custom component that utilizes the providers
4016
4038
  * exported from this library.
@@ -4031,6 +4053,16 @@ export declare const createDefaultCallingHandlers: (callClient: StatefulCallClie
4031
4053
  */
4032
4054
  export declare const createDefaultChatHandlers: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => ChatHandlers;
4033
4055
 
4056
+ /**
4057
+ * Create the default implementation of {@link TeamsCallingHandlers} for teams call.
4058
+ *
4059
+ * Useful when implementing a custom component that utilizes the providers
4060
+ * exported from this library.
4061
+ *
4062
+ * @beta
4063
+ */
4064
+ export declare const createDefaultTeamsCallingHandlers: (callClient: StatefulCallClient, callAgent: undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent, deviceManager: StatefulDeviceManager | undefined, call: undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall) => never | TeamsCallingHandlers;
4065
+
4034
4066
  /**
4035
4067
  * Creates a StatefulCallClient {@link StatefulCallClient} by proxying CallClient
4036
4068
  * {@link @azure/communication-calling#CallClient} with ProxyCallClient {@link ProxyCallClient} which then allows access
@@ -4357,6 +4389,7 @@ export declare const DEFAULT_COMPONENT_ICONS: {
4357
4389
  DomainPermissionMicDenied: JSX.Element;
4358
4390
  UnsupportedBrowserWarning: JSX.Element;
4359
4391
  BrowserPermissionDeniedError: JSX.Element;
4392
+ VideoTilePinned: JSX.Element;
4360
4393
  };
4361
4394
 
4362
4395
  /**
@@ -4452,6 +4485,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4452
4485
  DomainPermissionMicDenied: JSX.Element;
4453
4486
  UnsupportedBrowserWarning: JSX.Element;
4454
4487
  BrowserPermissionDeniedError: JSX.Element;
4488
+ VideoTilePinned: JSX.Element;
4455
4489
  };
4456
4490
 
4457
4491
  /**
@@ -7410,6 +7444,18 @@ export declare interface SystemMessageCommon extends MessageCommon {
7410
7444
  iconName: string;
7411
7445
  }
7412
7446
 
7447
+ /**
7448
+ * Object containing all the teams call handlers required for calling components.
7449
+ *
7450
+ * Calling related components from this package are able to pick out relevant handlers from this object.
7451
+ * See {@link useHandlers} and {@link usePropsFor}.
7452
+ *
7453
+ * @beta
7454
+ */
7455
+ export declare interface TeamsCallingHandlers extends CommonCallingHandlers {
7456
+ onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
7457
+ }
7458
+
7413
7459
  /**
7414
7460
  * A string representation of a {@link @azure/communication-common#CommunicationIdentifier}.
7415
7461
  *
@@ -7684,6 +7730,8 @@ export declare const useAzureCommunicationChatAdapter: (args: Partial<AzureCommu
7684
7730
  * Useful when implementing a custom component that utilizes the providers
7685
7731
  * exported from this library.
7686
7732
  *
7733
+ * you must have previously used the CallProvider with a Call object to use this hook
7734
+ *
7687
7735
  * @public
7688
7736
  */
7689
7737
  export declare const useCall: () => Call | undefined;
@@ -7774,6 +7822,28 @@ export declare const usePropsFor: <Component extends (props: any) => JSX.Element
7774
7822
  */
7775
7823
  export declare const useSelector: <ParamT extends Selector | undefined>(selector: ParamT, selectorProps?: (ParamT extends Selector ? Parameters<ParamT>[1] : undefined) | undefined, type?: "chat" | "calling" | undefined) => ParamT extends Selector ? ReturnType<ParamT> : undefined;
7776
7824
 
7825
+ /**
7826
+ * Hook to obtain {@link @azure/communication-calling#TeamsCall} from the provider.
7827
+ *
7828
+ * Useful when implementing a custom component that utilizes the providers
7829
+ * exported from this library.
7830
+ *
7831
+ * you must have previously used the CallProvider with a TeamsCall object to use this hook
7832
+ *
7833
+ * @beta
7834
+ */
7835
+ export declare const useTeamsCall: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
7836
+
7837
+ /**
7838
+ * Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
7839
+ *
7840
+ * Useful when implementing a custom component that utilizes the providers
7841
+ * exported from this library.
7842
+ *
7843
+ * @beta
7844
+ */
7845
+ export declare const useTeamsCallAgent: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
7846
+
7777
7847
  /**
7778
7848
  * React hook to access theme
7779
7849
  *
@@ -8006,6 +8076,18 @@ export declare interface VideoStreamRendererViewState {
8006
8076
  */
8007
8077
  export declare const VideoTile: (props: VideoTileProps) => JSX.Element;
8008
8078
 
8079
+ /**
8080
+ * @beta
8081
+ * MenuItems to be diplayed in video tile in the contextual/drawer menu
8082
+ */
8083
+ export declare type VideoTileMenuItems = Array<{
8084
+ key: string;
8085
+ ariaLabel?: string;
8086
+ text: string;
8087
+ onClick: () => void;
8088
+ iconProps: IIconProps;
8089
+ }>;
8090
+
8009
8091
  /**
8010
8092
  * Props for {@link VideoTile}.
8011
8093
  *
@@ -8044,6 +8126,14 @@ export declare interface VideoTileProps {
8044
8126
  * Whether the video is muted or not.
8045
8127
  */
8046
8128
  isMuted?: boolean;
8129
+ /**
8130
+ * Display custom menu items in the VideoTile's contextual menu.
8131
+ */
8132
+ menuItems?: VideoTileMenuItems;
8133
+ /**
8134
+ * If true, the video tile will show the pin icon.
8135
+ */
8136
+ isPinned?: boolean;
8047
8137
  /**
8048
8138
  * Display Name of the Participant to be shown in the label.
8049
8139
  * @remarks `displayName` is used to generate avatar initials if `initialsName` is not provided.