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

react-multi-carousel

Package Overview
Dependencies
Maintainers
1
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-multi-carousel - npm Package Compare versions

Comparing version 2.2.4 to 2.2.5

.DS_Store

6

lib/types.d.ts
import * as React from "react";
export interface responsiveType {
export interface ResponsiveType {
[key: string]: {

@@ -16,3 +16,3 @@ breakpoint: {

export interface CarouselProps {
responsive: responsiveType;
responsive: ResponsiveType;
deviceType?: string;

@@ -56,3 +56,3 @@ ssr?: boolean;

export declare type Direction = "left" | "right" | "" | undefined;
export interface buttonGroupProps {
export interface ButtonGroupProps {
previous?: () => void;

@@ -59,0 +59,0 @@ next?: () => void;

@@ -1,5 +0,5 @@

import { responsiveType, CarouselProps } from "../types";
declare function getPartialVisibilityGutter(responsive: responsiveType, partialVisbile?: boolean, serverSideDeviceType?: string | undefined, clientSideDeviceType?: string | undefined): number | undefined;
declare function getWidthFromDeviceType(deviceType: string, responsive: responsiveType): number | string | undefined;
import { ResponsiveType, CarouselProps } from "../types";
declare function getPartialVisibilityGutter(responsive: ResponsiveType, partialVisbile?: boolean, serverSideDeviceType?: string | undefined, clientSideDeviceType?: string | undefined): number | undefined;
declare function getWidthFromDeviceType(deviceType: string, responsive: ResponsiveType): number | string | undefined;
declare function getItemClientSideWidth(props: CarouselProps, slidesToShow: number, containerWidth: number): number;
export { getWidthFromDeviceType, getPartialVisibilityGutter, getItemClientSideWidth, };
{
"name": "react-multi-carousel",
"private": false,
"version": "2.2.4",
"version": "2.2.5",
"description": "Production-ready, lightweight fully customizable React carousel component that rocks supports multiple items and SSR(Server-side rendering) with typescript.",

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

@@ -6,7 +6,7 @@

import * as React from 'react';
import { buttonGroupProps, ArrowProps, DotProps } from 'react-multi-carousel/lib/types';
import { ButtonGroupProps, ArrowProps, DotProps } from 'react-multi-carousel/lib/types';
interface CustomLeftArrowProps extends ArrowProps {
myOwnStuff: string;
}
interface CarouselButtonGroupProps extends buttonGroupProps {
interface CarouselButtonGroupProps extends ButtonGroupProps {
className?: string;

@@ -13,0 +13,0 @@ }

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