yet-another-react-lightbox
Advanced tools
Comparing version 3.8.2 to 3.8.3
@@ -88,3 +88,3 @@ import { createIcon, useLightboxProps, useLightboxState, isImageSlide, IconButton, addToolbarButton } from '../../index.js'; | ||
undefined; | ||
const canDownload = customDownload ? Boolean(currentSlide === null || currentSlide === void 0 ? void 0 : currentSlide.download) : Boolean(downloadUrl); | ||
const canDownload = customDownload ? (currentSlide === null || currentSlide === void 0 ? void 0 : currentSlide.download) !== false : Boolean(downloadUrl); | ||
const defaultDownload = () => { | ||
@@ -91,0 +91,0 @@ if (currentSlide && downloadUrl) { |
@@ -31,3 +31,3 @@ import { createIcon, useLightboxProps, useLightboxState, isImageSlide, IconButton, addToolbarButton } from '../../index.js'; | ||
undefined; | ||
const canShare = customShare ? Boolean(currentSlide === null || currentSlide === void 0 ? void 0 : currentSlide.share) : share && navigator.canShare(share); | ||
const canShare = customShare ? (currentSlide === null || currentSlide === void 0 ? void 0 : currentSlide.share) !== false : share && navigator.canShare(share); | ||
const defaultShare = () => { | ||
@@ -34,0 +34,0 @@ if (share) { |
{ | ||
"name": "yet-another-react-lightbox", | ||
"version": "3.8.2", | ||
"version": "3.8.3", | ||
"description": "Modern React lightbox component", | ||
@@ -5,0 +5,0 @@ "author": "Igor Danchenko", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
213333