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

@cfpb/cfpb-atomic-component

Package Overview
Dependencies
Maintainers
8
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cfpb/cfpb-atomic-component - npm Package Compare versions

Comparing version

to
0.7.7

src/utilities/media-helpers.js

4

package.json
{
"name": "@cfpb/cfpb-atomic-component",
"version": "0.7.6",
"version": "0.7.7",
"description": "Design System atomic component micro-framework",

@@ -16,3 +16,3 @@ "less": "src/cfpb-atomic-component.less",

],
"gitHead": "adeb995978f6fa215ab1617168648b53f6459401"
"gitHead": "bf684fe7a4868527e201f30c3bc1de4507bb962e"
}

@@ -34,3 +34,3 @@ // Required modules.

element.style.maxHeight = element.scrollHeight + 'px';
refresh();

@@ -96,2 +96,9 @@ const _transitionCompleteBinded = _transitionComplete.bind( this );

/**
* Refresh the max height set on the element.
*/
function refresh() {
element.style.maxHeight = element.scrollHeight + 'px';
}
/**
* Remove style attribute.

@@ -118,2 +125,3 @@ * Remove all transition classes, if transition is initialized.

this.setElement = _baseTransition.setElement;
this.refresh = refresh;
this.remove = remove;

@@ -120,0 +128,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet