Socket
Socket
Sign inDemoInstall

@chakra-ui/portal

Package Overview
Dependencies
Maintainers
4
Versions
320
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/portal - npm Package Compare versions

Comparing version 1.1.3 to 1.2.0

dist/types/index.d.ts.map

19

CHANGELOG.md
# Change Log
## 1.2.0
### Minor Changes
- [`b724a9dd9`](https://github.com/chakra-ui/chakra-ui/commit/b724a9dd9429d02c0b2c7f7deac66d3553100bdc)
[#3674](https://github.com/chakra-ui/chakra-ui/pull/3674) Thanks
[@codebender828](https://github.com/codebender828)! - Extract all React based
utilities and types into `@chakra-ui/react-utils`
### Patch Changes
- Updated dependencies
[[`623e782e8`](https://github.com/chakra-ui/chakra-ui/commit/623e782e80124297740a109e5c6c58cddc35b2eb),
[`a58b724e9`](https://github.com/chakra-ui/chakra-ui/commit/a58b724e9c8656044f866b658f378662f2a44b46),
[`b724a9dd9`](https://github.com/chakra-ui/chakra-ui/commit/b724a9dd9429d02c0b2c7f7deac66d3553100bdc)]:
- @chakra-ui/hooks@1.3.0
- @chakra-ui/utils@1.5.0
- @chakra-ui/react-utils@1.1.0
## 1.1.3

@@ -4,0 +23,0 @@

4

dist/cjs/portal-manager.js

@@ -9,2 +9,4 @@ "use strict";

var _reactUtils = require("@chakra-ui/react-utils");
var React = _interopRequireWildcard(require("react"));

@@ -16,3 +18,3 @@

var _createContext = (0, _utils.createContext)({
var _createContext = (0, _reactUtils.createContext)({
strict: false,

@@ -19,0 +21,0 @@ name: "PortalManagerContext"

@@ -10,2 +10,4 @@ "use strict";

var _reactUtils = require("@chakra-ui/react-utils");
var React = _interopRequireWildcard(require("react"));

@@ -25,3 +27,3 @@

var _createContext = (0, _utils.createContext)({
var _createContext = (0, _reactUtils.createContext)({
strict: false,

@@ -28,0 +30,0 @@ name: "PortalContext"

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

import { createContext, __DEV__ } from "@chakra-ui/utils";
import { __DEV__ } from "@chakra-ui/utils";
import { createContext } from "@chakra-ui/react-utils";
import * as React from "react";

@@ -3,0 +4,0 @@ var [PortalManagerContextProvider, usePortalManager] = createContext({

@@ -6,3 +6,4 @@ 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); }

import { useForceUpdate, useSafeLayoutEffect } from "@chakra-ui/hooks";
import { createContext, isBrowser, __DEV__ } from "@chakra-ui/utils";
import { isBrowser, __DEV__ } from "@chakra-ui/utils";
import { createContext } from "@chakra-ui/react-utils";
import * as React from "react";

@@ -9,0 +10,0 @@ import { createPortal } from "react-dom";

export * from "./portal-manager";
export * from "./portal";
//# sourceMappingURL=index.d.ts.map

@@ -19,1 +19,2 @@ import * as React from "react";

}
//# sourceMappingURL=portal-manager.d.ts.map

@@ -38,1 +38,2 @@ import * as React from "react";

}
//# sourceMappingURL=portal.d.ts.map
{
"name": "@chakra-ui/portal",
"version": "1.1.3",
"version": "1.2.0",
"description": "React component used to render children outside the DOM hierarchy of the parent component",

@@ -55,4 +55,5 @@ "keywords": [

"dependencies": {
"@chakra-ui/hooks": "1.2.0",
"@chakra-ui/utils": "1.4.0"
"@chakra-ui/hooks": "1.3.0",
"@chakra-ui/react-utils": "1.1.0",
"@chakra-ui/utils": "1.5.0"
},

@@ -59,0 +60,0 @@ "peerDependencies": {

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

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