@reach/dialog
Advanced tools
Comparing version 0.5.0 to 0.5.3
@@ -144,4 +144,5 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
Dialog.displayName = "Dialog"; | ||
} //////////////////////////////////////////////////////////////////////////////// | ||
} | ||
export default Dialog; //////////////////////////////////////////////////////////////////////////////// | ||
@@ -148,0 +149,0 @@ function createAriaHider(dialogNode) { |
@@ -48,2 +48,8 @@ /** | ||
/** | ||
* Allow two-finger zoom gestures on iOS devices | ||
* | ||
* @see Docs https://github.com/reach/reach-ui/issues/325 | ||
*/ | ||
allowPinchZoom?: boolean; | ||
/** | ||
* By default the first focusable element will receive focus when the dialog | ||
@@ -75,3 +81,3 @@ * opens but you can provide a ref to focus instead. | ||
*/ | ||
declare const Dialog: React.FunctionComponent<DialogProps>; | ||
export const Dialog: React.FunctionComponent<DialogProps>; | ||
@@ -86,3 +92,3 @@ /** | ||
*/ | ||
declare const DialogOverlay: React.FunctionComponent<DialogOverlayProps>; | ||
export const DialogOverlay: React.FunctionComponent<DialogOverlayProps>; | ||
@@ -102,2 +108,4 @@ /** | ||
*/ | ||
declare const DialogContent: React.FunctionComponent<DialogContentProps>; | ||
export const DialogContent: React.FunctionComponent<DialogContentProps>; | ||
export default Dialog; |
"use strict"; | ||
exports.__esModule = true; | ||
exports.Dialog = exports.DialogContent = exports.DialogOverlay = void 0; | ||
exports["default"] = exports.Dialog = exports.DialogContent = exports.DialogOverlay = void 0; | ||
@@ -170,5 +170,8 @@ var _react = _interopRequireDefault(require("react")); | ||
Dialog.displayName = "Dialog"; | ||
} //////////////////////////////////////////////////////////////////////////////// | ||
} | ||
var _default = Dialog; //////////////////////////////////////////////////////////////////////////////// | ||
exports["default"] = _default; | ||
function createAriaHider(dialogNode) { | ||
@@ -175,0 +178,0 @@ var originalValues = []; |
{ | ||
"name": "@reach/dialog", | ||
"version": "0.5.0", | ||
"version": "0.5.3", | ||
"description": "Accessible React Modal Dialog.", | ||
@@ -24,3 +24,3 @@ "author": "React Training <hello@reacttraining.com>", | ||
"devDependencies": { | ||
"@reach/menu-button": "^0.5.0", | ||
"@reach/menu-button": "^0.5.3", | ||
"react": "^16.11.0", | ||
@@ -38,3 +38,3 @@ "react-spring": "^8.0.27", | ||
], | ||
"gitHead": "7e33672d882cd6df77ac8cdb76b6b4a21dbf28c2" | ||
"gitHead": "29e599938054fd0601f347f66d8671e690ecf879" | ||
} |
@@ -150,2 +150,4 @@ import React from "react"; | ||
export default Dialog; | ||
//////////////////////////////////////////////////////////////////////////////// | ||
@@ -152,0 +154,0 @@ function createAriaHider(dialogNode) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28695
693