Skip to content

Releases: datocms/datocms-svelte

v3.0.4

24 Jul 08:12
Compare
Choose a tag to compare

v3.0.3...v3.0.4

v3.0.3

23 Jul 13:02
Compare
Choose a tag to compare

v3.0.2...v3.0.3

v3.0.2

23 Jul 11:24
Compare
Choose a tag to compare
  • Fix types 746f152
  • Merge pull request #9 from datocms/chore/change-fixtures d9f0b4c
  • Avoid tokens, even non valid ones 4ec1283
  • Fix wording 075b224
  • Update README.md to clean up starter links 5437bbe

v3.0.1...v3.0.2

v3.0.1

23 Jun 04:36
Compare
Choose a tag to compare
  • NakedImage class/style is now imgClass/imgStyle. Introduce pictureClass/pictureStyle d58e262

v3.0.0...v3.0.1

v3.0.0

23 Jun 04:01
Compare
Choose a tag to compare
  • Old pictureClass/pictureStyle props now control the <picture> tag instead of the <img> tag. For the <img> tag, you can use the new props imgClass/imgStyle. 71cfa54

v2.0.5...v3.0.0

v2.0.4

31 May 15:55
Compare
Choose a tag to compare

v2.0.3...v2.0.4

v2.0.3

27 May 14:08
Compare
Choose a tag to compare
  • Avoid complainings from Pagespeed 5e7ee04

v2.0.2...v2.0.3

v2.0.2

22 Apr 09:40
Compare
Choose a tag to compare

v2.0.1...v2.0.2

v2.0.1

08 Apr 15:44
Compare
Choose a tag to compare

Introducing <NakedImage />

Now that both loading=lazy and aspect-ratio are broadly supported (> 93% of browsers) we can avoid complex JS to achieve lazy-loaded images with placeholders!

<NakedImage /> generates minimum JS footprint, outputs a single <picture /> element and implements lazy-loading using the native loading="lazy" attribute. The placeholder is set as the background to the image itself.

v2.0.0...v2.0.1

v2.0.0

29 Mar 15:46
Compare
Choose a tag to compare
  • Fix style and pictureStyle props in <Image /> fb32cd8
  • code mark should be translated to a <code> tag in <StructuredText /> a5e4c9c

v1.4.3...v2.0.0