Comparing version 1.10.0 to 1.11.0
@@ -459,2 +459,3 @@ "use strict"; | ||
}, steps[current] && (typeof steps[current].content === 'function' ? steps[current].content({ | ||
close: onRequestClose, | ||
goTo: this.gotoStep, | ||
@@ -461,0 +462,0 @@ inDOM: inDOM, |
{ | ||
"name": "reactour", | ||
"version": "1.10.0", | ||
"version": "1.11.0", | ||
"description": "Tourist Guide into your React Components", | ||
@@ -44,6 +44,6 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@babel/cli": "7.1.5", | ||
"@babel/core": "7.1.6", | ||
"@babel/plugin-proposal-class-properties": "7.1.0", | ||
"@babel/preset-env": "7.1.6", | ||
"@babel/cli": "7.2.0", | ||
"@babel/core": "7.2.0", | ||
"@babel/plugin-proposal-class-properties": "7.2.1", | ||
"@babel/preset-env": "7.2.0", | ||
"@babel/preset-react": "7.0.0", | ||
@@ -53,4 +53,4 @@ "babel-eslint": "10.0.1", | ||
"body-scroll-lock": "2.6.1", | ||
"css-loader": "1.0.1", | ||
"eslint": "5.9.0", | ||
"css-loader": "2.0.0", | ||
"eslint": "5.10.0", | ||
"eslint-config-prettier": "3.3.0", | ||
@@ -67,3 +67,3 @@ "eslint-plugin-prettier": "3.0.0", | ||
"styled-components": "4.1.2", | ||
"webpack": "4.26.1", | ||
"webpack": "4.27.1", | ||
"webpack-cli": "3.1.2", | ||
@@ -70,0 +70,0 @@ "webpack-dev-server": "3.1.10" |
@@ -80,4 +80,4 @@ <p align="center"> | ||
| `nextStep` | Override default `nextStep` function to use a custom one | `func` | | | | ||
| `onAfterOpen` | Function triggered after open | `func` | `() => { document.body.style.overflowY = 'hidden' }` | | | ||
| `onBeforeClose` | Function triggered before close | `func` | `() => { document.body.style.overflowY = 'auto' }` | | | ||
| `onAfterOpen` | Function triggered after open | `func` | `target => { /* 'target' is the helper element */ }` | | | ||
| `onBeforeClose` | Function triggered before close | `func` | `target => { /* 'target' is the helper element */ }` | | | ||
| `onRequestClose` | Function triggered to close | `func` | | | | ||
@@ -84,0 +84,0 @@ | `prevButton` | Prev navigation button text | `node` | | | |
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
66859
1189