New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@preline/carousel

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@preline/carousel - npm Package Compare versions

Comparing version 2.0.2 to 2.1.0

29

index.d.ts
export interface ICarouselOptions {
currentIndex: number;
loadingClasses?: string | string[];
isAutoPlay?: boolean;
speed?: number;
isInfiniteLoop?: boolean;
}
export interface ICarousel {
options?: ICarouselOptions;
recalculateWidth(): void;
goToPrev(): void;
goToNext(): void;
goTo(i: number): void;
}
export interface IBasePlugin<O, E> {

@@ -34,2 +21,16 @@ el: E;

}
export interface ICarouselOptions {
currentIndex: number;
loadingClasses?: string | string[];
isAutoPlay?: boolean;
speed?: number;
isInfiniteLoop?: boolean;
}
export interface ICarousel {
options?: ICarouselOptions;
recalculateWidth(): void;
goToPrev(): void;
goToNext(): void;
goTo(i: number): void;
}
declare class HSCarousel extends HSBasePlugin<ICarouselOptions> implements ICarousel {

@@ -36,0 +37,0 @@ private readonly inner;

!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var s=e();for(var i in s)("object"==typeof exports?exports:t)[i]=s[i]}}(self,(()=>(()=>{"use strict";var t={737:(t,e)=>{
/*
* HSBasePlugin
* @version: 2.0.3
* @version: 2.1.0
* @author: HTMLStream

@@ -12,3 +12,3 @@ * @license: Licensed under MIT (https://preline.co/docs/license.html)

* HSCarousel
* @version: 2.0.3
* @version: 2.1.0
* @author: HTMLStream

@@ -15,0 +15,0 @@ * @license: Licensed under MIT (https://preline.co/docs/license.html)

{
"name": "@preline/carousel",
"version": "2.0.2",
"version": "2.1.0",
"description": "Preline UI is an open-source set of prebuilt UI components based on the utility-first Tailwind CSS framework.",

@@ -5,0 +5,0 @@ "main": "index.js",

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