Repository navigation
Convert tooltip, modal dialog, file attachment and transcript root classes to CSS modules - #5997
Draft
Eugene (OEvgeny) wants to merge 10 commits into
Draft
Eugene (OEvgeny) wants to merge 10 commits into
Eugene (OEvgeny) wants to merge 10 commits into
Conversation
added 10 commits
October 31, 2026 11:17
… CSS module theme The tooltip keeps its webchat__tooltip class names through webChatPrefixedClassName.
…h the CSS module theme The dialog keeps its webchat__modal-dialog class names through webChatPrefixedClassName, so ViewCodeDialog.module.css and tests still select them.
…Fluent through the CSS module theme FileContent's local styles moved to FileContent.module.css; its class names keep the webchat__ prefix, so the option-driven "fileContent" style set entry still applies the style options and nothing renders differently.
…style them through the CSS module theme basic-transcript, __scrollable, __filler (BasicTranscript local styles), __activity-body (ActivityRow) and focus-trap (FocusTrap) come from CSS modules and keep their webchat__ class names, which code and tests still query.
…odules and style them through the CSS module theme webchat__surface (BasicWebChat local styles; the option-driven root style set entry stays) and webchat__css-custom-properties (Composer local styles) come from CSS modules and keep their names; CSSCustomPropertiesContainer still selects the latter for the style options.
…eason, as in the activity button FileContent, ActivityRow and FocusTrap declared local names for themes with ":not(*)" rules. They now use the declaration that the build strips once the class map is built.
… longer used for rendering Like the entries in #5881: customizing them has no effect, and their styles are in Popover.module.css and Tooltip.module.css.
…n the pull request
Eugene (OEvgeny)
force-pushed
the
OEvgeny/fix-css-fluent-context-2
branch
from
October 31, 2026 18:24
9b130dd to
cb28b4e
Compare
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, so Fluent styles them through the CSS module theme, in PR #5997, by @OEvgenyRemoved
modalDialogandtooltipstyle set entries, which no longer affect rendering, in PR #5997, by @OEvgenyDescription
These 22 classes now come from CSS modules and keep their
webchat__names. Fluent styles 19 of them through<CSSModuleThemeComposer>.styleSet.modalDialogandstyleSet.tooltipno longer apply; stylewebchat__modal-dialogandwebchat__tooltipinstead. Both entries go on or after 2028-10-16.Design
fileContentandrootstyle set entries read style options and stay appliedSpecific Changes
Tooltip,Popover(style set entries@deprecated),FileContent,BasicTranscript,BasicWebChat,Composer,ActivityRow,FocusTrapViewCodeDialog: out-specifies the modal dialog rules.changelog/<PR#>-<slug>.mdReview Checklist
z-index)package.jsonandpackage-lock.jsonreviewed