Releases: area17/twill-image
Releases · area17/twill-image
v2.0.0
2.0.0 (2024-07-30)
Breaking change
Major new version of the library that is updating default config.
Updated
- ImageColumns - Fix calculating container size in pixels (container = maincolwidth - 2*outergutter)
- Image Sizer / Placeholder : Make sureWrapper Styles is applied also when using custom style based approach (when not using CSS classes)
- ImageSizer : use CSS aspect-ratio instead of all padding-bottom technique. Simplify default CSS for the all images that are defined by default
- Laravel 11 support
- Refactor ImageStyles services and remove bg color
- Use custom CSS classes instead of direct Tailwind CSS reference
- Set better default for image sizer
- Check sizes attr exists in picture view
- Readme updated
- Layout - Remove all "layout" logic to force some styles because this need to be handled in application
- Remove JS dependencies and JS build. Remove JS script altogether and logic around lazyloading with JS
What's Changed
- Views & Default Styles Update - NO JS by @mrdoinel in #59
- Laravel 11 support targeting 2.x by @antonioribeiro in #61
New Contributors
Full Changelog: v1.0.6...v2.0.0
v1.0.4
1.0.0 – Public Release ✌️
1.0.0 (2022-01-20)
Added
- Add option to set a custom
ImageService
0fa7799
Fixed
- Fix bug where cached image are revealed twice
#33
ffcdc93
- Apply image styles to placeholder and main
img
tagb5a6fc2
- Check image width to set minimum in
srcset
233c870
- Check source width to set image default
253bf74
- Remove duplicate background color style
f7edf3e
Contributors
@pboivin @AidasK @jonathan-hooper-osf @mrtimbrook @sauron @ifox @ptrckvzn