material-ui-image
Advanced tools
Comparing version 3.0.0-pre.0 to 3.0.0-pre.1
@@ -96,3 +96,5 @@ 'use strict'; | ||
opacity: !this.state.imageLoaded ? 0 : 1, | ||
animation: !this.state.imageLoaded ? '' : 'filter-animation 1s', | ||
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', | ||
@@ -99,0 +101,0 @@ top: 0, |
{ | ||
"name": "material-ui-image", | ||
"version": "3.0.0-pre.0", | ||
"version": "3.0.0-pre.1", | ||
"description": "Material style image with loading animation", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -8,3 +8,3 @@ # Material UI Image | ||
See this component in [action](https://teamwertarbyte.github.io/material-ui-image) | ||
See this component in [action](https://mui.wertarbyte.com/#material-ui-image) | ||
@@ -11,0 +11,0 @@ ## Installation |
@@ -37,3 +37,5 @@ import React, { Component } from 'react' | ||
opacity: !this.state.imageLoaded ? 0 : 1, | ||
animation: !this.state.imageLoaded ? '' : 'filter-animation 1s', | ||
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', | ||
@@ -40,0 +42,0 @@ top: 0, |
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
62949
354