-
Notifications
You must be signed in to change notification settings - Fork 842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EuiTextArea] Add alert icon when isInvalid
and isLoading
support
#6679
Conversation
- since we're basically getting it for free
Preview documentation changes for this PR: https://eui.elastic.co/pr_6679/ |
e60ba85
to
5a412b5
Compare
5a412b5
to
efac898
Compare
Preview documentation changes for this PR: https://eui.elastic.co/pr_6679/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ This looks good to me! Confirmed this in the PR preview by using the display toggles and checking the state. Thanks Cee!
Preview documentation changes for this PR: https://eui.elastic.co/pr_6679/ |
EUI `77.0.0` ➡️ `77.1.1` ## [`77.1.0`](https://github.com/elastic/eui/tree/v77.1.0) - Updated `EuiDatePicker` to display a warning icon and correctly set `aria-invalid` when `isInvalid` is passed ([#6677](elastic/eui#6677)) - Updated `EuiFilePicker` to display an alert icon when `isInvalid` ([#6678](elastic/eui#6678)) - Updated `EuiTextArea` to display an alert icon when `isInvalid` ([#6679](elastic/eui#6679)) - Updated `EuiTextArea` to support the `isLoading` prop ([#6679](elastic/eui#6679)) - Updated `EuiComboBox` to display a warning icon and correctly set `aria-invalid` when `isInvalid` is passed ([#6680](elastic/eui#6680)) **Bug fixes** - Fixed `EuiAccordion` to not set an `aria-expanded` attribute on non-interactive `buttonElement`s ([#6694](elastic/eui#6694)) - Fixed an `EuiPopoverFooter` bug causing nested popovers within popovers (note: not a recommended use-case) to unintentionally override its panel padding size inherited from context ([#6698](elastic/eui#6698)) - Fixed `EuiComboBox` to only delete the last selected item on backspace if the input caret is present ([#6699](elastic/eui#6699)) --------- Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Jon <jon@elastic.co>
Summary
As part of my on-call work this week, I'm finishing up some older backlog work, in this case #2017.
Quick note about this implementation - I'm aware that the text and icons may overlap and be difficult to see or read, but I consider that to be an edge case (most text won't go all the way to the bottom and all the way to the right), and to be a lesser evil than not showing enough information. I'd prefer to wait to see if it becomes an issue, and iterate on it in the future if it does.
Before
After
QA
Remove or strikethrough items that do not apply to your PR.
General checklist
@default
if default values are missing) and playground toggles- [ ] Added or updated jest and cypress testsExisting tests are nonexistent for this component. We should remedy this later in storybook