Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@preline/pin-input

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@preline/pin-input - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

23

index.d.ts

@@ -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

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