yet-another-react-lightbox 1.3.3 → 1.3.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.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Yet Another React Lightbox
2
2
 
3
- Modern React lightbox component.
3
+ Modern React lightbox component. Performant, easy to use, customizable and extendable.
4
4
 
5
5
  ## Overview
6
6
 
@@ -8,9 +8,23 @@ Modern React lightbox component.
8
8
  [![Bundle Size](https://img.shields.io/bundlephobia/minzip/yet-another-react-lightbox?color=blue)](https://bundlephobia.com/package/yet-another-react-lightbox)
9
9
  [![License MIT](https://img.shields.io/npm/l/yet-another-react-lightbox?color=blue)](LICENSE)
10
10
 
11
+ - **Built for React:** works with React 18, 17 and 16.8.0+
12
+ - **UX:** supports keyboard, mouse, touchpad and touchscreen navigation
13
+ - **Preloading:** never displays partially downloaded images
14
+ - **Performance:** preloads limited number of images without compromising performance or UX
15
+ - **Responsive:** responsive images with automatic resolution switching are supported out of the box
16
+ - **Video:** video slides are supported via an optional plugin
17
+ - **Customization:** customize any UI element or add your own custom slides
18
+ - **No bloat:** never bundle rarely used features; add optional features via plugins
19
+ - **TypeScript:** type definitions come built-in in the package
20
+
11
21
  ## Documentation
12
22
 
13
- [https://yet-another-react-lightbox.vercel.app/](https://yet-another-react-lightbox.vercel.app/)
23
+ [https://yet-another-react-lightbox.vercel.app/documentation](https://yet-another-react-lightbox.vercel.app/documentation)
24
+
25
+ ## Examples
26
+
27
+ [https://yet-another-react-lightbox.vercel.app/examples](https://yet-another-react-lightbox.vercel.app/examples)
14
28
 
15
29
  ## Installation
16
30
 
package/dist/types.d.ts CHANGED
@@ -8,7 +8,7 @@ export interface SlideImage {
8
8
  alt?: string;
9
9
  /** image aspect ratio */
10
10
  aspectRatio?: number;
11
- /** alternative images to be passed to 'srcSet' */
11
+ /** alternative images to be passed to the 'srcSet' */
12
12
  srcSet?: {
13
13
  /** image URL */
14
14
  src: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yet-another-react-lightbox",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "description": "Modern React lightbox component",
5
5
  "author": "Igor Danchenko",
6
6
  "license": "MIT",