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

stimulus-use

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stimulus-use - npm Package Compare versions

Comparing version 0.22.1-0 to 0.22.1-1

2

dist/use-click-outside/click-outside-controller.d.ts
import { Context, Controller } from 'stimulus';
import { ClickOutsideOptions } from './use-click-outside';
export declare class ClickOutsideComposableController extends Controller {
clickOutside: (event: Event) => void;
clickOutside?: (event: Event) => void;
}

@@ -6,0 +6,0 @@ export declare class ClickOutsideController extends ClickOutsideComposableController {

@@ -5,4 +5,4 @@ import { Controller, Context } from 'stimulus';

isIdle: boolean;
away: () => void;
back: () => void;
away?: () => void;
back?: () => void;
}

@@ -9,0 +9,0 @@ export declare class IdleController extends IdleComposableController {

@@ -5,4 +5,4 @@ import { Controller, Context } from 'stimulus';

isLoaded: boolean;
loading: (src: string) => void;
loaded: (src: string) => void;
loading?: (src: string) => void;
loaded?: (src: string) => void;
}

@@ -9,0 +9,0 @@ export declare class LazyLoadController extends LazyLoadComposableController {

import { Context, Controller } from 'stimulus';
import { MutationOptions } from './use-mutation';
export declare class MutationComposableController extends Controller {
mutate: (entries: MutationRecord[]) => void;
mutate?: (entries: MutationRecord[]) => void;
}

@@ -6,0 +6,0 @@ export declare class MutationController extends MutationComposableController {

import { Controller, Context } from 'stimulus';
import { ResizeOptions } from './use-resize';
export declare class ResizeComposableController extends Controller {
resize: (contentRect: DOMRectReadOnly) => void;
resize?: (contentRect: DOMRectReadOnly) => void;
}

@@ -6,0 +6,0 @@ export declare class ResizeController extends ResizeComposableController {

@@ -5,5 +5,5 @@ import { Controller, Context } from 'stimulus';

transitioned: boolean;
enter: (event: Event) => void;
leave: (event: Event) => void;
toggleTransition: (event: Event) => void;
enter?: (event: Event | undefined) => void;
leave?: (event: Event | undefined) => void;
toggleTransition?: (event: Event | undefined) => void;
}

@@ -10,0 +10,0 @@ export declare class TransitionController extends TransitionComposableController {

import { Controller, Context } from 'stimulus';
import { WindowResizePayload } from './use-window-resize';
export declare class WindowResizeComposableController extends Controller {
windowResize: (payload: WindowResizePayload) => void;
windowResize?: (payload: WindowResizePayload) => void;
}

@@ -6,0 +6,0 @@ export declare class WindowResizeController extends WindowResizeComposableController {

{
"name": "stimulus-use",
"version": "0.22.1-0",
"version": "0.22.1-1",
"description": "A collection of standard controllers and utilities for Stimulus",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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