@azure/communication-react 1.7.1-alpha-202308260012 → 1.7.1-alpha-202308270013
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 +9 -5
- 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/react-components/src/components/ParticipantList.js +2 -2
- package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoTile.js +1 -1
- package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.js +11 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.js.map +1 -1
- package/package.json +8 -8
@@ -178,7 +178,7 @@ const _isValidIdentifier = (identifier) => {
|
|
178
178
|
// Copyright (c) Microsoft Corporation.
|
179
179
|
// Licensed under the MIT license.
|
180
180
|
// GENERATED FILE. DO NOT EDIT MANUALLY.
|
181
|
-
var telemetryVersion = '1.7.1-alpha-
|
181
|
+
var telemetryVersion = '1.7.1-alpha-202308270013';
|
182
182
|
|
183
183
|
// Copyright (c) Microsoft Corporation.
|
184
184
|
/**
|
@@ -11402,9 +11402,9 @@ const onRenderParticipantDefault = (participant, strings, myUserId, onRenderAvat
|
|
11402
11402
|
return (React__default['default'].createElement(react.Stack, { horizontal: true, tokens: { childrenGap: '0.5rem' } },
|
11403
11403
|
/* @conditional-compile-remove(raise-hand) */ callingParticipant.raisedHand && (React__default['default'].createElement(react.Stack, { horizontal: true, tokens: { childrenGap: '0.2rem' }, style: {
|
11404
11404
|
alignItems: 'center',
|
11405
|
-
padding: '0.2rem',
|
11405
|
+
padding: '0.1rem 0.2rem',
|
11406
11406
|
backgroundColor: theme === null || theme === void 0 ? void 0 : theme.palette.neutralLighter,
|
11407
|
-
borderRadius: '
|
11407
|
+
borderRadius: '0.3rem'
|
11408
11408
|
} },
|
11409
11409
|
callingParticipant.raisedHand.raisedHandOrderPosition && (React__default['default'].createElement(react.Stack.Item, null,
|
11410
11410
|
React__default['default'].createElement(react.Text, null, (_a = callingParticipant.raisedHand) === null || _a === void 0 ? void 0 : _a.raisedHandOrderPosition))),
|
@@ -12356,7 +12356,7 @@ const VideoTile = (props) => {
|
|
12356
12356
|
children && (React__default['default'].createElement(react.Stack, { className: react.mergeStyles(overlayContainerStyles, styles === null || styles === void 0 ? void 0 : styles.overlayContainer) }, children)),
|
12357
12357
|
/* @conditional-compile-remove(raise-hand) */ raisedHand && canShowLabel && (React__default['default'].createElement(react.Stack, { horizontal: true, tokens: { childrenGap: '0.2rem' }, style: {
|
12358
12358
|
alignItems: 'center',
|
12359
|
-
padding: '0.2rem',
|
12359
|
+
padding: '0.2rem 0.3rem',
|
12360
12360
|
backgroundColor: theme.palette.white,
|
12361
12361
|
opacity: 0.9,
|
12362
12362
|
borderRadius: '1rem',
|
@@ -23578,8 +23578,12 @@ const callArrangementContainerStyles = (verticalControlBar) => {
|
|
23578
23578
|
/** @private */
|
23579
23579
|
const RaiseHand = (props) => {
|
23580
23580
|
const raiseHandButtonProps = usePropsFor$1(RaiseHandButton);
|
23581
|
+
const callStatus = useSelector$1(getCallStatus);
|
23581
23582
|
const styles = React.useMemo(() => { var _a; return concatButtonBaseStyles((_a = props.styles) !== null && _a !== void 0 ? _a : {}); }, [props.styles]);
|
23582
|
-
|
23583
|
+
let raiseHandButtonDisabled = isDisabled(props.option);
|
23584
|
+
if (_isInLobbyOrConnecting(callStatus)) {
|
23585
|
+
raiseHandButtonDisabled = true;
|
23586
|
+
}
|
23583
23587
|
return (React__default['default'].createElement(RaiseHandButton, Object.assign({ "data-ui-id": "call-composite-raisehand-button" }, raiseHandButtonProps, { showLabel: props.displayType !== 'compact', disabled: raiseHandButtonDisabled || props.disabled, styles: styles })));
|
23584
23588
|
};
|
23585
23589
|
/* @conditional-compile-remove(raise-hand) */
|