-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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(widgets): New LoadingWidget #9485
Conversation
modules/widgets/src/stylesheet.css
Outdated
@@ -171,3 +181,8 @@ | |||
); | |||
} | |||
|
|||
.deck-widget-spinner-icon { | |||
--deck-widget-icon-loading: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" ><path d="M21 12a9 9 0 1 1-6.219-8.56" /></svg>'); |
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.
Wouldn't this take priority over user defined variable from somewhere higher up in the DOM (e.g. :root
)?
const element = this.element; | ||
if (!element) return; | ||
render( | ||
// TODO(ibgreen) - this should not be a button, but styling is so nested that it is easier to reuse this component. |
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.
Perhaps you can just disable pointer events with CSS for this widget?
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.
Stamping so we can experimentally merge this in. To graduate let's take a pass on design improvements, pointer events, and theming.
Closes #
Background
Change List