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.28 to 4.0.29-alpha.0

3

dist/manager/Dragger/Dragger.d.ts

@@ -17,4 +17,3 @@ import { TEventMap } from './types';

private _eventor;
private _moveTime;
private _moveDistancePx;
private _moveMinDistancePx;
constructor(manager: {

@@ -21,0 +20,0 @@ configurator: Configurator;

@@ -57,3 +57,3 @@ import Configurator from '../Configurator';

private _effectFn;
syncActiveState: (activeActualIndex: number) => void;
syncActiveState: () => void;
animationStart: () => void;

@@ -60,0 +60,0 @@ animationEnd: () => void;

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

import { ITouchStart } from './types';
import { ITouchEnd, ITouchStart } from './types';
import { DragEvent } from '../../interface/DragEvent';

@@ -8,3 +8,3 @@ /**

_startPosition: ITouchStart;
_endPosition: ITouchStart;
_endPosition: ITouchEnd;
_letItGo: boolean | null;

@@ -11,0 +11,0 @@ get startPosition(): ITouchStart;

@@ -12,1 +12,5 @@ export declare enum EDirection {

}
export interface ITouchEnd extends ITouchStart {
moveX: number;
moveY: number;
}

@@ -91,2 +91,3 @@ import { RefObject, CSSProperties } from 'react';

isEnableAutoPlay?: boolean;
movePercentage?: number;
moveEffect?: IMoveEffect;

@@ -93,0 +94,0 @@ effectFn?: (el: HTMLElement, percentage: number) => void;

{
"name": "bear-react-carousel",
"version": "4.0.28",
"version": "4.0.29-alpha.0",
"description": "Most modern mobile touch slider with hardware accelerated transitions for ReactJS",

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

@@ -39,3 +39,3 @@ # Bear React Carousel

- The size of the carousel, the height of the outer container is based, and the item container follows the size of the outer container
- The loop mode uses the cloning method to fill in the blanks at the beginning and end during cycling (If you try to change the order in the loop mode, you will encounter many [issues](https://bear-react-carousel.pages.dev/blogSwiper%20carousel%20loop))
- The loop mode uses the cloning method to fill in the blanks at the beginning and end during cycling (If you try to change the order in the loop mode, you will encounter many [issues](https://bear-react-carousel.pages.dev/blog/Swiper%20carousel%20loop))
- The onClick event inside the SlideItem will not be triggered during sliding, thereby avoiding potential user experience issues

@@ -55,3 +55,3 @@

- Support lazy load image
- Support `NextJS 13` (v4.0.14+)
- Support `NextJS 14` (v14.1.0+)

@@ -58,0 +58,0 @@

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