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.11 to 0.0.12

dist/index-scrollbar/p-00d53cba.entry.js

11

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

@@ -13,3 +13,3 @@ 'use strict';

this.letterChange = index.createEvent(this, "letterChange", 7);
this.endTouch = index.createEvent(this, "endTouch", 7);
this.scrolling = index.createEvent(this, "scrolling", 7);
this.letterMagnification = true;

@@ -142,2 +142,3 @@ this.exactX = false;

touchStart(event) {
this.scrolling.emit(true);
this.active = true;

@@ -156,3 +157,3 @@ this.touchMove(event);

this.lastLetterIndex = null;
this.endTouch.emit();
this.scrolling.emit(false);
this.active = false;

@@ -163,2 +164,5 @@ }

mouseEnter(event) {
if (this.navigateOnHover) {
this.scrolling.emit(true);
}
this.active = true;

@@ -177,2 +181,5 @@ this.mouseMove(event);

mouseLeave() {
if (this.navigateOnHover) {
this.scrolling.emit(false);
}
this.lastLetterIndex = null;

@@ -179,0 +186,0 @@ this.active = false;

17

dist/collection/components/index-scrollbar/index-scrollbar.js

@@ -131,2 +131,3 @@ import { Component, Host, h, Prop, Event, Element, State } from '@stencil/core';

touchStart(event) {
this.scrolling.emit(true);
this.active = true;

@@ -145,3 +146,3 @@ this.touchMove(event);

this.lastLetterIndex = null;
this.endTouch.emit();
this.scrolling.emit(false);
this.active = false;

@@ -152,2 +153,5 @@ }

mouseEnter(event) {
if (this.navigateOnHover) {
this.scrolling.emit(true);
}
this.active = true;

@@ -166,2 +170,5 @@ this.mouseMove(event);

mouseLeave() {
if (this.navigateOnHover) {
this.scrolling.emit(false);
}
this.lastLetterIndex = null;

@@ -398,4 +405,4 @@ this.active = false;

}, {
"method": "endTouch",
"name": "endTouch",
"method": "scrolling",
"name": "scrolling",
"bubbles": true,

@@ -409,4 +416,4 @@ "cancelable": true,

"complexType": {
"original": "void",
"resolved": "void",
"original": "boolean",
"resolved": "boolean",
"references": {}

@@ -413,0 +420,0 @@ }

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

this.letterChange = createEvent(this, "letterChange", 7);
this.endTouch = createEvent(this, "endTouch", 7);
this.scrolling = createEvent(this, "scrolling", 7);
this.letterMagnification = true;

@@ -140,2 +140,3 @@ this.exactX = false;

touchStart(event) {
this.scrolling.emit(true);
this.active = true;

@@ -154,3 +155,3 @@ this.touchMove(event);

this.lastLetterIndex = null;
this.endTouch.emit();
this.scrolling.emit(false);
this.active = false;

@@ -161,2 +162,5 @@ }

mouseEnter(event) {
if (this.navigateOnHover) {
this.scrolling.emit(true);
}
this.active = true;

@@ -175,2 +179,5 @@ this.mouseMove(event);

mouseLeave() {
if (this.navigateOnHover) {
this.scrolling.emit(false);
}
this.lastLetterIndex = null;

@@ -177,0 +184,0 @@ this.active = false;

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

this.letterChange = createEvent(this, "letterChange", 7);
this.endTouch = createEvent(this, "endTouch", 7);
this.scrolling = createEvent(this, "scrolling", 7);
this.letterMagnification = true;

@@ -138,2 +138,3 @@ this.exactX = false;

touchStart(event) {
this.scrolling.emit(true);
this.active = true;

@@ -152,3 +153,3 @@ this.touchMove(event);

this.lastLetterIndex = null;
this.endTouch.emit();
this.scrolling.emit(false);
this.active = false;

@@ -159,2 +160,5 @@ }

mouseEnter(event) {
if (this.navigateOnHover) {
this.scrolling.emit(true);
}
this.active = true;

@@ -173,2 +177,5 @@ this.mouseMove(event);

mouseLeave() {
if (this.navigateOnHover) {
this.scrolling.emit(false);
}
this.lastLetterIndex = null;

@@ -175,0 +182,0 @@ this.active = false;

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

import{p as e,b as i}from"./p-57af5440.js";(()=>{const i=import.meta.url,t={};return""!==i&&(t.resourcesUrl=new URL(".",i).href),e(t)})().then((e=>i([["p-0cce4bf2",[[1,"index-scrollbar",{letterMagnification:[4,"letter-magnification"],exactX:[4,"exact-x"],fontSize:[2,"font-size"],magnificationSize:[2,"magnification-size"],alphabet:[16],validLetters:[16],navigateOnHover:[4,"navigate-on-hover"],visibleLetters:[32],letterIndex:[32],active:[32],rendering:[32]}]]]],e)));
import{p as e,b as i}from"./p-57af5440.js";(()=>{const i=import.meta.url,t={};return""!==i&&(t.resourcesUrl=new URL(".",i).href),e(t)})().then((e=>i([["p-00d53cba",[[1,"index-scrollbar",{letterMagnification:[4,"letter-magnification"],exactX:[4,"exact-x"],fontSize:[2,"font-size"],magnificationSize:[2,"magnification-size"],alphabet:[16],validLetters:[16],navigateOnHover:[4,"navigate-on-hover"],visibleLetters:[32],letterIndex:[32],active:[32],rendering:[32]}]]]],e)));

@@ -38,4 +38,4 @@ /* eslint-disable */

"navigateOnHover"?: boolean;
"onEndTouch"?: (event: CustomEvent<void>) => void;
"onLetterChange"?: (event: CustomEvent<string>) => void;
"onScrolling"?: (event: CustomEvent<boolean>) => void;
"validLetters"?: Array<string>;

@@ -42,0 +42,0 @@ }

@@ -12,3 +12,3 @@ import { EventEmitter } from '../../stencil-public-runtime';

letterChange: EventEmitter<string>;
endTouch: EventEmitter<void>;
scrolling: EventEmitter<boolean>;
visibleLetters: Array<string>;

@@ -15,0 +15,0 @@ letterIndex: number;

{
"name": "index-scrollbar",
"version": "0.0.11",
"version": "0.0.12",
"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