react-shepherd 4.0.1 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Shepherd.es.js +1 -3
- package/dist/Shepherd.es.js.map +1 -1
- package/dist/Shepherd.js +1 -3
- package/dist/Shepherd.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/package.json +18 -19
package/dist/Shepherd.es.js
CHANGED
|
@@ -6108,9 +6108,7 @@ var addSteps = function (steps, tour) {
|
|
|
6108
6108
|
step.buttons = buttons.map(function (button) {
|
|
6109
6109
|
var action = button.action, classes = button.classes, disabled = button.disabled, label = button.label, secondary = button.secondary, text = button.text, type = button.type;
|
|
6110
6110
|
return {
|
|
6111
|
-
|
|
6112
|
-
// bracket notation, so we use the `any` escape hatch
|
|
6113
|
-
action: tour[type] || action,
|
|
6111
|
+
action: type ? tour[type] : action,
|
|
6114
6112
|
classes: classes,
|
|
6115
6113
|
disabled: disabled,
|
|
6116
6114
|
label: label,
|