Comparing version 1.15.5 to 1.16.0
@@ -76,3 +76,3 @@ 'use strict'; | ||
if (i % 2) { | ||
ownKeys(source, true).forEach(function (key) { | ||
ownKeys(Object(source), true).forEach(function (key) { | ||
_defineProperty(target, key, source[key]); | ||
@@ -83,3 +83,3 @@ }); | ||
} else { | ||
ownKeys(source).forEach(function (key) { | ||
ownKeys(Object(source)).forEach(function (key) { | ||
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); | ||
@@ -675,3 +675,4 @@ }); | ||
style: PropTypes.object, | ||
stepInteraction: PropTypes.bool | ||
stepInteraction: PropTypes.bool, | ||
navDotAriaLabel: PropTypes.string | ||
})), | ||
@@ -1195,3 +1196,4 @@ update: PropTypes.string, | ||
"data-tour-elem": "dot", | ||
className: cn(CN.dot.base, _defineProperty({}, CN.dot.active, current === i)) | ||
className: cn(CN.dot.base, _defineProperty({}, CN.dot.active, current === i)), | ||
"aria-label": s.navDotAriaLabel | ||
}); | ||
@@ -1198,0 +1200,0 @@ })), showButtons && React__default.createElement(Arrow$1, { |
@@ -68,3 +68,3 @@ import 'focus-outline-manager'; | ||
if (i % 2) { | ||
ownKeys(source, true).forEach(function (key) { | ||
ownKeys(Object(source), true).forEach(function (key) { | ||
_defineProperty(target, key, source[key]); | ||
@@ -75,3 +75,3 @@ }); | ||
} else { | ||
ownKeys(source).forEach(function (key) { | ||
ownKeys(Object(source)).forEach(function (key) { | ||
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); | ||
@@ -667,3 +667,4 @@ }); | ||
style: PropTypes.object, | ||
stepInteraction: PropTypes.bool | ||
stepInteraction: PropTypes.bool, | ||
navDotAriaLabel: PropTypes.string | ||
})), | ||
@@ -1187,3 +1188,4 @@ update: PropTypes.string, | ||
"data-tour-elem": "dot", | ||
className: cn(CN.dot.base, _defineProperty({}, CN.dot.active, current === i)) | ||
className: cn(CN.dot.base, _defineProperty({}, CN.dot.active, current === i)), | ||
"aria-label": s.navDotAriaLabel | ||
}); | ||
@@ -1190,0 +1192,0 @@ })), showButtons && React.createElement(Arrow$1, { |
{ | ||
"name": "reactour", | ||
"version": "1.15.5", | ||
"version": "1.16.0", | ||
"description": "Tourist Guide into your React Components", | ||
@@ -5,0 +5,0 @@ "main": "dist/reactour.cjs.js", |
@@ -338,2 +338,3 @@ <p align="center"> | ||
'stepInteraction': PropTypes.bool, | ||
'navDotAriaLabel': PropTypes.string, | ||
})), | ||
@@ -370,2 +371,4 @@ ``` | ||
stepInteraction: false, | ||
// Text read to screen reader software for this step's navigation dot | ||
navDotAriaLabel: 'Go to step 4', | ||
}, | ||
@@ -372,0 +375,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
93597
2218
417