@chakra-ui/portal
Advanced tools
Comparing version 1.0.0-rc.0 to 1.0.0-rc.1
@@ -6,2 +6,11 @@ # Change Log | ||
# [1.0.0-rc.1](https://github.com/chakra-ui/chakra-ui/compare/@chakra-ui/portal@1.0.0-rc.0...@chakra-ui/portal@1.0.0-rc.1) (2020-08-06) | ||
**Note:** Version bump only for package @chakra-ui/portal | ||
# Change Log | ||
All notable changes to this project will be documented in this file. See | ||
[Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
# [1.0.0-rc.0](https://github.com/chakra-ui/chakra-ui/compare/@chakra-ui/portal@1.0.0-next.7...@chakra-ui/portal@1.0.0-rc.0) (2020-07-26) | ||
@@ -8,0 +17,0 @@ |
"use strict"; | ||
exports.__esModule = true; | ||
exports.PortalManager = PortalManager; | ||
exports.usePortalManager = void 0; | ||
exports.PortalManager = exports.usePortalManager = void 0; | ||
@@ -34,3 +33,3 @@ var React = _interopRequireWildcard(require("react")); | ||
*/ | ||
function PortalManager(props) { | ||
var PortalManager = function PortalManager(props) { | ||
var children = props.children, | ||
@@ -66,4 +65,6 @@ zIndex = props.zIndex; | ||
})); | ||
} | ||
}; | ||
exports.PortalManager = PortalManager; | ||
if (_utils.__DEV__) { | ||
@@ -70,0 +71,0 @@ PortalManager.displayName = "PortalManager"; |
"use strict"; | ||
exports.__esModule = true; | ||
exports.Portal = Portal; | ||
exports.Portal = void 0; | ||
@@ -35,3 +35,3 @@ var _utils = require("@chakra-ui/utils"); | ||
*/ | ||
function Portal(props) { | ||
var Portal = function Portal(props) { | ||
var onMount = props.onMount, | ||
@@ -122,4 +122,6 @@ onUnmount = props.onUnmount, | ||
}, _children), portal); | ||
} | ||
}; | ||
exports.Portal = Portal; | ||
if (_utils.__DEV__) { | ||
@@ -126,0 +128,0 @@ Portal.displayName = "Portal"; |
@@ -18,3 +18,3 @@ import * as React from "react"; | ||
*/ | ||
export function PortalManager(props) { | ||
export var PortalManager = props => { | ||
var { | ||
@@ -52,3 +52,3 @@ children, | ||
})); | ||
} | ||
}; | ||
@@ -55,0 +55,0 @@ if (__DEV__) { |
@@ -19,3 +19,3 @@ import { createContext, isBrowser, __DEV__ } from "@chakra-ui/utils"; | ||
*/ | ||
export function Portal(props) { | ||
export var Portal = props => { | ||
var { | ||
@@ -106,3 +106,3 @@ onMount, | ||
}, _children), portal); | ||
} | ||
}; | ||
@@ -109,0 +109,0 @@ if (__DEV__) { |
@@ -30,5 +30,2 @@ import * as React from "react"; | ||
*/ | ||
export declare function PortalManager(props: PortalManagerProps): JSX.Element; | ||
export declare namespace PortalManager { | ||
var displayName: string; | ||
} | ||
export declare const PortalManager: React.FC<PortalManagerProps>; |
@@ -29,5 +29,2 @@ import * as React from "react"; | ||
*/ | ||
export declare function Portal(props: PortalProps): JSX.Element; | ||
export declare namespace Portal { | ||
var displayName: string; | ||
} | ||
export declare const Portal: React.FC<PortalProps>; |
{ | ||
"name": "@chakra-ui/portal", | ||
"version": "1.0.0-rc.0", | ||
"version": "1.0.0-rc.1", | ||
"description": "React component used to render children outside the DOM hierarchy of the parent component", | ||
@@ -49,4 +49,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@chakra-ui/hooks": "1.0.0-rc.0", | ||
"@chakra-ui/utils": "1.0.0-rc.0" | ||
"@chakra-ui/hooks": "1.0.0-rc.1", | ||
"@chakra-ui/utils": "1.0.0-rc.1" | ||
}, | ||
@@ -57,3 +57,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "60392008d42867da38211687e2491f02da9975a9" | ||
"gitHead": "e0470c73a9f6be24525dc5458d6fb157096b5ae3" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
41896
380
1
+ Added@chakra-ui/hooks@1.0.0-rc.1(transitive)
+ Added@chakra-ui/utils@1.0.0-rc.1(transitive)
- Removed@chakra-ui/hooks@1.0.0-rc.0(transitive)
- Removed@chakra-ui/utils@1.0.0-rc.0(transitive)
Updated@chakra-ui/hooks@1.0.0-rc.1
Updated@chakra-ui/utils@1.0.0-rc.1