react-joyride
Advanced tools
Comparing version
@@ -300,1 +300,2 @@ import * as react_jsx_runtime from 'react/jsx-runtime'; | ||
export { ACTIONS, Actions, AnyObject, BaseProps, BeaconProps, BeaconRenderProps, CallBackProps, Callback, EVENTS, Events, LIFECYCLE, Lifecycle, Locale, OverlayProps, Placement, Props, STATUS, ScopeOptions, State, Status, Step, StepMerged, StepProps, StoreHelpers, StoreOptions, Styles, StylesOptions, TooltipProps, TooltipRenderProps, Joyride as default }; | ||
export = Joyride |
@@ -288,3 +288,3 @@ "use strict"; | ||
function hideBeacon(step) { | ||
return step.disableBeacon ?? step.placement === "center"; | ||
return step.disableBeacon || step.placement === "center"; | ||
} | ||
@@ -2068,2 +2068,8 @@ function isLegacy() { | ||
}); | ||
//# sourceMappingURL=index.js.map | ||
//# sourceMappingURL=index.js.map | ||
// fix-cjs-exports | ||
if (module.exports.default) { | ||
Object.assign(module.exports.default, module.exports); | ||
module.exports = module.exports.default; | ||
delete module.exports.default; | ||
} |
{ | ||
"name": "react-joyride", | ||
"version": "2.6.0-0", | ||
"version": "2.6.0-1", | ||
"description": "Create guided tours for your apps", | ||
@@ -75,2 +75,3 @@ "author": "Gil Barbara <gilbarbara@gmail.com>", | ||
"del-cli": "^5.1.0", | ||
"fix-tsup-cjs": "^1.2.0", | ||
"husky": "^8.0.3", | ||
@@ -94,3 +95,3 @@ "is-ci-cli": "^2.2.0", | ||
"scripts": { | ||
"build": " npm run clean && tsup", | ||
"build": " npm run clean && tsup && fix-tsup-cjs", | ||
"watch": "tsup --watch", | ||
@@ -107,3 +108,3 @@ "clean": "del dist/*", | ||
"format": "prettier \"**/*.{js,jsx,ts,tsx}\" --write", | ||
"validate": "npm run lint && npm run typecheck && npm run test:coverage && npm run build && npm run size", | ||
"validate": "npm run lint && npm run typecheck && npm run test:coverage && npm run e2e && npm run build && npm run size", | ||
"size": "size-limit", | ||
@@ -110,0 +111,0 @@ "prepublishOnly": "npm run validate" |
@@ -130,3 +130,3 @@ import { isValidElement, ReactNode } from 'react'; | ||
export function hideBeacon(step: Step): boolean { | ||
return step.disableBeacon ?? step.placement === 'center'; | ||
return step.disableBeacon || step.placement === 'center'; | ||
} | ||
@@ -133,0 +133,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
437850
0.06%6833
0.1%0
-100%39
2.63%