0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages/integrations
Matthew Phillips 6a12fcecb0
Initial View Transition Support (#7511)
* Basic support

* Add the fade transition

* Move CSS into a separate file

* Add transition name

* View Transitions changeset

* Replace the boolean transition with 'morph'

* Update to use `transition:animate`

* Use head propagation

* Move CSS into a separate file

* Add builtin animations and namespaced module

* Misquote

* Remove unused code

* Add automatic prefetching to the View Transitions router

* Use a data attribute for back nav animations

* Use [data-astro-transition]

* Add view transitions to examples

* Wait on the HTML response before calling startViewTransition

* Updated stuff

* Update the compiler

* Fix

* Fallback support

* Properly do fallback

* Simplify the selectors

* Put viewTransitions support behind a flag

* Upgrade the compiler

* Remove unused import

* Add tests

* Use an explicit import instead of types

* Fix case where the click comes from within nested content

* Fix linting

* Add a test for the back button

* Prevent glitch in fallback

* Do not combine selectors

* Fallback to MPA nav if there is an issue fetching

* Fallback swap if there are no animations

* Update packages/astro/src/@types/astro.ts

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update packages/astro/components/ViewTransitions.astro

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* Update packages/astro/components/ViewTransitions.astro

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* Update the changeset

* PR review changes

* Update more based on review comments.

* Update the updateDOM default

* Pass in transitions options to the compiler

* Update broken tests

* Update .changeset/silly-garlics-live.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update .changeset/silly-garlics-live.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update .changeset/silly-garlics-live.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update .changeset/silly-garlics-live.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* h2 -> h4

* Upgrade to stable compiler

* Remove exp redirects from sitemap

* Remove usage from examples

* Remove example updates

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-07-19 15:18:41 -04:00
..
alpinejs Move code block titles into comments to match docs (#7543) 2023-07-01 16:34:49 +02:00
cloudflare Remove experimental flag for redirects config (#7686) 2023-07-19 09:31:07 -04:00
deno [ci] release (#7699) 2023-07-19 09:32:32 +02:00
image [ci] release (#7699) 2023-07-19 09:32:32 +02:00
lit feat: use typescript-eslint@v6's reworked configs (#7425) 2023-07-03 20:59:43 +08:00
markdoc [ci] release (#7699) 2023-07-19 09:32:32 +02:00
mdx nit: export props has been unnecessary.. forever (#7646) 2023-07-14 09:57:06 -04:00
netlify Remove experimental flag for redirects config (#7686) 2023-07-19 09:31:07 -04:00
node [ci] release (#7699) 2023-07-19 09:32:32 +02:00
partytown nit: use node: prefix everywhere (#7692) 2023-07-18 02:17:59 +02:00
preact feat: use typescript-eslint@v6's reworked configs (#7425) 2023-07-03 20:59:43 +08:00
prefetch [ci] release (#7594) 2023-07-11 22:27:04 +08:00
react feat: use typescript-eslint@v6's reworked configs (#7425) 2023-07-03 20:59:43 +08:00
sitemap Initial View Transition Support (#7511) 2023-07-19 15:18:41 -04:00
solid nit: use node: prefix everywhere (#7692) 2023-07-18 02:17:59 +02:00
svelte [ci] release (#7699) 2023-07-19 09:32:32 +02:00
tailwind [ci] release (#7699) 2023-07-19 09:32:32 +02:00
turbolinks Format markdown files (#7439) 2023-06-26 11:34:13 +08:00
vercel Remove experimental flag for redirects config (#7686) 2023-07-19 09:31:07 -04:00
vue [ci] release (#7699) 2023-07-19 09:32:32 +02:00