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

@types/glidejs__glide

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/glidejs__glide - npm Package Compare versions

Comparing version 3.6.1 to 3.6.2

2

glidejs__glide/components/autoplay.d.ts

@@ -1,2 +0,2 @@

export type AutoplayEvents = 'autoplay';
export type AutoplayEvents = "autoplay";

@@ -3,0 +3,0 @@ export interface AutoplayEventsBus {

@@ -1,2 +0,2 @@

import { Options } from '../index';
import { Options } from "../index";

@@ -3,0 +3,0 @@ export interface Breakpoints {

@@ -1,2 +0,2 @@

export type BuildEvents = 'build.before' | 'build.after';
export type BuildEvents = "build.before" | "build.after";

@@ -3,0 +3,0 @@ export interface BuildEventsBus {

@@ -22,3 +22,2 @@ export interface Controls {

* Toggles active class on items inside navigation.
*
*/

@@ -29,3 +28,2 @@ addClass(controls: HTMLElement): void;

* Removes active class from active control.
*
*/

@@ -61,3 +59,2 @@ removeClass(controls: HTMLElement): void;

* Binds events to arrows HTML elements.
*
*/

@@ -68,3 +65,2 @@ bind(elements: HTMLCollection): void;

* Unbinds events binded to the arrows HTML elements.
*
*/

@@ -71,0 +67,0 @@ unbind(elements: HTMLCollection): void;

@@ -1,22 +0,22 @@

import Glide = require('../index');
import EventsBus from '../core/event/events-bus';
import { Anchors } from './anchors';
import { Autoplay } from './autoplay';
import { Breakpoints } from './breakpoints';
import { Build } from './build';
import { Clones } from './clones';
import { Controls } from './controls';
import { Direction } from './direction';
import { Gaps } from './gaps';
import { Html } from './html';
import { Images } from './images';
import { Keyboard } from './keyboard';
import { Move } from './move';
import { Peek } from './peek';
import { Resize } from './resize';
import { Run } from './run';
import { Sizes } from './sizes';
import { Swipe } from './swipe';
import { Transition } from './transition';
import { Translate } from './translate';
import Glide = require("../index");
import EventsBus from "../core/event/events-bus";
import { Anchors } from "./anchors";
import { Autoplay } from "./autoplay";
import { Breakpoints } from "./breakpoints";
import { Build } from "./build";
import { Clones } from "./clones";
import { Controls } from "./controls";
import { Direction } from "./direction";
import { Gaps } from "./gaps";
import { Html } from "./html";
import { Images } from "./images";
import { Keyboard } from "./keyboard";
import { Move } from "./move";
import { Peek } from "./peek";
import { Resize } from "./resize";
import { Run } from "./run";
import { Sizes } from "./sizes";
import { Swipe } from "./swipe";
import { Transition } from "./transition";
import { Translate } from "./translate";

@@ -23,0 +23,0 @@ type ComponentFunction<T = Record<string, any>> = (Glide: Glide, Components: Components, Events: EventsBus) => T;

@@ -1,2 +0,2 @@

export type MoveEvents = 'move' | 'move.after';
export type MoveEvents = "move" | "move.after";

@@ -3,0 +3,0 @@ export interface MoveEventContext {

@@ -1,2 +0,2 @@

export type ResizeEvents = 'resize';
export type ResizeEvents = "resize";

@@ -3,0 +3,0 @@ export interface ResizeEventsBus {

@@ -1,2 +0,2 @@

export type RunEvents = 'run.after' | 'run.before' | 'run.end' | 'run.offset' | 'run.start' | 'run';
export type RunEvents = "run.after" | "run.before" | "run.end" | "run.offset" | "run.start" | "run";

@@ -3,0 +3,0 @@ export interface RunEventsBus {

@@ -1,2 +0,2 @@

export type SwipeEvents = 'swipe.start' | 'swipe.move' | 'swipe.end';
export type SwipeEvents = "swipe.start" | "swipe.move" | "swipe.end";

@@ -18,3 +18,2 @@ export interface SwipeEventsBus {

* Handler for `swipestart` event. Calculates entry points of the user's tap.
*
*/

@@ -21,0 +20,0 @@ start(event: Event): void;

@@ -1,2 +0,2 @@

export type TranslateEvents = 'translate.jump';
export type TranslateEvents = "translate.jump";

@@ -3,0 +3,0 @@ export interface TranslateEventsBus {

@@ -1,10 +0,10 @@

import { AutoplayEventsBus } from '../../components/autoplay';
import { BuildEventsBus } from '../../components/build';
import { MoveEventsBus } from '../../components/move';
import { ResizeEventsBus } from '../../components/resize';
import { RunEventsBus } from '../../components/run';
import { SwipeEventsBus } from '../../components/swipe';
import { TranslateEventsBus } from '../../components/translate';
import { AutoplayEventsBus } from "../../components/autoplay";
import { BuildEventsBus } from "../../components/build";
import { MoveEventsBus } from "../../components/move";
import { ResizeEventsBus } from "../../components/resize";
import { RunEventsBus } from "../../components/run";
import { SwipeEventsBus } from "../../components/swipe";
import { TranslateEventsBus } from "../../components/translate";
type DefaultEvents = 'mount.before' | 'mount.after' | 'update' | 'destroy' | 'play' | 'pause';
type DefaultEvents = "mount.before" | "mount.after" | "update" | "destroy" | "play" | "pause";

@@ -23,11 +23,12 @@ interface DefaultEventsBus {

type EventsBus = AutoplayEventsBus &
BuildEventsBus &
MoveEventsBus &
ResizeEventsBus &
RunEventsBus &
SwipeEventsBus &
TranslateEventsBus &
DefaultEventsBus;
type EventsBus =
& AutoplayEventsBus
& BuildEventsBus
& MoveEventsBus
& ResizeEventsBus
& RunEventsBus
& SwipeEventsBus
& TranslateEventsBus
& DefaultEventsBus;
export default EventsBus;
/* this module is ESModule only. */
import Glide = require('../index');
import ComponentFunction from '../components';
import TransformerFunction from '../mutator/transformers';
import { Anchors } from '../components/anchors';
import { Autoplay } from '../components/autoplay';
import { Breakpoints } from '../components/breakpoints';
import { Controls } from '../components/controls';
import { Images } from '../components/images';
import { Keyboard } from '../components/keyboard';
import { Swipe } from '../components/swipe';
import { Clones } from '../components/clones';
import { Direction } from '../components/direction';
import { Gaps } from '../components/gaps';
import { Html } from '../components/html';
import { Move } from '../components/move';
import { Peek } from '../components/peek';
import { Resize } from '../components/resize';
import { Run } from '../components/run';
import { Sizes } from '../components/sizes';
import { Transition } from '../components/transition';
import { Translate } from '../components/translate';
import Glide = require("../index");
import ComponentFunction from "../components";
import { Anchors } from "../components/anchors";
import { Autoplay } from "../components/autoplay";
import { Breakpoints } from "../components/breakpoints";
import { Clones } from "../components/clones";
import { Controls } from "../components/controls";
import { Direction } from "../components/direction";
import { Gaps } from "../components/gaps";
import { Html } from "../components/html";
import { Images } from "../components/images";
import { Keyboard } from "../components/keyboard";
import { Move } from "../components/move";
import { Peek } from "../components/peek";
import { Resize } from "../components/resize";
import { Run } from "../components/run";
import { Sizes } from "../components/sizes";
import { Swipe } from "../components/swipe";
import { Transition } from "../components/transition";
import { Translate } from "../components/translate";
import TransformerFunction from "../mutator/transformers";

@@ -25,0 +25,0 @@ export { ComponentFunction, TransformerFunction };

@@ -6,8 +6,11 @@ // Type definitions for @glidejs/glide 3.6

import TransformerFunction from './mutator/transformers';
import ComponentFunction from './components';
import EventsBus from './core/event/events-bus';
// eslint-disable-next-line @definitelytyped/no-import-default-of-export-equals
import ComponentFunction from "./components";
// eslint-disable-next-line @definitelytyped/no-import-default-of-export-equals
import EventsBus from "./core/event/events-bus";
// eslint-disable-next-line @definitelytyped/no-import-default-of-export-equals
import TransformerFunction from "./mutator/transformers";
declare namespace Glide {
export { TransformerFunction, ComponentFunction, EventsBus, Options };
export { ComponentFunction, EventsBus, Options, TransformerFunction };
}

@@ -19,3 +22,3 @@

*/
type: 'slider' | 'carousel';
type: "slider" | "carousel";

@@ -78,3 +81,3 @@ /**

*/
perSwipe: '' | '|';
perSwipe: "" | "|";

@@ -124,3 +127,3 @@ /**

*/
direction: 'ltr' | 'rtl';
direction: "ltr" | "rtl";

@@ -133,3 +136,3 @@ /**

*/
peek: number | string | Record<'before' | 'after', number>;
peek: number | string | Record<"before" | "after", number>;

@@ -152,7 +155,7 @@ /**

dragging: string;
direction: Record<Options['direction'], string>;
type: Record<Options['type'], string>;
slide: Record<'clone' | 'active', string>;
arrow: Record<'disabled', string>;
nav: Record<'active', string>;
direction: Record<Options["direction"], string>;
type: Record<Options["type"], string>;
slide: Record<"clone" | "active", string>;
arrow: Record<"disabled", string>;
nav: Record<"active", string>;
};

@@ -196,3 +199,3 @@ }

*/
go(pattern: '>' | '<' | '>>' | '<<' | '|>' | '|<' | string): Glide;
go(pattern: ">" | "<" | ">>" | "<<" | "|>" | "|<" | string): Glide;

@@ -199,0 +202,0 @@ /**

@@ -1,3 +0,3 @@

import Glide = require('../../index');
import { Components } from '../../components';
import Glide = require("../../index");
import { Components } from "../../components";

@@ -4,0 +4,0 @@ type TransformerFunction = (

{
"name": "@types/glidejs__glide",
"version": "3.6.1",
"version": "3.6.2",
"description": "TypeScript definitions for @glidejs/glide",

@@ -23,4 +23,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/glidejs__glide",

"dependencies": {},
"typesPublisherContentHash": "7f98abaddec78c3b46d507a9c68e1f6bb00ebf2753bc1206a039ceb781b8b24a",
"typeScriptVersion": "4.2"
"typesPublisherContentHash": "6e8e6c8d3fce0787dc72309651b0c65270105b47f7864eb536a11f7948316753",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Sun, 18 Dec 2022 18:33:16 GMT
* Last updated: Wed, 20 Sep 2023 17:08:03 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: `Glide`

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