index-scrollbar
Advanced tools
Comparing version 1.0.30 to 1.0.32
@@ -217,3 +217,3 @@ 'use strict'; | ||
if (!this._isComponentActive) | ||
this.isActive.emit((this._isComponentActive = true)); | ||
this.isActive.emit({ boolean: (this._isComponentActive = true), type: type }); | ||
} | ||
@@ -228,3 +228,3 @@ 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); | ||
return; | ||
this.isActive.emit((this._isComponentActive = false)); | ||
this.isActive.emit({ boolean: (this._isComponentActive = false), type: type }); | ||
} | ||
@@ -231,0 +231,0 @@ setLetterFromCoordinates(x, y) { |
@@ -207,3 +207,3 @@ import { Component, Host, h, Prop, Event, Element, State, Watch } from '@stencil/core'; | ||
if (!this._isComponentActive) | ||
this.isActive.emit((this._isComponentActive = true)); | ||
this.isActive.emit({ boolean: (this._isComponentActive = true), type: type }); | ||
} | ||
@@ -218,3 +218,3 @@ 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); | ||
return; | ||
this.isActive.emit((this._isComponentActive = false)); | ||
this.isActive.emit({ boolean: (this._isComponentActive = false), type: type }); | ||
} | ||
@@ -583,4 +583,4 @@ setLetterFromCoordinates(x, y) { | ||
"complexType": { | ||
"original": "boolean", | ||
"resolved": "boolean", | ||
"original": "{ boolean; type }", | ||
"resolved": "{ boolean: any; type: any; }", | ||
"references": {} | ||
@@ -587,0 +587,0 @@ } |
@@ -215,3 +215,3 @@ import { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client'; | ||
if (!this._isComponentActive) | ||
this.isActive.emit((this._isComponentActive = true)); | ||
this.isActive.emit({ boolean: (this._isComponentActive = true), type: type }); | ||
} | ||
@@ -226,3 +226,3 @@ 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); | ||
return; | ||
this.isActive.emit((this._isComponentActive = false)); | ||
this.isActive.emit({ boolean: (this._isComponentActive = false), type: type }); | ||
} | ||
@@ -229,0 +229,0 @@ setLetterFromCoordinates(x, y) { |
@@ -213,3 +213,3 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5f889f85.js'; | ||
if (!this._isComponentActive) | ||
this.isActive.emit((this._isComponentActive = true)); | ||
this.isActive.emit({ boolean: (this._isComponentActive = true), type: type }); | ||
} | ||
@@ -224,3 +224,3 @@ 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); | ||
return; | ||
this.isActive.emit((this._isComponentActive = false)); | ||
this.isActive.emit({ boolean: (this._isComponentActive = false), type: type }); | ||
} | ||
@@ -227,0 +227,0 @@ setLetterFromCoordinates(x, y) { |
@@ -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-94af8cd9",[[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-0993a1f2",[[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))); |
@@ -48,3 +48,3 @@ /* eslint-disable */ | ||
"offsetSizeCheckInterval"?: number; | ||
"onIsActive"?: (event: CustomEvent<boolean>) => void; | ||
"onIsActive"?: (event: CustomEvent<{ boolean; type }>) => void; | ||
"onLetterChange"?: (event: CustomEvent<string>) => void; | ||
@@ -51,0 +51,0 @@ "overflowDivider"?: string | undefined | null; |
@@ -29,3 +29,6 @@ import { EventEmitter } from '../../stencil-public-runtime'; | ||
letterChange: EventEmitter<string>; | ||
isActive: EventEmitter<boolean>; | ||
isActive: EventEmitter<{ | ||
boolean: any; | ||
type: any; | ||
}>; | ||
_isComponentActive: boolean; | ||
@@ -32,0 +35,0 @@ scrolling: EventEmitter<boolean>; |
{ | ||
"name": "index-scrollbar", | ||
"version": "1.0.30", | ||
"version": "1.0.32", | ||
"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
405926
6443