react-placeholder
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -5,2 +5,10 @@ # Change Log | ||
## [v4.0.1](https://github.com/buildo/react-placeholder/tree/v4.0.1) (2020-03-13) | ||
[Full Changelog](https://github.com/buildo/react-placeholder/compare/v4.0.0...v4.0.1) | ||
#### New features: | ||
- TextRow/TextBlock ignores lineSpacing is equal to 0 [#86](https://github.com/buildo/react-placeholder/issues/86) | ||
- Is this package still maintained? [#84](https://github.com/buildo/react-placeholder/issues/84) | ||
## [v4.0.0](https://github.com/buildo/react-placeholder/tree/v4.0.0) (2020-02-29) | ||
@@ -7,0 +15,0 @@ [Full Changelog](https://github.com/buildo/react-placeholder/compare/v3.0.2...v4.0.0) |
@@ -17,3 +17,3 @@ "use strict"; | ||
var TextRow = function (_a) { | ||
var className = _a.className, maxHeight = _a.maxHeight, color = _a.color, lineSpacing = _a.lineSpacing, style = _a.style; | ||
var className = _a.className, maxHeight = _a.maxHeight, color = _a.color, _b = _a.lineSpacing, lineSpacing = _b === void 0 ? '0.7em' : _b, style = _a.style; | ||
var defaultStyles = { | ||
@@ -24,3 +24,3 @@ maxHeight: maxHeight, | ||
backgroundColor: color, | ||
marginTop: lineSpacing || '0.7em' | ||
marginTop: lineSpacing | ||
}; | ||
@@ -27,0 +27,0 @@ return (React.createElement("div", { className: utils_1.joinClassNames('text-row', className), style: __assign(__assign({}, defaultStyles), style) })); |
{ | ||
"name": "react-placeholder", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "A React component to easily replicate your page with nice placeholders while the content is loading", | ||
@@ -5,0 +5,0 @@ "main": "lib", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
28247
0