Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-card-flip

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-card-flip - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

2

lib/ReactCardFlip.js

@@ -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. | {} |

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc