react-animate-height
Advanced tools
Comparing version 3.0.0-beta.5 to 3.0.0
import React, { CSSProperties } from 'react'; | ||
declare type Height = 'auto' | number | `${number}%`; | ||
export declare type Height = 'auto' | number | `${number}%`; | ||
declare type AnimationStateClasses = { | ||
@@ -4,0 +4,0 @@ animating: string; |
import React, { CSSProperties } from 'react'; | ||
declare type Height = 'auto' | number | `${number}%`; | ||
export declare type Height = 'auto' | number | `${number}%`; | ||
declare type AnimationStateClasses = { | ||
@@ -4,0 +4,0 @@ animating: string; |
{ | ||
"name": "react-animate-height", | ||
"version": "3.0.0-beta.5", | ||
"version": "3.0.0", | ||
"description": "Lightweight React component for animating height using CSS transitions.", | ||
@@ -30,3 +30,3 @@ "main": "dist/cjs/index.js", | ||
"build:docs": "esbuild docs/docs.tsx --bundle --tsconfig=tsconfig-demo.json --outdir=docs --minify --sourcemap", | ||
"prepare": "npm run build" | ||
"prepublishOnly": "npm run build" | ||
}, | ||
@@ -37,7 +37,7 @@ "dependencies": { | ||
"peerDependencies": { | ||
"react": ">=15.6.2", | ||
"react-dom": ">=15.6.2" | ||
"react": ">=16.8.0", | ||
"react-dom": ">=16.8.0" | ||
}, | ||
"engines": { | ||
"node": ">= 6.0.0" | ||
"node": ">= 12.0.0" | ||
}, | ||
@@ -56,7 +56,11 @@ "keywords": [ | ||
"@types/react-dom": "^18.0.5", | ||
"esbuild": "^0.14.39", | ||
"esbuild": "^0.14.42", | ||
"react": "^18.1.0", | ||
"react-dom": "^18.1.0", | ||
"typescript": "^4.7.2" | ||
} | ||
}, | ||
"files": [ | ||
"dist/", | ||
"CHANGELOG.md" | ||
] | ||
} |
@@ -16,4 +16,6 @@ # React Animate Height | ||
This is a version 3.x branch, for version 2.x, check [v2 branch](https://github.com/Stanko/react-animate-height/tree/v2) | ||
This is version 3.x branch, rewritten to hooks, which means you'll need React version 16.8 or newer. | ||
For version 2.x, check [v2 branch](https://github.com/Stanko/react-animate-height/tree/v2) | ||
#### Breaking changes: | ||
@@ -20,0 +22,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
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
0
224
41603
10
557