@azure/communication-react 1.4.2-alpha-202211080016.0 → 1.4.2-alpha-202211090017.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/dist-cjs/communication-react/index.js +13 -14
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetry.d.ts +10 -0
- package/dist/dist-esm/acs-ui-common/src/telemetry.js +10 -0
- package/dist/dist-esm/acs-ui-common/src/telemetry.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/react-components/src/components/TroubleshootingGuideErrorBar.js +3 -3
- package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.d.ts +1 -5
- package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js +0 -11
- package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js.map +1 -1
- package/package.json +8 -8
@@ -202,7 +202,7 @@ const _toCommunicationIdentifier = (id) => {
|
|
202
202
|
// Copyright (c) Microsoft Corporation.
|
203
203
|
// Licensed under the MIT license.
|
204
204
|
// GENERATED FILE. DO NOT EDIT MANUALLY.
|
205
|
-
var telemetryVersion = '1.4.2-alpha-
|
205
|
+
var telemetryVersion = '1.4.2-alpha-202211090017.0';
|
206
206
|
|
207
207
|
// Copyright (c) Microsoft Corporation.
|
208
208
|
/**
|
@@ -219,6 +219,16 @@ const sanitize = (version) => {
|
|
219
219
|
};
|
220
220
|
/**
|
221
221
|
* Application ID to be included in telemetry data from the UI library.
|
222
|
+
* Template: acXYYY/<version>
|
223
|
+
* Where:
|
224
|
+
* - X describes a platform, [r: web, i: iOS, a: Android]
|
225
|
+
* - YYY describes what's running on this platform (optional, currently unused by this library):
|
226
|
+
* Y[0] is high-level artifact,
|
227
|
+
* [0: undefined, 1: AzureCommunicationLibrary, 2: ACS SampleApp]
|
228
|
+
* Y[1] is specific implementation,
|
229
|
+
* [0: undefined, 1: Call Composite, 2: Chat Composite, 3: CallWithChatComposite, 4: UI Components]
|
230
|
+
* Y[2] is reserved for implementation details,
|
231
|
+
* [0: undefined]
|
222
232
|
*
|
223
233
|
* @internal
|
224
234
|
*/
|
@@ -8500,7 +8510,6 @@ const messageBarStyle = (theme, errorType) => ({
|
|
8500
8510
|
innerText: {
|
8501
8511
|
paddingTop: errorType === react.MessageBarType.warning ? '0.15rem' : '0.1rem',
|
8502
8512
|
lineHeight: 'none',
|
8503
|
-
color: theme.palette.black,
|
8504
8513
|
alignSelf: 'center',
|
8505
8514
|
whiteSpace: 'normal'
|
8506
8515
|
},
|
@@ -8516,16 +8525,6 @@ const messageBarStyle = (theme, errorType) => ({
|
|
8516
8525
|
paddingTop: '0.8rem'
|
8517
8526
|
}
|
8518
8527
|
});
|
8519
|
-
/**
|
8520
|
-
* @private
|
8521
|
-
*/
|
8522
|
-
const linkStyle = (theme) => ({
|
8523
|
-
root: {
|
8524
|
-
span: {
|
8525
|
-
color: theme.palette.black
|
8526
|
-
}
|
8527
|
-
}
|
8528
|
-
});
|
8529
8528
|
|
8530
8529
|
// Copyright (c) Microsoft Corporation.
|
8531
8530
|
/**
|
@@ -8551,14 +8550,14 @@ const _TroubleshootingGuideErrorBar = (props) => {
|
|
8551
8550
|
const devicePermissionErrorBar = (React__default['default'].createElement("div", null,
|
8552
8551
|
strings[error.type],
|
8553
8552
|
' ',
|
8554
|
-
onPermissionsTroubleshootingClick && (React__default['default'].createElement(react.Link, {
|
8553
|
+
onPermissionsTroubleshootingClick && (React__default['default'].createElement(react.Link, { onClick: () => {
|
8555
8554
|
onPermissionsTroubleshootingClick(permissionsState);
|
8556
8555
|
}, underline: true },
|
8557
8556
|
React__default['default'].createElement("span", null, troubleshootingGuideStrings.devicePermissionLinkText)))));
|
8558
8557
|
const networkErrorBar = (React__default['default'].createElement("div", null,
|
8559
8558
|
strings[error.type],
|
8560
8559
|
' ',
|
8561
|
-
onNetworkingTroubleshootingClick && (React__default['default'].createElement(react.Link, {
|
8560
|
+
onNetworkingTroubleshootingClick && (React__default['default'].createElement(react.Link, { onClick: onNetworkingTroubleshootingClick, underline: true },
|
8562
8561
|
React__default['default'].createElement("span", null, troubleshootingGuideStrings.networkTroubleshootingLinkText)))));
|
8563
8562
|
return (React__default['default'].createElement(react.MessageBar, Object.assign({}, props, { styles: messageBarStyle(theme, messageBarType(error.type)), key: error.type, messageBarType: messageBarType(error.type), messageBarIconProps: messageBarIconProps(error.type), actions: React__default['default'].createElement(react.MessageBarButton, { text: troubleshootingGuideStrings.dismissButtonText, styles: dismissButtonStyle(theme), onClick: () => {
|
8564
8563
|
setDismissedErrors(dismissError(dismissedErrors, error));
|