Comparing version 11.1.15 to 11.2.0
{ | ||
"name": "swiper", | ||
"version": "11.1.15", | ||
"version": "11.2.0", | ||
"description": "Most modern mobile touch slider and framework with hardware accelerated transitions", | ||
@@ -211,3 +211,3 @@ "typings": "swiper.d.ts", | ||
}, | ||
"releaseDate": "November 18, 2024" | ||
"releaseDate": "January 2, 2025" | ||
} |
@@ -45,2 +45,15 @@ // @ts-ignore | ||
scroll: CustomEvent<[swiper: Swiper, event: WheelEvent]>;/** | ||
* Event will be fired on draggable scrollbar drag start | ||
*/ | ||
scrollbardragstart: CustomEvent<[swiper: Swiper, event: MouseEvent | TouchEvent | PointerEvent]>; | ||
/** | ||
* Event will be fired on draggable scrollbar drag move | ||
*/ | ||
scrollbardragmove: CustomEvent<[swiper: Swiper, event: MouseEvent | TouchEvent | PointerEvent]>; | ||
/** | ||
* Event will be fired on draggable scrollbar drag end | ||
*/ | ||
scrollbardragend: CustomEvent<[swiper: Swiper, event: MouseEvent | TouchEvent | PointerEvent]>;/** | ||
* Event will be fired on navigation hide | ||
@@ -79,15 +92,2 @@ */ | ||
paginationshow: CustomEvent<[swiper: Swiper]>;/** | ||
* Event will be fired on draggable scrollbar drag start | ||
*/ | ||
scrollbardragstart: CustomEvent<[swiper: Swiper, event: MouseEvent | TouchEvent | PointerEvent]>; | ||
/** | ||
* Event will be fired on draggable scrollbar drag move | ||
*/ | ||
scrollbardragmove: CustomEvent<[swiper: Swiper, event: MouseEvent | TouchEvent | PointerEvent]>; | ||
/** | ||
* Event will be fired on draggable scrollbar drag end | ||
*/ | ||
scrollbardragend: CustomEvent<[swiper: Swiper, event: MouseEvent | TouchEvent | PointerEvent]>;/** | ||
* Event will be fired on zoom change | ||
@@ -94,0 +94,0 @@ */ |
@@ -75,2 +75,15 @@ import * as React from 'react'; | ||
onScroll?: (swiper: SwiperClass, event: WheelEvent) => void;/** | ||
* Event will be fired on draggable scrollbar drag start | ||
*/ | ||
onScrollbarDragStart?: (swiper: SwiperClass, event: MouseEvent | TouchEvent | PointerEvent) => void; | ||
/** | ||
* Event will be fired on draggable scrollbar drag move | ||
*/ | ||
onScrollbarDragMove?: (swiper: SwiperClass, event: MouseEvent | TouchEvent | PointerEvent) => void; | ||
/** | ||
* Event will be fired on draggable scrollbar drag end | ||
*/ | ||
onScrollbarDragEnd?: (swiper: SwiperClass, event: MouseEvent | TouchEvent | PointerEvent) => void;/** | ||
* Event will be fired on navigation hide | ||
@@ -109,15 +122,2 @@ */ | ||
onPaginationShow?: (swiper: SwiperClass) => void;/** | ||
* Event will be fired on draggable scrollbar drag start | ||
*/ | ||
onScrollbarDragStart?: (swiper: SwiperClass, event: MouseEvent | TouchEvent | PointerEvent) => void; | ||
/** | ||
* Event will be fired on draggable scrollbar drag move | ||
*/ | ||
onScrollbarDragMove?: (swiper: SwiperClass, event: MouseEvent | TouchEvent | PointerEvent) => void; | ||
/** | ||
* Event will be fired on draggable scrollbar drag end | ||
*/ | ||
onScrollbarDragEnd?: (swiper: SwiperClass, event: MouseEvent | TouchEvent | PointerEvent) => void;/** | ||
* Event will be fired on zoom change | ||
@@ -124,0 +124,0 @@ */ |
@@ -482,2 +482,15 @@ import type { | ||
scroll: (swiper: SwiperClass, event: WheelEvent) => void;/** | ||
* Event will be fired on draggable scrollbar drag start | ||
*/ | ||
scrollbarDragStart: (swiper: SwiperClass, event: MouseEvent | TouchEvent | PointerEvent) => void; | ||
/** | ||
* Event will be fired on draggable scrollbar drag move | ||
*/ | ||
scrollbarDragMove: (swiper: SwiperClass, event: MouseEvent | TouchEvent | PointerEvent) => void; | ||
/** | ||
* Event will be fired on draggable scrollbar drag end | ||
*/ | ||
scrollbarDragEnd: (swiper: SwiperClass, event: MouseEvent | TouchEvent | PointerEvent) => void;/** | ||
* Event will be fired on navigation hide | ||
@@ -516,15 +529,2 @@ */ | ||
paginationShow: (swiper: SwiperClass) => void;/** | ||
* Event will be fired on draggable scrollbar drag start | ||
*/ | ||
scrollbarDragStart: (swiper: SwiperClass, event: MouseEvent | TouchEvent | PointerEvent) => void; | ||
/** | ||
* Event will be fired on draggable scrollbar drag move | ||
*/ | ||
scrollbarDragMove: (swiper: SwiperClass, event: MouseEvent | TouchEvent | PointerEvent) => void; | ||
/** | ||
* Event will be fired on draggable scrollbar drag end | ||
*/ | ||
scrollbarDragEnd: (swiper: SwiperClass, event: MouseEvent | TouchEvent | PointerEvent) => void;/** | ||
* Event will be fired on zoom change | ||
@@ -531,0 +531,0 @@ */ |
@@ -67,2 +67,8 @@ import type Swiper from '../swiper-class.d.ts'; | ||
/** | ||
* When set to true, a zoomed in image will automatically pan while moving the mouse over the image | ||
* | ||
* @default false | ||
*/ | ||
panOnMouseMove?: boolean; | ||
/** | ||
* Enable/disable zoom-in by slide's double tap | ||
@@ -69,0 +75,0 @@ * |
@@ -744,3 +744,3 @@ import type { A11yOptions } from './modules/a11y.d.ts'; | ||
*/ | ||
breakpointsBase?: 'window' | 'container'; | ||
breakpointsBase?: 'window' | 'container' | CSSSelector; | ||
@@ -747,0 +747,0 @@ // Observer |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
3381700
50806