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

@the-control-group/ui

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@the-control-group/ui - npm Package Compare versions

Comparing version 1.7.21 to 1.7.22

6

lib/elements/Accordion/Accordion.js

@@ -90,4 +90,2 @@ /**

});
this.accordionContent.current.parentNode.style.height = 'auto';
}

@@ -152,3 +150,3 @@ }

render() {
const { title, header, children, className, headerClassName, notificationStyle, toggleTextShow, toggleTextHide, buttonStyleToggle } = this.props,
const { title, header, children, className, headerClassName, notificationStyle, toggleTextShow, toggleTextHide, buttonStyleToggle, defaultExpanded } = this.props,
{ showContent, toggle } = this.state,

@@ -180,3 +178,3 @@ toggleText = toggle === 'show' ? toggleTextShow : toggleTextHide;

<div className="ui-accordion-content-wrapper">
<div className={classNames('ui-accordion-content-wrapper', defaultExpanded && 'default-expanded')}>
<div className="ui-accordion-content" ref={this.accordionContent}>

@@ -183,0 +181,0 @@ {showContent && children}

@@ -23,2 +23,3 @@ /**

plain,
pill,
...other

@@ -35,3 +36,4 @@ }) => {

full && 'full',
loading && 'loading'
loading && 'loading',
pill && 'pill'
);

@@ -75,5 +77,7 @@

/* No styles */
plain: PropTypes.bool
plain: PropTypes.bool,
/* Pill style (border radius) */
pill: PropTypes.bool
};
export default Button;
{
"name": "@the-control-group/ui",
"version": "1.7.21",
"version": "1.7.22",
"description": "UI kit based on ReactJS for TCG projects",

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

Sorry, the diff of this file is not supported yet

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