bear-react-carousel
Advanced tools
Comparing version 4.0.28 to 4.0.29-alpha.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
135069
3587
2