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

@rc-component/tour

Package Overview
Dependencies
Maintainers
4
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.0.0-2 to 1.0.0-4

0

es/hooks/useTarget.d.ts

@@ -0,0 +0,0 @@ import type { TourStepInfo } from '..';

@@ -0,0 +0,0 @@ import Tour from './Tour';

@@ -0,0 +0,0 @@ import React from 'react';

@@ -0,0 +0,0 @@ import type { BuildInPlacements } from 'rc-trigger';

2

es/Tour.d.ts

@@ -19,3 +19,3 @@ import * as React from 'react';

};
className?: string;
rootClassName?: string;
placement?: PlacementType;

@@ -22,0 +22,0 @@ prefixCls?: string;

@@ -7,3 +7,3 @@ import _objectSpread from "@babel/runtime/helpers/objectSpread2";

import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
var _excluded = ["prefixCls", "steps", "defaultCurrent", "current", "onChange", "onClose", "onFinish", "open", "mask", "arrow", "className", "placement", "renderPanel", "gap"];
var _excluded = ["prefixCls", "steps", "defaultCurrent", "current", "onChange", "onClose", "onFinish", "open", "mask", "arrow", "rootClassName", "placement", "renderPanel", "gap"];
import * as React from 'react';

@@ -44,3 +44,3 @@ import { forwardRef } from 'react';

arrow = _props$arrow === void 0 ? true : _props$arrow,
className = props.className,
rootClassName = props.rootClassName,
_props$placement = props.placement,

@@ -130,3 +130,3 @@ placement = _props$placement === void 0 ? 'bottom' : _props$placement,

key: mergedCurrent,
popupClassName: classNames(className, stepClassName),
popupClassName: classNames(rootClassName, stepClassName),
prefixCls: prefixCls,

@@ -140,3 +140,3 @@ popup: getPopupElement,

}, /*#__PURE__*/React.createElement("div", {
className: "".concat(prefixCls, "-target-placeholder"),
className: classNames(rootClassName, "".concat(prefixCls, "-target-placeholder")),
key: mergedCurrent,

@@ -151,3 +151,4 @@ style: _objectSpread(_objectSpread({}, posInfo || CENTER_PLACEHOLDER), {}, {

mask: mergedMask,
open: mergedOpen
open: mergedOpen,
rootClassName: rootClassName
}));

@@ -154,0 +155,0 @@ };

/// <reference types="react" />
import type { TourStepProps } from '.';
export default function DefaultPanel(props: TourStepProps): JSX.Element;

@@ -0,0 +0,0 @@ import type { ReactNode, CSSProperties } from 'react';

@@ -0,0 +0,0 @@ export declare function getMotionName(prefixCls: string, transitionName?: string, animationName?: string): string;

@@ -0,0 +0,0 @@ import type { TourStepInfo } from '..';

@@ -0,0 +0,0 @@ import Tour from './Tour';

@@ -0,0 +0,0 @@ import React from 'react';

@@ -0,0 +0,0 @@ import type { BuildInPlacements } from 'rc-trigger';

@@ -19,3 +19,3 @@ import * as React from 'react';

};
className?: string;
rootClassName?: string;
placement?: PlacementType;

@@ -22,0 +22,0 @@ prefixCls?: string;

@@ -42,3 +42,3 @@ "use strict";

var _excluded = ["prefixCls", "steps", "defaultCurrent", "current", "onChange", "onClose", "onFinish", "open", "mask", "arrow", "className", "placement", "renderPanel", "gap"];
var _excluded = ["prefixCls", "steps", "defaultCurrent", "current", "onChange", "onClose", "onFinish", "open", "mask", "arrow", "rootClassName", "placement", "renderPanel", "gap"];
var CENTER_ALIGN = {

@@ -69,3 +69,3 @@ points: ['cc', 'cc'],

arrow = _props$arrow === void 0 ? true : _props$arrow,
className = props.className,
rootClassName = props.rootClassName,
_props$placement = props.placement,

@@ -155,3 +155,3 @@ placement = _props$placement === void 0 ? 'bottom' : _props$placement,

key: mergedCurrent,
popupClassName: (0, _classnames.default)(className, stepClassName),
popupClassName: (0, _classnames.default)(rootClassName, stepClassName),
prefixCls: prefixCls,

@@ -165,3 +165,3 @@ popup: getPopupElement,

}, /*#__PURE__*/React.createElement("div", {
className: "".concat(prefixCls, "-target-placeholder"),
className: (0, _classnames.default)(rootClassName, "".concat(prefixCls, "-target-placeholder")),
key: mergedCurrent,

@@ -176,3 +176,4 @@ style: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, posInfo || CENTER_PLACEHOLDER), {}, {

mask: mergedMask,
open: mergedOpen
open: mergedOpen,
rootClassName: rootClassName
}));

@@ -179,0 +180,0 @@ };

/// <reference types="react" />
import type { TourStepProps } from '.';
export default function DefaultPanel(props: TourStepProps): JSX.Element;

@@ -0,0 +0,0 @@ import type { ReactNode, CSSProperties } from 'react';

@@ -0,0 +0,0 @@ export declare function getMotionName(prefixCls: string, transitionName?: string, animationName?: string): string;

{
"name": "@rc-component/tour",
"version": "1.0.0-2",
"version": "1.0.0-4",
"description": "React tour Component",

@@ -5,0 +5,0 @@ "keywords": [

@@ -1,2 +0,2 @@

# rc-tour
# @rc-component/tour

@@ -7,4 +7,4 @@ React 18 supported Tour Component.

[npm-image]: http://img.shields.io/npm/v/rc-tour.svg?style=flat-square
[npm-url]: http://npmjs.org/package/rc-tour
[npm-image]: http://img.shields.io/npm/v/@rc-component/tour.svg?style=flat-square
[npm-url]: http://npmjs.org/package/@rc-component/tour
[github-actions-image]: https://github.com/react-component/tour/workflows/CI/badge.svg

@@ -14,4 +14,4 @@ [github-actions-url]: https://github.com/react-component/tour/actions

[codecov-url]: https://codecov.io/gh/react-component/tour/branch/master
[download-image]: https://img.shields.io/npm/dm/rc-tour.svg?style=flat-square
[download-url]: https://npmjs.org/package/rc-tour
[download-image]: https://img.shields.io/npm/dm/@rc-component/tour.svg?style=flat-square
[download-url]: https://npmjs.org/package/@rc-component/tour

@@ -32,3 +32,3 @@ ## Development

[![rc-tour](https://nodei.co/npm/rc-tour.png)](https://npmjs.org/package/rc-tour)
[![@rc-component/tour](https://nodei.co/npm/@rc-component/tour.png)](https://www.npmjs.com/package/@rc-component/tour)

@@ -35,0 +35,0 @@ ## Usage

Sorry, the diff of this file is not supported yet

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