@janbox/storefront-ui 4.0.5 → 4.0.7
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.
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect, Suspense, lazy } from "react";
|
|
3
3
|
import { useMergeRefs } from "@floating-ui/react";
|
|
4
|
-
import
|
|
4
|
+
import AutoplayPlugin from "embla-carousel-autoplay";
|
|
5
5
|
import useEmblaCarousel from "embla-carousel-react";
|
|
6
|
-
import
|
|
6
|
+
import WheelGesturesPlugin from "embla-carousel-wheel-gestures";
|
|
7
7
|
import { isNumber } from "lodash-es";
|
|
8
8
|
import { getSwiperProps } from "./helpers.js";
|
|
9
9
|
import { Primitive } from "../../primitive/primitive.js";
|
|
@@ -23,7 +23,7 @@ const Swiper = ({ children, onApi, ref, ..._props }) => {
|
|
|
23
23
|
...options,
|
|
24
24
|
slides: "[data-swiper-slide]"
|
|
25
25
|
},
|
|
26
|
-
[
|
|
26
|
+
[AutoplayPlugin(autoplayOptions), WheelGesturesPlugin()]
|
|
27
27
|
);
|
|
28
28
|
useEffect(() => {
|
|
29
29
|
emblaApi && (onApi == null ? void 0 : onApi(emblaApi));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@janbox/storefront-ui",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.7",
|
|
4
4
|
"description": "Storefront UI component library for Janbox",
|
|
5
5
|
"author": "Janbox",
|
|
6
6
|
"keywords": [
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"react-router": ">=7.0.0"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@emotion/cache": "
|
|
62
|
-
"@emotion/react": "
|
|
61
|
+
"@emotion/cache": "11.14.0",
|
|
62
|
+
"@emotion/react": "11.14.0",
|
|
63
63
|
"@floating-ui/react": "^0.27.13",
|
|
64
64
|
"@floating-ui/react-dom": "^2.1.8",
|
|
65
65
|
"@tanstack/react-virtual": "^3.10.9",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"react-error-boundary": "^6.1.2",
|
|
81
81
|
"react-player": "^3.3.3",
|
|
82
82
|
"react-zoom-pan-pinch": "^3.7.0",
|
|
83
|
-
"stylis": "
|
|
83
|
+
"stylis": "4.0.13"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
86
|
"@eslint/js": "^9.24.0",
|