stimulus-use
Advanced tools
Comparing version 0.22.1-0 to 0.22.1-1
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
211770