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

flip-ya-numbers

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flip-ya-numbers - npm Package Compare versions

Comparing version 1.0.1-beta.3 to 1.0.1

8

lib/flipNumber.js

@@ -161,3 +161,3 @@ 'use strict';

{
style: _extends({}, numberStyle, viewPortSize, {
style: _extends({}, viewPortSize, {
height: height,

@@ -175,3 +175,3 @@ lineHeight: height + 'px',

transform: 'rotateX(' + rotateDegreePerNumber * i + 'deg) translateZ(' + translateZ + 'px)'
}),
}, numberStyle),
key: '' + rotateDegreePerNumber * i

@@ -187,3 +187,3 @@ },

data: length - position,
style: _extends({}, numberStyle, viewPortSize, {
style: _extends({}, viewPortSize, {
height: height,

@@ -203,3 +203,3 @@ lineHeight: height + 'px',

visibility: isStatic ? 'visible' : 'hidden'
})
}, numberStyle)
},

@@ -206,0 +206,0 @@ activeNumber

{
"name": "flip-ya-numbers",
"version": "1.0.1-beta.3",
"version": "1.0.1",
"description": "flip your numbers",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -38,3 +38,4 @@ [![npm version](https://img.shields.io/npm/v/flip-ya-numbers.svg?style=flat-square)](https://www.npmjs.com/package/flip-ya-numbers)

startAnimation
numbersToDisplay"12345"
numbers="12345"
numberStyle={{ color: "black" }}
/>

@@ -50,2 +51,3 @@ </div>;

| `nonNumberStyle` | string | | Css inline style for not number eg , : . |
| `numberStyle` | string | | Css inline style for number |
| `height` | number | ✓ | Individual number height |

@@ -52,0 +54,0 @@ | `width` | number | ✓ | Individual number width |

@@ -141,3 +141,2 @@ // @flow

style={{
...numberStyle,
...viewPortSize,

@@ -156,2 +155,3 @@ height,

transform: `rotateX(${rotateDegreePerNumber * i}deg) translateZ(${translateZ}px)`,
...numberStyle,
}}

@@ -168,3 +168,2 @@ key={`${rotateDegreePerNumber * i}`}

style={{
...numberStyle,
...viewPortSize,

@@ -185,2 +184,3 @@ height,

visibility: isStatic ? 'visible' : 'hidden',
...numberStyle,
}}

@@ -187,0 +187,0 @@ >

@@ -25,3 +25,2 @@ import renderer from 'react-test-renderer';

startAnimation: true,
numberStyle: {},
};

@@ -28,0 +27,0 @@

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