react-scroll-snap-anime-slider 1.2.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -14,26 +14,28 @@ Works natively on touchable devices
14
14
 
15
15
  ## :star: Features
16
16
 
17
- | Features | Comment | Status |
18
- | ------------------------------------ | :-------------------------------------------------: | :-----------------: |
19
- | **Multiple slides per view** | Can also adjust slides per step | :heavy_check_mark: |
20
- | **Customized DOM structure** | Construct the slider components by yourself | :heavy_check_mark: |
21
- | **Touch scrolling** | Built-in | :heavy_check_mark: |
22
- | **Scroll and snap** | Snap to slide's edge | :heavy_check_mark: |
23
- | **Free scrolling** | | :heavy_check_mark: |
24
- | **Scroll with touch pad** | Built-in | :heavy_check_mark: |
25
- | **Scroll with keyboard < and >** | Built-in | :heavy_check_mark: |
26
- | **Scroll with mouse drag** | Scroll end with inheria effect | :heavy_check_mark: |
27
- | **Scroll with mouse wheel** | | :x: |
28
- | **Navigation Buttons** | Support multiple clicks | :heavy_check_mark: |
29
- | **Dynamic scrollbar** | | :heavy_check_mark: |
30
- | **Dynamic & Customizable dot group** | Can customize using [`renderDots()`](fdf) callback | :heavy_check_mark: |
31
- | **Bounce on boundary** | Works **ONLY** on touchable devices<br/> | :large_blue_circle: |
32
- | **Responsive style** | Built-in | :heavy_check_mark: |
33
- | **Customized Style** | Can use class-name to override basic style | :heavy_check_mark: |
34
- | **Inifinite scrolling** | | :x: |
35
- | **Auto play** | You can implement it easily by using [Slider ref]() | :x: |
36
- | **Vertical scrolling** | Pending | :clock3: |
17
+ | Features | Comment | Status |
18
+ | ------------------------------------ | :---------------------------------------------: | :-----------------: |
19
+ | **Multiple slides per view** | Can adjust multiple slides per step | :heavy_check_mark: |
20
+ | **Customized DOM structure** | Construct the slider components by yourself | :heavy_check_mark: |
21
+ | **Customized slides margin** | Using margin props | :heavy_check_mark: |
22
+ | **Customized slide tray offset** | Using offset props | :heavy_check_mark: |
23
+ | **Touch scrolling** | Built-in | :heavy_check_mark: |
24
+ | **Scroll and snap** | Snap to slide's edge | :heavy_check_mark: |
25
+ | **Free scrolling** | | :heavy_check_mark: |
26
+ | **Scroll with touch pad** | Built-in | :heavy_check_mark: |
27
+ | **Scroll with keyboard < and >** | Built-in | :heavy_check_mark: |
28
+ | **Scroll with mouse drag** | Scroll end with inheria effect | :heavy_check_mark: |
29
+ | **Scroll with mouse wheel** | | :x: |
30
+ | **Navigation Buttons** | Support multiple clicks | :heavy_check_mark: |
31
+ | **Dynamic scrollbar** | | :heavy_check_mark: |
32
+ | **Dynamic & Customizable dot group** | Customize using [`renderDots()`](fdf) callback | :heavy_check_mark: |
33
+ | **Bounce on boundary** | Built-in on touchable devices | :large_blue_circle: |
34
+ | **Responsive style** | Built-in | :heavy_check_mark: |
35
+ | **Customized Style** | Use class-name or style to override basic style | :heavy_check_mark: |
36
+ | **Inifinite scrolling** | | :x: |
37
+ | **Auto play** | Can implement it by using [Slider ref]() | :x: |
38
+ | **Vertical scrolling** | Pending | :clock3: |
37
39
 
38
40
  ## :neutral_face: Motivation
39
41
  The reason to start creating my own JS slider is because I couldn't find a slider that works smoothly on both desktop browser and mobile device. There are a ton of wonderfull sliders out there such as [Swiper](https://swiperjs.com/), [Pure React Carousel](https://express-labs.github.io/pure-react-carousel/) and a lot, but they are not utilizing the native scrolling feature, and so not work natively on iOS browser (the animation not works smoothly).
package/dist/index.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  export { Carousel } from "./lib/Carousel";
2
- export { Slider, } from "./lib/Slider";
3
- export type { IProps as ISliderProps, OnScrollProps } from "./lib/Slider";
2
+ export type { IProps as ICarouselProps } from "./lib/Carousel";
3
+ export type { OnSlideProps, ICarouselContextProps } from "./lib/CarouselContext";
4
+ export { Slider } from "./lib/Slider";
5
+ export type { IProps as ISliderProps } from "./lib/Slider";
4
6
  export { Slide } from "./lib/Slide";
5
7
  export type { IProps as SlideProps } from "./lib/Slide";
6
8
  export { ButtonBack } from "./lib/ButtonBack";