-
Notifications
You must be signed in to change notification settings - Fork 4
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
feat(LoadingIndicator): extract and use SVG animation directly #1540
Conversation
- we only have one particular loading indicator we want to use at this time - apply styles and parameters to match previous implementation's output
size-limit report 📦
|
Codecov Report
@@ Coverage Diff @@
## next #1540 +/- ##
=======================================
Coverage 91.87% 91.87%
=======================================
Files 285 285
Lines 4293 4294 +1
Branches 791 792 +1
=======================================
+ Hits 3944 3945 +1
Misses 324 324
Partials 25 25
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
Love it 🤘
@ahuth something is still depending on styled-components looks like. kinda weird... |
Looks like the EDS bump: #1541 |
*/ | ||
ariaLabel?: string; | ||
|
||
/** | ||
* Whether the oval is visible. Default is true. | ||
* (Shadowed from OvalProps) | ||
* | ||
* See: https://mhnpd.github.io/react-loader-spinner/docs/components/oval | ||
*/ | ||
visible?: boolean; |
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.
What's the point of having an invisible loading spinner?
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.
visible
for loaders allows for those cases where you want to preserve content when the loading indicator would otherwise be added and removed from the UI in quick succession. We can use this prop to handle transitions or other behaviors
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.
Thanks!
## [11.0.0](v10.0.0...v11.0.0) (2023-03-17) ### ⚠ BREAKING CHANGES * add `indeterminate` prop to <Checkbox> that's separate from `checked` (#1520) ### Features * add `indeterminate` prop to <Checkbox> that's separate from `checked` ([#1520](#1520)) ([d8e2cc4](d8e2cc4)) * **LoadingIndicator:** extract and use SVG animation directly ([#1540](#1540)) ([6e315ea](6e315ea)) * **menu:** add Menu.PlainButton as a minimally styled Menu button ([#1516](#1516)) ([8268d8e](8268d8e)) ### Bug Fixes * actually use our shared prettier config ([c98ea51](c98ea51)) * **Avatar:** loosen props for avatar aria-label component ([#1544](#1544)) ([4ab9183](4ab9183)) * markdown story styling ([#1536](#1536)) ([89eba6b](89eba6b))
Summary:
Test Plan: