@azure/communication-react 1.3.2-alpha-202208090015.0 → 1.3.3-alpha-202208120013.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 (143) hide show
  1. package/CHANGELOG.md +10 -5
  2. package/dist/communication-react.d.ts +43 -11
  3. package/dist/dist-cjs/communication-react/index.js +448 -169
  4. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  5. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  6. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts +1 -1
  7. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts.map +1 -1
  8. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +2 -3
  9. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
  10. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts.map +1 -1
  11. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +2 -2
  12. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  13. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts.map +1 -1
  14. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +1 -24
  15. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
  16. package/dist/dist-esm/communication-react/src/index.d.ts +2 -2
  17. package/dist/dist-esm/communication-react/src/index.d.ts.map +1 -1
  18. package/dist/dist-esm/communication-react/src/index.js +1 -1
  19. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  20. package/dist/dist-esm/react-components/src/components/CameraButton.d.ts.map +1 -1
  21. package/dist/dist-esm/react-components/src/components/CameraButton.js +3 -1
  22. package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
  23. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.d.ts +3 -1
  24. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.d.ts.map +1 -1
  25. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +8 -6
  26. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
  27. package/dist/dist-esm/react-components/src/components/FileCard.js +1 -1
  28. package/dist/dist-esm/react-components/src/components/FileCard.js.map +1 -1
  29. package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +15 -0
  30. package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts.map +1 -1
  31. package/dist/dist-esm/react-components/src/components/ParticipantItem.js +32 -14
  32. package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
  33. package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts.map +1 -1
  34. package/dist/dist-esm/react-components/src/components/ParticipantList.js +4 -1
  35. package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
  36. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +2 -2
  37. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts.map +1 -1
  38. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +3 -3
  39. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  40. package/dist/dist-esm/react-components/src/components/StreamMedia.d.ts.map +1 -1
  41. package/dist/dist-esm/react-components/src/components/StreamMedia.js +1 -1
  42. package/dist/dist-esm/react-components/src/components/StreamMedia.js.map +1 -1
  43. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js +1 -1
  44. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js.map +1 -1
  45. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts.map +1 -1
  46. package/dist/dist-esm/react-components/src/components/VideoGallery.js +46 -16
  47. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  48. package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +2 -2
  49. package/dist/dist-esm/react-components/src/components/VideoTile.d.ts.map +1 -1
  50. package/dist/dist-esm/react-components/src/components/VideoTile.js +2 -2
  51. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  52. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.d.ts +8 -0
  53. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.d.ts.map +1 -1
  54. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js +17 -0
  55. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js.map +1 -1
  56. package/dist/dist-esm/react-components/src/index.d.ts +1 -1
  57. package/dist/dist-esm/react-components/src/index.d.ts.map +1 -1
  58. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +6 -3
  59. package/dist/dist-esm/react-components/src/theming/icons.js +2 -2
  60. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  61. package/dist/dist-esm/react-components/src/types/OnRender.d.ts +3 -0
  62. package/dist/dist-esm/react-components/src/types/OnRender.d.ts.map +1 -1
  63. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.d.ts +6 -1
  64. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.d.ts.map +1 -1
  65. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +2 -6
  66. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts.map +1 -1
  67. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +2 -1
  68. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts.map +1 -1
  69. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +10 -2
  70. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  71. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +7 -1
  72. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts.map +1 -1
  73. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts.map +1 -1
  74. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +2 -1
  75. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  76. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts.map +1 -1
  77. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +17 -0
  78. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
  79. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.d.ts.map +1 -1
  80. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.js +13 -1
  81. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.js.map +1 -1
  82. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts.map +1 -1
  83. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +4 -2
  84. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
  85. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts.map +1 -1
  86. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +26 -2
  87. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  88. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.d.ts.map +1 -1
  89. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +4 -0
  90. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  91. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +2 -1
  92. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
  93. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/MediaGallery.styles.d.ts +40 -0
  94. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/MediaGallery.styles.d.ts.map +1 -0
  95. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/MediaGallery.styles.js +64 -0
  96. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/MediaGallery.styles.js.map +1 -0
  97. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.d.ts.map +1 -1
  98. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js +22 -5
  99. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js.map +1 -1
  100. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.d.ts.map +1 -1
  101. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.js +11 -1
  102. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.js.map +1 -1
  103. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +2 -1
  104. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts.map +1 -1
  105. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +8 -0
  106. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  107. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +7 -1
  108. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts.map +1 -1
  109. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +2 -1
  110. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts.map +1 -1
  111. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +7 -1
  112. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  113. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +2 -0
  114. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts.map +1 -1
  115. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +3 -1
  116. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
  117. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.d.ts +4 -0
  118. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.d.ts.map +1 -1
  119. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +2 -2
  120. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
  121. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.d.ts +4 -0
  122. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.d.ts.map +1 -1
  123. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +19 -15
  124. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +1 -1
  125. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.d.ts +4 -0
  126. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.d.ts.map +1 -1
  127. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +16 -9
  128. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +1 -1
  129. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.d.ts +1 -1
  130. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js +1 -1
  131. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.d.ts +4 -0
  132. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.d.ts.map +1 -1
  133. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +10 -2
  134. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
  135. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.d.ts +16 -0
  136. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.d.ts.map +1 -0
  137. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js +36 -0
  138. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js.map +1 -0
  139. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.d.ts +11 -0
  140. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.d.ts.map +1 -0
  141. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js +38 -0
  142. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js.map +1 -0
  143. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -1,12 +1,17 @@
