mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
af867f3910
* chore: changeset
* feat: add experimental responsive images config option (#12378)
* feat: add experimental responsive images config option
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update config types
* Move config into `images`
* Move jsdocs
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* feat: add responsive image component (#12381)
* feat: add experimental responsive images config option
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update config types
* Move config into `images`
* Move jsdocs
* wip: responsive image component
* Improve srcset logic
* Improve fixture
* Lock
* Update styling
* Fix style prop handling
* Update test (there's an extra style for images now)
* Safely access the src props
* Remove unused export
* Handle priority images
* Consolidate styles
* Update tests
* Comment
* Refactor srcset
* Avoid dupes of original image
* Calculate missing dimensions
* Bugfixes
* Add tests
* Fix test
* Correct order
* Lint
* Fix fspath
* Update test
* Fix test
* Conditional component per flag
* Fix class concatenation
* Remove logger
* Rename helper
* Add comments
* Format
* Fix markdoc tests
* Add test for style tag
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* feat: add crop support to image services (#12414)
* wip: add crop support to image services
* Add tests
* Strip crop attributes
* Don't upscale
* Format
* Get build working properly
* Changes from review
* Fix jsdoc
* feat: add responsive support to picture component (#12423)
* feat: add responsive support to picture component
* Add picture tests
* Fix test
* Implement own define vars
* Share logic
* Prevent extra astro-* class
* Use dataset scoping
* Revert unit test
* Revert "Fix test"
This reverts commit
|
||
---|---|---|
.. | ||
fixtures | ||
units | ||
css-head-mdx.test.js | ||
invalid-mdx-component.test.js | ||
mdx-astro-markdown-remarkRehype.test.js | ||
mdx-component.test.js | ||
mdx-escape.test.js | ||
mdx-frontmatter-injection.test.js | ||
mdx-frontmatter.test.js | ||
mdx-get-headings.test.js | ||
mdx-get-static-paths.test.js | ||
mdx-images.test.js | ||
mdx-infinite-loop.test.js | ||
mdx-math.test.js | ||
mdx-namespace.test.js | ||
mdx-optimize.test.js | ||
mdx-page.test.js | ||
mdx-plugins.test.js | ||
mdx-plus-react-errors.test.js | ||
mdx-plus-react.test.js | ||
mdx-script-style-raw.test.js | ||
mdx-slots.test.js | ||
mdx-syntax-highlighting.test.js | ||
mdx-url-export.test.js | ||
mdx-vite-env-vars.test.js | ||
remark-imgattr.test.js |