@qwanyx/carousel 0.1.3 → 0.1.4

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.js CHANGED
@@ -1035,7 +1035,8 @@ var Carousel = (0, import_react4.forwardRef)(
1035
1035
  opacity: transition === "fade" ? index === currentIndex ? 1 : 0 : 1,
1036
1036
  transition: `opacity ${transitionDuration}ms ease-in-out`,
1037
1037
  pointerEvents: index === currentIndex ? "auto" : "none",
1038
- cursor: canEdit ? "pointer" : "default"
1038
+ cursor: canEdit ? "pointer" : "default",
1039
+ zIndex: index === currentIndex ? 1 : 0
1039
1040
  },
1040
1041
  onDoubleClick: () => handleSlideDoubleClick(index),
1041
1042
  children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SlideRenderer, { slide, isActive: index === currentIndex, slideIndex: index })
package/dist/index.mjs CHANGED
@@ -1000,7 +1000,8 @@ var Carousel = forwardRef(
1000
1000
  opacity: transition === "fade" ? index === currentIndex ? 1 : 0 : 1,
1001
1001
  transition: `opacity ${transitionDuration}ms ease-in-out`,
1002
1002
  pointerEvents: index === currentIndex ? "auto" : "none",
1003
- cursor: canEdit ? "pointer" : "default"
1003
+ cursor: canEdit ? "pointer" : "default",
1004
+ zIndex: index === currentIndex ? 1 : 0
1004
1005
  },
1005
1006
  onDoubleClick: () => handleSlideDoubleClick(index),
1006
1007
  children: /* @__PURE__ */ jsx3(SlideRenderer, { slide, isActive: index === currentIndex, slideIndex: index })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qwanyx/carousel",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"