feat(client,prospect): add warning variant to TextArea (#1803)#1807
Open
feat(client,prospect): add warning variant to TextArea (#1803)#1807
Conversation
JLou
previously approved these changes
Apr 22, 2026
Debaerdm
added a commit
that referenced
this pull request
Apr 23, 2026
…pr skill Add section "Conventions apprises" with 11 rules extracted from PR reviews: CSS Common over Apollo/LF duplication, classModifier for variants, getClassName mandatory, MDX in English, no invented token values, focus-visible vs focus, one story per variant, argTypes/decorators in meta. Sources: PRs #1793 #1801 #1807 #1805 #1783 #1792 #1765 #1766 #1775 #1771
Contributor
Author
|
Retours appliques dans le commit 7c84c57 :
Les valeurs aria-invalid restent per-theme car elles different (red-alert-1000 Apollo vs red-alert-1200 LF). Made with Claude |
Contributor
Author
GuillaumeKESTEMAN
approved these changes
Apr 24, 2026
|
Contributor
Author
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.



Add a
warningvariant to the TextArea component (Apollo + LF), consistent with thewarningvariant introduced on InputText, InputDate, and Dropdown.Trigger the warning state by passing
messagetogether withmessageType="warning". A newaf-form__textarea--warningclass is applied to the textarea, styled with the orange-1050 token (2px inner shadow by default, 3px on hover/focus/active). The existing:not(:placeholder-shown)blue override is still overridden correctly because the warning selector comes later and has equal specificity.Closes #1803
Figma: https://www.figma.com/design/vwprvN2ELfI50pjU6MK1Ea/branch/vBNH3TFq3TBbpHNLYuusCE/%E2%9C%A8-B2C-%E2%80%A2-Design-System-Canop%C3%A9e?node-id=17278-55817
Made with Claude