Socket
Socket
Sign inDemoInstall

yet-another-react-lightbox

Package Overview
Dependencies
5
Maintainers
1
Versions
122
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.10.0 to 3.10.1

5

dist/plugins/captions/index.d.ts

@@ -7,4 +7,3 @@ import * as React from 'react';

declare module "../../types.js" {
type TextAlignment = "start" | "end" | "center";
declare module "yet-another-react-lightbox" {
interface GenericSlide {

@@ -27,3 +26,3 @@ /** slide title */

/** description text alignment */
descriptionTextAlign?: TextAlignment;
descriptionTextAlign?: "start" | "end" | "center";
/** maximum number of lines to display in the description section */

@@ -30,0 +29,0 @@ descriptionMaxLines?: number;

2

dist/plugins/counter/index.d.ts

@@ -7,3 +7,3 @@ import * as React from 'react';

declare module "../../types.js" {
declare module "yet-another-react-lightbox" {
interface LightboxProps {

@@ -10,0 +10,0 @@ /** Counter plugin settings */

@@ -5,3 +5,3 @@ import { PluginProps, PLUGIN_DOWNLOAD } from '../../types.js';

declare module "../../types.js" {
declare module "yet-another-react-lightbox" {
interface GenericSlide {

@@ -8,0 +8,0 @@ /** @deprecated - use `download` instead */

@@ -7,3 +7,3 @@ import * as React from 'react';

declare module "../../types.js" {
declare module "yet-another-react-lightbox" {
interface LightboxProps {

@@ -10,0 +10,0 @@ /** Fullscreen plugin settings */

@@ -7,3 +7,3 @@ import * as React from 'react';

declare module "../../types.js" {
declare module "yet-another-react-lightbox" {
interface LightboxProps {

@@ -10,0 +10,0 @@ /** HTML div element attributes to be passed to the Inline plugin container */

@@ -7,3 +7,3 @@ import { PluginProps, PLUGIN_SHARE } from '../../types.js';

declare module "../../types.js" {
declare module "yet-another-react-lightbox" {
interface GenericSlide {

@@ -10,0 +10,0 @@ /** share url or share props */

@@ -7,3 +7,3 @@ import * as React from 'react';

declare module "../../types.js" {
declare module "yet-another-react-lightbox" {
interface LightboxProps {

@@ -10,0 +10,0 @@ /** Slideshow plugin settings */

@@ -0,1 +1,2 @@

import * as React from 'react';
import { PluginProps, PLUGIN_THUMBNAILS } from '../../types.js';

@@ -6,4 +7,3 @@

type Position = "top" | "bottom" | "start" | "end";
declare module "../../types.js" {
declare module "yet-another-react-lightbox" {
interface LightboxProps {

@@ -15,3 +15,3 @@ /** Thumbnails plugin settings */

/** thumbnails position */
position?: Position;
position?: "top" | "bottom" | "start" | "end";
/** thumbnail width */

@@ -71,3 +71,3 @@ width?: number;

show: Callback;
/** hide thuumbnails */
/** hide thumbnails */
hide: Callback;

@@ -74,0 +74,0 @@ }

@@ -6,3 +6,3 @@ import { PluginProps } from '../../types.js';

declare module "../../types.js" {
declare module "yet-another-react-lightbox" {
interface SlideTypes {

@@ -9,0 +9,0 @@ /** video slide type */

@@ -0,1 +1,2 @@

import * as React from 'react';
import { Plugin, PLUGIN_ZOOM } from '../../types.js';

@@ -6,3 +7,3 @@

declare module "../../types.js" {
declare module "yet-another-react-lightbox" {
interface LightboxProps {

@@ -9,0 +10,0 @@ /** Zoom plugin settings */

{
"name": "yet-another-react-lightbox",
"version": "3.10.0",
"version": "3.10.1",
"description": "Modern React lightbox component",

@@ -5,0 +5,0 @@ "author": "Igor Danchenko",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc