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

bear-react-carousel

Package Overview
Dependencies
Maintainers
1
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bear-react-carousel - npm Package Compare versions

Comparing version 4.0.30 to 5.0.0-alpha.0

6

dist/manager/Elementor/utils.d.ts

@@ -14,6 +14,6 @@ import Configurator from '../Configurator';

* @param movePx
* @param startPosition
* @param slideCurrWidth
* @param elOffsetLeft
* @param elOffsetWidth
*/
export declare function getMovePercentage(movePx: number, startPosition: number, slideCurrWidth: number): number;
export declare function getMovePercentage(movePx: number, elOffsetLeft: number, elOffsetWidth: number): number;
/**

@@ -20,0 +20,0 @@ * 從進度取得第幾個項目

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

import { RefObject, CSSProperties } from 'react';
import { RefObject, CSSProperties, ReactNode } from 'react';
import * as CSS from 'csstype';

@@ -28,3 +28,2 @@ import BearCarousel from './BearCarousel';

isDebug?: boolean;
isSlideItemMemo?: boolean;
isLazy?: boolean;

@@ -60,5 +59,5 @@ renderLazyPreloader?: TRenderLazyPreloader;

key: string | number;
children: JSX.Element;
children: ReactNode;
}
export type TBearSlideItemDataList = IBearSlideItemData[];
export type TBearSlideItemDataList = ReactNode[];
export type heightUnit = 'px' | '%' | 'em' | 'rem' | 'vh';

@@ -65,0 +64,0 @@ export type THeightUnitSize = 'auto' | `${number}${heightUnit}`;

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

import { IBearCarouselProps, TBearSlideItemDataList } from './types';
import { IBearCarouselProps } from './types';
/**

@@ -52,5 +52,4 @@ * 判斷是否為手機裝置

export declare function isPropsDiff(props: IBearCarouselProps, nextProps: IBearCarouselProps, exclude: string[]): boolean;
export declare function isDataKeyDff(data?: TBearSlideItemDataList, nextData?: TBearSlideItemDataList): boolean;
export declare function booleanToDataAttr(isTrue: boolean, returnValue?: number | string | boolean): string | undefined;
export declare function getNextIndexByPercentage(percentage: number, checkMovePercentage: number): number;
export declare function getPrevIndexByPercentage(percentage: number, checkMovePercentage: number): number;
{
"name": "bear-react-carousel",
"version": "4.0.30",
"version": "5.0.0-alpha.0",
"description": "Most modern mobile touch slider with hardware accelerated transitions for ReactJS",

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

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