flip-ya-numbers
Advanced tools
Comparing version 1.0.1-beta.3 to 1.0.1
@@ -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 @@ |
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
437923
1
59
663
1