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

@internetarchive/ia-menu-slider

Package Overview
Dependencies
Maintainers
11
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@internetarchive/ia-menu-slider - npm Package Compare versions

Comparing version 0.1.9-alpha3 to 0.1.9-alpha4

2

package.json
{
"name": "@internetarchive/ia-menu-slider",
"version": "0.1.9-alpha3",
"version": "0.1.9-alpha4",
"description": "Menu slider used in ia-topnav",

@@ -5,0 +5,0 @@ "author": "ia-menu-slider",

@@ -67,3 +67,3 @@ import { nothing } from 'lit-html';

const animate = this.animateMenuOpen ? 'animate' : '';
const state = this.open ? 'open' : 'closed';
const state = this.open ? 'open' : '';
return `${animate} ${state}`;

@@ -73,3 +73,3 @@ }

get selectedMenuClass() {
return this.selectedMenu ? 'open' : 'closed';
return this.selectedMenu ? 'open' : '';
}

@@ -76,0 +76,0 @@

@@ -5,2 +5,3 @@ import { css } from 'lit-element';

const sliderWidth = css`var(--menuWidth, 320px)`;
const transitionTiming = css`var(--animationTiming, 200ms)`;

@@ -28,3 +29,3 @@ export default css`

transform: translateX(calc(${sliderWidth} * -1));
transition: transform var(--animationTiming) ease-out;
transition: transform ${transitionTiming} ease-out;
}

@@ -42,2 +43,6 @@ .menu:before {

.menu > button.close {
right: 0.7rem;
}
button {

@@ -49,3 +54,3 @@ outline: none;

header {
margin: .2rem 0 .5rem 0;
margin: 0 0 .5rem 0;
}

@@ -100,3 +105,3 @@

transform: translateX(calc(${sliderWidth} * -1));
transition: transform var(--animationTiming) ease-out;
transition: transform ${transitionTiming} ease-out;
background: var(--activeButtonBg);

@@ -103,0 +108,0 @@ border-right: .2rem solid;

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