@selfdecode/sd-component-library 3.0.24 → 3.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -81,4 +81,4 @@ export declare function useBoundingClientRect<T extends Element = HTMLElement>(s
|
|
|
81
81
|
ref: RefObject<T>;
|
|
82
82
|
rect: DOMRect | undefined;
|
|
83
83
|
};
|
|
84
|
-
export declare const useBodyScrollLock: (target:
|
|
84
|
+
export declare const useBodyScrollLock: <T extends HTMLElement = HTMLElement>(target: T | null, shouldEnable?: boolean) => void;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const isIOS: () => boolean;
|
|
2
|
+
export declare const isTouchScreen: () => boolean;
|
|
3
|
+
export declare const getResponsiveClick: (callback: () => void) => {
|
|
4
|
+
shouldUseTouch: boolean;
|
|
5
|
+
onClick: (() => void) | undefined;
|
|
6
|
+
onTouchStart: (() => void) | undefined;
|
|
7
|
+
};
|