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

@mantine/hooks

Package Overview
Dependencies
Maintainers
1
Versions
380
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mantine/hooks - npm Package Compare versions

Comparing version 7.4.0 to 7.4.1

11

lib/use-scroll-into-view/use-scroll-into-view.d.ts

@@ -21,8 +21,9 @@ interface ScrollIntoViewAnimation {

}
export declare function useScrollIntoView<Target extends HTMLElement, Parent extends HTMLElement | null = null>({ duration, axis, onScrollFinish, easing, offset, cancelable, isList, }?: ScrollIntoViewParams): {
scrollableRef: import("react").RefObject<Parent>;
targetRef: import("react").RefObject<Target>;
scrollIntoView: ({ alignment }?: ScrollIntoViewAnimation) => void;
interface ScrollIntoViewReturnType<Target extends HTMLElement, Parent extends HTMLElement | null = null> {
scrollableRef: React.MutableRefObject<Parent>;
targetRef: React.MutableRefObject<Target>;
scrollIntoView: (params?: ScrollIntoViewAnimation) => void;
cancel: () => void;
};
}
export declare function useScrollIntoView<Target extends HTMLElement, Parent extends HTMLElement | null = null>({ duration, axis, onScrollFinish, easing, offset, cancelable, isList, }?: ScrollIntoViewParams): ScrollIntoViewReturnType<Target, Parent>;
export {};
{
"name": "@mantine/hooks",
"version": "7.4.0",
"version": "7.4.1",
"description": "A collection of 50+ hooks for state and UI management",

@@ -5,0 +5,0 @@ "homepage": "https://mantine.dev",

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