Commit graph

1057 commits

Author SHA1 Message Date
Matthew Phillips
ea7ff5177d
astro: namespace for middleware and components (#8101)
* `astro:` namespace for middleware and components

* Update errors to use namespace

* Create a namespace module just for the astro: stuff
2023-08-17 09:28:42 -04:00
Matthew Phillips
cbb77af978 Merge branch 'main' into next 2023-08-17 08:54:28 -04:00
Nel
9dd09e2c6a
Fix #7056 Splashing Navigation Menu in portfolio template (#7078)
* Fix #7056 Splashing Navigation Menu in portfolio template

* Add menu back to no-JS view

* Fix desktop view in non-JS & menu styling

* chore: force ci

---------

Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-16 15:04:53 -05:00
natemoo-re
0b59bc944b [ci] format 2023-08-15 22:21:05 +00:00
Nate Moore
483ecd5027
chore: update to use getEntry (#8093) 2023-08-15 17:18:28 -05:00
Houston (Bot)
53ad9efde4
[ci] release (#8090)
* [ci] release

* Update packages/create-astro/CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-15 16:12:45 -05:00
Houston (Bot)
087270c61f
[ci] release (#8064)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-15 22:35:58 +08:00
Emanuele Stoppa
7530d5689d Merge remote-tracking branch 'origin/main' into next 2023-08-15 09:24:06 +01:00
Houston (Bot)
19f9edf977
[ci] release (beta) (#8067)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-14 08:46:22 -05:00
Samuel Plumppu
41cfde9a7d
fix: Cleanup blog template images (#8051) 2023-08-14 15:53:10 +08:00
Houston (Bot)
f39a80c583
[ci] release (#8043)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-11 14:02:47 -04:00
Houston (Bot)
e1a886530f
[ci] release (#8023)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-11 11:22:23 -04:00
Houston (Bot)
40efae6550
[ci] release (beta) (#7952)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-11 11:14:20 -04:00
Matthew Phillips
519a1c4e84
JSX refactor (#7924)
* JSX refactor

* Get preact/compat test to pass

* Use include config

* Remove old astro flavored markdown test

* Move babel dep to preact

* Remove errant debugger

* Update lockfile

* Update the multi-framework example

* Update e2e tests

* Fix nested-in-vue tests

* Add back in astro check

* Update packages/astro/src/core/create-vite.ts

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* Update packages/astro/src/core/create-vite.ts

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* Update packages/integrations/solid/src/index.ts

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* Update packages/integrations/solid/src/index.ts

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* Update .changeset/perfect-horses-tell.md

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* Move the comment about the include config

* Remove redundant alias config

* Use react's own preamble code

* Use the base for the preamble

* Remove solid redundancy

* Update .changeset/perfect-horses-tell.md

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

* Update based on review comments

* Oops

---------

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-08-11 10:05:02 -04:00
Shinya Fujino
3bc74dd4a9
Remove unnecessary hyphen from svg tag (#8025)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-10 10:31:50 -05:00
Shinya Fujino
210f8d9f79
Update path to image in public/ to suppress warning (#8026)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-10 10:31:37 -05:00
Houston (Bot)
fc30b8539c
[ci] release (#8017)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-10 21:25:28 +08:00
Emanuele Stoppa
14b0626f3e Merge remote-tracking branch 'origin/main' into next 2023-08-10 11:49:52 +01:00
Houston (Bot)
9cb32e2a5f
[ci] release (#8000)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-09 15:31:34 -05:00
ElianCodes
e65b5b5495 [ci] format 2023-08-09 18:52:48 +00:00
Keshav Mohta
e2b1b4fa6e
fixed image path and add markdown syntax in example (#7802)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Elian ️ <hello@elian.codes>
2023-08-09 20:50:25 +02:00
Emanuele Stoppa
0f1e9d8361
chore: update prettier to 3.0 (#7957) 2023-08-08 13:01:38 +01:00
Emanuele Stoppa
ba73dea026 chore: fix rebase issue 2023-08-08 11:09:20 +01:00
Houston (Bot)
2ac1c1e260 [ci] release (beta) (#7897)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-08 11:04:14 +01:00
Emanuele Stoppa
f01eb585e7 feat: change default port to 4321 (#7874)
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2023-08-08 11:02:51 +01:00
Emanuele Stoppa
dc13687bb4 fix: update examples to use the new API of cookies (#7899) 2023-08-08 11:02:51 +01:00
Emanuele Stoppa
9a01cc64c2 Remove support for Node 16 (#7780) (#7820) 2023-08-08 11:01:33 +01:00
Elian ☕️
4d160fa1e2
chore: remove MDX integration from Tailwind example (#7987)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-07 16:23:39 -05:00
Houston (Bot)
2e36d96588
[ci] release (#7988)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-07 16:21:15 -05:00
Jeff Ruane
2c2e9362a2
Add screen reader text to example blog footer (#7984)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-07 14:27:44 -05:00
Houston (Bot)
9509a66a7b
[ci] release (#7958)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-07 13:51:05 -05:00
Houston (Bot)
49b3cf423b
[ci] release (#7937)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-03 15:16:51 -04:00
natemoo-re
705432f8d2 [ci] format 2023-08-03 16:26:08 +00:00
Mike Gifford
b636b4ac53
Make the image decorative (#7926)
* Make the image decorative

* Update examples/basics/src/pages/index.astro

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-03 11:24:03 -05:00
Houston (Bot)
39b044e09b
[ci] release (#7912)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-03 10:54:48 -04:00
Houston (Bot)
1d9e34b136
[ci] release (#7877)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-01 23:38:24 +08:00
Houston (Bot)
d2b6dabfb3
[ci] release (#7854)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-28 12:34:00 -04:00
Houston (Bot)
98ca04f915
[ci] release (#7851)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-28 09:12:05 -04:00
Houston (Bot)
3b422272e6
[ci] release (#7813)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-27 15:33:13 -04:00
Houston (Bot)
db8c04002f
[ci] release (#7784)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-25 15:15:41 -04:00
Mark Peck
67db2f5d4e
Update README.md with new image (#7797)
Adds updated screenshot of blog template
2023-07-25 13:52:05 -05:00
Mark Peck
adcc5adbbc
Update README.md (#7796)
Updates blog image in readme
2023-07-25 13:51:57 -05:00
doodlemarks
ec40c8ccbe [ci] format 2023-07-25 14:54:12 +00:00
Mark Peck
8e14621659
Blog theme styling updates (#7768)
* whole lotta updates and including some new fonts

* update placeholders

* fix mobile first child

* remove experimental stuff

* adding accessible text to header icon links

* preloading font files

* i did dum things

---------

Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com>
2023-07-25 09:51:38 -05:00
doodlemarks
81c460e30b [ci] format 2023-07-24 21:43:14 +00:00
Mark Peck
13120a0493
Basics theme styling updates (#7760)
* update styling and include asset

* whoopsies, didnt mean to include these

* im rusty dont judge

* another thing I didn't want pushed

* anything for chris

* for natey poo

* just stop
2023-07-24 16:40:18 -05:00
Houston (Bot)
e80896a67c
[ci] release (#7763)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-24 17:09:11 +08:00
Houston (Bot)
16a41528e4
[ci] release (#7737)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-21 16:37:17 -04:00
Houston (Bot)
92382ea1d4
[ci] release (#7714)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-20 12:09:38 -04:00
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