Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rc-component/tour

Package Overview
Dependencies
Maintainers
5
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rc-component/tour - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

10

es/Tour.js

@@ -145,3 +145,8 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";

var mergedShowMask = typeof mergedMask === "boolean" ? mergedMask : !!mergedMask;
var mergedMaskStyle = typeof mergedMask === "boolean" ? undefined : mergedMask;
var mergedMaskStyle = typeof mergedMask === "boolean" ? undefined : mergedMask; // when targetElement is not exist, use body as triggerDOMNode
var getTriggerDOMNode = function getTriggerDOMNode(node) {
return node || targetElement || document.body;
};
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Trigger, _extends({}, restProps, {

@@ -158,3 +163,4 @@ popupAlign: popupAlign,

destroyPopupOnHide: true,
zIndex: 1090
zIndex: 1090,
getTriggerDOMNode: getTriggerDOMNode
}), /*#__PURE__*/React.createElement(Portal, {

@@ -161,0 +167,0 @@ open: mergedOpen,

@@ -171,3 +171,8 @@ "use strict";

var mergedShowMask = typeof mergedMask === "boolean" ? mergedMask : !!mergedMask;
var mergedMaskStyle = typeof mergedMask === "boolean" ? undefined : mergedMask;
var mergedMaskStyle = typeof mergedMask === "boolean" ? undefined : mergedMask; // when targetElement is not exist, use body as triggerDOMNode
var getTriggerDOMNode = function getTriggerDOMNode(node) {
return node || targetElement || document.body;
};
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_rcTrigger.default, (0, _extends2.default)({}, restProps, {

@@ -184,3 +189,4 @@ popupAlign: popupAlign,

destroyPopupOnHide: true,
zIndex: 1090
zIndex: 1090,
getTriggerDOMNode: getTriggerDOMNode
}), /*#__PURE__*/React.createElement(_portal.default, {

@@ -187,0 +193,0 @@ open: mergedOpen,

4

package.json
{
"name": "@rc-component/tour",
"version": "1.4.0",
"version": "1.5.0",
"description": "React tour Component",

@@ -55,3 +55,3 @@ "keywords": [

"@umijs/fabric": "^2.5.2",
"dumi": "^2.0.0",
"dumi": "^2.1.2",
"eslint": "^7.18.0",

@@ -58,0 +58,0 @@ "father": "^4.0.0-rc.8",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc