New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-photo-album

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-photo-album - npm Package Compare versions

Comparing version 2.0.0-rc.9 to 2.0.0

10

dist/index.d.ts

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

/** pre-populated 'img' element attributes */
imageProps: NonOptional<ImgElementAttributes, "src" | "alt" | "style">;
imageProps: NonOptional<ImageElementAttributes, "src" | "alt" | "style">;
/** A callback to render the default photo implementation. If `wrapped` is `true`, the image is styled with `width`

@@ -147,3 +147,3 @@ * and `height` set to 100%. Use this option when rendering image wrapper styled with wrapperStyle. */

/** Additional HTML attributes to be passed to the photo `img` element */
imageProps?: ImgElementAttributes;
imageProps?: ImageElementAttributes;
};

@@ -186,4 +186,4 @@ type ComponentsPropsParameter = ComponentsProps | ((containerWidth?: number) => ComponentsProps);

type RenderFunction<T> = (props: T) => React.ReactNode;
type DivElementAttributes = JSX.IntrinsicElements["div"];
type ImgElementAttributes = JSX.IntrinsicElements["img"];
type DivElementAttributes = React.HTMLAttributes<HTMLDivElement>;
type ImageElementAttributes = React.ImgHTMLAttributes<HTMLImageElement>;
type Optional<T, K extends keyof T> = Partial<Pick<T, K>> & Omit<T, K>;

@@ -194,2 +194,2 @@ type NonOptional<T, K extends keyof T> = Required<Pick<T, K>> & Omit<T, K>;

export { ClickHandler, ClickHandlerProps, ColumnsLayoutOptions, ComponentsProps, ComponentsPropsParameter, DivElementAttributes, GenericLayoutOptions, Image, ImgElementAttributes, LayoutOptions, LayoutType, NonOptional, Optional, Photo, PhotoAlbum, PhotoAlbumProps, PhotoLayout, RenderColumnContainer, RenderColumnContainerProps, RenderContainer, RenderContainerProps, RenderFunction, RenderPhoto, RenderPhotoProps, RenderRowContainer, RenderRowContainerProps, ResponsiveParameter, ResponsiveParameterProvider, ResponsiveSizes, RowConstraints, RowsLayoutOptions, PhotoAlbum as default };
export { ClickHandler, ClickHandlerProps, ColumnsLayoutOptions, ComponentsProps, ComponentsPropsParameter, DivElementAttributes, GenericLayoutOptions, Image, ImageElementAttributes, LayoutOptions, LayoutType, NonOptional, Optional, Photo, PhotoAlbum, PhotoAlbumProps, PhotoLayout, RenderColumnContainer, RenderColumnContainerProps, RenderContainer, RenderContainerProps, RenderFunction, RenderPhoto, RenderPhotoProps, RenderRowContainer, RenderRowContainerProps, ResponsiveParameter, ResponsiveParameterProvider, ResponsiveSizes, RowConstraints, RowsLayoutOptions, PhotoAlbum as default };
{
"name": "react-photo-album",
"version": "2.0.0-rc.9",
"version": "2.0.0",
"description": "Responsive photo gallery component for React",

@@ -71,3 +71,3 @@ "author": "Igor Danchenko",

"rimraf": "^3.0.2",
"rollup": "^3.7.0",
"rollup": "^3.7.1",
"rollup-plugin-dts": "^5.0.0",

@@ -74,0 +74,0 @@ "rollup-plugin-peer-deps-external": "^2.2.4",

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