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

react-animate-height

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-animate-height - npm Package Compare versions

Comparing version 3.0.0-beta.5 to 3.0.0

2

dist/cjs/index.d.ts
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 @@

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