@react-md/media
Advanced tools
Comparing version
@@ -6,2 +6,14 @@ # Change Log | ||
# [5.1.0](https://github.com/mlaursen/react-md/compare/v5.0.0...v5.1.0) (2022-03-18) | ||
### Other Internal Changes | ||
* run lint-scripts --fix for consistent-type-imports ([42d839d](https://github.com/mlaursen/react-md/commit/42d839d359922e0a8ee3775a75162b9755a2c2b6)) | ||
# [5.0.0](https://github.com/mlaursen/react-md/compare/v4.0.3...v5.0.0) (2022-01-31) | ||
@@ -8,0 +20,0 @@ |
@@ -41,4 +41,4 @@ var __assign = (this && this.__assign) || function () { | ||
"full-width": fullWidth, | ||
}), aspectRatio, className) }, { children: children }), void 0)); | ||
}), aspectRatio, className) }, { children: children }))); | ||
}); | ||
//# sourceMappingURL=MediaContainer.js.map |
@@ -33,4 +33,4 @@ var __assign = (this && this.__assign) || function () { | ||
var className = _a.className, children = _a.children, _b = _a.position, position = _b === void 0 ? "bottom" : _b, props = __rest(_a, ["className", "children", "position"]); | ||
return (_jsx("div", __assign({}, props, { ref: ref, className: cn("rmd-media-overlay rmd-media-overlay--".concat(position), className) }, { children: children }), void 0)); | ||
return (_jsx("div", __assign({}, props, { ref: ref, className: cn("rmd-media-overlay rmd-media-overlay--".concat(position), className) }, { children: children }))); | ||
}); | ||
//# sourceMappingURL=MediaOverlay.js.map |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
@@ -1,2 +0,2 @@ | ||
import { HTMLAttributes } from "react"; | ||
import type { HTMLAttributes } from "react"; | ||
export interface MediaContainerProps extends HTMLAttributes<HTMLDivElement> { | ||
@@ -3,0 +3,0 @@ /** |
@@ -47,4 +47,4 @@ "use strict"; | ||
"full-width": fullWidth, | ||
}), aspectRatio, className) }, { children: children }), void 0)); | ||
}), aspectRatio, className) }, { children: children }))); | ||
}); | ||
//# sourceMappingURL=MediaContainer.js.map |
@@ -1,2 +0,2 @@ | ||
import { HTMLAttributes } from "react"; | ||
import type { HTMLAttributes } from "react"; | ||
/** | ||
@@ -3,0 +3,0 @@ * The overlay positions relative to the `MediaContainer` component. Most of |
@@ -39,4 +39,4 @@ "use strict"; | ||
var className = _a.className, children = _a.children, _b = _a.position, position = _b === void 0 ? "bottom" : _b, props = __rest(_a, ["className", "children", "position"]); | ||
return ((0, jsx_runtime_1.jsx)("div", __assign({}, props, { ref: ref, className: (0, classnames_1.default)("rmd-media-overlay rmd-media-overlay--".concat(position), className) }, { children: children }), void 0)); | ||
return ((0, jsx_runtime_1.jsx)("div", __assign({}, props, { ref: ref, className: (0, classnames_1.default)("rmd-media-overlay rmd-media-overlay--".concat(position), className) }, { children: children }))); | ||
}); | ||
//# sourceMappingURL=MediaOverlay.js.map |
{ | ||
"name": "@react-md/media", | ||
"version": "5.0.0", | ||
"version": "5.1.0", | ||
"description": "This package is used for including responsive media (images, videos, etc) within your app.", | ||
@@ -34,4 +34,4 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@react-md/theme": "^5.0.0", | ||
"@react-md/utils": "^5.0.0", | ||
"@react-md/theme": "^5.1.0", | ||
"@react-md/utils": "^5.1.0", | ||
"classnames": "^2.3.1" | ||
@@ -58,3 +58,3 @@ }, | ||
}, | ||
"gitHead": "a67e871627db20ca8ee4b672f6e99f2f7f438c96" | ||
"gitHead": "d2446029706ae96aada0131f93ed7c1adcc14d70" | ||
} |
@@ -1,2 +0,2 @@ | ||
import { HTMLAttributes } from "react"; | ||
import type { HTMLAttributes } from "react"; | ||
export interface MediaContainerProps extends HTMLAttributes<HTMLDivElement> { | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { HTMLAttributes } from "react"; | ||
import type { HTMLAttributes } from "react"; | ||
/** | ||
@@ -3,0 +3,0 @@ * The overlay positions relative to the `MediaContainer` component. Most of |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
53195
0.93%490
1.24%Updated
Updated