@stonecrop/utilities 0.7.0 → 0.7.1
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.
- package/dist/composables/visibility/index.js +2 -2
- package/dist/index.js +1 -1
- package/dist/src/composables/visibility/index.d.ts +2 -2
- package/dist/src/index.d.ts +1 -1
- package/dist/utilities.d.ts +1 -1
- package/dist/utilities.js.map +1 -1
- package/dist/utilities.umd.cjs.map +1 -1
- package/package.json +2 -2
- package/src/composables/visibility/index.ts +2 -2
- package/src/index.ts +1 -1
|
@@ -14,8 +14,8 @@ import { ref, watch } from 'vue';
|
|
|
14
14
|
* (Last verified: v10.9.0 on May 2, 2024)
|
|
15
15
|
*
|
|
16
16
|
* @see https://v9-13-0.vueuse.org/core/useElementVisibility
|
|
17
|
-
* @param element
|
|
18
|
-
* @param options
|
|
17
|
+
* @param element - Element to track visibility for
|
|
18
|
+
* @param options - Configuration options (window, scrollTarget)
|
|
19
19
|
*/
|
|
20
20
|
export function useElementVisibility(element, { window = defaultWindow, scrollTarget } = {}) {
|
|
21
21
|
const elementIsVisible = ref(false);
|
package/dist/index.js
CHANGED
|
@@ -17,8 +17,8 @@ export interface UseElementVisibilityOptions extends ConfigurableWindow {
|
|
|
17
17
|
* (Last verified: v10.9.0 on May 2, 2024)
|
|
18
18
|
*
|
|
19
19
|
* @see https://v9-13-0.vueuse.org/core/useElementVisibility
|
|
20
|
-
* @param element
|
|
21
|
-
* @param options
|
|
20
|
+
* @param element - Element to track visibility for
|
|
21
|
+
* @param options - Configuration options (window, scrollTarget)
|
|
22
22
|
*/
|
|
23
23
|
export declare function useElementVisibility(element: MaybeComputedElementRef, { window, scrollTarget }?: UseElementVisibilityOptions): import("vue").Ref<boolean, boolean>;
|
|
24
24
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { defaultKeypressHandlers, useKeyboardNav } from './composables/keyboard'
|
|
|
3
3
|
export type * from './types';
|
|
4
4
|
/**
|
|
5
5
|
* Install all utility components
|
|
6
|
-
* @param
|
|
6
|
+
* @param _app - Vue app instance
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
9
|
declare function install(_app: App): void;
|
package/dist/utilities.d.ts
CHANGED