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

@types/react-modal

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-modal - npm Package Compare versions

Comparing version 3.10.6 to 3.12.0

10

react-modal/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for react-modal 3.10
// Type definitions for react-modal 3.12
// Project: https://github.com/reactjs/react-modal

@@ -106,2 +106,5 @@ // Definitions by: Rajab Shakirov <https://github.com/radziksh>,

/* Boolean indicating if the modal should use the preventScroll flag when restoring focus to the element that had focus prior to its display. */
preventScroll?: boolean;
/* Function that will be called to get the parent element that the modal will be attached to. */

@@ -128,2 +131,7 @@ parentSelector?(): HTMLElement;

/* Custom Overlay element. */
overlayElement?: (props: React.ComponentPropsWithRef<"div">, contentEl: React.ReactElement) => React.ReactElement;
/* Custom Content element. */
contentElement?: (props: React.ComponentPropsWithRef<"div">, children: React.ReactNode) => React.ReactElement;
/* String value of data-test-id attibute to be applied to to the modal content. */

@@ -130,0 +138,0 @@ testId?: string;

6

react-modal/package.json
{
"name": "@types/react-modal",
"version": "3.10.6",
"version": "3.12.0",
"description": "TypeScript definitions for react-modal",

@@ -64,4 +64,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "8e000d399afda11c1195d23d0ec09c7f9b740702e56a0ba2f7b73602bc0df309",
"typeScriptVersion": "3.0"
"typesPublisherContentHash": "0f8db1c6b52191299f1686abb0f3e3cec9084e24cb0ac662715ce73c936f4be8",
"typeScriptVersion": "3.4"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Wed, 24 Jun 2020 09:45:42 GMT
* Last updated: Thu, 04 Feb 2021 13:23:15 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react)

@@ -14,0 +14,0 @@ * Global values: `ReactModal`

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