New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@xzdarcy/react-timeline-editor

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xzdarcy/react-timeline-editor - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

2

dist/components/cursor/cursor.d.ts

@@ -6,3 +6,3 @@ import React, { FC } from 'react';

/** 动画时间轴组件参数 */
export declare type CursorProps = CommonProp & {
export type CursorProps = CommonProp & {
/** 距离左侧滚动距离 */

@@ -9,0 +9,0 @@ scrollLeft: number;

@@ -8,3 +8,3 @@ import { FC } from "react";

}
export declare type DragLineProps = DragLineData & {
export type DragLineProps = DragLineData & {
scrollLeft: number;

@@ -11,0 +11,0 @@ };

@@ -6,3 +6,3 @@ import React, { FC } from 'react';

import './edit_action.less';
export declare type EditActionProps = CommonProp & {
export type EditActionProps = CommonProp & {
row: TimelineRow;

@@ -9,0 +9,0 @@ action: TimelineAction;

@@ -6,3 +6,3 @@ import React from 'react';

import './edit_area.less';
export declare type EditAreaProps = CommonProp & {
export type EditAreaProps = CommonProp & {
/** 距离左侧滚动距离 */

@@ -9,0 +9,0 @@ scrollLeft: number;

@@ -6,3 +6,3 @@ import React, { FC } from 'react';

import './edit_row.less';
export declare type EditRowProps = CommonProp & {
export type EditRowProps = CommonProp & {
areaRef: React.MutableRefObject<HTMLDivElement>;

@@ -9,0 +9,0 @@ rowData?: TimelineRow;

/// <reference types="react" />
declare type EventData = {
type EventData = {
lastLeft: number;

@@ -8,9 +8,9 @@ left: number;

};
export declare type RndDragStartCallback = () => void;
export declare type RndDragCallback = (data: EventData, scrollDelta?: number) => boolean | void;
export declare type RndDragEndCallback = (data: Pick<EventData, 'left' | 'width'>) => void;
export declare type Direction = "left" | "right";
export declare type RndResizeStartCallback = (dir: Direction) => void;
export declare type RndResizeCallback = (dir: Direction, data: EventData) => boolean | void;
export declare type RndResizeEndCallback = (dir: Direction, data: Pick<EventData, 'left' | 'width'>) => void;
export type RndDragStartCallback = () => void;
export type RndDragCallback = (data: EventData, scrollDelta?: number) => boolean | void;
export type RndDragEndCallback = (data: Pick<EventData, 'left' | 'width'>) => void;
export type Direction = "left" | "right";
export type RndResizeStartCallback = (dir: Direction) => void;
export type RndResizeCallback = (dir: Direction, data: EventData) => boolean | void;
export type RndResizeEndCallback = (dir: Direction, data: Pick<EventData, 'left' | 'width'>) => void;
export interface RowRndApi {

@@ -17,0 +17,0 @@ updateWidth: (size: number) => void;

@@ -6,3 +6,3 @@ import { FC } from 'react';

/** 动画时间轴组件参数 */
export declare type TimeAreaProps = CommonProp & {
export type TimeAreaProps = CommonProp & {
/** 左侧滚动距离 */

@@ -9,0 +9,0 @@ scrollLeft: number;

{
"name": "@xzdarcy/react-timeline-editor",
"version": "0.1.6",
"version": "0.1.7",
"author": "xzdarcy",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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