feat(organizations): add theming/story for Mantine Loader and LoadingOverlay TASK-1464 #5425
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🗒️ Checklist
<type>(<scope>)<!>: <title> TASK-1234
frontend
orbackend
unless it's global📣 Summary
Theming for Mantine's Loader and LoadingOverlay was added to match Kobo's current LoadingSpinner for general purpose.
📖 Description
Both 'regular' and 'big' variant were added with its respective type names to be used with Mantine's
Loader
andLoadingOverlay
components.To simplify the implementation I decided to simply use the existing
LoadingSpinner
component instead of extracting it's contents.Since Mantine's
Loader
doesn't have themessage
parameter, right now I'm fixing it onfalse
so it won't appear. We may need to implement a Wrapper in the future to add a message, depending on our future needs.LoadingOverlay
is already in use at feat(organizations): add theming/story for Mantine Select TASK-1379 #5414👀 Preview steps