Skip to content

Commit 98a00ec

Browse files
author
ben
committed
v0.1.9
1 parent 9a9df57 commit 98a00ec

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
# react-grid-gallery
22

3+
### v0.1.9 / 2016-08-19
4+
5+
* Removed darkening effect on thumbnail hover when `enableImageSelection: false`
6+
37
### v0.1.8 / 2016-08-17
48

59
* Handful of code samples and demos added to project page.
610
* PropType bugs fixed on Gallery and Image
711

8-
912
### v0.1.7 / 2016-08-16
1013

1114
* Gulp task ensenble to clean/build/deploy lib, web (gh-pages) and hacked up cljs js lib
@@ -17,7 +20,6 @@
1720
* Bumped [react-images](https://github.com/jossmac/react-images/) to v0.4.11
1821
* Enabled preloadNextImage option from [react-images](https://github.com/jossmac/react-images/)
1922

20-
2123
### v0.1.5 / 2016-08-13
2224

2325
* Removed commentary and dead code

lib/Image.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ var Image = function (_Component) {
139139
position: "absolute",
140140
height: "100%",
141141
width: "100%",
142-
background: this.state.hover && !this.props.isSelected ? 'linear-gradient(to bottom,rgba(0,0,0,0.26),transparent 56px,transparent)' : 'none' } }),
142+
background: this.state.hover && !this.props.isSelected && this.props.enableImageSelection ? 'linear-gradient(to bottom,rgba(0,0,0,0.26),transparent 56px,transparent)' : 'none' } }),
143143
_react2.default.createElement(
144144
'div',
145145
{ className: 'tile-viewport',

lib/react-grid-gallery.bundle.min.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25123,7 +25123,7 @@ var Image = function (_Component) {
2512325123
position: "absolute",
2512425124
height: "100%",
2512525125
width: "100%",
25126-
background: this.state.hover && !this.props.isSelected ? 'linear-gradient(to bottom,rgba(0,0,0,0.26),transparent 56px,transparent)' : 'none' } }),
25126+
background: this.state.hover && !this.props.isSelected && this.props.enableImageSelection ? 'linear-gradient(to bottom,rgba(0,0,0,0.26),transparent 56px,transparent)' : 'none' } }),
2512725127
_react2.default.createElement(
2512825128
'div',
2512925129
{ className: 'tile-viewport',

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-grid-gallery",
3-
"version": "0.1.8",
3+
"version": "0.1.9",
44
"description": "Justified grid gallery component for React.js.",
55
"main": "lib/Gallery.js",
66
"dependencies": {
@@ -46,5 +46,5 @@
4646
"bugs": {
4747
"url": "https://github.com/benhowell/react-grid-gallery/issues"
4848
},
49-
"homepage": "https://github.com/benhowell/react-grid-gallery#readme"
49+
"homepage": "https://benhowell.github.io/react-grid-gallery/"
5050
}

0 commit comments

Comments
 (0)