1
1
  # Change Log - @azure/communication-react
2
2
 
3
- This log was last generated on Wed, 29 Jun 2022 17:31:05 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 10 Aug 2022 18:29:31 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [1.3.1](https://github.com/azure/communication-ui-library/tree/1.3.1)
8
+
9
+ This is a patch release for issue [#2186](https://github.com/Azure/communication-ui-library/issues/2186):
10
+ - Fix infinite spinner bug during screenshare. ([PR #2191](https://github.com/Azure/communication-ui-library/pull/2191) by jiangnanhello@live.com).
11
+
7
12
  ## [1.3.1-beta.1](https://github.com/azure/communication-ui-library/tree/@azure/communication-react_v1.3.1-beta.1)
8
13
 
9
- Wed, 29 Jun 2022 17:31:05 GMT
14
+ Wed, 29 Jun 2022 17:31:05 GMT
10
15
  [Compare changes](https://github.com/azure/communication-ui-library/compare/1.3.0...1.3.1-beta.1)
11
16
 
12
17
  ### Features
@@ -20,7 +25,7 @@ Wed, 29 Jun 2022 17:31:05 GMT
20
25
  - Update microphone and camera button to be disabled when there are no cameras or microphones present ([PR #1993](https://github.com/azure/communication-ui-library/pull/1993) by 2684369+JamesBurnside@users.noreply.github.com)
21
26
  - Add autofocus to rejoin call button on call end page ([PR #2008](https://github.com/azure/communication-ui-library/pull/2008) by 82062616+prprabhu-ms@users.noreply.github.com)
22
27
  - Add new prop onChange to dialpad to grab textfield values and modified onClickDialpadButton type to (buttonValue: string, buttonIndex: number) => void so we can grab info regarding which button is clicked ([PR #1989](https://github.com/azure/communication-ui-library/pull/1989) by carolinecao@microsoft.com)
23
-
28
+
24
29
 
25
30
  ### Bug Fixes
26
31
 
@@ -57,7 +62,7 @@ A lot of bug fixes in this stable release are related to accessibility. Fixes in
57
62
 
58
63
  Also included are updates to the video streams with new features like a loading spinner in the remote stream when the remote participants connection is loading. Available in the components now and coming soon to the composites.
59
64
 
60
- Mon, 13 Jun 2022 18:29:25 GMT
65
+ Mon, 13 Jun 2022 18:29:25 GMT
61
66
  [Compare changes](https://github.com/azure/communication-ui-library/compare/@azure/communication-react_v1.2.2-beta.1...@azure/communication-react_v1.3.0)
62
67
 
63
68
  ### Minor changes
@@ -115,7 +120,7 @@ Mon, 13 Jun 2022 18:29:25 GMT
115
120
 
116
121
  ## [1.2.2-beta.1](https://github.com/azure/communication-ui-library/tree/@azure/communication-react_v1.2.2-beta.1)
117
122
 
118
- Tue, 19 Apr 2022 20:46:13 GMT
123
+ Tue, 19 Apr 2022 20:46:13 GMT
119
124
  [Compare changes](https://github.com/azure/communication-ui-library/compare/1.2.0...1.2.2-beta.1)
120
125
 
121
126
  ### Features
@@ -481,6 +481,12 @@ export declare interface CallAdapterCallManagement {
481
481
  * @beta
482
482
  */
483
483
  addParticipant(participant: CommunicationIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
484
+ /**
485
+ * send dtmf tone to another participant in a 1:1 PSTN call
486
+ *
487
+ * @beta
488
+ */
489
+ sendDtmfTone(dtmfTone: DtmfTone_2): Promise<void>;
484
490
  }
485
491
 
486
492
  /**
@@ -1392,7 +1398,7 @@ export declare type CallingHandlers = {
1392
1398
  onRemoveParticipant: (userId: string) => Promise<void>;
1393
1399
  onDisposeRemoteStreamView: (userId: string) => Promise<void>;
1394
1400
  onDisposeLocalStreamView: () => Promise<void>;
1395
- onSendDtmfTone?: (dtmfTone: DtmfTone_2) => Promise<void>;
1401
+ onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
1396
1402
  };
1397
1403
 
1398
1404
  /**
@@ -1423,7 +1429,7 @@ export declare interface CallingTheme {
1423
1429
  */
1424
1430
  export declare type CallParticipantListParticipant = ParticipantListParticipant & {
1425
1431
  /** State of calling participant */
1426
- state: 'Idle' | 'Connecting' | 'Ringing' | 'Connected' | 'Hold' | 'InLobby' | 'EarlyMedia' | 'Disconnected';
1432
+ state: ParticipantState;
1427
1433
  /** Whether calling participant is screen sharing */
1428
1434
  isScreenSharing?: boolean;
1429
1435
  /** Whether calling participant is muted */
@@ -1822,6 +1828,12 @@ export declare interface CallWithChatAdapterManagement {
1822
1828
  * @beta
1823
1829
  */
1824
1830
  addParticipant: (participant: CommunicationIdentifier, options?: AddPhoneNumberOptions) => Promise<void>;
1831
+ /**
1832
+ * send dtmf tone to another participant in the call in 1:1 calls
1833
+ *
1834
+ * @beta
1835
+ */
1836
+ sendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
1825
1837
  }
1826
1838
 
1827
1839
  /**
@@ -1924,6 +1936,8 @@ export declare interface CallWithChatClientState {
1924
1936
  devices: DeviceManagerState;
1925
1937
  /** State of whether the active call is a Teams interop call */
1926
1938
  isTeamsCall: boolean;
1939
+ /** alternateCallerId for PSTN call */
1940
+ alternateCallerId?: string | undefined;
1927
1941
  }
1928
1942
 
1929
1943
  /**
@@ -3584,6 +3598,8 @@ export declare type CustomAvatarOptions = {
3584
3598
  styles?: IStyleFunctionOrObject<IPersonaStyleProps, IPersonaStyles>;
3585
3599
  /** Display name to be used in Persona */
3586
3600
  text?: string;
3601
+ /** State for the participant to be displayed in the defaultPlaceHolder */
3602
+ participantState?: ParticipantState;
3587
3603
  };
3588
3604
 
3589
3605
  /**
@@ -4155,6 +4171,8 @@ export declare interface DialpadProps {
4155
4171
  onDisplayDialpadInput?: (input: string) => string;
4156
4172
  /** on change function for text field */
4157
4173
  onChange?: (input: string) => void;
4174
+ /** boolean input to determine when to show/hide delete button, default true */
4175
+ showDeleteButton?: boolean;
4158
4176
  styles?: DialpadStyles;
4159
4177
  }
4160
4178
 
@@ -4165,7 +4183,7 @@ export declare interface DialpadProps {
4165
4183
  */
4166
4184
  export declare interface DialpadStrings {
4167
4185
  placeholderText: string;
4168
- deleteButtonAriaLabel: string;
4186
+ deleteButtonAriaLabel?: string;
4169
4187
  }
4170
4188
 
4171
4189
  /**
@@ -5741,6 +5759,14 @@ export declare interface ParticipantItemProps {
5741
5759
  onClick?: (props?: ParticipantItemProps) => void;
5742
5760
  /** prop to determine if we should show tooltip for participants or not */
5743
5761
  showParticipantOverflowTooltip?: boolean;
5762
+ /**
5763
+ * Optional value to determine and display a participants connection status.
5764
+ * For example, `Connecting`, `Ringing` etc.
5765
+ * The actual text that is displayed is determined by the localized string
5766
+ * corresponding to the provided participant state.
5767
+ * For example, `strings.participantStateConnecting` will be used if `participantState` is `Connecting`.
5768
+ */
5769
+ participantState?: ParticipantState;
5744
5770
  }
5745
5771
 
5746
5772
  /**
@@ -5761,6 +5787,12 @@ export declare interface ParticipantItemStrings {
5761
5787
  mutedIconLabel: string;
5762
5788
  /** placeholder text for participants who does not have a display name*/
5763
5789
  displayNamePlaceholder?: string;
5790
+ /** String shown when `participantState` is `Connecting` */
5791
+ participantStateConnecting?: string;
5792
+ /** String shown when `participantState` is `Ringing` */
5793
+ participantStateRinging?: string;
5794
+ /** String shown when `participantState` is `Hold` */
5795
+ participantStateHold?: string;
5764
5796
  }
5765
5797
 
5766
5798
  /**
@@ -6058,6 +6090,12 @@ export declare type ParticipantsRemovedListener = (event: {
6058
6090
  removedBy: ChatParticipant;
6059
6091
  }) => void;
6060
6092
 
6093
+ /**
6094
+ * @public
6095
+ * The connection state of a call participant.
6096
+ */
6097
+ export declare type ParticipantState = 'Idle' | 'Connecting' | 'Ringing' | 'Connected' | 'Hold' | 'InLobby' | 'EarlyMedia' | 'Disconnected';
6098
+
6061
6099
  /**
6062
6100
  * An array of key value pairs that stores each sender's display name and last read message
6063
6101
  *
@@ -7108,15 +7146,9 @@ export declare interface VideoGalleryRemoteParticipant extends VideoGalleryParti
7108
7146
  * @beta
7109
7147
  * The connection state of the participant. For example, 'Hold', 'Connecting' etc.
7110
7148
  */
7111
- state?: VideoGalleryRemoteParticipantState;
7149
+ state?: ParticipantState;
7112
7150
  }
7113
7151
 
7114
- /**
7115
- * @beta
7116
- * The connection state of the participant. For example, 'Hold', 'Connecting' etc.
7117
- */
7118
- export declare type VideoGalleryRemoteParticipantState = 'Connecting' | 'Ringing' | 'Connected' | 'Hold';
7119
-
7120
7152
  /**
7121
7153
  * Selector type for {@link VideoGallery} component.
7122
7154
  *
@@ -7294,7 +7326,7 @@ export declare interface VideoTileProps {
7294
7326
  * The call connection state of the participant.
7295
7327
  * For example, `Hold` means the participant is on hold.
7296
7328
  */
7297
- participantState?: VideoGalleryRemoteParticipantState;
7329
+ participantState?: ParticipantState;
7298
7330
  strings?: VideoTileStrings;
7299
7331
  }
7300
7332