Desktop refinements, PageLoading and branded Progress - #1197
Open
malessani wants to merge 21 commits into
Open
Conversation
…layer/app-elements into fix/desktop-refinements
✅ Deploy Preview for commercelayer-app-elements ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
malessani
marked this pull request as ready for review
August 14, 2026 12:32
commit: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #1198
What I did
This pull request introduces several improvements and fixes across the UI components and hooks, focusing on overlay behavior, avatar and heading rendering, progress styling, and localization. The most significant changes are grouped below:
Overlay and Modal Improvements
initialOpenoption to theuseOverlayhook and its options interface, enabling overlays (such as route-driven drawers) to render already open on the first paint. This prevents UI flicker when navigating directly to a route that should display an overlay. Tests were added to verify this behavior.UI Component Enhancements
AvatarLetternow supports asizeprop (mediumorlarge), with appropriate class names to prevent squashing when used as a flex child. Tests were added to verify sizing.PageHeadingnavigation button now supports avariantprop (inlineorbutton), allowing it to render as a secondary button (used in drawers) or as an inline icon. Tests ensure correct rendering and accessibility.rounded-xstoroundedfor consistency.Styling and Theming
bg-primarytobg-brand.Exports and Deprecations
PageLoadingand deprecatedPageSkeletonin favor ofPageLoading. Updated usage inTokenProviderto usePageLoading. Also exported resource list utility functions.These changes collectively improve the user experience, accessibility, and maintainability of the UI components and hooks.
How to test
Checklist