Skip to content

Commit 0f2ab34

Browse files
authored
Merge branch 'main' into carocao/RTTWork
2 parents 22805b1 + 45c73a7 commit 0f2ab34

File tree

4 files changed

+23
-10
lines changed

4 files changed

+23
-10
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"type": "prerelease",
3+
"area": "feature",
4+
"workstream": "Real Time Text",
5+
"comment": "Real Time Text component changes and strings",
6+
"packageName": "@azure/communication-react",
7+
"email": "[email protected]",
8+
"dependentChangeType": "patch"
9+
}

change/@azure-communication-react-e4791dc2-7f02-4b0d-9147-ca8b52f51701.json

-9
This file was deleted.

packages/communication-react/review/beta/communication-react.api.md

+11
Original file line numberDiff line numberDiff line change
@@ -4634,6 +4634,17 @@ export type RealTimeTextInformation = {
46344634
finalizedTimeStamp: Date;
46354635
};
46364636

4637+
// @beta
4638+
export type RealTimeTextInformation = {
4639+
id: number;
4640+
displayName: string;
4641+
userId?: string;
4642+
message: string;
4643+
isTyping: boolean;
4644+
isMe: boolean;
4645+
finalizedTimeStamp: Date;
4646+
};
4647+
46374648
// @beta
46384649
export const RealTimeTextModal: (props: RealTimeTextModalProps) => JSX.Element;
46394650

packages/react-components/src/components/CaptionsBanner.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,9 @@ export const CaptionsBanner = (props: CaptionsBannerProps): JSX.Element => {
331331
<FocusZone shouldFocusOnMount className={captionsContainerClassName} data-ui-id="captions-banner">
332332
{
333333
/* @conditional-compile-remove(rtt) */ isRealTimeTextOn && (
334-
<_RTTDisclosureBanner strings={realTimeTextDisclosureBannerStrings} />
334+
<div style={{ paddingTop: '0.5rem' }}>
335+
<_RTTDisclosureBanner strings={realTimeTextDisclosureBannerStrings} />
336+
</div>
335337
)
336338
}
337339
{(isCaptionsOn || /* @conditional-compile-remove(rtt) */ isRealTimeTextOn) && (

0 commit comments

Comments
 (0)