Socket
Socket
Sign inDemoInstall

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 1.0.16 to 1.0.17

dist/index-scrollbar/p-0080e9cf.entry.js

8

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

@@ -212,9 +212,9 @@ 'use strict';

var _a, _b, _c, _d;
if (!this._lastEmittedActive) {
this.isActive.emit((this._lastEmittedActive = true));
}
if (type === 'click')
this._isComponentActive = false;
else if (!this._isComponentActive)
else if (!this._isComponentActive) {
if (this._lastEmittedActive)
this.isActive.emit((this._lastEmittedActive = true));
this._isComponentActive = true;
}
this.setLetterFromCoordinates((_b = (_a = event.touches) === null || _a === void 0 ? void 0 : _a[0].clientX) !== null && _b !== void 0 ? _b : event.clientX, (_d = (_c = event.touches) === null || _c === void 0 ? void 0 : _c[0].clientY) !== null && _d !== void 0 ? _d : event.clientY);

@@ -221,0 +221,0 @@ if (this._lastEmittedLetter !== this.letterSelected && (this.navigateOnHover || !type.includes('mouse'))) {

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

var _a, _b, _c, _d;
if (!this._lastEmittedActive) {
this.isActive.emit((this._lastEmittedActive = true));
}
if (type === 'click')
this._isComponentActive = false;
else if (!this._isComponentActive)
else if (!this._isComponentActive) {
if (this._lastEmittedActive)
this.isActive.emit((this._lastEmittedActive = true));
this._isComponentActive = true;
}
this.setLetterFromCoordinates((_b = (_a = event.touches) === null || _a === void 0 ? void 0 : _a[0].clientX) !== null && _b !== void 0 ? _b : event.clientX, (_d = (_c = event.touches) === null || _c === void 0 ? void 0 : _c[0].clientY) !== null && _d !== void 0 ? _d : event.clientY);

@@ -211,0 +211,0 @@ if (this._lastEmittedLetter !== this.letterSelected && (this.navigateOnHover || !type.includes('mouse'))) {

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

var _a, _b, _c, _d;
if (!this._lastEmittedActive) {
this.isActive.emit((this._lastEmittedActive = true));
}
if (type === 'click')
this._isComponentActive = false;
else if (!this._isComponentActive)
else if (!this._isComponentActive) {
if (this._lastEmittedActive)
this.isActive.emit((this._lastEmittedActive = true));
this._isComponentActive = true;
}
this.setLetterFromCoordinates((_b = (_a = event.touches) === null || _a === void 0 ? void 0 : _a[0].clientX) !== null && _b !== void 0 ? _b : event.clientX, (_d = (_c = event.touches) === null || _c === void 0 ? void 0 : _c[0].clientY) !== null && _d !== void 0 ? _d : event.clientY);

@@ -219,0 +219,0 @@ if (this._lastEmittedLetter !== this.letterSelected && (this.navigateOnHover || !type.includes('mouse'))) {

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

var _a, _b, _c, _d;
if (!this._lastEmittedActive) {
this.isActive.emit((this._lastEmittedActive = true));
}
if (type === 'click')
this._isComponentActive = false;
else if (!this._isComponentActive)
else if (!this._isComponentActive) {
if (this._lastEmittedActive)
this.isActive.emit((this._lastEmittedActive = true));
this._isComponentActive = true;
}
this.setLetterFromCoordinates((_b = (_a = event.touches) === null || _a === void 0 ? void 0 : _a[0].clientX) !== null && _b !== void 0 ? _b : event.clientX, (_d = (_c = event.touches) === null || _c === void 0 ? void 0 : _c[0].clientY) !== null && _d !== void 0 ? _d : event.clientY);

@@ -217,0 +217,0 @@ if (this._lastEmittedLetter !== this.letterSelected && (this.navigateOnHover || !type.includes('mouse'))) {

@@ -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-0e0aa0b0",[[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-0080e9cf",[[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": "1.0.16",
"version": "1.0.17",
"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