Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

styled-react-modal

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

styled-react-modal - npm Package Compare versions

Comparing version 3.0.0-alpha to 3.0.0-beta

build/mjs/index.mjs

7

package.json
{
"name": "styled-react-modal",
"version": "3.0.0-alpha",
"version": "3.0.0-beta",
"description": "A React modal built with styled-components.",
"main": "build/index.js",
"module": "build/index.mjs",
"main": "build/umd/index.js",
"module": "build/mjs/index.mjs",
"scripts": {
"test": "jest --coverage --verbose",
"lint": "prettier src/ tests/",
"prepublish": "yarn run build",
"build": "rollup -c rollup.config.js"

@@ -11,0 +12,0 @@ },

@@ -8,5 +8,5 @@ # Styled React Modal

> For support for **styled-components v3**, please use **styled-react-modal@1.0.0**.
> For support for **create-react-app <5.0.0**, please import from `styled-react-modal/build/umd`.
Styled React Modal is built with styled-components. It uses the latest React 16.x features and exposes a familiar, easy to use API. It supports `beforeOpen()`, `afterOpen()`, and other lifecycle hooks so that animations can be handled easily. Unlike several other modal implementations in React, it does not pollute the DOM with excessive nodes.
Styled React Modal is built with styled-components. It uses the latest React 17.x features and exposes a familiar, easy to use API. It supports `beforeOpen()`, `afterOpen()`, and other lifecycle hooks so that animations can be handled easily. Unlike several other modal implementations in React, it does not pollute the DOM with excessive nodes.

@@ -18,3 +18,3 @@ [**Demo on CodeSandbox**](https://codesandbox.io/s/m9jlky57y)

```
npm i -s styled-react-modal
npm i -s styled-react-modal # or use yarn
```

@@ -21,0 +21,0 @@

@@ -12,3 +12,3 @@ import resolve from "@rollup/plugin-node-resolve";

name: "styled-react-modal",
file: "build/index.js",
file: "build/umd/index.js",
format: "umd",

@@ -25,3 +25,3 @@ exports: "named",

exports: "named",
file: "build/index.mjs",
file: "build/mjs/index.mjs",
format: "es"

@@ -28,0 +28,0 @@ }

Sorry, the diff of this file is not supported yet

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