New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@fenderdigital/react-accordion

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fenderdigital/react-accordion - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

4

lib/Accordion.js

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

{
className: 'outline-0 tl bg-transparent pointer w-100 ' + styles,
className: 'outline-0 tl bg-transparent pointer w-100 ' + styles + ' ' + (!label ? 'flex justify-end' : ''),
onClick: function onClick(event) {

@@ -108,3 +108,3 @@ return _this2.handleClick(event);

style: {
maxHeight: isVisible ? '16rem' : '0',
maxHeight: isVisible ? '48rem' : '0',
transition: hasAnimation ? transition : null

@@ -111,0 +111,0 @@ }

@@ -30,3 +30,3 @@ {

},
"version": "1.0.0"
"version": "1.1.0"
}

@@ -24,3 +24,5 @@ import React, { Component } from 'react';

<button
className={`outline-0 tl bg-transparent pointer w-100 ${styles}`}
className={`outline-0 tl bg-transparent pointer w-100 ${styles} ${
!label ? 'flex justify-end' : ''
}`}
onClick={event => this.handleClick(event)}

@@ -48,3 +50,3 @@ type="button"

style={{
maxHeight: isVisible ? '16rem' : '0',
maxHeight: isVisible ? '48rem' : '0',
transition: hasAnimation ? transition : null,

@@ -51,0 +53,0 @@ }}

Sorry, the diff of this file is not supported yet

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