0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
Commit graph

4668 commits

Author SHA1 Message Date
Justinas Delinda
14e586cc77
fix(vue): vue regular script block exports not being recognized inside editor (#8998)
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-11-08 08:44:02 +01:00
Erika
d979b8f0a8
feat(overlay): Match the design's animations, shadows and general styling (#9014) 2023-11-08 08:37:35 +01:00
lilnasy
6e30bdc941 [ci] format 2023-11-07 14:03:45 +00:00
Arsh
754e4fd31c
feat(vercel): streaming (#8879) 2023-11-07 14:01:04 +00:00
Martin Trapp
35739d01e9
Fix DEV mode on Safari when view transitioning to client:only components (#9000)
* Fix DEV mode on Safari when view transitioning to client:only components

* Update .changeset/eighty-ladybugs-shake.md

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

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-06 18:48:34 +01:00
bluwy
4983acea8c [ci] format 2023-11-06 15:15:47 +00:00
Bjorn Lu
c5a7993266
Handle Vite 5 changes (#9005) 2023-11-06 23:13:57 +08:00
bluwy
0f5b054281 [ci] format 2023-11-06 10:01:01 +00:00
Bjorn Lu
3988bbcc9e
Add shiki lang path compat (#8996) 2023-11-06 17:58:42 +08:00
Erika
910eb00fe0
fix(assets): Propagate sizes attribute on all sources (#8986)
* fix(assets): Propagate `sizes` attribute on all sources

* refactor: small refactor exposed srcSet types

* test: update test with a sizes

* chore: changeset

* fix: use a type import
2023-11-02 21:34:04 +01:00
Houston (Bot)
3cb1098d45
[ci] release (#8982)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-02 14:13:43 -04:00
Matthew Phillips
ab7e745cc9
Increase the scroll restoration throttle time (#8981)
* Increase the scroll restoration throttle time

* Add changeset

* Update packages/astro/src/transitions/router.ts

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

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-11-02 08:42:14 -04:00
natemoo-re
74fa4adba0 [ci] format 2023-11-01 21:03:36 +00:00
Marvin
937522fb70
fix: toStyleString omit nullish values (#8940)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-11-01 16:02:00 -05:00
Houston (Bot)
ca10dd7a7a
[ci] release (#8980)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-01 15:29:34 -05:00
Alexander Niebuhr
0ee7c9aac9
fix(underscore-redirects): fix dynamic pattern regression (#8979) 2023-11-01 14:51:15 -05:00
Houston (Bot)
ea16b45c0d
[ci] release (#8975)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-01 13:22:41 -04:00
matthewp
bf1fd0fa76 [ci] format 2023-11-01 17:14:06 +00:00
Erika
cc3278bb69
feat(dev-overlay): Add a tooltip on plugin hover / focus (#8978)
* feat(dev-overlay): Add a tooltip on plugin hover / focus

* chore: changeset

* test: add test
2023-11-01 13:11:57 -04:00
Matthew Phillips
40a0616797
Prevent the route announcer from being visible (#8977)
* Prevent the route announcer from being visible

* Update the number of expected styles in the tests
2023-11-01 13:11:45 -04:00
Erika
d0dc18cd1c
feat: new event to toggle a plugin from itself (#8968) 2023-11-01 17:56:59 +01:00
Alexander Niebuhr
6bc2153d0f
feat(underscore-redirects): add base to input paths (#8953)
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
Co-authored-by: Bjorn Lu <34116392+bluwy@users.noreply.github.com>
2023-11-01 16:01:31 +01:00
lilnasy
f6b53a2e69 [ci] format 2023-11-01 13:56:36 +00:00
Arsh
2da33b7a13
fix(slots): consume eagerly rendered slot after one use (#8929)
* render slots lazily

* add test

* add changeset

* refactor

* reword changeset
2023-11-01 19:23:38 +05:30
Houston (Bot)
4a0fec969f
[ci] release (#8934)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-01 08:23:32 -05:00
Elian ☕️
6169b6e561
Undo the halloween theme (#8959)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-11-01 08:20:45 -05:00
Erika
262cef2487
refactor: dev overlay to make it easier to work with VT (#8966) 2023-10-31 23:35:32 +01:00
matthewp
463e03633e [ci] format 2023-10-31 19:49:13 +00:00
Matthew Phillips
430c470ace
Move VT route announcer styles to a class (#8965) 2023-10-31 15:46:44 -04:00
Martin Trapp
ef8964c04d
Three small improvements for handling client-only in view transitions (#8964)
* client-only fixes

* typo
2023-10-31 20:16:03 +01:00
Eva Decker
35cd810f0f
chore(deps): Upgrade Zod to @latest (#8762)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-10-30 10:02:59 -05:00
wktk
71455c16c3
fix(create-astro): TypeScript installation failure with yarn (#8939)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-10-30 12:22:18 +01:00
Sarah Rainsberger
46d3043a3f
[docs] remove outdated anchor links (#8941) 2023-10-28 11:44:09 -03:00
Erika
5fed432b0c
test: add test setup for dev overlay (#8932) 2023-10-27 16:05:43 +02:00
matthewp
15acd86028 [ci] format 2023-10-27 12:14:07 +00:00
Matthew Phillips
c77f55d9c0
Prevent passing slot names as props (#8930)
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
Co-authored-by: Nate Moore <7118177+natemoo-re@users.noreply.github.com>
2023-10-27 08:11:46 -04:00
HiDeoo
ca90b47cfc
Fix dev overlay UI Toolkit component names (#8928)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-10-27 12:09:05 +02:00
Florian Lefebvre
e21fef7da2
fix(partytown): allow overriding the lib option (close #8760) (#8892)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-10-27 17:54:41 +08:00
Luca Di Gianventura
01c801108f
Fix: Markdoc Integration build when root folder contains spaces (#8759)
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2023-10-27 17:45:02 +08:00
Nate Moore
35c5265dc2
Update page partials link in CHANGELOG (#8927)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-10-26 12:33:30 -05:00
Houston (Bot)
7a35aedbef
[ci] release (#8917)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-26 11:34:52 -04:00
Matthew Phillips
fe4079f05b
Partials (#8755)
* Fragment support

* Add a changeset

* Linting

* debuggin

* Rename to partial

* Update the chagneset

* Make work with mdx

* Update .changeset/brave-pots-drop.md

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

* Update .changeset/brave-pots-drop.md

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

* Update .changeset/brave-pots-drop.md

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

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-10-26 10:14:10 -04:00
Bjorn Lu
ec7f531682
Fix examples smoke test fail (#8923) 2023-10-26 19:13:43 +08:00
Bjorn Lu
c8976440ff
Prevent bumping peer deps (#8893) 2023-10-26 18:07:02 +08:00
Houston (Bot)
28e56309a0
[ci] update lockfile (#8721)
* [ci] update lockfile

* fix ts-expect-error issue

---------

Co-authored-by: matthewp <matthewp@users.noreply.github.com>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2023-10-25 15:00:43 -07:00
Alexander Niebuhr
8c3d4a859a
fix noop overwrite image service regression (#8880)
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
2023-10-25 16:01:43 -04:00
Erika
e99586787b
feat: Add a dev overlay (#8757)
* feat: initial commit for dev overlay

* fix: lockfile

* fix: build

* chore: get ci in a better state

* feat: client-server communication

* fix: better position for xray

* refactor: move icons to separate files

* refactor: cleanup components

* feat: home screen

* refactor: rename icon

* feat: flag the feature

* fix: cleanup

* fix: lockfile

* feat: minimize button

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

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

* refactor: cleanup

* feat: add ability to go to component for hydrated components

* refactor: consistent logic between audit and xray

* chore: changeset

* Apply suggestions from code review

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

* fix: unchonky the SVGs

* fix: button a11y

* refactor: move common highlight utilities to a dedicated file

* fix: allow tabbing on highlights

* fix: allow tooltip clickable sections to be tabbed to

* feat: allow using defined icons as plugin icons

* refactor: remove unnecessary resolve

* Update .changeset/large-stingrays-fry.md

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

* Update .changeset/large-stingrays-fry.md

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

* nit: use append

* style: small tweaks to minimize button styling

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-10-25 17:40:37 +02:00
Erika
4740d761ae
feat: Rework image generation to improve performance (#8821)
* feat: implement concurrency for asset generation

* add changeset

* fix: count

* feat: rework image generation to reuse image buffer for transforms of the same image

* fix: assetsPrefix nonsense

* feat: add back the counter

* refactor: cleanup my TS nonsense

* nit: reuse type

* nit: apply suggestions

* nit: macOS micro optimization

* Update .changeset/good-mirrors-bake.md

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

---------

Co-authored-by: Matteo Manfredi <matteo@manfredi.io>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-10-25 14:21:38 +02:00
Houston (Bot)
6a991012c3
[ci] release (#8912)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-24 13:53:18 -05:00
natemoo-re
63f7242aba [ci] format 2023-10-24 18:50:46 +00:00