Socket
Socket
Sign inDemoInstall

@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.0.1-1 to 1.0.1-2

0

es/hooks/useTarget.d.ts

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

2

es/hooks/useTarget.js

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

import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
import { useState, useMemo } from 'react';

@@ -3,0 +3,0 @@ import useLayoutEffect from "rc-util/es/hooks/useLayoutEffect";

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

@@ -10,3 +10,3 @@ /// <reference types="react" />

animated?: boolean | {
placeholder: true;
placeholder: boolean;
};

@@ -13,0 +13,0 @@ }

@@ -1,3 +0,3 @@

import _extends from "@babel/runtime/helpers/esm/extends";
import _typeof from "@babel/runtime/helpers/esm/typeof";
import _extends from "@babel/runtime/helpers/extends";
import _typeof from "@babel/runtime/helpers/typeof";
import React from 'react';

@@ -4,0 +4,0 @@ import classNames from 'classnames';

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

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

import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
import _objectSpread from "@babel/runtime/helpers/objectSpread2";
var autoAdjustOverflow = {

@@ -3,0 +3,0 @@ adjustX: 1,

@@ -24,3 +24,3 @@ import type { ReactNode } from 'react';

animated?: boolean | {
placeholder: true;
placeholder: boolean;
};

@@ -27,0 +27,0 @@ }

@@ -1,7 +0,7 @@

import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
import _extends from "@babel/runtime/helpers/esm/extends";
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
import _typeof from "@babel/runtime/helpers/esm/typeof";
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import _objectSpread from "@babel/runtime/helpers/objectSpread2";
import _extends from "@babel/runtime/helpers/extends";
import _defineProperty from "@babel/runtime/helpers/defineProperty";
import _typeof from "@babel/runtime/helpers/typeof";
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
var _excluded = ["prefixCls", "steps", "defaultCurrent", "current", "onChange", "onClose", "onFinish", "open", "mask", "arrow", "rootClassName", "placement", "renderPanel", "gap", "animated"];

@@ -8,0 +8,0 @@ import * as React from 'react';

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

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

import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
import * as React from 'react';

@@ -3,0 +3,0 @@ export default function DefaultPanel(props) {

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

export declare function isInViewPort(element: HTMLElement): boolean;

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

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

@@ -10,3 +10,3 @@ /// <reference types="react" />

animated?: boolean | {
placeholder: true;
placeholder: boolean;
};

@@ -13,0 +13,0 @@ }

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

@@ -24,3 +24,3 @@ import type { ReactNode } from 'react';

animated?: boolean | {
placeholder: true;
placeholder: boolean;
};

@@ -27,0 +27,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';

export declare function isInViewPort(element: HTMLElement): boolean;
{
"name": "@rc-component/tour",
"version": "1.0.1-1",
"version": "1.0.1-2",
"description": "React tour Component",

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

@@ -117,3 +117,4 @@ # @rc-component/tour

| mask | `boolean` | `true` | 整体是否启用蒙层 |
| arrow | `boolean` \| `{ pointAtCenter: boolean}` | `true` | 整体是否显示箭头,包含是否指向元素中心的配置 |
| animated | `boolean \| { placeholder: boolean }` | `false` | 是否启用目标遮罩动画 |
| arrow | `boolean \| { pointAtCenter: boolean}` | `true` | 整体是否显示箭头,包含是否指向元素中心的配置 |

@@ -120,0 +121,0 @@ ### TourStep

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