react-card-flip
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -63,3 +63,3 @@ "use strict"; | ||
var styles = { | ||
back: __assign({ WebkitBackfaceVisibility: 'hidden', backfaceVisibility: 'hidden', height: '100%', left: '0', position: isFlipped ? 'relative' : 'absolute', top: '0', transform: flipDirection === 'horizontal' ? backRotateY : backRotateX, transformStyle: 'preserve-3d', transition: flipSpeedFrontToBack + "s", width: '100%' }, back), | ||
back: __assign({ WebkitBackfaceVisibility: 'hidden', backfaceVisibility: 'hidden', height: '100%', left: '0', position: isFlipped ? 'relative' : 'absolute', top: '0', transform: (flipDirection === 'horizontal' ? backRotateY : backRotateX) + 'translateZ(1px)', transformStyle: 'preserve-3d', transition: flipSpeedFrontToBack + "s", width: '100%' }, back), | ||
container: { | ||
@@ -66,0 +66,0 @@ perspective: '1000px', |
{ | ||
"name": "react-card-flip", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "ReactCardFlip", | ||
@@ -53,2 +53,3 @@ "main": "./lib/ReactCardFlip.js", | ||
"@types/react-dom": "^16.9.8", | ||
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.5", | ||
"babel-jest": "^26.1.0", | ||
@@ -58,3 +59,2 @@ "babel-loader": "^8.1.0", | ||
"enzyme": "^3.11.0", | ||
"enzyme-adapter-react-16": "^1.15.2", | ||
"file-loader": "^4.3.0", | ||
@@ -61,0 +61,0 @@ "jest": "^26.1.0", |
@@ -107,2 +107,3 @@ [![Build Status](https://travis-ci.org/AaronCCWong/react-card-flip.svg?branch=master)](https://travis-ci.org/AaronCCWong/react-card-flip) | ||
| -------------------- | ------ | --------------------------------------------------------------------------------------------------------------------------- | ------------ | | ||
| cardStyles | object | `cardStyles.front` styles are applied to the front face component container and `cardStyles.back` styles are applied to the back face component container | undefined | | ||
| cardZIndex | string | z-Index for the flip card. Used to help solve context stack issues while using multiple flip cards. | auto | | ||
@@ -109,0 +110,0 @@ | containerStyle | object | Extra css styling that can be applied to the container. | {} | |
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
15632
139