Repository navigation
Convert chat history box, image avatar, error box, transcript list and media attachments to CSS modules - #6024
Open
Eugene (OEvgeny) wants to merge 3 commits into
Open
Eugene (OEvgeny) wants to merge 3 commits into
Eugene (OEvgeny) wants to merge 3 commits into
Conversation
added 3 commits
November 5, 2026 12:55
…d media attachments to CSS modules - 10 option-free style set entries move to CSS modules with webchat__ class names (useStyles + webChatPrefixedClassName); the 6 media entries share MediaAttachment.module.css - videoHeight reaches CSS as --webchat__height--video - activities: margin and padding-inline only, TranscriptFocus keeps padding-block - Scroll-to-end toolbar: inset-inline-end + its own dir, --rtl class dropped - @deprecated (since 4.19.3, removal on or after 2028-10-16) on the 10 entries - New tests: rtl/scrollToEndButton.html, styleOptions/videoHeight.html
Eugene (OEvgeny)
marked this pull request as ready for review
November 6, 2026 06:52
Eugene (OEvgeny)
requested review from
William Wong (compulim),
Chris Whitten (cwhitten) and
Thomas Durnford (tdurnford)
as code owners
November 6, 2026 06:52
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog Entry
Changed
webchat__class names, andvideoHeightto--webchat__height--video, in PR #6024, by @OEvgenyRemoved
activities,audioAttachment,audioContent,chatHistoryBox,errorBox,imageAvatar,videoAttachment,videoContent,vimeoContentandyouTubeContentstyle set entries, which no longer affect rendering, and removed the unusedwebchat__chat-history-box__toolbar--rtlclass, in PR #6024, by @OEvgenyDescription
These components still used emotion style sets and now use CSS Modules. No snapshot changes.
Design
videoHeight, and the other 4).dir, so it gets its owndirforinset-inline-end; the--rtlclass goes.Specific Changes
ChatHistoryBox,ChatHistoryToolbar,ImageAvatar,ErrorBox: own*.module.css; the 6 media components:MediaAttachment.module.css;activities:BasicTranscript.module.css--webchat__height--video:CustomPropertyNames.ts,CSSCustomPropertiesContainer.tsx;@deprecated:createStyleSet.ts,StyleSet/*.tsrtl/scrollToEndButton.html(main: same pixels,:dir(rtl)fails),styleOptions/videoHeight.html(135 px; passes on main).changelog/<PR#>-<slug>.mdReview Checklist
z-index)package.jsonandpackage-lock.jsonreviewed