react-responsive-masonry
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -0,1 +1,5 @@ | ||
# 1.2.3 - 2017-06-14 | ||
* Update: handle default columns count | ||
# 1.2.2 - 2017-06-03 | ||
@@ -2,0 +6,0 @@ |
@@ -25,2 +25,4 @@ "use strict"; | ||
var DEFAULT_COLUMNS_COUNT = 1; | ||
var MasonryResponsive = function (_Component) { | ||
@@ -68,3 +70,3 @@ _inherits(MasonryResponsive, _Component); | ||
var breakPoints = this.getSortedBreakPoints(); | ||
var columnsCount = void 0; | ||
var columnsCount = breakPoints.length > 0 ? columnsCountBreakPoints[breakPoints[0]] : DEFAULT_COLUMNS_COUNT; | ||
@@ -71,0 +73,0 @@ breakPoints.forEach(function (breakPoint) { |
{ | ||
"name": "react-responsive-masonry", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "React responsive masonry component built with css flexbox", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -69,3 +69,3 @@ # react-responsive-masonry ![npm](https://img.shields.io/npm/v/react-responsive-masonry.svg) ![license](https://img.shields.io/npm/l/react-responsive-masonry.svg) ![github-issues](https://img.shields.io/github/issues/xuopled/react-responsive-masonry.svg) | ||
* `columnsCount`: Number - injected by ResponsiveMasonry - default 3, | ||
* `gutter`: String - margin surrounding each item (in pixels) - default "0", | ||
* `gutter`: String - margin surrounding each item - default "0" - eg: "10px", | ||
@@ -72,0 +72,0 @@ ### ResponsiveMasonry component |
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
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
22897
212
0