react-responsive-masonry
Advanced tools
Comparing version 1.3.3 to 1.4.0
@@ -0,1 +1,6 @@ | ||
# 1.4.0 - 2017-11-14 | ||
* Add: img alt for a11y accessibility | ||
* Update: react v16 as a peer dependency | ||
# 1.3.3 - 2017-09-28 | ||
@@ -2,0 +7,0 @@ |
@@ -44,4 +44,4 @@ "use strict"; | ||
var Masonry = function (_Component) { | ||
_inherits(Masonry, _Component); | ||
var Masonry = function (_React$Component) { | ||
_inherits(Masonry, _React$Component); | ||
@@ -113,3 +113,3 @@ function Masonry() { | ||
return Masonry; | ||
}(_react.Component); | ||
}(_react2.default.Component); | ||
@@ -116,0 +116,0 @@ Masonry.propTypes = { |
@@ -27,4 +27,4 @@ "use strict"; | ||
var MasonryResponsive = function (_Component) { | ||
_inherits(MasonryResponsive, _Component); | ||
var MasonryResponsive = function (_React$Component) { | ||
_inherits(MasonryResponsive, _React$Component); | ||
@@ -112,3 +112,3 @@ function MasonryResponsive(props) { | ||
return MasonryResponsive; | ||
}(_react.Component); | ||
}(_react2.default.Component); | ||
@@ -115,0 +115,0 @@ MasonryResponsive.propTypes = { |
{ | ||
"name": "react-responsive-masonry", | ||
"version": "1.3.3", | ||
"version": "1.4.0", | ||
"description": "React responsive masonry component built with css flexbox", | ||
@@ -9,9 +9,3 @@ "repository": { | ||
}, | ||
"keywords": [ | ||
"react", | ||
"masonry", | ||
"css", | ||
"flexbox", | ||
"responsive" | ||
], | ||
"keywords": ["react", "masonry", "css", "flexbox", "responsive"], | ||
"author": "Cédric Delpoux <xuopled@gmail.com>", | ||
@@ -24,5 +18,3 @@ "license": "MIT", | ||
"main": "lib/index.js", | ||
"files": [ | ||
"lib" | ||
], | ||
"files": ["lib"], | ||
"devDependencies": { | ||
@@ -40,7 +32,8 @@ "babel-cli": "^6.24.0", | ||
"prop-types": "^15.5.8", | ||
"react": "^15.5.0" | ||
"react": "^16.0.0" | ||
}, | ||
"peerDependencies": { | ||
"prop-types": "^15.5.0", | ||
"react": "^15.5.0" | ||
"react": "^16.0.0", | ||
"react-dom": "^16.0.0" | ||
}, | ||
@@ -47,0 +40,0 @@ "scripts": { |
@@ -43,3 +43,3 @@ # react-responsive-masonry    | ||
{images.map((image, i) => | ||
<img key={i} src={image} style={{width: "100%", display: "block"}} /> | ||
<img key={i} src={image} style={{width: "100%", display: "block"}} alt="" /> | ||
)} | ||
@@ -46,0 +46,0 @@ </Masonry> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
24614
3