@azure/communication-react 1.9.0-alpha-202310111702 → 1.9.0-alpha-202310120012
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 +10 -11
- 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/ChatMessage/ChatMessageComponentAsMessageBubble.js +7 -8
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.js +2 -2
- package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.js.map +1 -1
- package/package.json +8 -8
@@ -177,7 +177,7 @@ const _isValidIdentifier = (identifier) => {
|
|
177
177
|
// Copyright (c) Microsoft Corporation.
|
178
178
|
// Licensed under the MIT License.
|
179
179
|
// GENERATED FILE. DO NOT EDIT MANUALLY.
|
180
|
-
var telemetryVersion = '1.9.0-alpha-
|
180
|
+
var telemetryVersion = '1.9.0-alpha-202310120012';
|
181
181
|
|
182
182
|
// Copyright (c) Microsoft Corporation.
|
183
183
|
/**
|
@@ -8471,9 +8471,9 @@ const bodyContainer = {
|
|
8471
8471
|
width: '100%',
|
8472
8472
|
height: '100%',
|
8473
8473
|
overflow: 'hidden',
|
8474
|
-
padding: '
|
8474
|
+
padding: '1rem 2rem 3rem 2rem',
|
8475
8475
|
'@media (max-width: 25rem) or (max-height: 25rem)': {
|
8476
|
-
padding: '2rem'
|
8476
|
+
padding: '0rem 1rem 2rem 1rem'
|
8477
8477
|
}
|
8478
8478
|
};
|
8479
8479
|
/**
|
@@ -9944,11 +9944,7 @@ const MessageBubble = (props) => {
|
|
9944
9944
|
: props.message.status === 'failed'
|
9945
9945
|
? chatMessageCommonStyles.failed
|
9946
9946
|
: undefined, attached !== 'top' ? chatMyMessageStyles.bodyAttached : undefined, react.mergeStyles(messageContainerStyle)),
|
9947
|
-
style: Object.assign({}, createStyleFromV8Style(messageContainerStyle))
|
9948
|
-
// make body not focusable to remove repetitions from narrators.
|
9949
|
-
// inner components are already focusable
|
9950
|
-
tabIndex: -1,
|
9951
|
-
role: 'presentation'
|
9947
|
+
style: Object.assign({}, createStyleFromV8Style(messageContainerStyle))
|
9952
9948
|
}, root: {
|
9953
9949
|
className: chatMyMessageStyles.root,
|
9954
9950
|
onBlur: (e) => {
|
@@ -9969,6 +9965,7 @@ const MessageBubble = (props) => {
|
|
9969
9965
|
role: 'none',
|
9970
9966
|
tabIndex: -1
|
9971
9967
|
}, "data-ui-id": "chat-composite-message", author: React__default["default"].createElement(react.Text, { className: chatMessageDateStyle, tabIndex: 0 }, message.senderDisplayName), timestamp: React__default["default"].createElement(react.Text, { className: chatMessageDateStyle, "data-ui-id": ids.messageTimestamp, tabIndex: 0 }, formattedTimestamp), details: getMessageDetails(), actions: {
|
9968
|
+
tabIndex: 0,
|
9972
9969
|
children: actionMenuProps === null || actionMenuProps === void 0 ? void 0 : actionMenuProps.children,
|
9973
9970
|
className: reactComponents.mergeClasses(chatMyMessageStyles.menu,
|
9974
9971
|
// Make actions menu visible when the message is focused or the flyout is shown
|
@@ -9988,13 +9985,15 @@ const MessageBubble = (props) => {
|
|
9988
9985
|
if (message.messageType === 'chat') {
|
9989
9986
|
props.onActionButtonClick(message, setMessageReadBy);
|
9990
9987
|
}
|
9991
|
-
} }, getContent())) : (React__default["default"].createElement(reactChat.ChatMessage, { attached: attached, key: props.message.messageId, root: {
|
9992
|
-
className:
|
9993
|
-
style: Object.assign({}, createStyleFromV8Style(messageContainerStyle)),
|
9988
|
+
} }, getContent())) : (React__default["default"].createElement(reactChat.ChatMessage, { attached: attached, key: props.message.messageId, root: {
|
9989
|
+
className: chatMessageStyles.root,
|
9994
9990
|
// make body not focusable to remove repetitions from narrators.
|
9995
9991
|
// inner components are already focusable
|
9996
9992
|
tabIndex: -1,
|
9997
9993
|
role: 'none'
|
9994
|
+
}, author: React__default["default"].createElement(react.Text, { className: chatMessageAuthorStyle }, message.senderDisplayName), body: {
|
9995
|
+
className: chatItemMessageContainerClassName,
|
9996
|
+
style: Object.assign({}, createStyleFromV8Style(messageContainerStyle))
|
9998
9997
|
}, "data-ui-id": "chat-composite-message", timestamp: React__default["default"].createElement(react.Text, { className: chatMessageDateStyle, "data-ui-id": ids.messageTimestamp }, formattedTimestamp) }, getContent()))),
|
9999
9998
|
chatActionsEnabled && (React__default["default"].createElement(ChatMessageActionFlyout, { hidden: !chatMessageActionFlyoutTarget, target: chatMessageActionFlyoutTarget, increaseFlyoutItemSize: wasInteractionByTouch, onDismiss: onActionFlyoutDismiss, onEditClick: onEditClick, onRemoveClick: onRemoveClick, onResendClick: onResendClick, strings: strings, messageReadBy: messageReadBy, messageStatus: messageStatus !== null && messageStatus !== void 0 ? messageStatus : 'failed', remoteParticipantsCount: remoteParticipantsCount, onRenderAvatar: onRenderAvatar, showMessageStatus: showMessageStatus }))));
|
10000
9999
|
return chatMessage;
|