@royaloperahouse/harmonic 0.12.0-e → 0.12.0-f
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/harmonic.cjs.development.js +65 -15
- package/dist/harmonic.cjs.development.js.map +1 -1
- package/dist/harmonic.cjs.production.min.js +1 -1
- package/dist/harmonic.cjs.production.min.js.map +1 -1
- package/dist/harmonic.esm.js +65 -15
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/types/image.d.ts +5 -9
- package/package.json +1 -1
package/dist/types/image.d.ts
CHANGED
|
@@ -38,17 +38,13 @@ export interface IImageAspectRatioWrapperProps {
|
|
|
38
38
|
alt?: string;
|
|
39
39
|
}
|
|
40
40
|
export interface IImageWithCaptionProps {
|
|
41
|
-
/**
|
|
42
|
-
* Aspect ratio of the contained image
|
|
43
|
-
*/
|
|
41
|
+
/** Aspect ratio of the contained image */
|
|
44
42
|
aspectRatio?: AspectRatio;
|
|
45
|
-
/**
|
|
46
|
-
* Image caption or credit
|
|
47
|
-
*/
|
|
43
|
+
/** Image caption or credit */
|
|
48
44
|
caption: string;
|
|
49
|
-
/**
|
|
50
|
-
|
|
51
|
-
|
|
45
|
+
/** Alternative text describing the image content for accessibility purposes. */
|
|
46
|
+
altText?: string;
|
|
47
|
+
/** Image element */
|
|
52
48
|
children: ReactElement<HTMLImageElement>;
|
|
53
49
|
}
|
|
54
50
|
export interface IImageWithCaptionWrapperProps extends StyledProps<{
|