@wakastellar/ui 0.4.0 → 0.5.0

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.
@@ -35,8 +35,10 @@ export interface WakaImageProps {
35
35
  className?: string;
36
36
  /** Classes CSS pour le conteneur */
37
37
  containerClassName?: string;
38
+ /** Ratio d'aspect (ex: "16/9", "4/3", "1/1") */
39
+ aspectRatio?: string;
38
40
  }
39
- export declare function WakaImage({ src, alt, width, height, placeholder, placeholderColor, lazy, zoomable, maxZoom, objectFit, objectPosition, rounded, showLoader, onLoad, onError, onZoomChange, className, containerClassName, }: WakaImageProps): import("react/jsx-runtime").JSX.Element;
41
+ export declare function WakaImage({ src, alt, width, height, placeholder, placeholderColor, lazy, zoomable, maxZoom, objectFit, objectPosition, rounded, showLoader, onLoad, onError, onZoomChange, className, containerClassName, aspectRatio, }: WakaImageProps): import("react/jsx-runtime").JSX.Element;
40
42
  export interface WakaImageGalleryProps {
41
43
  /** Liste des images */
42
44
  images: Array<{