- 430519d: Fix Vite dev server error by moving cachebust to start of URLSearchParams
- 410d14c: Focus body after navigation
- Update
startViewTransition
logic
- 9b8e241: Revert previous patch
- f84618e: Treat entire navigation as a transition
-
cbcaa44: Automatically add
route-announcer
element, supportdata-router-ignore
anddata-router-noscroll
attributes to opta
links out of SPA routing orscrollToTop
behavior.Updates default export of
micromorph/spa
entrypoint to return an instance ofRouter
for programatic control.Updates default export of
micromorph/nav
entrypoint to return an instance ofRouter
for programatic control.
- f969b64: Update code to support View Transitions by default
- 08cd7b5: Await
beforeDiff
andafterDiff
- f472e4f: remove logs, support scrollToTop option
- 5502cd9: Add
micromorph/nav
entrypoint, which uses the upcoming Navigation API
- a8cab71: Add license (MIT)
- Oops, actually publish the
dist
folder
-
d56bca8: Adds the
include
option to control which anchor tags trigger a SPA navigation. Supports either a filter-like callback function or a selector string.Adds the
scrollToTop
option to control if SPA navigation should reset scroll on navigation.