-
Notifications
You must be signed in to change notification settings - Fork 101
Refactor loader to loading, match styles to spec #2150
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
base: spark-117-loading-component
Are you sure you want to change the base?
Conversation
|
| --_ld-block-size: calc(var(--su-static8) - var(--su-static1)); | ||
| --_ld-gap: calc(var(--su-static2) + var(--su-static1)); | ||
| --_ld-start-offset: var(--su-static2); | ||
| .s-loader { |
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.
I spoke to Caro because the Figma called it Loader but the story said Loading, she confirmed it is Loader. I forgot to update the ticket sorry! I've changed it back to loader
| {@render children()} | ||
| {:else} | ||
| >{#if loading}<Loader | ||
| size="sm" |
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.
how would the user update the label for internationalization? should we add another prop if we're not gonna use a Snippet?
@ttaylor-stack this PR refactors your PR to match the specifications in SPARK-117. Most notably:
Loadinginstead ofLoader.s-loader--block. The--*suffixes are reserved for component child elements.CurrentColoris used for background color so it matches contextWhat's still needed to complete ticket