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

@depay/react-dialog-stack

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@depay/react-dialog-stack - npm Package Compare versions

Comparing version 6.0.0 to 7.0.0

4

dist/esm/index.js

@@ -76,4 +76,4 @@ import React from 'react';

if (props.setNavigate) {
props.setNavigate(this.navigate.bind(this));
if (props.setNavigator) {
props.setNavigator(this);
}

@@ -80,0 +80,0 @@

@@ -83,4 +83,4 @@ (function (global, factory) {

if (props.setNavigate) {
props.setNavigate(this.navigate.bind(this));
if (props.setNavigator) {
props.setNavigator(this);
}

@@ -87,0 +87,0 @@

{
"name": "@depay/react-dialog-stack",
"moduleName": "ReactDialogStack",
"version": "6.0.0",
"version": "7.0.0",
"description": "A flexible dialog stack for react widgets.",

@@ -6,0 +6,0 @@ "main": "./dist/umd/index.js",

@@ -83,7 +83,7 @@ ## Quickstart

`setNavigate (function)`: A function which will be called from the stack construtor to share the navigate function with the outside:
`setNavigator (function)`: A function which will be called from the stack construtor to share the navigator to the outside:
```javascript
const setNavigate = (navigator)=> {
window.navigate = navigator
const setNavigator = (navigator)=> {
window.dialogNavigator = navigator
}

@@ -95,3 +95,3 @@

close={this.close}
setNavigate={setNavigate}
setNavigator={setNavigator}
open={this.state.showDialog}

@@ -102,3 +102,4 @@ />

window.navigate('AnotherDialog')
window.dialogNavigator.navigate('AnotherDialog')
window.dialogNavigator.set('AnotherDialog')
```

@@ -105,0 +106,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