react-spring-carousel 3.0.0-beta043 → 3.0.0-beta044

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.
@@ -42,7 +42,6 @@ export declare type SpringCarouselWithFixedItems = {
42
42
  slideType?: SlideType[0];
43
43
  itemsPerSlide?: number;
44
44
  startEndGutter?: number;
45
- initialStartingPosition?: 'start' | 'center' | 'end';
46
45
  initialActiveItem?: number;
47
46
  animateWhenActiveItemChange?: boolean;
48
47
  };
@@ -50,15 +49,16 @@ export declare type SpringCarouselWithNoFixedItems = {
50
49
  slideType?: SlideType[1];
51
50
  itemsPerSlide?: never;
52
51
  startEndGutter?: never;
53
- initialStartingPosition?: never;
54
52
  initialActiveItem?: never;
55
53
  animateWhenActiveItemChange?: never;
56
54
  };
57
55
  export declare type SpringCarouselWithLoop = {
58
- withLoop?: true;
56
+ withLoop: true;
57
+ initialStartingPosition: 'start' | 'center' | 'end';
59
58
  };
60
59
  export declare type SpringCarouselWithNoLoop = {
61
- withLoop?: false;
60
+ withLoop?: false | undefined;
61
+ initialStartingPosition?: never;
62
62
  };
63
63
  export declare type SpringCarouselFreeScroll = {
64
64
  freeScroll: true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-spring-carousel",
3
- "version": "3.0.0-beta043",
3
+ "version": "3.0.0-beta044",
4
4
  "description": "A new <Carousel /> experience for the web",
5
5
  "homepage": "https://react-spring-carousel.emilianobucci.com",
6
6
  "repository": "https://github.com/Emiliano-Bucci/react-spring-carousel",