vue-datocms 6.0.0 → 6.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -398,7 +398,7 @@ const Image$1 = vue.defineComponent({
398
398
  left: "-5%",
399
399
  top: "-5%",
400
400
  width: "110%",
401
- height: "110%",
401
+ height: "auto",
402
402
  maxWidth: "none",
403
403
  maxHeight: "none"
404
404
  }, this.placeholderStyle);
@@ -579,7 +579,7 @@ const NakedImage = vue.defineComponent({
579
579
  height: "auto"
580
580
  };
581
581
  const placeholderStyle = this.usePlaceholder && !this.loaded && this.data.base64 ? {
582
- backgroundImage: `url(${this.data.base64})`,
582
+ backgroundImage: `url("${this.data.base64}")`,
583
583
  backgroundSize: "cover",
584
584
  backgroundRepeat: "no-repeat",
585
585
  backgroundPosition: "50% 50%",
@@ -374,7 +374,7 @@ const Image$1 = defineComponent({
374
374
  left: "-5%",
375
375
  top: "-5%",
376
376
  width: "110%",
377
- height: "110%",
377
+ height: "auto",
378
378
  maxWidth: "none",
379
379
  maxHeight: "none"
380
380
  }, this.placeholderStyle);
@@ -555,7 +555,7 @@ const NakedImage = defineComponent({
555
555
  height: "auto"
556
556
  };
557
557
  const placeholderStyle = this.usePlaceholder && !this.loaded && this.data.base64 ? {
558
- backgroundImage: `url(${this.data.base64})`,
558
+ backgroundImage: `url("${this.data.base64}")`,
559
559
  backgroundSize: "cover",
560
560
  backgroundRepeat: "no-repeat",
561
561
  backgroundPosition: "50% 50%",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-datocms",
3
- "version": "6.0.0",
3
+ "version": "6.0.2",
4
4
  "description": "A set of components and utilities to work faster with DatoCMS in Vue.js environments",
5
5
  "keywords": [
6
6
  "datocms",