@nightshadeui/scroller 2.17.0 → 2.19.0

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.
@@ -1,4 +1,4 @@
1
- import type { ScrollerParams } from './types.js';
1
+ import { ScrollerParams } from './types.js';
2
2
  export declare class ScrollerController {
3
3
  readonly params: ScrollerParams;
4
4
  private el;
@@ -1 +1 @@
1
- {"version":3,"file":"ScrollerController.d.ts","sourceRoot":"","sources":["../src/ScrollerController.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD,qBAAa,kBAAkB;IAWvB,QAAQ,CAAC,MAAM,EAAE,cAAc;IATnC,OAAO,CAAC,EAAE,CAA4B;IACtC,OAAO,CAAC,KAAK,CAAK;IAClB,OAAO,CAAC,KAAK,CAEV;IAEH,OAAO,CAAC,QAAQ,CAAuB;gBAG1B,MAAM,GAAE,cAAmB;IAGxC,IAAI,CAAC,WAEJ;IAED,KAAK,CAAC,EAAE,EAAE,WAAW;IAMrB,OAAO;IAMP,MAAM;IAKN,OAAO,CAAC,SAAS;IAOjB,OAAO,CAAC,QAAQ;CAkBnB"}
1
+ {"version":3,"file":"ScrollerController.d.ts","sourceRoot":"","sources":["../src/ScrollerController.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,qBAAa,kBAAkB;IAWvB,QAAQ,CAAC,MAAM,EAAE,cAAc;IATnC,OAAO,CAAC,EAAE,CAA4B;IACtC,OAAO,CAAC,KAAK,CAAK;IAClB,OAAO,CAAC,KAAK,CAEV;IAEH,OAAO,CAAC,QAAQ,CAAuB;gBAG1B,MAAM,GAAE,cAAmB;IAGxC,IAAI,CAAC,WAEJ;IAED,KAAK,CAAC,EAAE,EAAE,WAAW;IAMrB,OAAO;IAMP,MAAM;IAKN,OAAO,CAAC,SAAS;IAOjB,OAAO,CAAC,QAAQ;CAkBnB"}
@@ -1,4 +1,4 @@
1
- import type { ScrollerParams } from './types.js';
1
+ import { ScrollerParams } from './types.js';
2
2
  export declare function useScroller(params?: ScrollerParams): {
3
3
  t: import("vue").Ref<number, number>;
4
4
  scrollerEl: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
@@ -1 +1 @@
1
- {"version":3,"file":"useScroller.d.ts","sourceRoot":"","sources":["../src/useScroller.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD,wBAAgB,WAAW,CAAC,MAAM,GAAE,cAAmB;;;;EAkBtD"}
1
+ {"version":3,"file":"useScroller.d.ts","sourceRoot":"","sources":["../src/useScroller.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,wBAAgB,WAAW,CAAC,MAAM,GAAE,cAAmB;;;;EAkBtD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nightshadeui/scroller",
3
- "version": "2.17.0",
3
+ "version": "2.19.0",
4
4
  "description": "Scroll progress composable for Nightshade Vue apps",
5
5
  "author": "Boris Okunskiy",
6
6
  "license": "ISC",
@@ -1,6 +1,6 @@
1
1
  import { reactive } from 'vue';
2
2
 
3
- import type { ScrollerParams } from './types.js';
3
+ import { ScrollerParams } from './types.js';
4
4
 
5
5
  export class ScrollerController {
6
6
 
@@ -1,7 +1,7 @@
1
1
  import { onMounted, onUnmounted, ref, toRef } from 'vue';
2
2
 
3
3
  import { ScrollerController } from './ScrollerController.js';
4
- import type { ScrollerParams } from './types.js';
4
+ import { ScrollerParams } from './types.js';
5
5
 
6
6
  export function useScroller(params: ScrollerParams = {}) {
7
7
  const scrollerEl = ref<HTMLElement | null>(null);