react-layer-stack
Advanced tools
Comparing version 4.1.0 to 4.1.1
{ | ||
"name": "demo", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"private": true, | ||
@@ -14,3 +14,3 @@ "devDependencies": { | ||
"react-highlight": "^0.9.0", | ||
"react-layer-stack": "^4.0.0", | ||
"react-layer-stack": "^4.1.0", | ||
"react-remarkable": "^1.1.1" | ||
@@ -17,0 +17,0 @@ }, |
{ | ||
"name": "react-layer-stack", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"description": "Simple but ubiquitously powerful and agnostic layering system for React. Useful for any kind of windowing/popover/modals/tooltip application", | ||
@@ -15,4 +15,4 @@ "repository": { | ||
"license": "MIT", | ||
"dependencies": { | ||
"react": "^15.3.2" | ||
"peerDependencies": { | ||
"react": ">=15.0.0" | ||
}, | ||
@@ -19,0 +19,0 @@ "devDependencies": { |
@@ -65,10 +65,2 @@ [Live demo](https://fckt.github.io/react-layer-stack/) | ||
#### `<LayerStackMountPoint />` | ||
This is a mount point for `Layer`s. | ||
`id: string` (optional) - you can have multiple `LayerStackMountPoint` which could have different ID's | ||
`children: callback({ views, displaying, show: callback(id, args), hide, hideAll, mountPointId, mountPointArgs }): ReactElement` - you can choose different strategies how to render `Layers` in `LayerStackMountPoint` instead of the default one | ||
#### `<Layer />` | ||
@@ -96,2 +88,11 @@ | ||
#### `<LayerStackMountPoint />` | ||
This is a mount point for `Layer`s. | ||
`id: string` (optional) - you can have multiple `LayerStackMountPoint` which could have different ID's | ||
`children: callback({ views, displaying, show: callback(id, args), hide, hideAll, mountPointId, mountPointArgs }): ReactElement` - you can choose different strategies how to render `Layers` in `LayerStackMountPoint` instead of the default one | ||
### Real-world usage example | ||
@@ -98,0 +99,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
5311801
182
3
+ Addedreact@18.3.1(transitive)
- Removedreact@^15.3.2
- Removedasap@2.0.6(transitive)
- Removedcore-js@1.2.7(transitive)
- Removedcreate-react-class@15.7.0(transitive)
- Removedencoding@0.1.13(transitive)
- Removedfbjs@0.8.18(transitive)
- Removediconv-lite@0.6.3(transitive)
- Removedis-stream@1.1.0(transitive)
- Removedisomorphic-fetch@2.2.1(transitive)
- Removednode-fetch@1.7.3(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedpromise@7.3.1(transitive)
- Removedprop-types@15.8.1(transitive)
- Removedreact@15.7.0(transitive)
- Removedreact-is@16.13.1(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsetimmediate@1.0.5(transitive)
- Removedua-parser-js@0.7.39(transitive)
- Removedwhatwg-fetch@3.6.20(transitive)