index-scrollbar
Advanced tools
Comparing version 1.0.27 to 1.0.29
@@ -220,3 +220,3 @@ 'use strict'; | ||
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); | ||
if (this._lastEmittedLetter !== this.letterSelected && (this.navigateOnHover || !type.includes('mousemove') || !type.includes('enter'))) { | ||
if (this._lastEmittedLetter !== this.letterSelected && (this.navigateOnHover || !(type.includes('mousemove') && type.includes('enter')))) { | ||
this.letterChange.emit((this._lastEmittedLetter = this.letterSelected)); | ||
@@ -226,3 +226,3 @@ } | ||
focusEnd(_, type) { | ||
if (type.includes('up') && this.navigateOnHover) | ||
if (type.includes('up')) | ||
return; | ||
@@ -229,0 +229,0 @@ this.isActive.emit((this._isComponentActive = false)); |
@@ -210,3 +210,3 @@ import { Component, Host, h, Prop, Event, Element, State, Watch } from '@stencil/core'; | ||
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); | ||
if (this._lastEmittedLetter !== this.letterSelected && (this.navigateOnHover || !type.includes('mousemove') || !type.includes('enter'))) { | ||
if (this._lastEmittedLetter !== this.letterSelected && (this.navigateOnHover || !(type.includes('mousemove') && type.includes('enter')))) { | ||
this.letterChange.emit((this._lastEmittedLetter = this.letterSelected)); | ||
@@ -216,3 +216,3 @@ } | ||
focusEnd(_, type) { | ||
if (type.includes('up') && this.navigateOnHover) | ||
if (type.includes('up')) | ||
return; | ||
@@ -219,0 +219,0 @@ this.isActive.emit((this._isComponentActive = false)); |
@@ -218,3 +218,3 @@ import { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client'; | ||
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); | ||
if (this._lastEmittedLetter !== this.letterSelected && (this.navigateOnHover || !type.includes('mousemove') || !type.includes('enter'))) { | ||
if (this._lastEmittedLetter !== this.letterSelected && (this.navigateOnHover || !(type.includes('mousemove') && type.includes('enter')))) { | ||
this.letterChange.emit((this._lastEmittedLetter = this.letterSelected)); | ||
@@ -224,3 +224,3 @@ } | ||
focusEnd(_, type) { | ||
if (type.includes('up') && this.navigateOnHover) | ||
if (type.includes('up')) | ||
return; | ||
@@ -227,0 +227,0 @@ this.isActive.emit((this._isComponentActive = false)); |
@@ -216,3 +216,3 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5f889f85.js'; | ||
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); | ||
if (this._lastEmittedLetter !== this.letterSelected && (this.navigateOnHover || !type.includes('mousemove') || !type.includes('enter'))) { | ||
if (this._lastEmittedLetter !== this.letterSelected && (this.navigateOnHover || !(type.includes('mousemove') && type.includes('enter')))) { | ||
this.letterChange.emit((this._lastEmittedLetter = this.letterSelected)); | ||
@@ -222,3 +222,3 @@ } | ||
focusEnd(_, type) { | ||
if (type.includes('up') && this.navigateOnHover) | ||
if (type.includes('up')) | ||
return; | ||
@@ -225,0 +225,0 @@ this.isActive.emit((this._isComponentActive = false)); |
@@ -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-39240f79",[[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-a6538e40",[[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.27", | ||
"version": "1.0.29", | ||
"description": "Stencil Component Starter", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
405618