yet-another-react-lightbox 3.5.2 → 3.5.4

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.
Files changed (39) hide show
  1. package/dist/Lightbox.d.ts +2 -2
  2. package/dist/core/components/Icons.d.ts +7 -7
  3. package/dist/core/components/ImageSlide.d.ts +1 -1
  4. package/dist/core/contexts/Events.d.ts +1 -1
  5. package/dist/core/contexts/LightboxProps.d.ts +1 -1
  6. package/dist/core/contexts/LightboxState.d.ts +1 -1
  7. package/dist/core/contexts/Timeouts.d.ts +1 -1
  8. package/dist/core/modules/Carousel.d.ts +2 -2
  9. package/dist/core/modules/Controller.d.ts +1 -1
  10. package/dist/core/modules/Navigation.d.ts +2 -2
  11. package/dist/core/modules/NoScroll.d.ts +2 -2
  12. package/dist/core/modules/Root.d.ts +2 -2
  13. package/dist/core/modules/Toolbar.d.ts +2 -2
  14. package/dist/core/modules/Toolbar.js +2 -2
  15. package/dist/core/utils.d.ts +5 -0
  16. package/dist/core/utils.js +6 -0
  17. package/dist/plugins/captions/CaptionsButton.d.ts +2 -2
  18. package/dist/plugins/captions/CaptionsContext.d.ts +1 -1
  19. package/dist/plugins/captions/Description.d.ts +2 -2
  20. package/dist/plugins/captions/Title.d.ts +2 -2
  21. package/dist/plugins/counter/Counter.d.ts +2 -2
  22. package/dist/plugins/download/DownloadButton.d.ts +2 -2
  23. package/dist/plugins/fullscreen/FullscreenButton.d.ts +2 -2
  24. package/dist/plugins/fullscreen/FullscreenContext.d.ts +1 -1
  25. package/dist/plugins/inline/InlineContainer.d.ts +2 -2
  26. package/dist/plugins/slideshow/SlideshowButton.d.ts +2 -2
  27. package/dist/plugins/slideshow/SlideshowContext.d.ts +1 -1
  28. package/dist/plugins/thumbnails/Thumbnail.d.ts +2 -2
  29. package/dist/plugins/thumbnails/ThumbnailsButton.d.ts +2 -2
  30. package/dist/plugins/thumbnails/ThumbnailsContext.d.ts +1 -1
  31. package/dist/plugins/thumbnails/ThumbnailsTrack.d.ts +1 -1
  32. package/dist/plugins/video/VideoSlide.d.ts +2 -2
  33. package/dist/plugins/video/VideoSlide.js +14 -10
  34. package/dist/plugins/zoom/ResponsiveImage.d.ts +2 -2
  35. package/dist/plugins/zoom/ZoomButtonsGroup.d.ts +2 -2
  36. package/dist/plugins/zoom/ZoomController.d.ts +1 -1
  37. package/dist/plugins/zoom/ZoomToolbarControl.d.ts +2 -2
  38. package/dist/plugins/zoom/ZoomWrapper.d.ts +2 -2
  39. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from "react";
2
2
  import { LightboxExternalProps } from "./types.js";
3
3
  /** Lightbox component */
4
- export declare function Lightbox({ carousel, animation, render, toolbar, controller, on, plugins, slides, index, ...restProps }: LightboxExternalProps): JSX.Element | null;
4
+ export declare function Lightbox({ carousel, animation, render, toolbar, controller, on, plugins, slides, index, ...restProps }: LightboxExternalProps): React.JSX.Element | null;
@@ -1,29 +1,29 @@
1
1
  import * as React from "react";
