@ecl/ec-component-gallery
Advanced tools
Comparing version 2.29.0 to 2.30.0
@@ -41,3 +41,2 @@ import createFocusTrap from 'focus-trap'; | ||
gallery.init(); | ||
// eslint-disable-next-line no-param-reassign | ||
root.ECLGallery = gallery; | ||
@@ -381,3 +380,2 @@ return gallery; | ||
this.overlayMedia.innerHTML = ''; | ||
/* eslint-disable-next-line unicorn/prefer-node-append */ | ||
this.overlayMedia.appendChild(mediaElement); | ||
@@ -392,3 +390,2 @@ } | ||
sourceTag.setAttribute('type', source.getAttribute('type')); | ||
/* eslint-disable-next-line unicorn/prefer-node-append */ | ||
mediaElement.appendChild(sourceTag); | ||
@@ -405,3 +402,2 @@ }); | ||
trackTag.setAttribute('label', track.getAttribute('label')); | ||
/* eslint-disable-next-line unicorn/prefer-node-append */ | ||
mediaElement.appendChild(trackTag); | ||
@@ -422,3 +418,2 @@ }); | ||
this.overlayMedia.innerHTML = ''; | ||
/* eslint-disable-next-line unicorn/prefer-node-append */ | ||
this.overlayMedia.appendChild(mediaElement); | ||
@@ -425,0 +420,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"license": "EUPL-1.1", | ||
"version": "2.29.0", | ||
"version": "2.30.0", | ||
"description": "ECL Gallery", | ||
@@ -13,8 +13,8 @@ "main": "ec-component-gallery.js", | ||
"dependencies": { | ||
"@ecl/ec-base": "^2.29.0", | ||
"@ecl/ec-base": "^2.30.0", | ||
"focus-trap": "5.1.0" | ||
}, | ||
"devDependencies": { | ||
"@ecl/ec-specs-gallery": "^2.29.0", | ||
"@ecl/ec-utility-disablescroll": "^2.29.0" | ||
"@ecl/ec-specs-gallery": "^2.30.0", | ||
"@ecl/ec-utility-disablescroll": "^2.30.0" | ||
}, | ||
@@ -37,3 +37,3 @@ "publishConfig": { | ||
], | ||
"gitHead": "7fa1fa710e4fa269351dd750252f36f905880a6d" | ||
"gitHead": "12acbdf87ff77a7cee03b9fa2c432c359e60319a" | ||
} |
41410
536
Updated@ecl/ec-base@^2.30.0