Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-layer-stack

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-layer-stack - npm Package Compare versions

Comparing version 4.1.0 to 4.1.1

4

demo/package.json
{
"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 @@

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