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

index-scrollbar

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

index-scrollbar - npm Package Compare versions

Comparing version 0.0.14-beta.1 to 0.0.14-beta.2

dist/index-scrollbar/p-c5c8bb9d.entry.js

32

dist/cjs/index-scrollbar.cjs.entry.js

@@ -173,18 +173,18 @@ 'use strict';

}
//insert dots between letters
alphabet1 = alphabet1.reduce((prev, curr, i) => {
if (i > 0) {
prev.push(this.overflowDivider);
}
prev.push(curr);
return prev;
}, []);
alphabet2 = alphabet2.reduce((prev, curr, i) => {
if (i > 0) {
prev.push(this.overflowDivider);
}
prev.push(curr);
return prev;
}, []);
if (this.alphabet.length % 2 === 0)
// //insert dots between letters
// alphabet1 = alphabet1.reduce((prev, curr, i) => {
// if (i > 0) {
// if (this.overflowDivider) prev.push(this.overflowDivider);
// }
// prev.push(curr);
// return prev;
// }, []);
// alphabet2 = alphabet2.reduce((prev, curr, i) => {
// if (i > 0) {
// if (this.overflowDivider) prev.push(this.overflowDivider);
// }
// prev.push(curr);
// return prev;
// }, []);
if (this.alphabet.length % 2 === 0 && this.overflowDivider)
alphabet1.push(this.overflowDivider);

@@ -191,0 +191,0 @@ newAlphabet = alphabet1.concat(alphabet2.reverse());

@@ -163,18 +163,18 @@ import { Component, Host, h, Prop, Event, Element, State, Watch } from '@stencil/core';

}
//insert dots between letters
alphabet1 = alphabet1.reduce((prev, curr, i) => {
if (i > 0) {
prev.push(this.overflowDivider);
}
prev.push(curr);
return prev;
}, []);
alphabet2 = alphabet2.reduce((prev, curr, i) => {
if (i > 0) {
prev.push(this.overflowDivider);
}
prev.push(curr);
return prev;
}, []);
if (this.alphabet.length % 2 === 0)
// //insert dots between letters
// alphabet1 = alphabet1.reduce((prev, curr, i) => {
// if (i > 0) {
// if (this.overflowDivider) prev.push(this.overflowDivider);
// }
// prev.push(curr);
// return prev;
// }, []);
// alphabet2 = alphabet2.reduce((prev, curr, i) => {
// if (i > 0) {
// if (this.overflowDivider) prev.push(this.overflowDivider);
// }
// prev.push(curr);
// return prev;
// }, []);
if (this.alphabet.length % 2 === 0 && this.overflowDivider)
alphabet1.push(this.overflowDivider);

@@ -181,0 +181,0 @@ newAlphabet = alphabet1.concat(alphabet2.reverse());

@@ -171,18 +171,18 @@ import { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';

}
//insert dots between letters
alphabet1 = alphabet1.reduce((prev, curr, i) => {
if (i > 0) {
prev.push(this.overflowDivider);
}
prev.push(curr);
return prev;
}, []);
alphabet2 = alphabet2.reduce((prev, curr, i) => {
if (i > 0) {
prev.push(this.overflowDivider);
}
prev.push(curr);
return prev;
}, []);
if (this.alphabet.length % 2 === 0)
// //insert dots between letters
// alphabet1 = alphabet1.reduce((prev, curr, i) => {
// if (i > 0) {
// if (this.overflowDivider) prev.push(this.overflowDivider);
// }
// prev.push(curr);
// return prev;
// }, []);
// alphabet2 = alphabet2.reduce((prev, curr, i) => {
// if (i > 0) {
// if (this.overflowDivider) prev.push(this.overflowDivider);
// }
// prev.push(curr);
// return prev;
// }, []);
if (this.alphabet.length % 2 === 0 && this.overflowDivider)
alphabet1.push(this.overflowDivider);

@@ -189,0 +189,0 @@ newAlphabet = alphabet1.concat(alphabet2.reverse());

@@ -169,18 +169,18 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5f889f85.js';

}
//insert dots between letters
alphabet1 = alphabet1.reduce((prev, curr, i) => {
if (i > 0) {
prev.push(this.overflowDivider);
}
prev.push(curr);
return prev;
}, []);
alphabet2 = alphabet2.reduce((prev, curr, i) => {
if (i > 0) {
prev.push(this.overflowDivider);
}
prev.push(curr);
return prev;
}, []);
if (this.alphabet.length % 2 === 0)
// //insert dots between letters
// alphabet1 = alphabet1.reduce((prev, curr, i) => {
// if (i > 0) {
// if (this.overflowDivider) prev.push(this.overflowDivider);
// }
// prev.push(curr);
// return prev;
// }, []);
// alphabet2 = alphabet2.reduce((prev, curr, i) => {
// if (i > 0) {
// if (this.overflowDivider) prev.push(this.overflowDivider);
// }
// prev.push(curr);
// return prev;
// }, []);
if (this.alphabet.length % 2 === 0 && this.overflowDivider)
alphabet1.push(this.overflowDivider);

@@ -187,0 +187,0 @@ newAlphabet = alphabet1.concat(alphabet2.reverse());

@@ -1,1 +0,1 @@

import{p as e,b as i}from"./p-d4d31fe4.js";(()=>{const i=import.meta.url,t={};return""!==i&&(t.resourcesUrl=new URL(".",i).href),e(t)})().then((e=>i([["p-e97f0891",[[1,"index-scrollbar",{alphabet:[16],overflowDivider:[1,"overflow-divider"],validLetters:[16],disableInvalidLetters:[4,"disable-invalid-letters"],prioritizeHidingInvalidLetters:[4,"prioritize-hiding-invalid-letters"],letterMagnification:[4,"letter-magnification"],magnifyDividers:[4,"magnify-dividers"],magnificationMultiplier:[2,"magnification-multiplier"],magnificationCurve:[16],exactX:[4,"exact-x"],navigateOnHover:[4,"navigate-on-hover"],letterSpacing:[8,"letter-spacing"],offsetSizeCheckInterval:[2,"offset-size-check-interval"],_isComponentActive:[32],visibleLetters:[32],rendering:[32],_lastEmittedLetter:[32],magIndex:[32],_isInBounds:[32],visualLetterIndex:[32],letterSelected:[32]}]]]],e)));
import{p as e,b as i}from"./p-d4d31fe4.js";(()=>{const i=import.meta.url,t={};return""!==i&&(t.resourcesUrl=new URL(".",i).href),e(t)})().then((e=>i([["p-c5c8bb9d",[[1,"index-scrollbar",{alphabet:[16],overflowDivider:[1,"overflow-divider"],validLetters:[16],disableInvalidLetters:[4,"disable-invalid-letters"],prioritizeHidingInvalidLetters:[4,"prioritize-hiding-invalid-letters"],letterMagnification:[4,"letter-magnification"],magnifyDividers:[4,"magnify-dividers"],magnificationMultiplier:[2,"magnification-multiplier"],magnificationCurve:[16],exactX:[4,"exact-x"],navigateOnHover:[4,"navigate-on-hover"],letterSpacing:[8,"letter-spacing"],offsetSizeCheckInterval:[2,"offset-size-check-interval"],_isComponentActive:[32],visibleLetters:[32],rendering:[32],_lastEmittedLetter:[32],magIndex:[32],_isInBounds:[32],visualLetterIndex:[32],letterSelected:[32]}]]]],e)));
{
"name": "index-scrollbar",
"version": "0.0.14-beta.1",
"version": "0.0.14-beta.2",
"description": "Stencil Component Starter",

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

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