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

@neovici/cosmoz-bottom-bar

Package Overview
Dependencies
Maintainers
4
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neovici/cosmoz-bottom-bar - npm Package Compare versions

Comparing version 5.1.1 to 5.2.0

21

cosmoz-bottom-bar.js

@@ -14,3 +14,4 @@ /* eslint-disable max-lines */

BOTTOM_BAR_TOOLBAR_SLOT = 'bottom-bar-toolbar',
BOTTOM_BAR_MENU_SLOT = 'bottom-bar-menu';
BOTTOM_BAR_MENU_SLOT = 'bottom-bar-menu',
rendered = Symbol('rendered');

@@ -134,2 +135,7 @@ /**

renderOpen: {
type: Boolean,
value: false
},
forceOpen: {

@@ -176,3 +182,3 @@ type: Boolean,

return [
'_showHideBottomBar(visible)'
'_showHideBottomBar(visible, renderOpen)'
];

@@ -209,2 +215,3 @@ }

super.disconnectedCallback();
this[rendered] = false;

@@ -337,3 +344,3 @@ [...this._nodeObservers, this._hiddenMutationObserver].forEach(e => e.disconnect(e));

_showHideBottomBar(visible) {
_showHideBottomBar(visible, renderOpen) {
this.style.transitionDuration = 0;

@@ -344,5 +351,11 @@ this.style.display = '';

const height = this.computedBarHeight,
from = visible ? '0px' : height + 'px',
to = !visible ? '0px' : height + 'px';
let from = visible ? '0px' : height + 'px';
if(visible && renderOpen && !this[rendered]) {
from = to;
this[rendered] = true;
}
this.style.maxHeight = from;

@@ -349,0 +362,0 @@

2

package.json
{
"name": "@neovici/cosmoz-bottom-bar",
"version": "5.1.1",
"version": "5.2.0",
"description": "A responsive bottom-bar that can house buttons/actions and a menu for the buttons that won't fit the available width.",

@@ -5,0 +5,0 @@ "keywords": [

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