astro/packages/integrations
Tony Sullivan 89d76753a0
Adds a new <Picture> component to the image integration (#3866)
* moving all normalization logic out of the Image component

* refactor: only require loaders to provide the image src

* Adding a `<Picture />` component

* fixing types.ts imports

* refactor: moving getImage to it's own file

* updating component types to use astroHTML.JSX

* Revert "updating component types to use astroHTML.JSX"

This reverts commit 6e5f578da8.

* going back to letting loaders add extra HTML attributes

* Always use lazy loading and async decoding

* Cleaning up the Picture component

* Adding test coverage for <Picture>

* updating the README

* using JSX types for the Image and Picture elements

* chore: adding changeset

* Update packages/integrations/image/src/get-image.ts

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

* allow users to override loading and async on the <img>

* renaming config to constants, exporting getPicture()

* found the right syntax to import astro-jsx

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-07-08 21:37:55 +00:00
..
cloudflare [ci] format 2022-07-08 20:57:10 +00:00
deno [ci] format 2022-07-08 20:57:10 +00:00
image Adds a new <Picture> component to the image integration (#3866) 2022-07-08 21:37:55 +00:00
lit [astro add] Support adapters and third party packages (#3854) 2022-07-08 16:55:33 -04:00
mdx [astro add] Support adapters and third party packages (#3854) 2022-07-08 16:55:33 -04:00
netlify [ci] format 2022-07-08 20:57:10 +00:00
node [ci] format 2022-07-08 20:57:10 +00:00
partytown [astro add] Support adapters and third party packages (#3854) 2022-07-08 16:55:33 -04:00
preact [astro add] Support adapters and third party packages (#3854) 2022-07-08 16:55:33 -04:00
prefetch [ci] format 2022-07-08 20:57:10 +00:00
react [astro add] Support adapters and third party packages (#3854) 2022-07-08 16:55:33 -04:00
sitemap [astro add] Support adapters and third party packages (#3854) 2022-07-08 16:55:33 -04:00
solid [astro add] Support adapters and third party packages (#3854) 2022-07-08 16:55:33 -04:00
svelte [astro add] Support adapters and third party packages (#3854) 2022-07-08 16:55:33 -04:00
tailwind [astro add] Support adapters and third party packages (#3854) 2022-07-08 16:55:33 -04:00
turbolinks [astro add] Support adapters and third party packages (#3854) 2022-07-08 16:55:33 -04:00
vercel [ci] format 2022-07-08 20:57:10 +00:00
vue [astro add] Support adapters and third party packages (#3854) 2022-07-08 16:55:33 -04:00