@codeparticle/react-visible
Advanced tools
Comparing version 1.2.2 to 1.3.1
@@ -5,2 +5,25 @@ # Changelog | ||
### [1.3.1](///compare/v1.3.0...v1.3.1) (2019-11-25) | ||
### Bug Fixes | ||
* **tests:** fix added test cases ([e410e5a](///commit/e410e5a444f61c0f7eb74858236caa09b077521e)) | ||
## [1.3.0](///compare/v1.2.2...v1.3.0) (2019-11-25) | ||
### Features | ||
* **test:** add test cases ([24384be](///commit/24384be934e6e2b4f7bfaab76e87ec422dd3317c)) | ||
### Bug Fixes | ||
* **build:** fix travis.yml file scripts ([8c0c869](///commit/8c0c86935ed5e7a251805512e1d6a777445dc8d2)) | ||
* **deps:** fix install error caused by out of date deps in lockfile ([2c80db0](///commit/2c80db095ffb9f7d75147a398d6a0259a18abdec)) | ||
* **proptypes:** relax proptypes, allow null ([ef7ab06](///commit/ef7ab06ff7bbcfe7f71b9825cd264628a94e81fc)) | ||
* **tests:** fix test script ([8c1f37e](///commit/8c1f37e8d67024edde460dcd5827c25d66fefa1e)) | ||
* **ts-types:** fix typescript index.d.ts file ([3eab4c9](///commit/3eab4c9099d3509a80af0d18bbe17b3ea9e1ff78)) | ||
### [1.2.2](///compare/v1.2.1...v1.2.2) (2019-06-06) | ||
@@ -7,0 +30,0 @@ |
@@ -26,7 +26,7 @@ import PropTypes from 'prop-types'; | ||
/* any amount of elements can be supplied as children */ | ||
children: PropTypes.node.isRequired, | ||
children: PropTypes.node, | ||
/* If you're using a fallback component, it should be a single JSX element. */ | ||
fallback: PropTypes.element, | ||
/* when is a condition that will be cast to boolean. The prop type is set to 'any' for null / existential checks as well. */ | ||
when: PropTypes.any.isRequired | ||
/* when is a condition that will be cast to boolean */ | ||
when: PropTypes.any | ||
}; | ||
@@ -33,0 +33,0 @@ |
@@ -32,7 +32,7 @@ 'use strict'; | ||
/* any amount of elements can be supplied as children */ | ||
children: PropTypes.node.isRequired, | ||
children: PropTypes.node, | ||
/* If you're using a fallback component, it should be a single JSX element. */ | ||
fallback: PropTypes.element, | ||
/* when is a condition that will be cast to boolean. The prop type is set to 'any' for null / existential checks as well. */ | ||
when: PropTypes.any.isRequired | ||
/* when is a condition that will be cast to boolean */ | ||
when: PropTypes.any | ||
}; | ||
@@ -39,0 +39,0 @@ |
{ | ||
"name": "@codeparticle/react-visible", | ||
"version": "1.2.2", | ||
"version": "1.3.1", | ||
"description": "A simple component to toggle visiblity and provide an optional fallback.", | ||
@@ -17,3 +17,3 @@ "author": "", | ||
"scripts": { | ||
"test": "cross-env CI=1 react-scripts test --env=jsdom", | ||
"test": "cross-env CI=1 SKIP_PREFLIGHT_CHECK=true react-scripts test --env=jsdom", | ||
"test:watch": "react-scripts test --env=jsdom", | ||
@@ -20,0 +20,0 @@ "build": "rollup -c", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
11298