material-ui-image
Advanced tools
Comparing version 3.0.0-pre.4 to 3.0.0-pre.5
@@ -96,5 +96,13 @@ 'use strict'; | ||
imageStyle = _props.imageStyle, | ||
disableTransition = _props.disableTransition, | ||
style = _props.style; | ||
var imageTransition = !disableTransition && { | ||
opacity: !this.state.imageLoaded ? 0 : 1, | ||
filterBrightness: !this.state.imageLoaded ? 0 : 100, | ||
filterSaturate: !this.state.imageLoaded ? 20 : 100, | ||
transition: 'filterBrightness 2.5s cubic-bezier(0.4, 0.0, 0.2, 1), filterSaturate 3s cubic-bezier(0.4, 0.0, 0.2, 1), opacity 2s cubic-bezier(0.4, 0.0, 0.2, 1)' | ||
}; | ||
var styles = { | ||
@@ -109,10 +117,6 @@ root: (0, _extends3.default)({ | ||
height: '100%', | ||
opacity: !this.state.imageLoaded ? 0 : 1, | ||
filterBrightness: !this.state.imageLoaded ? 0 : 100, | ||
filterSaturate: !this.state.imageLoaded ? 20 : 20, | ||
transition: 'filterBrightness 2.5s cubic-bezier(0.4, 0.0, 0.2, 1), filterSaturate 3s cubic-bezier(0.4, 0.0, 0.2, 1), opacity 2s cubic-bezier(0.4, 0.0, 0.2, 1)', | ||
position: 'absolute', | ||
top: 0, | ||
left: 0 | ||
}, imageStyle) | ||
}, imageTransition, imageStyle) | ||
}; | ||
@@ -134,2 +138,3 @@ | ||
disableSpinner = _props2.disableSpinner, | ||
disableTransition = _props2.disableTransition, | ||
errorIcon = _props2.errorIcon, | ||
@@ -140,3 +145,3 @@ imageStyle = _props2.imageStyle, | ||
onClick = _props2.onClick, | ||
image = (0, _objectWithoutProperties3.default)(_props2, ['aspectRatio', 'color', 'disableError', 'disableSpinner', 'errorIcon', 'imageStyle', 'style', 'loading', 'onClick']); | ||
image = (0, _objectWithoutProperties3.default)(_props2, ['aspectRatio', 'color', 'disableError', 'disableSpinner', 'disableTransition', 'errorIcon', 'imageStyle', 'style', 'loading', 'onClick']); | ||
@@ -188,2 +193,3 @@ | ||
disableSpinner: false, | ||
disableTransition: false, | ||
errorIcon: _react2.default.createElement(_BrokenImage2.default, { color: _grey2.default[300], style: { width: 48, height: 48 } }), | ||
@@ -204,2 +210,4 @@ loading: _react2.default.createElement(_Progress.CircularProgress, { size: 48 }) | ||
disableSpinner: _propTypes2.default.bool, | ||
/** Disables the transition after load if set to true. */ | ||
disableTransition: _propTypes2.default.bool, | ||
/** Override the error icon. */ | ||
@@ -206,0 +214,0 @@ errorIcon: _propTypes2.default.node, |
{ | ||
"name": "material-ui-image", | ||
"version": "3.0.0-pre.4", | ||
"version": "3.0.0-pre.5", | ||
"description": "Material style image with loading animation", | ||
@@ -45,8 +45,8 @@ "main": "lib/index.js", | ||
"babel-preset-stage-0": "^6.16.0", | ||
"gh-pages": "^1.0.0", | ||
"material-ui": "^1.0.0-beta.17", | ||
"gh-pages": "^1.1.0", | ||
"material-ui": "^1.0.0-beta.26", | ||
"material-ui-icons": "^1.0.0-beta.17", | ||
"react": "^16.0.0", | ||
"react-dom": "^16.0.0", | ||
"react-styleguidist": "^6.0.31" | ||
"react": "^16.2.0", | ||
"react-dom": "^16.2.0", | ||
"react-styleguidist": "^6.1.0" | ||
}, | ||
@@ -53,0 +53,0 @@ "peerDependencies": { |
@@ -48,12 +48,13 @@ # Material UI Image | ||
|----------------|------------|------------------------------------------|-------------------------------- | ||
|src* | `string` | | Specifies the URL of an image. | ||
|aspectRatio | `float` | (1/1) | Specifies the aspect ratio of the image. | ||
|color | `string` | white | Override the background color. | ||
|disableError | `bool` | false | Disables the error icon if set to `true`. | ||
|disableSpinner | `bool` | false | Disables the loading spinner if set to `true`. | ||
|errorIcon | `node` | <BrokenImage /> | Override the error icon. | ||
|imageStyle | `object` | { width: 'inherit', height: 'inherit' } | Override the inline-styles of the image. | ||
|loading | `node` | <CircularProgress size={48} /> | Override the loading component. | ||
|onClick | `func` | | Fired when the user clicks on the image happened. | ||
|style | `object` | | Override the inline-styles of the root element. | ||
|src* | `string` | | Specifies the URL of an image. | ||
|aspectRatio | `float` | (1/1) | Specifies the aspect ratio of the image. | ||
|color | `string` | white | Override the background color. | ||
|disableError | `bool` | false | Disables the error icon if set to `true`. | ||
|disableSpinner | `bool` | false | Disables the loading spinner if set to `true`. | ||
|disableTransition | `bool` | false | Disables the transition if set to `true`. | ||
|errorIcon | `node` | <BrokenImage /> | Override the error icon. | ||
|imageStyle | `object` | { width: 'inherit', height: 'inherit' } | Override the inline-styles of the image. | ||
|loading | `node` | <CircularProgress size={48} /> | Override the loading component. | ||
|onClick | `func` | | Fired when the user clicks on the image happened. | ||
|style | `object` | | Override the inline-styles of the root element. | ||
@@ -60,0 +61,0 @@ \* required property |
@@ -35,5 +35,13 @@ import React, { Component } from 'react' | ||
imageStyle, | ||
disableTransition, | ||
style | ||
} = this.props | ||
const imageTransition = !disableTransition && { | ||
opacity: !this.state.imageLoaded ? 0 : 1, | ||
filterBrightness: !this.state.imageLoaded ? 0 : 100, | ||
filterSaturate: !this.state.imageLoaded ? 20 : 100, | ||
transition: 'filterBrightness 2.5s cubic-bezier(0.4, 0.0, 0.2, 1), filterSaturate 3s cubic-bezier(0.4, 0.0, 0.2, 1), opacity 2s cubic-bezier(0.4, 0.0, 0.2, 1)', | ||
} | ||
const styles = { | ||
@@ -49,9 +57,6 @@ root: { | ||
height: '100%', | ||
opacity: !this.state.imageLoaded ? 0 : 1, | ||
filterBrightness: !this.state.imageLoaded ? 0 : 100, | ||
filterSaturate: !this.state.imageLoaded ? 20 : 20, | ||
transition: 'filterBrightness 2.5s cubic-bezier(0.4, 0.0, 0.2, 1), filterSaturate 3s cubic-bezier(0.4, 0.0, 0.2, 1), opacity 2s cubic-bezier(0.4, 0.0, 0.2, 1)', | ||
position: 'absolute', | ||
top: 0, | ||
left: 0, | ||
...imageTransition, | ||
...imageStyle | ||
@@ -72,2 +77,3 @@ } | ||
disableSpinner, | ||
disableTransition, | ||
errorIcon, | ||
@@ -115,2 +121,3 @@ imageStyle, | ||
disableSpinner: false, | ||
disableTransition: false, | ||
errorIcon: <BrokenImage color={grey[300]} style={{width: 48, height: 48}} />, | ||
@@ -131,2 +138,4 @@ loading: <CircularProgress size={48} /> | ||
disableSpinner: PropTypes.bool, | ||
/** Disables the transition after load if set to true. */ | ||
disableTransition: PropTypes.bool, | ||
/** Override the error icon. */ | ||
@@ -133,0 +142,0 @@ errorIcon: PropTypes.node, |
@@ -10,5 +10,7 @@ Normal: | ||
<Image | ||
src={state.foo ? "http://lorempixel.com/1600/900/people/" : "http://lorempixel.com/1600/900/nature/"} | ||
src={state.foo ? "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxAOEBAPEA8SDQ0PEA8NDQ0NExIPDQ0PFREWFhURExUYHCggGBsmGxUVJTEtJTUrLi4uIyAzRDM4OCotOjcBCgoKDg0OGg8QGysZFR0tLS0tLy0rKzctLystKy0rKy0vMTAtKy0tKys0NzcvMy83Ky03KywtNy4rMTMrKy0tLf/AABEIAMYA/wMBEQACEQEDEQH/xAAcAAADAQEBAQEBAAAAAAAAAAAAAgMBBAYFBwj/xABNEAABAgICDAgKBwcEAwAAAAABAAIDBAURBgcSITFRUpGSodHSE0FDU2GTouEiQkRUYmOBo9PiFBUWMjNxsSM0ZHN0ssE1RZSzCFXw/8QAGwEBAQEBAAMBAAAAAAAAAAAAAAIBAwQFBgf/xAA7EQACAAIGCAQEBQQCAwAAAAAAAQIDBBEUUVKhBRITFWGR0eEGMVNiFiGisTRBY3GSMnKB4jPBIiPx/9oADAMBAAIRAxEAPwD8NQAgBACAEAIAQAgBACAEAIAQAgBACAEAIAQAgBACAEAIAQAgBACAEAIAQAgBACAEBeUl+Ec1tdzW9jKwLoi6dVXVWK0BWWkbuK+ESRcXd04NuiA3CS2saqygONAdMeWa2HCeHhzohfdMBBMO5uaq79d+tAbRss2NEbDc8QwQ43R6Gkge2pAczhUSMNRqrF8FAdceUa2DCih9boheHMveBUSB+iAyjpURnOaXcGGsL7o1VCojD0VEoBJ+AIURzGm6AuTWaq77QSDUSKwTUgOoUc3guEuj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EBdtt2h6vx4vUxNiAu23DQ1f48XqImxAWZbloUcvF6iJsQH4zbgsklqVpBszKOc+CJaFCJe0sN217yRUehwQHh0AIAQAgBACA0ONRHEcKAxACAEAIAQAgBAWlobXE3TrioVg3r9/Aojia8lWeTRpUuY2pkWqVfKtqJDwcQ8G+ahe+90/8A15Spj/Nffod46HLSbhjru/p+b+Xu45ftWGVZxRQL4ABqvgkX/wAvCGvEs2kVxrokl+UxL5/nxq+f7fNV/s7g+is51pFYHECRerOHEf1TaRYRY5PntU1WuHy+Vb8/yT5pr8hhJNqr4QVAVmqqoHFXXhTauuqopUCBw620VVXDzu8183+WdQjpZoqqig1uAOAAAi+cK1RxXHKKiylVVMTraT8vL835/l/gYS0OoftL5bWMGHERXhqI1rNeK4tUWQ0v/Z82q/y87n8/Oqr8/Ov5mfRmXhwgvtBrvVAl2z29C3XiuMssmtLaL5qv8vOv/pfPzr4fkH0Vg5QHCahVXUDf48SzaRXG2SSlXtE/2q/Lz/Pzq8unzORdj1wIAQAgBACAEAIAQAgBACAEAIAQAgBACAEAIAQAgBACAEAIAQAgBACAEAIAQAgBACAEAIAQAgBACAEAID//2Q==" : "https://i.ytimg.com/vi/yaqe1qesQ8c/maxresdefault.jpg"} | ||
onClick={() => console.log('onClick')} | ||
aspectRatio={(16/9)} | ||
disableSpinner | ||
disableTransition | ||
/> | ||
@@ -15,0 +17,0 @@ <Button raised onClick={() => setState({foo: !state.foo})}> |
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
1087720
22
65
397