@aic-kits/react 0.14.2 → 0.14.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.
@@ -13,4 +13,4 @@ import { ImageArtProps } from './types';
13
13
  * @param {string} [props.'data-testid'] - Test ID for the container Box.
14
14
  * @returns {React.ReactElement} The rendered ImageArt component.
15
15
  */
16
- export declare const ImageArt: ({ art, width, height, style, "data-testid": testId, ...rest }: ImageArtProps) => React.ReactElement;
16
+ export declare const ImageArt: ({ art, width, height, style, "data-testid": testId, alt, fallback, useSkeleton, ...boxProps }: ImageArtProps) => React.ReactElement;
@@ -78,6 +78,19 @@ export interface ImageArtProps extends BaseArtProps, WidthHeightProps {
78
78
  * Image URL
79
79
  */
80
80
  art: string;
81
+ /**
82
+ * Use skeleton loader. This should be disabled if SEO is a concern.
83
+ * @default true
84
+ */
85
+ useSkeleton?: boolean;
86
+ /**
87
+ * Alternative text. Provide this if SEO is a concern.
88
+ */
89
+ alt?: string;
90
+ /**
91
+ * Fallback text or React node
92
+ */
93
+ fallback?: string | React.ReactNode;
81
94
  }
82
95
  export interface BrandArtProps extends BaseArtProps, WidthHeightProps {
83
96
  /**
@@ -1 +1,2 @@
1
1
  export * from './useMediaQuery';
2
+ export * from './usePrevious';
@@ -0,0 +1,2 @@
1
+ declare function usePrevious<T>(value: T): T | undefined;
2
+ export default usePrevious;