Skip to content

Commit

Permalink
v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Cédric Delpoux committed Nov 14, 2017
1 parent 121ddc5 commit 667e1f2
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 36 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 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

* Add: custom className support
Expand Down
19 changes: 6 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,20 @@
{
"name": "react-responsive-masonry",
"version": "1.3.3",
"version": "1.4.0",
"description": "React responsive masonry component built with css flexbox",
"repository": {
"type": "git",
"url": "git+https://github.com/xuopled/react-responsive-masonry.git"
},
"keywords": [
"react",
"masonry",
"css",
"flexbox",
"responsive"
],
"keywords": ["react", "masonry", "css", "flexbox", "responsive"],
"author": "Cédric Delpoux <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/xuopled/react-responsive-masonry/issues"
},
"homepage": "https://github.com/xuopled/react-responsive-masonry#readme",
"main": "lib/index.js",
"files": [
"lib"
],
"files": ["lib"],
"devDependencies": {
"babel-cli": "^6.24.0",
"babel-eslint": "^7.2.1",
Expand All @@ -35,11 +27,12 @@
"eslint-plugin-react": "^6.10.3",
"npmpub": "^3.1.0",
"prop-types": "^15.5.8",
"react": "^15.5.0"
"react": "^16.0.0"
},
"peerDependencies": {
"prop-types": "^15.5.0",
"react": "^15.5.0 || ^16.0.0"
"react": "^16.0.0",
"react-dom": "^16.0.0"
},
"scripts": {
"clean": "rm -rf lib",
Expand Down
4 changes: 2 additions & 2 deletions src/Masonry.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, {Component} from "react"
import React from "react"
import PropTypes from "prop-types"

const styles = {
Expand All @@ -20,7 +20,7 @@ const styles = {
},
}

class Masonry extends Component {
class Masonry extends React.Component {
getColumns() {
const {children, columnsCount} = this.props
const columns = []
Expand Down
4 changes: 2 additions & 2 deletions src/ResponsiveMasonry.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React, {Component} from "react"
import React from "react"
import PropTypes from "prop-types"

const DEFAULT_COLUMNS_COUNT = 1

class MasonryResponsive extends Component {
class MasonryResponsive extends React.Component {
constructor(props) {
super(props)

Expand Down
31 changes: 12 additions & 19 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -701,10 +701,6 @@ babylon@^6.17.0, babylon@^6.18.0:
version "6.18.0"
resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3"

balanced-match@^0.4.1:
version "0.4.2"
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.4.2.tgz#cb3f3e3c732dc0f01ee70b403f302e61d7709838"

balanced-match@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
Expand All @@ -731,14 +727,7 @@ [email protected]:
dependencies:
hoek "2.x.x"

brace-expansion@^1.0.0:
version "1.1.6"
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.6.tgz#7197d7eaa9b87e648390ea61fc66c84427420df9"
dependencies:
balanced-match "^0.4.1"
concat-map "0.0.1"

brace-expansion@^1.1.7:
brace-expansion@^1.0.0, brace-expansion@^1.1.7:
version "1.1.8"
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.8.tgz#c07b211c7c952ec1f8efd51a77ef0d1d3990a292"
dependencies:
Expand Down Expand Up @@ -1106,8 +1095,8 @@ eslint-module-utils@^2.1.1:
pkg-dir "^1.0.0"

eslint-plugin-import@^2.2.0:
version "2.7.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.7.0.tgz#21de33380b9efb55f5ef6d2e210ec0e07e7fa69f"
version "2.8.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.8.0.tgz#fa1b6ef31fcb3c501c09859c1b86f1fc5b986894"
dependencies:
builtin-modules "^1.1.1"
contains-path "^0.1.0"
Expand Down Expand Up @@ -1411,7 +1400,11 @@ fstream@^1.0.0, fstream@^1.0.10, fstream@^1.0.2:
mkdirp ">=0.5 0"
rimraf "2"

function-bind@^1.0.2, function-bind@^1.1.0:
function-bind@^1.0.2:
version "1.1.1"
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"

function-bind@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.0.tgz#16176714c801798e4e8f2cf7f7529467bb4a5771"

Expand Down Expand Up @@ -1990,13 +1983,13 @@ mime@^1.2.11:
version "1.3.4"
resolved "https://registry.yarnpkg.com/mime/-/mime-1.3.4.tgz#115f9e3b6b3daf2959983cb38f149a2d40eb5d53"

"minimatch@2 || 3", minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.3:
"minimatch@2 || 3", minimatch@^3.0.0, minimatch@^3.0.2:
version "3.0.3"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.3.tgz#2a4e4090b96b2db06a9d7df01055a62a77c9b774"
dependencies:
brace-expansion "^1.0.0"

minimatch@^3.0.4:
minimatch@^3.0.3, minimatch@^3.0.4:
version "3.0.4"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
dependencies:
Expand Down Expand Up @@ -2510,8 +2503,8 @@ resolve@^1.1.6:
path-parse "^1.0.5"

resolve@^1.2.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.4.0.tgz#a75be01c53da25d934a98ebd0e4c4a7312f92a86"
version "1.5.0"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.5.0.tgz#1f09acce796c9a762579f31b2c1cc4c3cddf9f36"
dependencies:
path-parse "^1.0.5"

Expand Down

0 comments on commit 667e1f2

Please sign in to comment.