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

react-aria-modal

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-aria-modal - npm Package Compare versions

Comparing version 2.8.0 to 2.9.0

.npmignore

4

CHANGELOG.md
# Changelog
## 2.9.0
- Add `underlayProps` prop to pass additional attributes to the underlay container.
## 2.8.0

@@ -4,0 +8,0 @@

@@ -130,2 +130,6 @@ 'use strict';

for (var prop in this.props.underlayProps) {
underlayProps[prop] = this.props.underlayProps[prop];
}
var verticalCenterStyle = {};

@@ -214,2 +218,3 @@ if (props.includeDefaultStyles) {

Modal.defaultProps = {
underlayProps: {},
dialogId: 'react-aria-modal-dialog',

@@ -216,0 +221,0 @@ underlayClickExits: true,

2

package.json
{
"name": "react-aria-modal",
"version": "2.8.0",
"version": "2.9.0",
"description": "A fully accessible and flexible React modal built according WAI-ARIA Authoring Practices",

@@ -5,0 +5,0 @@ "main": "dist/react-aria-modal.js",

@@ -164,3 +164,3 @@ # react-aria-modal

If you may omit this prop if you don't want clicks outside the modal or Escape to close it, so don't want to provide a function.
You may omit this prop if you don't want clicks outside the modal or Escape to close it, so don't want to provide a function.

@@ -167,0 +167,0 @@ ### applicationNode

@@ -8,2 +8,3 @@ const React = require('react');

static defaultProps = {
underlayProps: {},
dialogId: 'react-aria-modal-dialog',

@@ -119,2 +120,6 @@ underlayClickExits: true,

for (const prop in this.props.underlayProps) {
underlayProps[prop] = this.props.underlayProps[prop];
}
let verticalCenterStyle = {};

@@ -121,0 +126,0 @@ if (props.includeDefaultStyles) {

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