Socket
Socket
Sign inDemoInstall

yet-another-react-lightbox

Package Overview
Dependencies
Maintainers
1
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yet-another-react-lightbox - npm Package Compare versions

Comparing version 3.15.2 to 3.15.3

4

dist/plugins/thumbnails/index.d.ts

@@ -21,2 +21,6 @@ import * as React from 'react';

border?: number;
/** thumbnail border style */
borderStyle?: string;
/** thumbnail border color */
borderColor?: string;
/** thumbnail border radius */

@@ -23,0 +27,0 @@ borderRadius?: number;

4

dist/plugins/thumbnails/index.js

@@ -99,3 +99,3 @@ import { useLightboxProps, composePrefix, createIcon, cssClass, isImageSlide, clsx, ImageSlide, makeComposePrefix, useEventCallback, cssVar, useRTL, useEvents, useLightboxState, useSensors, useKeyboardNavigation, useAnimation, cleanup, calculatePreload, hasSlides, getSlide, makeUseContext, LightboxPropsProvider, createIconDisabled, IconButton, addToolbarButton, createModule } from '../../index.js';

const thumbnails = useThumbnailsProps();
const { position, width, height, border, borderRadius, padding, gap, vignette } = thumbnails;
const { position, width, height, border, borderStyle, borderColor, borderRadius, padding, gap, vignette } = thumbnails;
const index = globalIndex;

@@ -183,2 +183,4 @@ const animationDuration = (animation === null || animation === void 0 ? void 0 : animation.duration) || 0;

: null),
...(borderStyle ? { [cssVar(cssThumbnailPrefix("border_style"))]: borderStyle } : null),
...(borderColor ? { [cssVar(cssThumbnailPrefix("border_color"))]: borderColor } : null),
...(borderRadius !== defaultThumbnailsProps.borderRadius

@@ -185,0 +187,0 @@ ? { [cssVar(cssThumbnailPrefix("border_radius"))]: `${borderRadius}px` }

{
"name": "yet-another-react-lightbox",
"version": "3.15.2",
"version": "3.15.3",
"description": "Modern React lightbox component",

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc