index-scrollbar
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -154,6 +154,2 @@ 'use strict'; | ||
letterSize = letterSize + letterSpacing; | ||
//Remove invalid letters (if set and necessary) | ||
if (this.prioritizeHidingInvalidLetters && !!this.validLetters && height / letterSize < newAlphabet.length) { | ||
newAlphabet = this.validLetters; | ||
} | ||
//Check if there is enough free space for letters | ||
@@ -160,0 +156,0 @@ this._lettersShortened = height / letterSize < newAlphabet.length; |
@@ -146,3 +146,3 @@ import { Component, Host, h, Prop, Event, Element, State, Watch } from '@stencil/core'; | ||
if (this.prioritizeHidingInvalidLetters && !!this.validLetters && height / letterSize < newAlphabet.length) { | ||
newAlphabet = this.validLetters; | ||
// newAlphabet = this.validLetters; | ||
} | ||
@@ -149,0 +149,0 @@ //Check if there is enough free space for letters |
@@ -152,6 +152,2 @@ import { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client'; | ||
letterSize = letterSize + letterSpacing; | ||
//Remove invalid letters (if set and necessary) | ||
if (this.prioritizeHidingInvalidLetters && !!this.validLetters && height / letterSize < newAlphabet.length) { | ||
newAlphabet = this.validLetters; | ||
} | ||
//Check if there is enough free space for letters | ||
@@ -158,0 +154,0 @@ this._lettersShortened = height / letterSize < newAlphabet.length; |
@@ -150,6 +150,2 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5f889f85.js'; | ||
letterSize = letterSize + letterSpacing; | ||
//Remove invalid letters (if set and necessary) | ||
if (this.prioritizeHidingInvalidLetters && !!this.validLetters && height / letterSize < newAlphabet.length) { | ||
newAlphabet = this.validLetters; | ||
} | ||
//Check if there is enough free space for letters | ||
@@ -156,0 +152,0 @@ this._lettersShortened = height / letterSize < newAlphabet.length; |
@@ -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-95238924",[[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-a83f50ac",[[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.5", | ||
"version": "1.0.6", | ||
"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
402446
6409