Comparing version
{ | ||
"name": "swiper", | ||
"version": "11.1.14", | ||
"version": "11.1.15", | ||
"description": "Most modern mobile touch slider and framework with hardware accelerated transitions", | ||
@@ -211,3 +211,3 @@ "typings": "swiper.d.ts", | ||
}, | ||
"releaseDate": "September 12, 2024" | ||
"releaseDate": "November 18, 2024" | ||
} |
@@ -45,15 +45,2 @@ // @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 | ||
@@ -92,2 +79,15 @@ */ | ||
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,15 +75,2 @@ 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 | ||
@@ -122,2 +109,15 @@ */ | ||
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,15 +482,2 @@ 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 | ||
@@ -529,2 +516,15 @@ */ | ||
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 @@ */ |
@@ -15,3 +15,2 @@ import type { SwiperModule } from '../shared.d.ts'; | ||
declare const Keyboard: SwiperModule; | ||
declare const Lazy: SwiperModule; | ||
declare const Mousewheel: SwiperModule; | ||
@@ -42,3 +41,2 @@ declare const Navigation: SwiperModule; | ||
Keyboard, | ||
Lazy, | ||
Mousewheel, | ||
@@ -45,0 +43,0 @@ Navigation, |
@@ -63,2 +63,7 @@ import type { SwiperOptions } from './swiper-options.d.ts'; | ||
/** | ||
* Wrapper HTML element | ||
*/ | ||
slidesEl: HTMLElement; | ||
/** | ||
* Array of slides HTML elements. To get specific slide HTMLElement use `swiper.slides[1]` | ||
@@ -121,2 +126,12 @@ */ | ||
/** | ||
* Slides grid | ||
*/ | ||
slidesGrid: number[]; | ||
/** | ||
* Array of widths for slides | ||
*/ | ||
slidesSizesGrid: number[]; | ||
/** | ||
* `true` if slider on most "left"/"top" position | ||
@@ -123,0 +138,0 @@ */ |
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 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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 3 instances in 1 package
3357779
0.02%50510
0.02%16
-36%