@azure/communication-react 1.4.2-alpha-202211040017.0 → 1.4.2-alpha-202211080016.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 +153 -42
- package/dist/dist-cjs/communication-react/index.js +186 -75
- 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/communication-react/src/index.d.ts +2 -2
- package/dist/dist-esm/communication-react/src/index.js +1 -1
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/{BrowserPermissionDenied.d.ts → DevicePermissions/BrowserPermissionDenied.d.ts} +1 -1
- package/dist/dist-esm/react-components/src/components/{BrowserPermissionDenied.js → DevicePermissions/BrowserPermissionDenied.js} +3 -3
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/{BrowserPermissionDeniedIOS.d.ts → DevicePermissions/BrowserPermissionDeniedIOS.d.ts} +0 -0
- package/dist/dist-esm/react-components/src/components/{BrowserPermissionDeniedIOS.js → DevicePermissions/BrowserPermissionDeniedIOS.js} +3 -3
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/{DevicePermissionDropdown.d.ts → DevicePermissions/DevicePermissionDropdown.d.ts} +0 -0
- package/dist/dist-esm/react-components/src/components/{DevicePermissionDropdown.js → DevicePermissions/DevicePermissionDropdown.js} +0 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissions.d.ts +101 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissions.js +80 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissions.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissionsScaffolding.d.ts +86 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissionsScaffolding.js +27 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissionsScaffolding.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/index.d.ts +9 -8
- package/dist/dist-esm/react-components/src/components/index.js +4 -4
- package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js +0 -2
- package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/merge.d.ts +7 -0
- package/dist/dist-esm/react-components/src/components/utils/merge.js +16 -0
- package/dist/dist-esm/react-components/src/components/utils/merge.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/utils.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/utils.js +0 -1
- package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +21 -5
- 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 +55 -2
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +2 -0
- package/dist/dist-esm/react-components/src/theming/icons.js +24 -16
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/icons.styles.d.ts +6 -0
- package/dist/dist-esm/react-components/src/theming/icons.styles.js +25 -0
- package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +4 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +17 -13
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +14 -12
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +4 -4
- 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 +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/pages/ConfigurationPage.js +5 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/TabHeader.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +2 -0
- package/package.json +8 -8
- package/dist/dist-esm/react-components/src/components/BrowserPermissionDenied.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/BrowserPermissionDeniedIOS.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissionDropdown.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/DomainPermissions.d.ts +0 -57
- package/dist/dist-esm/react-components/src/components/DomainPermissions.js +0 -45
- package/dist/dist-esm/react-components/src/components/DomainPermissions.js.map +0 -1
@@ -1197,9 +1197,11 @@ export declare interface CallCompositeProps extends BaseCompositeProps<CallCompo
|
|
1197
1197
|
*/
|
1198
1198
|
options?: CallCompositeOptions;
|
1199
1199
|
/**
|
1200
|
-
* Set
|
1200
|
+
* Set the role to enable/disable capacities. This property should be properly set for Rooms calls. The role of a
|
1201
|
+
* user for a room can be obtained using the Rooms API. The role of the user will be synced with ACS services when
|
1202
|
+
* a Rooms call starts.
|
1201
1203
|
*/
|
1202
|
-
|
1204
|
+
roleHint?: Role;
|
1203
1205
|
}
|
1204
1206
|
|
1205
1207
|
/**
|
@@ -2649,6 +2651,35 @@ export declare interface CallWithChatControlOptions {
|
|
2649
2651
|
*/
|
2650
2652
|
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
|
2651
2653
|
|
2654
|
+
/**
|
2655
|
+
* @beta
|
2656
|
+
*
|
2657
|
+
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
2658
|
+
* by their browsers settings.
|
2659
|
+
*/
|
2660
|
+
export declare const CameraAndMicrophoneDomainPermissions: (props: CameraAndMicrophoneDomainPermissionsProps) => JSX.Element;
|
2661
|
+
|
2662
|
+
/**
|
2663
|
+
* @beta
|
2664
|
+
* Props for CameraAndMicrophoneDomainPermissions component.
|
2665
|
+
*/
|
2666
|
+
export declare interface CameraAndMicrophoneDomainPermissionsProps extends CommonDomainPermissionsProps {
|
2667
|
+
/** Icon name for the camera icon */
|
2668
|
+
cameraIconName?: string;
|
2669
|
+
/** Icon name for the microphone icon */
|
2670
|
+
microphoneIconName?: string;
|
2671
|
+
/** Icon name for the central icon between the camera and microphone icons */
|
2672
|
+
connectorIconName?: string;
|
2673
|
+
/** Strings for use with the {@link CameraAndMicrophoneDomainPermissions} */
|
2674
|
+
strings?: CameraAndMicrophoneDomainPermissionsStrings;
|
2675
|
+
}
|
2676
|
+
|
2677
|
+
/**
|
2678
|
+
* @beta
|
2679
|
+
* Strings for CameraAndMicrophoneDomainPermissions component.
|
2680
|
+
*/
|
2681
|
+
export declare type CameraAndMicrophoneDomainPermissionsStrings = DomainPermissionsStrings;
|
2682
|
+
|
2652
2683
|
/**
|
2653
2684
|
* A button to turn camera on / off.
|
2654
2685
|
*
|
@@ -2785,6 +2816,31 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
|
|
2785
2816
|
menuStyles?: Partial<CameraButtonContextualMenuStyles>;
|
2786
2817
|
}
|
2787
2818
|
|
2819
|
+
/**
|
2820
|
+
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
2821
|
+
* by their browsers settings.
|
2822
|
+
*
|
2823
|
+
* @beta
|
2824
|
+
*/
|
2825
|
+
export declare const CameraDomainPermissions: (props: CameraDomainPermissionsProps) => JSX.Element;
|
2826
|
+
|
2827
|
+
/**
|
2828
|
+
* @beta
|
2829
|
+
* Props for CameraDomainPermissions component.
|
2830
|
+
*/
|
2831
|
+
export declare interface CameraDomainPermissionsProps extends CommonDomainPermissionsProps {
|
2832
|
+
/** Icon name for the camera icon */
|
2833
|
+
cameraIconName?: string;
|
2834
|
+
/** Strings for use with the {@link CameraDomainPermissions} */
|
2835
|
+
strings?: CameraDomainPermissionsStrings;
|
2836
|
+
}
|
2837
|
+
|
2838
|
+
/**
|
2839
|
+
* @beta
|
2840
|
+
* Strings for CameraDomainPermissions component.
|
2841
|
+
*/
|
2842
|
+
export declare type CameraDomainPermissionsStrings = DomainPermissionsStrings;
|
2843
|
+
|
2788
2844
|
/**
|
2789
2845
|
* {@link ChatComposite} Adapter interface.
|
2790
2846
|
*
|
@@ -3343,6 +3399,35 @@ export declare type ClientState = CallClientState & ChatClientState;
|
|
3343
3399
|
*/
|
3344
3400
|
export declare type Common<A, B> = Pick<A, CommonProperties<A, B>>;
|
3345
3401
|
|
3402
|
+
/**
|
3403
|
+
* @beta
|
3404
|
+
* Props for DomainPermissions components.
|
3405
|
+
*/
|
3406
|
+
export declare interface CommonDomainPermissionsProps {
|
3407
|
+
/**
|
3408
|
+
* Name of application calling experience is in.
|
3409
|
+
*/
|
3410
|
+
appName: string;
|
3411
|
+
/**
|
3412
|
+
* Type of the Domain Permissions component.
|
3413
|
+
*/
|
3414
|
+
type: 'request' | 'denied' | 'check';
|
3415
|
+
/**
|
3416
|
+
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
3417
|
+
* If this is not provided the button will not be shown.
|
3418
|
+
*/
|
3419
|
+
onTroubleshootingClick?: () => void;
|
3420
|
+
/**
|
3421
|
+
* Action that is taken when the user clicks the continue anyway button.
|
3422
|
+
* If this is not provided the button will not be shown.
|
3423
|
+
*/
|
3424
|
+
onContinueAnywayClick?: () => void;
|
3425
|
+
/**
|
3426
|
+
* Styles for DomainPermissions component.
|
3427
|
+
*/
|
3428
|
+
styles?: DomainPermissionsStyles;
|
3429
|
+
}
|
3430
|
+
|
3346
3431
|
/**
|
3347
3432
|
* Return intersect properties of 2 types
|
3348
3433
|
*
|
@@ -3531,8 +3616,24 @@ export declare interface ComponentStrings {
|
|
3531
3616
|
videoTile: VideoTileStrings;
|
3532
3617
|
/** Strings for HoldButton */
|
3533
3618
|
holdButton: HoldButtonStrings;
|
3534
|
-
/** Strings for
|
3535
|
-
|
3619
|
+
/** Strings for a domain permission request prompt */
|
3620
|
+
CameraAndMicrophoneDomainPermissionsRequest: DomainPermissionsStrings;
|
3621
|
+
/** Strings for a domain permission request prompt */
|
3622
|
+
CameraDomainPermissionsRequest: DomainPermissionsStrings;
|
3623
|
+
/** Strings for a domain permission request prompt */
|
3624
|
+
MicrophoneDomainPermissionsRequest: DomainPermissionsStrings;
|
3625
|
+
/** Strings for a domain permission generic checking prompt */
|
3626
|
+
CameraAndMicrophoneDomainPermissionsCheck: DomainPermissionsStrings;
|
3627
|
+
/** Strings for a domain permission generic checking prompt */
|
3628
|
+
CameraDomainPermissionsCheck: DomainPermissionsStrings;
|
3629
|
+
/** Strings for a domain permission generic checking prompt */
|
3630
|
+
MicrophoneDomainPermissionsCheck: DomainPermissionsStrings;
|
3631
|
+
/** Strings for a domain permission denied prompt */
|
3632
|
+
CameraAndMicrophoneDomainPermissionsDenied: DomainPermissionsStrings;
|
3633
|
+
/** Strings for a domain permission denied prompt */
|
3634
|
+
CameraDomainPermissionsDenied: DomainPermissionsStrings;
|
3635
|
+
/** Strings for a domain permission denied prompt */
|
3636
|
+
MicrophoneDomainPermissionsDenied: DomainPermissionsStrings;
|
3536
3637
|
/** Strings for unsupported browser UI */
|
3537
3638
|
UnsupportedBrowser: UnsupportedBrowserStrings;
|
3538
3639
|
/** Strings for BrowserPemissionDenied */
|
@@ -4239,6 +4340,8 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
4239
4340
|
DomainPermissionsSparkle: JSX.Element;
|
4240
4341
|
DomainPermissionCamera: JSX.Element;
|
4241
4342
|
DomainPermissionMic: JSX.Element;
|
4343
|
+
DomainPermissionCameraDenied: JSX.Element;
|
4344
|
+
DomainPermissionMicDenied: JSX.Element;
|
4242
4345
|
UnsupportedBrowserWarning: JSX.Element;
|
4243
4346
|
BrowserPermissionDeniedError: JSX.Element;
|
4244
4347
|
};
|
@@ -4332,6 +4435,8 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4332
4435
|
DomainPermissionsSparkle: JSX.Element;
|
4333
4436
|
DomainPermissionCamera: JSX.Element;
|
4334
4437
|
DomainPermissionMic: JSX.Element;
|
4438
|
+
DomainPermissionCameraDenied: JSX.Element;
|
4439
|
+
DomainPermissionMicDenied: JSX.Element;
|
4335
4440
|
UnsupportedBrowserWarning: JSX.Element;
|
4336
4441
|
BrowserPermissionDeniedError: JSX.Element;
|
4337
4442
|
};
|
@@ -4717,62 +4822,43 @@ export declare interface Disposable {
|
|
4717
4822
|
dispose(): void;
|
4718
4823
|
}
|
4719
4824
|
|
4720
|
-
/**
|
4721
|
-
* @beta
|
4722
|
-
*
|
4723
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
4724
|
-
* by their browsers settings.
|
4725
|
-
*/
|
4726
|
-
export declare const DomainPermissions: (props: DomainPermissionsProps) => JSX.Element;
|
4727
|
-
|
4728
|
-
/**
|
4729
|
-
* @beta
|
4730
|
-
* Props for DomainPermissions component.
|
4731
|
-
*/
|
4732
|
-
export declare interface DomainPermissionsProps {
|
4733
|
-
/**
|
4734
|
-
* Name of application calling experience is in.
|
4735
|
-
*/
|
4736
|
-
appName: string;
|
4737
|
-
/**
|
4738
|
-
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
4739
|
-
*/
|
4740
|
-
onTroubleshootingClick?: () => void;
|
4741
|
-
/**
|
4742
|
-
* Action to be taken by the Allow Access button.
|
4743
|
-
*/
|
4744
|
-
onAllowAccessClick?: () => void;
|
4745
|
-
/**
|
4746
|
-
* Localization strings for DomainPermissions component.
|
4747
|
-
*/
|
4748
|
-
strings?: DomainPermissionsStrings;
|
4749
|
-
}
|
4750
|
-
|
4751
4825
|
/**
|
4752
4826
|
* @beta
|
4753
4827
|
* Strings for DomainPermissions component
|
4754
4828
|
*/
|
4755
|
-
export declare
|
4829
|
+
export declare type DomainPermissionsStrings = {
|
4756
4830
|
/**
|
4757
4831
|
* Main text string.
|
4758
4832
|
*/
|
4759
|
-
primaryText
|
4833
|
+
primaryText?: string;
|
4760
4834
|
/**
|
4761
4835
|
* Subtext string.
|
4762
4836
|
*/
|
4763
|
-
secondaryText
|
4837
|
+
secondaryText?: string;
|
4764
4838
|
/**
|
4765
4839
|
* More help link string.
|
4766
4840
|
*/
|
4767
|
-
linkText
|
4841
|
+
linkText?: string;
|
4768
4842
|
/**
|
4769
4843
|
* Primary button text string.
|
4770
4844
|
*/
|
4771
|
-
primaryButtonText
|
4845
|
+
primaryButtonText?: string;
|
4772
4846
|
/**
|
4773
|
-
*
|
4847
|
+
* Aria label describing the content of the container
|
4774
4848
|
*/
|
4775
|
-
ariaLabel
|
4849
|
+
ariaLabel?: string;
|
4850
|
+
};
|
4851
|
+
|
4852
|
+
/**
|
4853
|
+
* Fluent styles for {@link DomainPermissionsContainer}.
|
4854
|
+
*
|
4855
|
+
* @beta
|
4856
|
+
*/
|
4857
|
+
export declare interface DomainPermissionsStyles extends BaseCustomStyles {
|
4858
|
+
/** Styles for the primary button. */
|
4859
|
+
primaryButton?: IButtonStyles;
|
4860
|
+
/** Styles for the help troubleshooting link text. */
|
4861
|
+
troubleshootingLink?: ILinkStyles;
|
4776
4862
|
}
|
4777
4863
|
|
4778
4864
|
/**
|
@@ -6223,6 +6309,31 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
|
|
6223
6309
|
menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
|
6224
6310
|
}
|
6225
6311
|
|
6312
|
+
/**
|
6313
|
+
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
6314
|
+
* by their browsers settings.
|
6315
|
+
*
|
6316
|
+
* @beta
|
6317
|
+
*/
|
6318
|
+
export declare const MicrophoneDomainPermissions: (props: MicrophoneDomainPermissionsProps) => JSX.Element;
|
6319
|
+
|
6320
|
+
/**
|
6321
|
+
* @beta
|
6322
|
+
* Props for MicrophoneDomainPermissions component.
|
6323
|
+
*/
|
6324
|
+
export declare interface MicrophoneDomainPermissionsProps extends CommonDomainPermissionsProps {
|
6325
|
+
/** Icon name for the microphone icon */
|
6326
|
+
microphoneIconName?: string;
|
6327
|
+
/** Strings for use with the {@link MicrophoneDomainPermissions} */
|
6328
|
+
strings?: MicrophoneDomainPermissionsStrings;
|
6329
|
+
}
|
6330
|
+
|
6331
|
+
/**
|
6332
|
+
* @beta
|
6333
|
+
* Strings for MicrophoneDomainPermissions component.
|
6334
|
+
*/
|
6335
|
+
export declare type MicrophoneDomainPermissionsStrings = DomainPermissionsStrings;
|
6336
|
+
|
6226
6337
|
/**
|
6227
6338
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
|
6228
6339
|
*
|