@moontra/moonui-pro 2.33.27 → 2.33.28

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.mjs CHANGED
@@ -16743,11 +16743,13 @@ var ParticleImage = React68__default.forwardRef(
16743
16743
  src,
16744
16744
  alt,
16745
16745
  className: cn(
16746
- "w-full h-full object-cover transition-opacity duration-300",
16746
+ "absolute inset-0 w-full h-full object-cover transition-opacity duration-300",
16747
16747
  isAnimating ? "opacity-0" : "opacity-100"
16748
16748
  ),
16749
16749
  onLoad: () => setImageLoaded(true),
16750
- style: { display: "none" }
16750
+ style: {
16751
+ display: imageLoaded && !isAnimating ? "block" : "none"
16752
+ }
16751
16753
  }
16752
16754
  ),
16753
16755
  /* @__PURE__ */ jsx(
@@ -16755,12 +16757,11 @@ var ParticleImage = React68__default.forwardRef(
16755
16757
  {
16756
16758
  ref: canvasRef,
16757
16759
  className: cn(
16758
- "absolute inset-0 w-full h-full",
16760
+ "absolute inset-0 w-full h-full object-cover",
16759
16761
  !isAnimating && imageLoaded ? "opacity-100" : "opacity-0"
16760
16762
  ),
16761
16763
  style: {
16762
- imageRendering: "pixelated",
16763
- display: !imageLoaded ? "none" : "block"
16764
+ display: imageLoaded ? "block" : "none"
16764
16765
  }
16765
16766
  }
16766
16767
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moontra/moonui-pro",
3
- "version": "2.33.27",
3
+ "version": "2.33.28",
4
4
  "description": "Premium React components for MoonUI - Advanced UI library with 50+ pro components including performance, interactive, and gesture components",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",