-
Notifications
You must be signed in to change notification settings - Fork 11
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
AuLoader
updates
#464
AuLoader
updates
#464
Conversation
We also use the We could keep the Another option could be to display the inline version inside the button instead, maybe? It will look a bit different from the current version though. Edit: Hmm, I just looked at the Webuniversum version, and they use a custom animation there, not the vl-ui-loader inside the button. Maybe we should do a similar thing here? @brenner-company Any insights? |
I didn't have the time today to give this a look. I'll pick this up on wednesday if that's ok? |
I think both the 'private argument' & 'custom animation (within the button)' are good options. I'm not a fan of the 'inline version' solution because of, as you said, the visual difference. Could it also be an option to extract the |
✅
Yea, that's indeed an option 👍 The main thing I'm not sure about is, do we want to prevent apps from using the |
This updates the `AuLoader` component so it matches Webuniversum's `<vl-ui-loader>` component. Notable changes: - visual loading message by default - an option to hide the loading message, if needed - inline loading message variant - the "old" version is now deprecated. Migration guide: #464 Webuniversum reference: https://overheid.vlaanderen.be/webuniversum/v3/documentation/atoms/vl-ui-loader/
cb04c40
to
d8fa1ba
Compare
This updates the `AuLoader` component so it matches Webuniversum's `<vl-ui-loader>` component. Notable changes: - visual loading message by default - an option to hide the loading message, if needed - inline loading message variant - the "old" version is now deprecated. Migration guide: #464 Webuniversum reference: https://overheid.vlaanderen.be/webuniversum/v3/documentation/atoms/vl-ui-loader/
d8fa1ba
to
6cc0f71
Compare
This updates the `AuLoader` component so it matches Webuniversum's `<vl-ui-loader>` component. Notable changes: - visual loading message by default - an option to hide the loading message, if needed - inline loading message variant - the "old" version is now deprecated. Migration guide: #464 Webuniversum reference: https://overheid.vlaanderen.be/webuniversum/v3/documentation/atoms/vl-ui-loader/
6cc0f71
to
44f63f2
Compare
This updates the `AuLoader` component so it matches Webuniversum's `<vl-ui-loader>` component. Notable changes: - visual loading message by default - an option to hide the loading message, if needed - inline loading message variant - the "old" version is now deprecated. Migration guide: #464 Webuniversum reference: https://overheid.vlaanderen.be/webuniversum/v3/documentation/atoms/vl-ui-loader/
44f63f2
to
d13bade
Compare
Migration guide: appuniversum/ember-appuniversum#464
This updates the
AuLoader
component so it matches the Webuniversum<vl-ui-loader>
component.Notable changes:
Closes #456
Migration guide
The existing options that aren't supported by the
<vl-ui-loader>
component are now deprecated.No arguments / default loading message
If you were using the
AuLoader
component without any arguments the component would use a (visually hidden) default message. You can achieve a similar result by passing the previous default message as the block content.@message
Use the block content of the component to pass the loading message. If you want this loading message to only be visible for screenreaders you can combine this with the
@hideMessage
argument.Before:
@disableMessage
Disabling the message is not recommended for accessibility reasons. This option was originally added because there was no way to display a visible loading text with the previous implementation. Apps could then disable the internal hidden one, and add a visual loading message themselves. This is now no longer needed since the block content will be used as the visual message by default.
@padding
The padding argument was used to align the loader with other whitespace on the page, since the loader is now centered this shouldn't be needed anymore.
It's still possible to add whitespace by using the spacing util classes.
Component alignment
The new loader defaults to a centered position to match the Webuniversum version. There are use-cases where this can look a bit strange so for those you can set the
@centered
argument to false and add extra classes to align the component however you want.Note
@centered
was added in the 3.2.0 release