-
Notifications
You must be signed in to change notification settings - Fork 65
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
lateral motion #123
lateral motion #123
Conversation
|
$current_menu_view = $page_selected; | ||
}); | ||
|
||
afterNavigate(({ to }) => { |
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.
This is much better! I keep forgetting Kit has these 😅
* Push * Direclt render list data ratehr than component * Fix bugs * Imports * Add motion * Slightly smoother menu * Motion aware, remove motion toggle * Minor change * Add external-link icon * lateral motion (#123) * lateral motion * prevent flickering contextual nav * tidy some stuff up * reorder things * slide down feels more natural when navigating directly * fix links * use navigation lifecycle * remove unused action * gah typescript * Use fade out for exit * Original namr * Slightly slower menu close --------- Co-authored-by: Rich Harris <git@rich-harris.dev> Co-authored-by: Puru Vijay <devpuruvj@gmail.com> * Incorporate changes from #120 --------- Co-authored-by: Rich Harris <hello@rich-harris.dev> Co-authored-by: Rich Harris <git@rich-harris.dev>
* Push * New DocsMobileNav * Support 4.0.0 * Use JS + Accessibility * Nav title * Minor fixes * Redo many things, new docsmobile nav mechanics * Remove unused imports * Minor fixes here and there * Fix blockquotes * use $page.data.nav_title * SSR ready * Some restructuring * Bottom nav first concept(incomplete) * tweak svelte recent searches * Better tap highlight color * Tweak DocsMobileNav * Initially hidden nav functionality * Unified navbar * Simplify into one single nav * Trickify * Use quintOut for navbar autohide * Minor fixes * Minor tweaks * Nav stays under overlay when searching * Pad the button * color mixed sk-theme-1 * Add changeset * Update changeset * Change icons a bit * One menu to rule em all (#118) * Push * Direclt render list data ratehr than component * Fix bugs * Imports * Add motion * Slightly smoother menu * Motion aware, remove motion toggle * Minor change * Add external-link icon * lateral motion (#123) * lateral motion * prevent flickering contextual nav * tidy some stuff up * reorder things * slide down feels more natural when navigating directly * fix links * use navigation lifecycle * remove unused action * gah typescript * Use fade out for exit * Original namr * Slightly slower menu close --------- Co-authored-by: Rich Harris <git@rich-harris.dev> Co-authored-by: Puru Vijay <devpuruvj@gmail.com> * Incorporate changes from #120 --------- Co-authored-by: Rich Harris <hello@rich-harris.dev> Co-authored-by: Rich Harris <git@rich-harris.dev> --------- Co-authored-by: Rich Harris <hello@rich-harris.dev> Co-authored-by: Rich Harris <git@rich-harris.dev>
This ensures there's only one direction of movement at any given moment, by abusing
clip-path
and having a fake backgroundI probably made a bit of a mess while working on this, so I might tidy some stuff up before marking it ready