2
2
  export declare function createIcon(name: string, glyph: React.ReactNode): {
3
- (props: React.SVGProps<SVGSVGElement>): JSX.Element;
3
+ (props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
4
4
  displayName: string;
5
5
  };
6
6
  export declare function createIconDisabled(name: string, glyph: React.ReactNode): {
7
- (props: React.SVGProps<SVGSVGElement>): JSX.Element;
7
+ (props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
8
8
  displayName: string;
9
9
  };
10
10
  export declare const CloseIcon: {
11
- (props: React.SVGProps<SVGSVGElement>): JSX.Element;
11
+ (props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
12
12
  displayName: string;
13
13
  };
14
14
  export declare const PreviousIcon: {
15
- (props: React.SVGProps<SVGSVGElement>): JSX.Element;
15
+ (props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
16
16
  displayName: string;
17
17
  };
18
18
  export declare const NextIcon: {
19
- (props: React.SVGProps<SVGSVGElement>): JSX.Element;
19
+ (props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
20
20
  displayName: string;
21
21
  };
22
22
  export declare const LoadingIcon: {
23
- (props: React.SVGProps<SVGSVGElement>): JSX.Element;
23
+ (props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
24
24
  displayName: string;
25
25
  };
26
26
  export declare const ErrorIcon: {
27
- (props: React.SVGProps<SVGSVGElement>): JSX.Element;
27
+ (props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
28
28
  displayName: string;
29
29
  };
@@ -10,4 +10,4 @@ export type ImageSlideProps = {
10
10
  onLoad?: (image: HTMLImageElement) => void;
11
11
  style?: React.CSSProperties;
12
12
  };
13
- export declare function ImageSlide({ slide: image, offset, render, rect, imageFit, onClick, onLoad, style }: ImageSlideProps): JSX.Element;
13
+ export declare function ImageSlide({ slide: image, offset, render, rect, imageFit, onClick, onLoad, style }: ImageSlideProps): React.JSX.Element;
@@ -14,4 +14,4 @@ export type EventsContextType = {
14
14
  };
15
15
  export declare const EventsContext: React.Context<EventsContextType | null>;
16
16
  export declare const useEvents: () => EventsContextType;
17
- export declare function EventsProvider({ children }: React.PropsWithChildren): JSX.Element;
17
+ export declare function EventsProvider({ children }: React.PropsWithChildren): React.JSX.Element;
@@ -3,4 +3,4 @@ import { ComponentProps } from "../../types.js";
3
3
  export type LightboxPropsContextType = Omit<ComponentProps, "children">;
4
4
  export declare const LightboxPropsContext: React.Context<LightboxPropsContextType | null>;
5
5
  export declare const useLightboxProps: () => LightboxPropsContextType;
6
- export declare function LightboxPropsProvider({ children, ...props }: ComponentProps): JSX.Element;
6
+ export declare function LightboxPropsProvider({ children, ...props }: ComponentProps): React.JSX.Element;
@@ -24,4 +24,4 @@ export type LightboxDispatchContextType = React.Dispatch<LightboxStateAction>;
24
24
  export declare const LightboxDispatchContext: React.Context<LightboxDispatchContextType | null>;
25
25
  export declare const useLightboxDispatch: () => LightboxDispatchContextType;
26
26
  export type LightboxStateProviderProps = React.PropsWithChildren<Pick<LightboxProps, "slides" | "index">>;
27
- export declare function LightboxStateProvider({ slides, index, children }: LightboxStateProviderProps): JSX.Element;
27
+ export declare function LightboxStateProvider({ slides, index, children }: LightboxStateProviderProps): React.JSX.Element;
@@ -5,4 +5,4 @@ export type TimeoutsContextType = {
5
5
  };
6
6
  export declare const TimeoutsContext: React.Context<TimeoutsContextType | null>;
7
7
  export declare const useTimeouts: () => TimeoutsContextType;
8
- export declare function TimeoutsProvider({ children }: React.PropsWithChildren): JSX.Element;
8
+ export declare function TimeoutsProvider({ children }: React.PropsWithChildren): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from "react";
2
2
  import { ComponentProps } from "../../types.js";
3
- export declare function Carousel({ carousel: { finite, preload, padding, spacing } }: ComponentProps): JSX.Element;
3
+ export declare function Carousel({ carousel: { finite, preload, padding, spacing } }: ComponentProps): React.JSX.Element;
4
4
  export declare const CarouselModule: import("../../types.js").Module;
@@ -27,5 +27,5 @@ export type ControllerContextType = Pick<ControllerRef, "prev" | "next" | "close
27
27
  };
28
28
  export declare const ControllerContext: React.Context<ControllerContextType | null>;
29
29
  export declare const useController: () => NonNullable<ControllerContextType>;
30
- export declare function Controller({ children, ...props }: ComponentProps): JSX.Element;
30
+ export declare function Controller({ children, ...props }: ComponentProps): React.JSX.Element;
31
31
  export declare const ControllerModule: import("../../types.js").Module;
@@ -8,6 +8,6 @@ export type NavigationButtonProps = {
8
8
  onClick: () => void;
9
9
  disabled?: boolean;
10
10
  };
11
- export declare function NavigationButton({ label, icon, renderIcon, action, onClick, disabled }: NavigationButtonProps): JSX.Element;
12
- export declare function Navigation({ carousel: { finite }, animation, render: { buttonPrev, buttonNext, iconPrev, iconNext }, }: ComponentProps): JSX.Element;
11
+ export declare function NavigationButton({ label, icon, renderIcon, action, onClick, disabled }: NavigationButtonProps): React.JSX.Element;
12
+ export declare function Navigation({ carousel: { finite }, animation, render: { buttonPrev, buttonNext, iconPrev, iconNext }, }: ComponentProps): React.JSX.Element;
13
13
  export declare const NavigationModule: import("../../types.js").Module;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from "react";
2
2
  import { ComponentProps } from "../../types.js";
3
- export declare function NoScroll({ children }: ComponentProps): JSX.Element;
3
+ export declare function NoScroll({ children }: ComponentProps): React.JSX.Element;
4
4
  export declare const NoScrollModule: import("../../types.js").Module;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from "react";
2
2
  import { ComponentProps } from "../../types.js";
3
- export declare function Root({ children }: ComponentProps): JSX.Element;
3
+ export declare function Root({ children }: ComponentProps): React.JSX.Element;
4
4
  export declare const RootModule: import("../../types.js").Module;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from "react";
2
2
  import { ComponentProps } from "../../types.js";
3
- export declare function Toolbar({ toolbar: { buttons }, render: { buttonClose, iconClose } }: ComponentProps): JSX.Element;
3
+ export declare function Toolbar({ toolbar: { buttons }, render: { buttonClose, iconClose } }: ComponentProps): React.JSX.Element;
4
4
  export declare const ToolbarModule: import("../../types.js").Module;
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { createModule } from "../config.js";
3
3
  import { useLayoutEffect } from "../hooks/index.js";
4
- import { composePrefix, cssClass } from "../utils.js";
4
+ import { composePrefix, cssClass, stopNavigationEventsPropagation } from "../utils.js";
5
5
  import { CloseIcon, IconButton } from "../components/index.js";
6
6
  import { useContainerRect } from "../hooks/useContainerRect.js";
7
7
  import { useController } from "./Controller.js";
@@ -20,6 +20,6 @@ export function Toolbar({ toolbar: { buttons }, render: { buttonClose, iconClose
20
20
  return buttonClose();
21
21
  return React.createElement(IconButton, { key: ACTION_CLOSE, label: "Close", icon: CloseIcon, renderIcon: iconClose, onClick: close });
22
22
  };
23
- return (React.createElement("div", { ref: setContainerRef, className: cssClass(cssPrefix()) }, buttons === null || buttons === void 0 ? void 0 : buttons.map((button) => (button === ACTION_CLOSE ? renderCloseButton() : button))));
23
+ return (React.createElement("div", { ref: setContainerRef, className: cssClass(cssPrefix()), ...stopNavigationEventsPropagation() }, buttons === null || buttons === void 0 ? void 0 : buttons.map((button) => (button === ACTION_CLOSE ? renderCloseButton() : button))));
24
24
  }
25
25
  export const ToolbarModule = createModule(MODULE_TOOLBAR, Toolbar);
@@ -29,3 +29,8 @@ export declare const hasSlides: (slides: Slide[]) => slides is [Slide, ...Slide[
29
29
  export declare const getSlide: (slides: [Slide, ...Slide[]], index: number) => Slide;
30
30
  export declare const getSlideIfPresent: (slides: Slide[], index: number) => Slide | undefined;
31
31
  export declare function addToolbarButton(toolbar: ToolbarSettings, key: string, button: React.ReactNode): ToolbarSettings;
32
+ export declare function stopNavigationEventsPropagation(): {
33
+ onPointerDown: (event: React.PointerEvent | React.KeyboardEvent | React.WheelEvent) => void;
34
+ onKeyDown: (event: React.PointerEvent | React.KeyboardEvent | React.WheelEvent) => void;
35
+ onWheel: (event: React.PointerEvent | React.KeyboardEvent | React.WheelEvent) => void;
36
+ };
@@ -62,3 +62,9 @@ export function addToolbarButton(toolbar, key, button) {
62
62
  }
63
63
  return { buttons: [buttonWithKey, ...buttons], ...restToolbar };
64
64
  }
65
+ export function stopNavigationEventsPropagation() {
66
+ const stopPropagation = (event) => {
67
+ event.stopPropagation();
68
+ };
69
+ return { onPointerDown: stopPropagation, onKeyDown: stopPropagation, onWheel: stopPropagation };
70
+ }
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare function CaptionsButton(): JSX.Element;
1
+ import * as React from "react";
2
+ export declare function CaptionsButton(): React.JSX.Element;
@@ -2,4 +2,4 @@ import * as React from "react";
2
2
  import { CaptionsRef, ComponentProps } from "../../types.js";
3
3
  export declare const CaptionsContext: React.Context<CaptionsRef | null>;
4
4
  export declare const useCaptions: () => CaptionsRef;
5
- export declare function CaptionsContextProvider({ captions, children }: ComponentProps): JSX.Element;
5
+ export declare function CaptionsContextProvider({ captions, children }: ComponentProps): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from "react";
2
2
  import { Slide } from "../../types.js";
3
3
  export type DescriptionProps = Pick<Slide, "description">;
4
- export declare function Description({ description }: DescriptionProps): JSX.Element | null;
4
+ export declare function Description({ description }: DescriptionProps): React.JSX.Element | null;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from "react";
2
2
  import { Slide } from "../../types.js";
3
3
  export type TitleProps = Pick<Slide, "title">;
4
- export declare function Title({ title }: TitleProps): JSX.Element | null;
4
+ export declare function Title({ title }: TitleProps): React.JSX.Element | null;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
1
+ import * as React from "react";
2
2
  import { ComponentProps, PluginProps } from "../../types.js";
3
- export declare function CounterComponent({ counter: { className, ...rest } }: ComponentProps): JSX.Element | null;
3
+ export declare function CounterComponent({ counter: { className, ...rest } }: ComponentProps): React.JSX.Element | null;
4
4
  /** Counter plugin */
5
5
  export declare function Counter({ addChild }: PluginProps): void;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare function DownloadButton(): JSX.Element;
1
+ import * as React from "react";
2
+ export declare function DownloadButton(): React.JSX.Element;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import * as React from "react";
2
2
  /** Fullscreen button */
3
- export declare function FullscreenButton(): JSX.Element | null;
3
+ export declare function FullscreenButton(): React.JSX.Element | null;
@@ -2,4 +2,4 @@ import * as React from "react";
2
2
  import { ComponentProps, FullscreenRef } from "../../types.js";
3
3
  export declare const FullscreenContext: React.Context<FullscreenRef | null>;
4
4
  export declare const useFullscreen: () => FullscreenRef;
5
- export declare function FullscreenContextProvider({ fullscreen: fullscreenProps, children }: ComponentProps): JSX.Element;
5
+ export declare function FullscreenContextProvider({ fullscreen: fullscreenProps, children }: ComponentProps): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from "react";
2
2
  import { ComponentProps } from "../../types.js";
3
3
  /** Inline plugin container */
4
- export declare function InlineContainer({ inline: { className, ...rest }, children }: ComponentProps): JSX.Element;
4
+ export declare function InlineContainer({ inline: { className, ...rest }, children }: ComponentProps): React.JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare function SlideshowButton(): JSX.Element;
1
+ import * as React from "react";
2
+ export declare function SlideshowButton(): React.JSX.Element;
@@ -2,4 +2,4 @@ import * as React from "react";
2
2
  import { ComponentProps, SlideshowRef } from "../../types.js";
3
3
  export declare const SlideshowContext: React.Context<SlideshowRef | null>;
4
4
  export declare const useSlideshow: () => SlideshowRef;
5
- export declare function SlideshowContextProvider({ slideshow, carousel: { finite }, on, children }: ComponentProps): JSX.Element;
5
+ export declare function SlideshowContextProvider({ slideshow, carousel: { finite }, on, children }: ComponentProps): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from "react";
2
2
  import { Slide } from "../../types.js";
3
3
  export type FadeSettings = {
4
4
  duration: number;
@@ -12,4 +12,4 @@ export type ThumbnailProps = {
12
12
  fadeOut?: FadeSettings;
13
13
  placeholder: boolean;
14
14
  };
15
- export declare function Thumbnail({ slide, onClick, active, fadeIn, fadeOut, placeholder }: ThumbnailProps): JSX.Element;
15
+ export declare function Thumbnail({ slide, onClick, active, fadeIn, fadeOut, placeholder }: ThumbnailProps): React.JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare function ThumbnailsButton(): JSX.Element;
1
+ import * as React from "react";
2
+ export declare function ThumbnailsButton(): React.JSX.Element;
@@ -3,4 +3,4 @@ import { ComponentProps, ThumbnailsRef } from "../../types.js";
3
3
  export declare const ThumbnailsContext: React.Context<ThumbnailsRef | null>;
4
4
  export declare const useThumbnails: () => ThumbnailsRef;
5
5
  /** Thumbnails plugin component */
6
- export declare function ThumbnailsContextProvider({ children, ...props }: ComponentProps): JSX.Element;
6
+ export declare function ThumbnailsContextProvider({ children, ...props }: ComponentProps): React.JSX.Element;
@@ -2,4 +2,4 @@ import * as React from "react";
2
2
  export type ThumbnailsTrackProps = {
3
3
  containerRef: React.RefObject<HTMLDivElement>;
4
4
  };
5
- export declare function ThumbnailsTrack({ containerRef }: ThumbnailsTrackProps): JSX.Element;
5
+ export declare function ThumbnailsTrack({ containerRef }: ThumbnailsTrackProps): React.JSX.Element;
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import * as React from "react";
2
2
  import { SlideVideo } from "../../types.js";
3
3
  export type VideoSlideProps = {
4
4
  slide: SlideVideo;
5
5
  offset: number;
6
6
  };
7
7
  /** Video slide */
8
- export declare function VideoSlide({ slide, offset }: VideoSlideProps): JSX.Element;
8
+ export declare function VideoSlide({ slide, offset }: VideoSlideProps): React.JSX.Element;
@@ -30,16 +30,20 @@ export function VideoSlide({ slide, offset }) {
30
30
  }, [handleVideoRef]);
31
31
  const { width, height, poster, sources } = slide;
32
32
  const scaleWidthAndHeight = () => {
33
- if (!width || !height || !containerRect)
34
- return null;
35
- const widthBound = width / height > containerRect.width / containerRect.height;
36
- const elementWidth = widthBound ? containerRect.width : Math.round((containerRect.height / height) * width);
37
- const elementHeight = !widthBound ? containerRect.height : Math.round((containerRect.width / width) * height);
38
- return {
39
- width: elementWidth,
40
- height: elementHeight,
41
- style: { width: elementWidth, height: elementHeight, maxWidth: "100%", maxHeight: "100%" },
42
- };
33
+ const scalingProps = {};
34
+ scalingProps.style = { maxWidth: "100%", maxHeight: "100%" };
35
+ if (width && height && containerRect) {
36
+ const widthBound = width / height > containerRect.width / containerRect.height;
37
+ const elementWidth = widthBound ? containerRect.width : Math.round((containerRect.height / height) * width);
38
+ const elementHeight = !widthBound
39
+ ? containerRect.height
40
+ : Math.round((containerRect.width / width) * height);
41
+ scalingProps.width = elementWidth;
42
+ scalingProps.height = elementHeight;
43
+ scalingProps.style.width = elementWidth;
44
+ scalingProps.style.height = elementHeight;
45
+ }
46
+ return scalingProps;
43
47
  };
44
48
  const resolveBoolean = (attr) => {
45
49
  if (slide[attr] === false)
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from "react";
2
2
  import { ImageSlideProps } from "../../core/index.js";
3
3
  import { ImageSource, SlideImage } from "../../types.js";
4
4
  export type ResponsiveImageSlide = Omit<SlideImage, "srcSet"> & {
@@ -8,4 +8,4 @@ export declare function isResponsiveImageSlide(slide: SlideImage): slide is Resp
8
8
  export type ResponsiveImageProps = Omit<ImageSlideProps, "slide" | "rect"> & Required<Pick<ImageSlideProps, "rect">> & {
9
9
  slide: ResponsiveImageSlide;
10
10
  };
11
- export declare function ResponsiveImage(props: ResponsiveImageProps): JSX.Element;
11
+ export declare function ResponsiveImage(props: ResponsiveImageProps): React.JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export default function ZoomButtonsGroup(): JSX.Element;
1
+ import * as React from "react";
2
+ export default function ZoomButtonsGroup(): React.JSX.Element;
@@ -9,4 +9,4 @@ export type ZoomControllerContextType = ZoomRef & {
9
9
  };
10
10
  export declare const ZoomControllerContext: React.Context<ZoomControllerContextType | null>;
11
11
  export declare const useZoom: () => NonNullable<ZoomControllerContextType>;
12
- export declare function ZoomContextProvider({ children }: ComponentProps): JSX.Element;
12
+ export declare function ZoomContextProvider({ children }: ComponentProps): React.JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare function ZoomToolbarControl(): JSX.Element;
1
+ import * as React from "react";
2
+ export declare function ZoomToolbarControl(): React.JSX.Element;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
1
+ import * as React from "react";
2
2
  import { LightboxProps, RenderSlideProps } from "../../types.js";
3
3
  export type ZoomWrapperProps = Pick<LightboxProps, "render"> & RenderSlideProps;
4
4
  /** Zoom wrapper */
5
- export declare function ZoomWrapper({ render, slide, offset, rect }: ZoomWrapperProps): JSX.Element | null;
5
+ export declare function ZoomWrapper({ render, slide, offset, rect }: ZoomWrapperProps): React.JSX.Element | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yet-another-react-lightbox",
3
- "version": "3.5.2",
3
+ "version": "3.5.4",
4
4
  "description": "Modern React lightbox component",
5
5
  "author": "Igor Danchenko",
6
6
  "license": "MIT",