@leafygreen-ui/portal
Advanced tools
Comparing version 1.1.8 to 2.0.0
# @leafygreen-ui/portal | ||
## 2.0.0 | ||
### Major Changes | ||
- 464c09d: Introduces SSR compatibility though a change to our build process and files | ||
### Patch Changes | ||
- Updated dependencies [464c09d] | ||
- @leafygreen-ui/lib@4.0.0 | ||
## 1.1.8 | ||
@@ -4,0 +15,0 @@ |
@@ -1,2 +0,2 @@ | ||
/// <reference types="@storybook/theming/node_modules/@emotion/core" /> | ||
/// <reference types="@emotion/core" /> | ||
import { Component } from 'react'; | ||
@@ -3,0 +3,0 @@ import PropTypes from 'prop-types'; |
{ | ||
"name": "@leafygreen-ui/portal", | ||
"version": "1.1.8", | ||
"version": "2.0.0", | ||
"description": "LeafyGreen UI Kit Portal", | ||
"main": "./dist/index.js", | ||
"browser": "./dist/index.web.js", | ||
"main": "./dist/index.node.js", | ||
"types": "./dist/index.d.ts", | ||
@@ -18,5 +19,5 @@ "scripts": { | ||
"dependencies": { | ||
"@leafygreen-ui/lib": "^3.1.0" | ||
"@leafygreen-ui/lib": "^4.0.0" | ||
}, | ||
"gitHead": "dd71a2d404218ccec2e657df9c0263dc1c15b9e0" | ||
} |
@@ -30,16 +30,5 @@ # Portal | ||
### container | ||
**Type:** `DOM Node` | ||
**Default:** `document.createElement('div')` | ||
Sets the container node, which will contain all of the portaled content. If no container is supplied, a div will be created and appened to the end of the `document.body`. | ||
### children | ||
**Type:** `Node` | ||
**Default:** `null` | ||
The children will be rendered inside of the portaled container. | ||
| Prop | Type | Description | Default | | ||
| ----------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------- | | ||
| `container` | `DOM Node` | Sets the container node, which will contain all of the portaled content. If no container is supplied, a div will be created and apened to the end of the `document.body`. | `document.createElement('div')` | | ||
| `children` | `node` | The children will be rendered inside of the portaled container. | | |
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
304465
17
266
3
34
+ Added@jest/types@24.9.0(transitive)
+ Added@leafygreen-ui/emotion@2.0.2(transitive)
+ Added@leafygreen-ui/lib@4.5.1(transitive)
+ Added@sheerun/mutationobserver-shim@0.3.3(transitive)
+ Added@testing-library/dom@5.6.1(transitive)
+ Added@testing-library/react@8.0.9(transitive)
+ Added@types/istanbul-lib-coverage@2.0.6(transitive)
+ Added@types/istanbul-lib-report@3.0.3(transitive)
+ Added@types/istanbul-reports@1.1.2(transitive)
+ Added@types/yargs@13.0.12(transitive)
+ Added@types/yargs-parser@21.0.3(transitive)
+ Addedansi-regex@4.1.1(transitive)
+ Addedansi-styles@3.2.1(transitive)
+ Addedaria-query@3.0.0(transitive)
+ Addedast-types-flow@0.0.7(transitive)
+ Addedbuffer-from@0.1.2(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addedcommander@2.20.3(transitive)
+ Addedcore-util-is@1.0.3(transitive)
+ Addedcreate-emotion-server@10.0.27(transitive)
+ Addedduplexer2@0.1.4(transitive)
+ Addedhtml-tokenize@2.0.1(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedisarray@0.0.11.0.0(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmultipipe@1.0.2(transitive)
+ Addedobject-keys@0.4.0(transitive)
+ Addedpretty-format@24.9.0(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedreadable-stream@1.0.342.3.8(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedstring_decoder@0.10.311.1.1(transitive)
+ Addedthrough@2.3.8(transitive)
+ Addedthrough2@0.4.2(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedwait-for-expect@1.3.0(transitive)
+ Addedxtend@2.1.2(transitive)
- Removed@leafygreen-ui/emotion@1.0.6(transitive)
- Removed@leafygreen-ui/lib@3.2.0(transitive)
Updated@leafygreen-ui/lib@^4.0.0