Repository navigation
Conversation
|
09d83b7 to
29a38c7
Compare
Visual regression reportCypress suite: ✅ Passing Visual diff:
Accessibility (axe): ✅ No violations. 📊 View full report — click a screenshot's ⚠ badge to see each violation boxed on the image, with the offending element named and contrast failures shown as color swatches. Diff images (3)datetimeinput-dark.png — 19 pixels differdatetimeinput-light.png — 19 pixels differtooltip-light.png — 15266 pixels differBaselines come from the |
There was a problem hiding this comment.
This file references "this was made for v11_7, if viewing on a different version, stop" or along these lines.
I don't think it makes sense. It is always displayed in v11.7 and there is no way of changing that. I know it's a legacy bug, but we should fix this before putting the spotlight on this doc page with this change
There was a problem hiding this comment.
I've removed the second error message
6a73ad6 to
de17104
Compare
…tate fixes (#2825) ## Summary - `Select` and `SimpleSelect` shows now red error border all the time there is an error. - `FileDrop` shows now red error border in error state. - `NumberInput`: shows now red error focus ring in error state. ## Test Plan - Open the Error messages example in `docs/guides/forms.md` and check that SimpleSelect, FileDrop and NumberInput show the red border or focus ring, including in dark mode. - Drag a file over a FileDrop and check the accepted and rejected borders. Check a disabled FileDrop looks dimmed. Fixes INSTUI-5276 🤖 Generated with [Claude Code](https://claude.com/claude-code)
de17104 to
37a4518
Compare
…rror state The asterisk only received its themed color when the field was invalid, so it changed color on error even though an error can have causes other than a missing required value. It now always uses the component's asteriskColor token. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
37a4518 to
1ab7056
Compare



Summary
FormFieldLayout(v2) always appliesformFieldLayout/asteriskColorto the required asterisk, so inputs likeTextInputno longer change its color on error.Checkbox(v2) does the same withcheckbox/asteriskColor; the internal style keyrequiredInvalidbecomesrequiredAsterisk. Checkbox needs to be handled separately because it does not useFormFieldTest Plan
TextInputand a requiredCheckboxinto an error state and check the asterisk keeps the same color as the valid state.light/darkthemes the asterisk is always red (text.error). In the legacy canvas themesFormFieldLayoutuses the label color, butCheckboxis always red (checkbox/asteriskColoristext.errorthere). Check whether that mismatch is acceptable.Fixes INSTUI-5278
🤖 Generated with Claude Code