@preline/pin-input
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -0,1 +1,2 @@ | ||
export interface IPinInputOptions { | ||
@@ -17,19 +18,10 @@ availableCharsRE?: RegExp; | ||
constructor(el: E, options: O, events?: any); | ||
isIOS(): boolean; | ||
isIpadOS(): boolean; | ||
createCollection(collection: any[], element: any): void; | ||
fireEvent(evt: string, payload?: any): any; | ||
dispatch(evt: string, element: any, payload?: any): void; | ||
on(evt: string, cb: Function): void; | ||
afterTransition(el: HTMLElement, callback: Function): void; | ||
onTransitionEnd(el: HTMLElement, cb: Function): void; | ||
getClassProperty(el: HTMLElement, prop: string, val?: string): string; | ||
getClassPropertyAlt(el: HTMLElement, prop?: string, val?: string): string; | ||
htmlToElement(html: string): HTMLElement; | ||
classToClassList(classes: string, target: HTMLElement, splitter?: string): void; | ||
debounce(func: Function, timeout?: number): (...args: any[]) => void; | ||
checkIfFormElement(target: HTMLElement): boolean; | ||
static isEnoughSpace(el: HTMLElement, toggle: HTMLElement, preferredPosition?: "top" | "bottom" | "auto", space?: number, wrapper?: HTMLElement | null): boolean; | ||
static isParentOrElementHidden(element: any): any; | ||
} | ||
export interface ICollectionItem<T> { | ||
id: string | number; | ||
element: T; | ||
} | ||
declare class HSPinInput extends HSBasePlugin<IPinInputOptions> implements IPinInput { | ||
@@ -54,6 +46,3 @@ private items; | ||
private onPaste; | ||
static getInstance(target: HTMLElement | string, isInstance?: boolean): HSPinInput | { | ||
id: number; | ||
element: HSPinInput; | ||
}; | ||
static getInstance(target: HTMLElement | string, isInstance?: boolean): HSPinInput | ICollectionItem<HSPinInput>; | ||
static autoInit(): void; | ||
@@ -60,0 +49,0 @@ } |
{ | ||
"name": "@preline/pin-input", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Preline UI is an open-source set of prebuilt UI components based on the utility-first Tailwind CSS framework.", | ||
@@ -9,28 +9,3 @@ "main": "index.js", | ||
"homepage": "https://preline.co/plugins.html", | ||
"keywords": [ | ||
"preline", | ||
"html", | ||
"css", | ||
"next", | ||
"nuxt", | ||
"vue", | ||
"react", | ||
"angular", | ||
"javascript", | ||
"typescript", | ||
"tailwind", | ||
"tailwind components", | ||
"tailwind elements", | ||
"tailwind library", | ||
"tailwind sections", | ||
"tailwind css", | ||
"tailwind ui", | ||
"tailwind css react", | ||
"tailwind css vue", | ||
"tailwind css angular", | ||
"tailwind css laravel", | ||
"tailwindcss plugin", | ||
"tailwindcss plugins", | ||
"pin input" | ||
], | ||
"keywords": ["preline", "html", "css", "next", "nuxt", "vue", "react", "angular", "javascript", "typescript", "tailwind", "tailwind components", "tailwind elements", "tailwind library", "tailwind sections", "tailwind css", "tailwind ui", "tailwind css react", "tailwind css vue", "tailwind css angular", "tailwind css laravel", "tailwindcss plugin", "tailwindcss plugins", "accordion"], | ||
"author": "Htmlstream", | ||
@@ -41,2 +16,2 @@ "license": "MIT", | ||
} | ||
} | ||
} |
Sorry, the diff of this file is too big to display
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
68
11080
1