Repository navigation
Convert the send box layout and text box to CSS modules - #6036
Open
Eugene (OEvgeny) wants to merge 4 commits into
Open
Eugene (OEvgeny) wants to merge 4 commits into
Eugene (OEvgeny) wants to merge 4 commits into
Conversation
Eugene (OEvgeny)
marked this pull request as ready for review
November 10, 2026 03:18
Eugene (OEvgeny)
requested review from
William Wong (compulim),
Chris Whitten (cwhitten) and
Thomas Durnford (tdurnford)
as code owners
November 10, 2026 03:18
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 and their style options to custom properties, in PR #6036, by @OEvgenyRemoved
autoResizeTextArea,dictationInterims,sendBoxandsendBoxTextBoxstyle set entries, which no longer affect rendering, in PR #6036, by @OEvgenyDescription
The send box layout, text box, dictation interims, drop zone and submit error message move from emotion to CSS Modules without snapshot changes. Their 10 style options become custom properties, and 4 style set entries are deprecated.
Design
webchat__class stays on its element; the dictation interims<p>getswebchat__dictation-interims, and itsstatus/dictatingclasses stay. Toolbar buttons and suggested actions (later stages) are placed with:global(.webchat__…).webchat__send-box__attachment-barclass is left as is: the removed rule never matched it.sendBoxTextColorset toundefinedor''on purpose: the single-line input now inherits the page's text color, as the multi-line one already did, instead of the browser default.Specific Changes
SendBox/SendBox.module.css: 6 regions, one per componentCSSCustomPropertiesContainer.tsx,CustomPropertyNames.ts: 10 new propertiesBasicSendBox,TextBox,AutoResizeTextArea,DictationInterims,DropZone,SendBoxComposer:useStyles()createStyleSet.ts, 4StyleSet/*.ts:@deprecatedsendBox/focusSendBackToSendBox.html: page CSS instead of astyleSetoverride; same snapshotstyleOptions/sendBox.html: every option, snapshots 1–2 (same onmain)styleOptions/sendBox.disabled.html: disabled text color (same onmain).changelog/<PR#>-<slug>.mdReview Checklist
z-index)package.jsonandpackage-lock.jsonreviewed