@depay/react-dialog-stack
Advanced tools
Comparing version 5.0.1 to 6.0.0
import React from 'react'; | ||
import 'react-dom'; | ||
import { ReactDialog } from '@depay/react-dialog'; | ||
@@ -198,10 +197,10 @@ | ||
className: ['ReactDialogStack'].concat(stackState).join(' '), | ||
onClick: this.onClick.bind(this), __self: this, __source: {fileName: _jsxFileName, lineNumber: 131}} | ||
onClick: this.onClick.bind(this), __self: this, __source: {fileName: _jsxFileName, lineNumber: 130}} | ||
, React.createElement(NavigateStackContext.Provider, { | ||
value: { navigate: this.navigate.bind(this), set: this.set.bind(this) }, __self: this, __source: {fileName: _jsxFileName, lineNumber: 136}} | ||
value: { navigate: this.navigate.bind(this), set: this.set.bind(this) }, __self: this, __source: {fileName: _jsxFileName, lineNumber: 135}} | ||
, React.createElement(CloseStackContext.Provider, { value: this.close.bind(this), __self: this, __source: {fileName: _jsxFileName, lineNumber: 139}} | ||
, React.createElement(StackContext.Provider, { value: this.state.stack, __self: this, __source: {fileName: _jsxFileName, lineNumber: 140}} | ||
, React.createElement('div', { className: "ReactDialogAnimation", __self: this, __source: {fileName: _jsxFileName, lineNumber: 141}}, this.props.dialogs[route]) | ||
, React.createElement(CloseStackContext.Provider, { value: this.close.bind(this), __self: this, __source: {fileName: _jsxFileName, lineNumber: 138}} | ||
, React.createElement(StackContext.Provider, { value: this.state.stack, __self: this, __source: {fileName: _jsxFileName, lineNumber: 139}} | ||
, React.createElement('div', { className: "ReactDialogAnimation", __self: this, __source: {fileName: _jsxFileName, lineNumber: 140}}, this.props.dialogs[route]) | ||
) | ||
@@ -247,5 +246,5 @@ ) | ||
container: this.props.container, | ||
background: this.props.background, __self: this, __source: {fileName: _jsxFileName, lineNumber: 177}} | ||
background: this.props.background, __self: this, __source: {fileName: _jsxFileName, lineNumber: 176}} | ||
, React.createElement('style', {__self: this, __source: {fileName: _jsxFileName, lineNumber: 184}}, ReactDialogStackStyle()) | ||
, React.createElement('style', {__self: this, __source: {fileName: _jsxFileName, lineNumber: 183}}, ReactDialogStackStyle()) | ||
, this.renderStack() | ||
@@ -252,0 +251,0 @@ ) |
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('react-dom'), require('@depay/react-dialog')) : | ||
typeof define === 'function' && define.amd ? define(['exports', 'react', 'react-dom', '@depay/react-dialog'], factory) : | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.ReactDialogStack = {}, global.React, global.ReactDOM, global.ReactDialog)); | ||
}(this, (function (exports, React, reactDom, reactDialog) { 'use strict'; | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('@depay/react-dialog')) : | ||
typeof define === 'function' && define.amd ? define(['exports', 'react', '@depay/react-dialog'], factory) : | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.ReactDialogStack = {}, global.React, global.ReactDialog)); | ||
}(this, (function (exports, React, reactDialog) { 'use strict'; | ||
@@ -204,10 +204,10 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
className: ['ReactDialogStack'].concat(stackState).join(' '), | ||
onClick: this.onClick.bind(this), __self: this, __source: {fileName: _jsxFileName, lineNumber: 131}} | ||
onClick: this.onClick.bind(this), __self: this, __source: {fileName: _jsxFileName, lineNumber: 130}} | ||
, React__default['default'].createElement(NavigateStackContext.Provider, { | ||
value: { navigate: this.navigate.bind(this), set: this.set.bind(this) }, __self: this, __source: {fileName: _jsxFileName, lineNumber: 136}} | ||
value: { navigate: this.navigate.bind(this), set: this.set.bind(this) }, __self: this, __source: {fileName: _jsxFileName, lineNumber: 135}} | ||
, React__default['default'].createElement(CloseStackContext.Provider, { value: this.close.bind(this), __self: this, __source: {fileName: _jsxFileName, lineNumber: 139}} | ||
, React__default['default'].createElement(StackContext.Provider, { value: this.state.stack, __self: this, __source: {fileName: _jsxFileName, lineNumber: 140}} | ||
, React__default['default'].createElement('div', { className: "ReactDialogAnimation", __self: this, __source: {fileName: _jsxFileName, lineNumber: 141}}, this.props.dialogs[route]) | ||
, React__default['default'].createElement(CloseStackContext.Provider, { value: this.close.bind(this), __self: this, __source: {fileName: _jsxFileName, lineNumber: 138}} | ||
, React__default['default'].createElement(StackContext.Provider, { value: this.state.stack, __self: this, __source: {fileName: _jsxFileName, lineNumber: 139}} | ||
, React__default['default'].createElement('div', { className: "ReactDialogAnimation", __self: this, __source: {fileName: _jsxFileName, lineNumber: 140}}, this.props.dialogs[route]) | ||
) | ||
@@ -253,5 +253,5 @@ ) | ||
container: this.props.container, | ||
background: this.props.background, __self: this, __source: {fileName: _jsxFileName, lineNumber: 177}} | ||
background: this.props.background, __self: this, __source: {fileName: _jsxFileName, lineNumber: 176}} | ||
, React__default['default'].createElement('style', {__self: this, __source: {fileName: _jsxFileName, lineNumber: 184}}, ReactDialogStackStyle()) | ||
, React__default['default'].createElement('style', {__self: this, __source: {fileName: _jsxFileName, lineNumber: 183}}, ReactDialogStackStyle()) | ||
, this.renderStack() | ||
@@ -258,0 +258,0 @@ ) |
{ | ||
"name": "@depay/react-dialog-stack", | ||
"moduleName": "ReactDialogStack", | ||
"version": "5.0.1", | ||
"version": "6.0.0", | ||
"description": "A flexible dialog stack for react widgets.", | ||
@@ -38,10 +38,10 @@ "main": "./dist/umd/index.js", | ||
"dependencies": { | ||
"@depay/react-dialog": "^13.0.1" | ||
"@depay/react-dialog": "^14.0.0" | ||
}, | ||
"peerDependencies": { | ||
"react": "^17", | ||
"react-dom": "^17" | ||
"react": "^18", | ||
"react-dom": "^18" | ||
}, | ||
"engines": { | ||
"node": ">=10" | ||
"node": ">=16" | ||
}, | ||
@@ -68,5 +68,5 @@ "devDependencies": { | ||
"prettier": "^2.2.1", | ||
"react": "^17", | ||
"react-dom": "^17", | ||
"react-test-renderer": "^17", | ||
"react": "^18", | ||
"react-dom": "^18", | ||
"react-test-renderer": "^18", | ||
"react-testing-library": "^8.0.1", | ||
@@ -73,0 +73,0 @@ "rollup": "^2.34.2", |
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
21589
448
+ Added@depay/react-dialog@14.1.1(transitive)
+ Addedreact@18.3.1(transitive)
+ Addedreact-dom@18.3.1(transitive)
+ Addedscheduler@0.23.2(transitive)
- Removed@depay/react-dialog@13.0.1(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedreact@17.0.2(transitive)
- Removedreact-dom@17.0.2(transitive)
- Removedscheduler@0.20.2(transitive)
Updated@depay/react-dialog@^14.0.0