Socket
Socket
Sign inDemoInstall

react-simple-image-viewer

Package Overview
Dependencies
6
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

2

dist/index.cjs.js

@@ -36,3 +36,3 @@ 'use strict';

var css_248z = ".styles-module_wrapper__1I_qj {\n z-index: 1;\n display: flex;\n align-items: center;\n position: fixed;\n padding: 0px 60px 0px 60px;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background-color: black;\n box-sizing: border-box;\n}\n\n.styles-module_content__2jwZj {\n margin: auto;\n padding: 0;\n width: 90%;\n height: 100%;\n max-height: 100%;\n text-align: center;\n}\n\n.styles-module_slide__1zrfk {\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.styles-module_image__2hdkJ {\n max-height: 100%;\n max-width: 100%;\n user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n}\n\n.styles-module_close__2I1sI {\n color: white;\n position: absolute;\n top: 15px;\n right: 15px;\n font-size: 40px;\n font-weight: bold;\n opacity: 0.2;\n cursor: pointer;\n}\n\n.styles-module_close__2I1sI:hover {\n opacity: 1;\n}\n\n.styles-module_navigation__1pqAE {\n height: 80%;\n color: white;\n cursor: pointer;\n position: absolute;\n font-size: 60px;\n line-height: 60px;\n font-weight: bold;\n display: flex;\n align-items: center;\n opacity: 0.2;\n padding: 0 15px;\n user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n}\n\n.styles-module_navigation__1pqAE:hover {\n opacity: 1;\n}\n\n.styles-module_prev__KqFRp {\n left: 0;\n}\n\n.styles-module_next__1uQwZ {\n right: 0;\n}\n";
var css_248z = ".styles-module_wrapper__1I_qj {\n z-index: 1;\n display: flex;\n align-items: center;\n position: fixed;\n padding: 0px 60px 0px 60px;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background-color: black;\n box-sizing: border-box;\n}\n\n.styles-module_content__2jwZj {\n margin: auto;\n padding: 0;\n width: 90%;\n height: 100%;\n max-height: 100%;\n text-align: center;\n}\n\n.styles-module_slide__1zrfk {\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.styles-module_image__2hdkJ {\n max-height: 100%;\n max-width: 100%;\n user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n}\n\n.styles-module_close__2I1sI {\n color: white;\n position: absolute;\n top: 15px;\n right: 15px;\n font-size: 40px;\n font-weight: bold;\n opacity: 0.2;\n cursor: pointer;\n}\n\n.styles-module_close__2I1sI:hover {\n opacity: 1;\n}\n\n.styles-module_navigation__1pqAE {\n height: 80%;\n color: white;\n cursor: pointer;\n position: absolute;\n font-size: 60px;\n line-height: 60px;\n font-weight: bold;\n display: flex;\n align-items: center;\n opacity: 0.2;\n padding: 0 15px;\n user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n}\n\n.styles-module_navigation__1pqAE:hover {\n opacity: 1;\n}\n\n@media (hover: none) {\n .styles-module_navigation__1pqAE:hover {\n opacity: 0.2;\n }\n}\n\n.styles-module_prev__KqFRp {\n left: 0;\n}\n\n.styles-module_next__1uQwZ {\n right: 0;\n}\n\n@media (max-width: 900px) {\n .styles-module_wrapper__1I_qj {\n padding: 0;\n }\n}\n";
var styles = {"wrapper":"styles-module_wrapper__1I_qj","content":"styles-module_content__2jwZj","slide":"styles-module_slide__1zrfk","image":"styles-module_image__2hdkJ","close":"styles-module_close__2I1sI","navigation":"styles-module_navigation__1pqAE","prev":"styles-module_prev__KqFRp","next":"styles-module_next__1uQwZ"};

@@ -39,0 +39,0 @@ styleInject(css_248z);

@@ -30,3 +30,3 @@ import React, { useState, useCallback, useEffect } from 'react';

var css_248z = ".styles-module_wrapper__1I_qj {\n z-index: 1;\n display: flex;\n align-items: center;\n position: fixed;\n padding: 0px 60px 0px 60px;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background-color: black;\n box-sizing: border-box;\n}\n\n.styles-module_content__2jwZj {\n margin: auto;\n padding: 0;\n width: 90%;\n height: 100%;\n max-height: 100%;\n text-align: center;\n}\n\n.styles-module_slide__1zrfk {\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.styles-module_image__2hdkJ {\n max-height: 100%;\n max-width: 100%;\n user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n}\n\n.styles-module_close__2I1sI {\n color: white;\n position: absolute;\n top: 15px;\n right: 15px;\n font-size: 40px;\n font-weight: bold;\n opacity: 0.2;\n cursor: pointer;\n}\n\n.styles-module_close__2I1sI:hover {\n opacity: 1;\n}\n\n.styles-module_navigation__1pqAE {\n height: 80%;\n color: white;\n cursor: pointer;\n position: absolute;\n font-size: 60px;\n line-height: 60px;\n font-weight: bold;\n display: flex;\n align-items: center;\n opacity: 0.2;\n padding: 0 15px;\n user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n}\n\n.styles-module_navigation__1pqAE:hover {\n opacity: 1;\n}\n\n.styles-module_prev__KqFRp {\n left: 0;\n}\n\n.styles-module_next__1uQwZ {\n right: 0;\n}\n";
var css_248z = ".styles-module_wrapper__1I_qj {\n z-index: 1;\n display: flex;\n align-items: center;\n position: fixed;\n padding: 0px 60px 0px 60px;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background-color: black;\n box-sizing: border-box;\n}\n\n.styles-module_content__2jwZj {\n margin: auto;\n padding: 0;\n width: 90%;\n height: 100%;\n max-height: 100%;\n text-align: center;\n}\n\n.styles-module_slide__1zrfk {\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.styles-module_image__2hdkJ {\n max-height: 100%;\n max-width: 100%;\n user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n}\n\n.styles-module_close__2I1sI {\n color: white;\n position: absolute;\n top: 15px;\n right: 15px;\n font-size: 40px;\n font-weight: bold;\n opacity: 0.2;\n cursor: pointer;\n}\n\n.styles-module_close__2I1sI:hover {\n opacity: 1;\n}\n\n.styles-module_navigation__1pqAE {\n height: 80%;\n color: white;\n cursor: pointer;\n position: absolute;\n font-size: 60px;\n line-height: 60px;\n font-weight: bold;\n display: flex;\n align-items: center;\n opacity: 0.2;\n padding: 0 15px;\n user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n}\n\n.styles-module_navigation__1pqAE:hover {\n opacity: 1;\n}\n\n@media (hover: none) {\n .styles-module_navigation__1pqAE:hover {\n opacity: 0.2;\n }\n}\n\n.styles-module_prev__KqFRp {\n left: 0;\n}\n\n.styles-module_next__1uQwZ {\n right: 0;\n}\n\n@media (max-width: 900px) {\n .styles-module_wrapper__1I_qj {\n padding: 0;\n }\n}\n";
var styles = {"wrapper":"styles-module_wrapper__1I_qj","content":"styles-module_content__2jwZj","slide":"styles-module_slide__1zrfk","image":"styles-module_image__2hdkJ","close":"styles-module_close__2I1sI","navigation":"styles-module_navigation__1pqAE","prev":"styles-module_prev__KqFRp","next":"styles-module_next__1uQwZ"};

@@ -33,0 +33,0 @@ styleInject(css_248z);

{
"name": "react-simple-image-viewer",
"version": "1.1.0",
"version": "1.1.1",
"description": "Simple image viewer component for React",

@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js",

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