@amboss/design-system 1.5.15 → 1.5.16

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.
@@ -4,18 +4,18 @@ export declare type MediaItemProps = {
4
4
  title: string;
5
5
  /** Sets the height of the media to equal the width value making a square <br/>
6
6
  */
7
- squareFromWidth?: boolean;
7
+ squareByWidth?: boolean;
8
8
  /** Specify fit of the media background. <br/>
9
9
  * "contain" - the media keeps its aspect ratio, but is resized to fit within the given dimension. <br/>
10
10
  * "cover" - the media keeps its aspect ratio and fills the given dimension. The media will be clipped to fit.
11
11
  */
12
12
  fit: "cover" | "contain";
13
13
  };
14
- export declare function MediaItem({ src, title, squareFromWidth, fit, }: MediaItemProps): React.ReactElement;
14
+ export declare function MediaItem({ src, title, squareByWidth, fit, }: MediaItemProps): React.ReactElement;
15
15
  export declare namespace MediaItem {
16
16
  var defaultProps: {
17
17
  mediaCover: boolean;
18
- squareFromWidth: boolean;
18
+ squareByWidth: boolean;
19
19
  fit: string;
20
20
  };
21
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amboss/design-system",
3
- "version": "1.5.15",
3
+ "version": "1.5.16",
4
4
  "description": "the design system for AMBOSS products",
5
5
  "author": "Bagrat Gobedashvili",
6
6
  "license": "ISC",