@react-md/avatar
Advanced tools
Comparing version 2.3.1 to 2.4.0
@@ -6,2 +6,15 @@ # Change Log | ||
# [2.4.0](https://github.com/mlaursen/react-md/compare/v2.2.0...v2.4.0) (2020-10-17) | ||
### Features | ||
- **theme:** Better Contrast Colors by Default and dev-utils refactor | ||
([#955](https://github.com/mlaursen/react-md/issues/955)) | ||
([519b128](https://github.com/mlaursen/react-md/commit/519b128522de944d55ff96a1e1125447665ed586)) | ||
# Change Log | ||
All notable changes to this project will be documented in this file. See | ||
[Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
## [2.3.1](https://github.com/mlaursen/react-md/compare/v2.2.0...v2.3.1) (2020-09-15) | ||
@@ -8,0 +21,0 @@ |
@@ -0,1 +1,5 @@ | ||
/** | ||
* This file was generated from @react-md/dev-utils and should not be updated | ||
* manually. | ||
*/ | ||
declare const _default: { | ||
@@ -39,3 +43,2 @@ "rmd-avatar-color": string; | ||
}; | ||
/** this is an auto-generated file from @react-md/dev-utils */ | ||
export default _default; |
"use strict"; | ||
/** | ||
* This file was generated from @react-md/dev-utils and should not be updated | ||
* manually. | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** this is an auto-generated file from @react-md/dev-utils */ | ||
exports.default = { | ||
@@ -5,0 +8,0 @@ "rmd-avatar-color": "#f5f5f5", |
@@ -33,3 +33,3 @@ var __assign = (this && this.__assign) || function () { | ||
*/ | ||
var Avatar = forwardRef(function Avatar(_a, ref) { | ||
export var Avatar = forwardRef(function Avatar(_a, ref) { | ||
var _b; | ||
@@ -62,3 +62,2 @@ var className = _a.className, children = _a.children, src = _a.src, _c = _a.alt, alt = _c === void 0 ? "" : _c, _d = _a.color, color = _d === void 0 ? "" : _d, imgProps = _a.imgProps, referrerPolicy = _a.referrerPolicy, props = __rest(_a, ["className", "children", "src", "alt", "color", "imgProps", "referrerPolicy"]); | ||
} | ||
export default Avatar; | ||
//# sourceMappingURL=Avatar.js.map |
@@ -1,3 +0,2 @@ | ||
export { default as Avatar } from "./Avatar"; | ||
export * from "./Avatar"; | ||
//# sourceMappingURL=index.js.map |
@@ -57,3 +57,3 @@ import React, { HTMLAttributes, ImgHTMLAttributes } from "react"; | ||
*/ | ||
declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLSpanElement>>; | ||
export default Avatar; | ||
export declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLSpanElement>>; | ||
export {}; |
@@ -28,3 +28,3 @@ "use strict"; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
@@ -48,2 +48,3 @@ return result; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Avatar = void 0; | ||
var react_1 = __importStar(require("react")); | ||
@@ -59,3 +60,3 @@ var classnames_1 = __importDefault(require("classnames")); | ||
*/ | ||
var Avatar = react_1.forwardRef(function Avatar(_a, ref) { | ||
exports.Avatar = react_1.forwardRef(function Avatar(_a, ref) { | ||
var _b; | ||
@@ -74,3 +75,3 @@ var className = _a.className, children = _a.children, src = _a.src, _c = _a.alt, alt = _c === void 0 ? "" : _c, _d = _a.color, color = _d === void 0 ? "" : _d, imgProps = _a.imgProps, referrerPolicy = _a.referrerPolicy, props = __rest(_a, ["className", "children", "src", "alt", "color", "imgProps", "referrerPolicy"]); | ||
var PropTypes = require("prop-types"); | ||
Avatar.propTypes = { | ||
exports.Avatar.propTypes = { | ||
alt: PropTypes.string, | ||
@@ -89,3 +90,2 @@ src: PropTypes.string, | ||
} | ||
exports.default = Avatar; | ||
//# sourceMappingURL=Avatar.js.map |
@@ -1,2 +0,1 @@ | ||
export { default as Avatar } from "./Avatar"; | ||
export * from "./Avatar"; |
@@ -10,8 +10,6 @@ "use strict"; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var Avatar_1 = require("./Avatar"); | ||
Object.defineProperty(exports, "Avatar", { enumerable: true, get: function () { return Avatar_1.default; } }); | ||
__exportStar(require("./Avatar"), exports); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@react-md/avatar", | ||
"version": "2.3.1", | ||
"version": "2.4.0", | ||
"description": "This package is used to avatars which are used to symbolize people or objects.", | ||
"scripts": { | ||
"build": "dev-utils build", | ||
"clean": "dev-utils clean" | ||
}, | ||
"main": "./lib/index.js", | ||
@@ -43,5 +39,5 @@ "module": "./es/index.js", | ||
"dependencies": { | ||
"@react-md/icon": "^2.3.1", | ||
"@react-md/theme": "^2.3.1", | ||
"@react-md/utils": "^2.3.1", | ||
"@react-md/icon": "^2.4.0", | ||
"@react-md/theme": "^2.4.0", | ||
"@react-md/utils": "^2.4.0", | ||
"classnames": "^2.2.6" | ||
@@ -62,3 +58,3 @@ }, | ||
}, | ||
"gitHead": "91880f64501b1a0637569be9aeea621db8898e86" | ||
"gitHead": "96fb088b5ae725ce21993aeda131de40119837e0" | ||
} |
@@ -1,2 +0,1 @@ | ||
export { default as Avatar } from "./Avatar"; | ||
export * from "./Avatar"; |
@@ -1,2 +0,6 @@ | ||
/** this is an auto-generated file from @react-md/dev-utils */ | ||
/** | ||
* This file was generated from @react-md/dev-utils and should not be updated | ||
* manually. | ||
*/ | ||
export default { | ||
@@ -3,0 +7,0 @@ "rmd-avatar-color": "#f5f5f5", |
@@ -57,3 +57,3 @@ import React, { HTMLAttributes, ImgHTMLAttributes } from "react"; | ||
*/ | ||
declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLSpanElement>>; | ||
export default Avatar; | ||
export declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLSpanElement>>; | ||
export {}; |
@@ -1,2 +0,1 @@ | ||
export { default as Avatar } from "./Avatar"; | ||
export * from "./Avatar"; |
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
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
67005
630
Updated@react-md/icon@^2.4.0
Updated@react-md/theme@^2.4.0
Updated@react-md/utils@^2.4.0