react-spring-carousel 3.0.0-beta090.34 → 3.0.0-beta090.35
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/dist/index.cjs.js +14 -10
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +772 -757
- package/dist/index.es.js.map +1 -1
- package/dist/types/types/useSpringCarousel.types.d.ts +5 -0
- package/package.json +14 -12
|
@@ -44,6 +44,8 @@ type Fixed = {
|
|
|
44
44
|
itemsPerSlide?: number;
|
|
45
45
|
slideGroupOfItems?: boolean;
|
|
46
46
|
startEndGutter?: number;
|
|
47
|
+
/** For testint purposes */
|
|
48
|
+
__unstable_stretch_tems__?: boolean;
|
|
47
49
|
initialActiveItem?: number;
|
|
48
50
|
/** @deprecated Must be used with slideType: fluid and freeScroll: true */
|
|
49
51
|
enableFreeScrollDrag?: never;
|
|
@@ -92,9 +94,11 @@ export type FluidWithFreeScroll = Common & {
|
|
|
92
94
|
initialActiveItem?: never;
|
|
93
95
|
/** @deprecated Should be used with slideType: fixed and withLoop: true */
|
|
94
96
|
initialStartingPosition?: never;
|
|
97
|
+
__unstable_stretch_tems__?: never;
|
|
95
98
|
};
|
|
96
99
|
export type FluidWithNoFreeScroll = Common & {
|
|
97
100
|
slideType?: (typeof NSlideType)[1];
|
|
101
|
+
__unstable_stretch_tems__?: never;
|
|
98
102
|
withLoop?: boolean;
|
|
99
103
|
freeScroll?: false;
|
|
100
104
|
enableFreeScrollDrag?: never;
|
|
@@ -121,5 +125,6 @@ export type Total = Common & {
|
|
|
121
125
|
initialStartingPosition?: StartingPosition;
|
|
122
126
|
enableFreeScrollDrag?: boolean;
|
|
123
127
|
thumbsSlideAxis?: SlideAxis;
|
|
128
|
+
__unstable_stretch_tems__?: boolean;
|
|
124
129
|
};
|
|
125
130
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-spring-carousel",
|
|
3
|
-
"version": "3.0.0-beta090.
|
|
3
|
+
"version": "3.0.0-beta090.35",
|
|
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",
|
|
@@ -44,15 +44,15 @@
|
|
|
44
44
|
"animated"
|
|
45
45
|
],
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@storybook/addon-essentials": "^7.0
|
|
48
|
-
"@storybook/addon-interactions": "^7.0
|
|
49
|
-
"@storybook/addon-links": "^7.0
|
|
50
|
-
"@storybook/blocks": "^7.0
|
|
51
|
-
"@storybook/manager-api": "^7.0
|
|
52
|
-
"@storybook/react": "^7.0
|
|
53
|
-
"@storybook/react-vite": "^7.0
|
|
54
|
-
"@storybook/testing-library": "^0.
|
|
55
|
-
"@storybook/theming": "^7.0
|
|
47
|
+
"@storybook/addon-essentials": "^7.5.0",
|
|
48
|
+
"@storybook/addon-interactions": "^7.5.0",
|
|
49
|
+
"@storybook/addon-links": "^7.5.0",
|
|
50
|
+
"@storybook/blocks": "^7.5.0",
|
|
51
|
+
"@storybook/manager-api": "^7.5.0",
|
|
52
|
+
"@storybook/react": "^7.5.0",
|
|
53
|
+
"@storybook/react-vite": "^7.5.0",
|
|
54
|
+
"@storybook/testing-library": "^0.2.2",
|
|
55
|
+
"@storybook/theming": "^7.5.0",
|
|
56
56
|
"@types/react": "^18.0.28",
|
|
57
57
|
"@types/react-dom": "^18.0.11",
|
|
58
58
|
"@typescript-eslint/eslint-plugin": "^5.59.0",
|
|
@@ -65,13 +65,15 @@
|
|
|
65
65
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
66
66
|
"eslint-plugin-react-refresh": "^0.3.4",
|
|
67
67
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
68
|
-
"eslint-plugin-storybook": "^0.6.
|
|
68
|
+
"eslint-plugin-storybook": "^0.6.15",
|
|
69
69
|
"husky": "^8.0.3",
|
|
70
70
|
"lint-staged": "^13.2.1",
|
|
71
71
|
"prettier": "^2.8.8",
|
|
72
72
|
"prop-types": "^15.8.1",
|
|
73
|
+
"react": "^18.2.0",
|
|
74
|
+
"react-dom": "^18.2.0",
|
|
73
75
|
"react-hooks": "^1.0.1",
|
|
74
|
-
"storybook": "^7.0
|
|
76
|
+
"storybook": "^7.5.0",
|
|
75
77
|
"typescript": "^5.0.2",
|
|
76
78
|
"vite": "^4.3.0",
|
|
77
79
|
"vite-plugin-dts": "^2.3.0",
|