@azure/communication-react 1.3.3-alpha-202209110016.0 → 1.3.3-alpha-202209150016.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.
- package/dist/communication-react.d.ts +62 -3
- package/dist/dist-cjs/communication-react/index.js +227 -72
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts +8 -4
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +26 -5
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/index.d.ts +1 -0
- package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +3 -0
- package/dist/dist-esm/communication-react/src/index.js +2 -0
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/CameraButton.js +1 -7
- package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/DevicesButton.js +1 -11
- package/dist/dist-esm/react-components/src/components/DevicesButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/DomainPermissions.d.ts +45 -0
- package/dist/dist-esm/react-components/src/components/DomainPermissions.js +42 -0
- package/dist/dist-esm/react-components/src/components/DomainPermissions.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/MicrophoneButton.js +1 -5
- package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantList.js +3 -6
- package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ScreenShareButton.js +3 -8
- package/dist/dist-esm/react-components/src/components/ScreenShareButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.d.ts +2 -0
- package/dist/dist-esm/react-components/src/components/index.js +2 -0
- package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/DomainPermissions.styles.d.ts +30 -0
- package/dist/dist-esm/react-components/src/components/styles/DomainPermissions.styles.js +74 -0
- package/dist/dist-esm/react-components/src/components/styles/DomainPermissions.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +3 -0
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +5 -0
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +1 -0
- package/dist/dist-esm/react-components/src/theming/icons.js +5 -1
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +3 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +6 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +3 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +16 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +5 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js +18 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +17 -6
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +2 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +4 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +3 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +8 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +3 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +3 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +13 -4
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +6 -11
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +1 -0
- package/package.json +8 -8
@@ -184,6 +184,13 @@ export declare interface AdapterState<TState> {
|
|
184
184
|
getState(): TState;
|
185
185
|
}
|
186
186
|
|
187
|
+
/**
|
188
|
+
* handler type for addParticipant
|
189
|
+
*
|
190
|
+
* @beta
|
191
|
+
*/
|
192
|
+
export declare type AddParticipantHandler = ((participant: CommunicationUserIdentifier) => Promise<void>) & ((participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions) => Promise<void>);
|
193
|
+
|
187
194
|
/**
|
188
195
|
* Compare if 2 react components are exact equal, result type will be true/false
|
189
196
|
*
|
@@ -490,7 +497,8 @@ export declare interface CallAdapterCallManagement {
|
|
490
497
|
*
|
491
498
|
* @beta
|
492
499
|
*/
|
493
|
-
addParticipant(participant:
|
500
|
+
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
501
|
+
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
494
502
|
/**
|
495
503
|
* send dtmf tone to another participant in a 1:1 PSTN call
|
496
504
|
*
|
@@ -1481,7 +1489,7 @@ export declare type CallingHandlers = {
|
|
1481
1489
|
onToggleScreenShare: () => Promise<void>;
|
1482
1490
|
onHangUp: () => Promise<void>;
|
1483
1491
|
onToggleHold: () => Promise<void>;
|
1484
|
-
onAddParticipant:
|
1492
|
+
onAddParticipant: AddParticipantHandler;
|
1485
1493
|
onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
1486
1494
|
onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
1487
1495
|
onRemoveParticipant: (userId: string) => Promise<void>;
|
@@ -1916,7 +1924,8 @@ export declare interface CallWithChatAdapterManagement {
|
|
1916
1924
|
*
|
1917
1925
|
* @beta
|
1918
1926
|
*/
|
1919
|
-
addParticipant
|
1927
|
+
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
1928
|
+
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
1920
1929
|
/**
|
1921
1930
|
* send dtmf tone to another participant in the call in 1:1 calls
|
1922
1931
|
*
|
@@ -3297,6 +3306,8 @@ export declare interface ComponentStrings {
|
|
3297
3306
|
videoTile: VideoTileStrings;
|
3298
3307
|
/** Strings for HoldButton */
|
3299
3308
|
holdButton: HoldButtonStrings;
|
3309
|
+
/** Strings for DomainPermissions */
|
3310
|
+
DomainPermissions: DomainPermissionsStrings;
|
3300
3311
|
}
|
3301
3312
|
|
3302
3313
|
/**
|
@@ -4004,6 +4015,7 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
4004
4015
|
SendBoxSendHovered: JSX.Element;
|
4005
4016
|
VideoTileMicOff: JSX.Element;
|
4006
4017
|
BackSpace: JSX.Element;
|
4018
|
+
iconBackdrop: JSX.Element;
|
4007
4019
|
};
|
4008
4020
|
|
4009
4021
|
/**
|
@@ -4091,6 +4103,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4091
4103
|
HoldCallButton: JSX.Element;
|
4092
4104
|
ResumeCall: JSX.Element;
|
4093
4105
|
BackSpace: JSX.Element;
|
4106
|
+
iconBackdrop: JSX.Element;
|
4094
4107
|
};
|
4095
4108
|
|
4096
4109
|
/**
|
@@ -4385,6 +4398,52 @@ export declare interface Disposable {
|
|
4385
4398
|
dispose(): void;
|
4386
4399
|
}
|
4387
4400
|
|
4401
|
+
/**
|
4402
|
+
* @beta
|
4403
|
+
*
|
4404
|
+
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
4405
|
+
* by their browsers settings.
|
4406
|
+
*/
|
4407
|
+
export declare const DomainPermissions: (props: DomainPermissionsProps) => JSX.Element;
|
4408
|
+
|
4409
|
+
/**
|
4410
|
+
* @beta
|
4411
|
+
* Props for DomainPermissions component.
|
4412
|
+
*/
|
4413
|
+
export declare interface DomainPermissionsProps {
|
4414
|
+
/**
|
4415
|
+
* Name of application calling experience is in.
|
4416
|
+
*/
|
4417
|
+
appName: string;
|
4418
|
+
/**
|
4419
|
+
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
4420
|
+
*/
|
4421
|
+
onTroubleshootingClick: () => void;
|
4422
|
+
/**
|
4423
|
+
* Localization strings for DomainPermissions component.
|
4424
|
+
*/
|
4425
|
+
strings: DomainPermissionsStrings;
|
4426
|
+
}
|
4427
|
+
|
4428
|
+
/**
|
4429
|
+
* @beta
|
4430
|
+
* Strings for DomainPermissions component
|
4431
|
+
*/
|
4432
|
+
export declare interface DomainPermissionsStrings {
|
4433
|
+
/**
|
4434
|
+
* Main text string.
|
4435
|
+
*/
|
4436
|
+
primaryText: string;
|
4437
|
+
/**
|
4438
|
+
* Subtext string.
|
4439
|
+
*/
|
4440
|
+
secondaryText: string;
|
4441
|
+
/**
|
4442
|
+
* More help link string.
|
4443
|
+
*/
|
4444
|
+
linkText: string;
|
4445
|
+
}
|
4446
|
+
|
4388
4447
|
/**
|
4389
4448
|
* DTMF tone for PSTN calls.
|
4390
4449
|
*
|