react-placeholder
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -5,2 +5,10 @@ # Change Log | ||
## [v1.0.9](https://github.com/buildo/react-placeholder/tree/v1.0.9) (2017-11-28) | ||
[Full Changelog](https://github.com/buildo/react-placeholder/compare/v1.0.8...v1.0.9) | ||
#### New features: | ||
- install question [#58](https://github.com/buildo/react-placeholder/issues/58) | ||
- Bug with delay when the component is already mounted [#54](https://github.com/buildo/react-placeholder/issues/54) | ||
## [v1.0.8](https://github.com/buildo/react-placeholder/tree/v1.0.8) (2017-10-25) | ||
@@ -7,0 +15,0 @@ [Full Changelog](https://github.com/buildo/react-placeholder/compare/v1.0.7...v1.0.8) |
@@ -1,8 +0,8 @@ | ||
import { ComponentClass, ReactChild, ReactNode, ReactElement } from 'react'; | ||
import { ComponentClass, ReactNode, ReactElement } from 'react'; | ||
interface ReactPlaceholderProps { | ||
// FIXME: children is marked as optional because of https://github.com/Microsoft/TypeScript/issues/8588 | ||
children?: ReactChild, | ||
children?: ReactNode, | ||
ready: boolean, | ||
delay: number, | ||
delay?: number, | ||
firstLaunchOnly?: boolean, | ||
@@ -9,0 +9,0 @@ type?: 'text' | 'media' | 'textRow' | 'rect' | 'round', |
{ | ||
"name": "react-placeholder", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "A React component to easily replicate your page with nice placeholders while the content is loading", | ||
@@ -42,3 +42,3 @@ "main": "lib", | ||
"dependencies": { | ||
"prop-types": "^15.5.8" | ||
"prop-types": "^15.6.0" | ||
}, | ||
@@ -52,11 +52,13 @@ "devDependencies": { | ||
"css-loader": "^0.28.3", | ||
"enzyme": "^2.7.1", | ||
"enzyme": "^3.0.0", | ||
"enzyme-adapter-react-16": "^1.0.2", | ||
"eslint-loader": "^1.7.0", | ||
"extract-text-webpack-plugin": "^1.0.1", | ||
"html-webpack-plugin": "^2.28.0", | ||
"jest": "^19.0.2", | ||
"jest": "^21.2.1", | ||
"node-sass": "4.5.2", | ||
"react": "^15", | ||
"react-addons-test-utils": "^15.4.2", | ||
"react-dom": "^15", | ||
"raf": "^3.4.0", | ||
"react": "^16", | ||
"react-dom": "^16", | ||
"react-test-renderer": "^16.0.0", | ||
"sass-loader": "^4.1.1", | ||
@@ -72,3 +74,8 @@ "scriptoni": "^0.4.4", | ||
"react-dom": "^0.14 || ^15 || ^16" | ||
}, | ||
"jest": { | ||
"setupFiles": [ | ||
"raf/polyfill" | ||
] | ||
} | ||
} |
@@ -80,3 +80,3 @@ # React Placeholder | ||
Note that this delay will __not__ affect the initial render, only subsequent "ready" state changes. Setting the `firsLaunchOnly` prop to `true` will also disable this feature. | ||
Note that this delay will __not__ affect the initial render, only subsequent "ready" state changes. Setting the `firstLaunchOnly` prop to `true` will also disable this feature. | ||
@@ -83,0 +83,0 @@ ### Animation |
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
39813
23
Updatedprop-types@^15.6.0