yet-another-react-lightbox
Advanced tools
Comparing version 3.20.0 to 3.20.1
@@ -207,5 +207,6 @@ import * as React from 'react'; | ||
onLoad?: (image: HTMLImageElement) => void; | ||
onError?: () => void; | ||
style?: React.CSSProperties; | ||
}; | ||
declare function ImageSlide({ slide: image, offset, render, rect, imageFit, imageProps, onClick, onLoad, style, }: ImageSlideProps): React.JSX.Element; | ||
declare function ImageSlide({ slide: image, offset, render, rect, imageFit, imageProps, onClick, onLoad, onError, style, }: ImageSlideProps): React.JSX.Element; | ||
@@ -212,0 +213,0 @@ declare const LightboxRoot: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>; |
@@ -0,3 +1,3 @@ | ||
import * as React from 'react'; | ||
import { cssClass, useLightboxProps, makeUseContext, useController, clsx, cssVar, createIcon, createIconDisabled, IconButton, addToolbarButton, createModule } from '../../index.js'; | ||
import * as React from 'react'; | ||
import { PLUGIN_CAPTIONS } from '../../types.js'; | ||
@@ -4,0 +4,0 @@ |
@@ -0,3 +1,3 @@ | ||
import * as React from 'react'; | ||
import { createIcon, useLightboxProps, useLightboxState, isImageSlide, IconButton, addToolbarButton } from '../../index.js'; | ||
import * as React from 'react'; | ||
import { PLUGIN_DOWNLOAD } from '../../types.js'; | ||
@@ -4,0 +4,0 @@ |
@@ -0,3 +1,3 @@ | ||
import * as React from 'react'; | ||
import { makeUseContext, useDocumentContext, useLayoutEffect, cleanup, useEventCallback, clsx, cssClass, createIcon, useLightboxProps, IconButton, addToolbarButton, createModule } from '../../index.js'; | ||
import * as React from 'react'; | ||
import { PLUGIN_FULLSCREEN, CLASS_FULLSIZE, PLUGIN_THUMBNAILS, MODULE_CONTROLLER } from '../../types.js'; | ||
@@ -4,0 +4,0 @@ |
@@ -0,3 +1,3 @@ | ||
import * as React from 'react'; | ||
import { createIcon, useLightboxProps, useLightboxState, isImageSlide, IconButton, addToolbarButton } from '../../index.js'; | ||
import * as React from 'react'; | ||
@@ -4,0 +4,0 @@ const defaultShareProps = { |
@@ -0,3 +1,3 @@ | ||
import * as React from 'react'; | ||
import { makeUseContext, useLightboxState, useTimeouts, useEvents, useController, useEventCallback, cleanup, createIcon, useLightboxProps, useLoseFocus, IconButton, addToolbarButton, createModule } from '../../index.js'; | ||
import * as React from 'react'; | ||
import { SLIDE_STATUS_LOADING, SLIDE_STATUS_PLAYING, ACTIVE_SLIDE_LOADING, ACTIVE_SLIDE_PLAYING, ACTIVE_SLIDE_ERROR, SLIDE_STATUS_ERROR, ACTIVE_SLIDE_COMPLETE, SLIDE_STATUS_COMPLETE, PLUGIN_SLIDESHOW } from '../../types.js'; | ||
@@ -4,0 +4,0 @@ |
@@ -0,3 +1,3 @@ | ||
import * as React from 'react'; | ||
import { useLightboxProps, composePrefix, createIcon, ImageSlide, isImageSlide, cssClass, makeComposePrefix, useDocumentContext, useEventCallback, clsx, cssVar, getSlideKey, useRTL, useEvents, useLightboxState, useSensors, useKeyboardNavigation, useAnimation, cleanup, calculatePreload, hasSlides, getSlide, makeUseContext, LightboxPropsProvider, createIconDisabled, IconButton, addToolbarButton, createModule } from '../../index.js'; | ||
import * as React from 'react'; | ||
import { PLUGIN_THUMBNAILS, ELEMENT_ICON, CLASS_FLEX_CENTER, ACTION_SWIPE, ACTION_NEXT, ACTION_PREV, PLUGIN_FULLSCREEN, MODULE_CONTROLLER } from '../../types.js'; | ||
@@ -4,0 +4,0 @@ |
@@ -0,3 +1,3 @@ | ||
import * as React from 'react'; | ||
import { useLightboxProps, useMotionPreference, useEventCallback, useLayoutEffect, useLightboxState, isImageSlide, isImageFitCover, round, useDocumentContext, useController, usePointerEvents, cleanup, makeUseContext, createIcon, IconButton, devicePixelRatio, ImageSlide, clsx, cssClass, addToolbarButton, createModule } from '../../index.js'; | ||
import * as React from 'react'; | ||
import { EVENT_ON_KEY_DOWN, EVENT_ON_WHEEL, UNKNOWN_ACTION_TYPE, CLASS_FULLSIZE, CLASS_FLEX_CENTER, CLASS_SLIDE_WRAPPER, PLUGIN_ZOOM } from '../../types.js'; | ||
@@ -4,0 +4,0 @@ |
{ | ||
"name": "yet-another-react-lightbox", | ||
"version": "3.20.0", | ||
"version": "3.20.1", | ||
"description": "Modern React lightbox component", | ||
@@ -5,0 +5,0 @@ "author": "Igor Danchenko", |
Sorry, the diff of this file is too big to display
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
222572
4156