-
Notifications
You must be signed in to change notification settings - Fork 1
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: Adds tokens to Filter
#139
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Preview is readyThis pull request generated a Preview👀 Preview: https://sfj-c1e5abc--nextjs.preview.vtex.app |
Lighthouse ReportsHere are the Lighthouse reports of this Pull Request📝 Based on commit c1e5abc
|
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.
LGTM! 💯
…x-sites/nextjs.store into feat/theming-filter-fsss-380
Co-authored-by: Fanny Chien <[email protected]>
Co-authored-by: Fanny Chien <[email protected]>
Co-authored-by: Fanny Chien <[email protected]>
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.
Niceeee! LGTM! 🌟
What's the purpose of this pull request?
This PR applies the new Theming structure to
Filter
: new scoped tokens linked to global ones. It also split theFilterSlider
into its own fileAdditionally, we created a new Storybook component for lists:
<SectionList>
. You can use it asRow
orGrid
and it should still be placed on the following docs (on a future PR):How does it work?
This PR uses local variables to parameterize the
Filter
properties, then connects these scoped tokens to the global ones.How to test it?
Filter
component and its related components should look just as it was before these changes.The overview session adapts according to the screen dimensions:
Checklist
Changelog
CHANGELOG.md
at the beginning of its due section. The latest version should comes first.CHANGELOG.md
. E.g., New items in thepull_request_template.md
(#4)PR Description
Breaking change
,Enhancement
,Bug
orChore
.ComponentName
component.useWindowDimensions
hook.Documentation