@underverse-ui/underverse 0.2.72 → 0.2.73

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 CHANGED
@@ -2129,6 +2129,7 @@ function SmartImage({
2129
2129
  src,
2130
2130
  alt,
2131
2131
  className,
2132
+ imageClassName,
2132
2133
  ratioClass,
2133
2134
  roundedClass = "rounded-2xl md:rounded-3xl",
2134
2135
  fill = true,
@@ -2197,7 +2198,8 @@ function SmartImage({
2197
2198
  onError: handleError,
2198
2199
  priority,
2199
2200
  quality,
2200
- style: { objectFit: fit, objectPosition }
2201
+ style: { objectFit: fit, objectPosition },
2202
+ className: cn("transition-all duration-300", imageClassName)
2201
2203
  }
2202
2204
  ) });
2203
2205
  }
@@ -2221,7 +2223,8 @@ function SmartImage({
2221
2223
  onError: handleError,
2222
2224
  priority,
2223
2225
  quality,
2224
- style: { objectFit: fit, objectPosition, width: "100%", height: "100%" }
2226
+ style: { objectFit: fit, objectPosition, width: "100%", height: "100%" },
2227
+ className: cn("transition-all duration-300", imageClassName)
2225
2228
  }
2226
2229
  )
2227
2230
  }