@ibragim-dev-org/ui-forge-library 1.4.33 → 1.4.34

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/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public",
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },
7
- "version": "1.4.33",
7
+ "version": "1.4.34",
8
8
  "peerDependencies": {
9
9
  "@angular/common": "^21.1.0",
10
10
  "@angular/core": "^21.1.0"
@@ -257,33 +257,25 @@ declare class ContainerSizeDirective implements AfterViewInit, OnDestroy {
257
257
  }
258
258
 
259
259
  declare class StableScrollDirective implements AfterViewInit, OnDestroy {
260
- private readonly host;
261
- private readonly destroyRef;
262
260
  private el;
263
- private lastScrollHeight;
264
- /** Emit when user reaches top threshold */
265
- reachedTop: i0.OutputEmitterRef<void>;
266
- /** Emit when user reaches bottom threshold */
267
- reachedBottom: i0.OutputEmitterRef<void>;
268
- /** Top threshold in px or percentage (0–1). Default: 0 (exact top). */
269
- $topThreshold: i0.InputSignal<number>;
270
- /** Bottom threshold in px or percentage (0–1). Default: 0 (exact bottom). */
271
- $bottomThreshold: i0.InputSignal<number>;
272
- constructor(host: ElementRef<HTMLElement>, destroyRef: DestroyRef);
273
- private scrolling$;
274
- private scrollEnd$;
275
- private isScrolling;
276
261
  private resizeObserver;
262
+ private destroy$;
263
+ private scrolling$;
264
+ private _isScrolling;
265
+ private anchorElement;
266
+ private anchorOffset;
267
+ constructor(elRef: ElementRef<HTMLElement>);
277
268
  get scrolling(): boolean;
278
269
  ngAfterViewInit(): void;
279
270
  ngOnDestroy(): void;
280
- private onScroll;
281
- /** Call this BEFORE you change the data */
271
+ /** Call this BEFORE you change data (prepend/append/remove). */
282
272
  captureBeforeChange(): void;
283
- /** Call this AFTER Angular renders new items */
273
+ /** Call this AFTER render (e.g. in afterEveryRender). */
284
274
  restoreScrollPosition(): void;
275
+ private captureAnchor;
276
+ private restoreAnchor;
285
277
  static ɵfac: i0.ɵɵFactoryDeclaration<StableScrollDirective, never>;
286
- static ɵdir: i0.ɵɵDirectiveDeclaration<StableScrollDirective, "[stableScroll]", never, { "$topThreshold": { "alias": "$topThreshold"; "required": false; "isSignal": true; }; "$bottomThreshold": { "alias": "$bottomThreshold"; "required": false; "isSignal": true; }; }, { "reachedTop": "reachedTop"; "reachedBottom": "reachedBottom"; }, never, never, true, never>;
278
+ static ɵdir: i0.ɵɵDirectiveDeclaration<StableScrollDirective, "[stableScroll]", never, {}, {}, never, never, true, never>;
287
279
  }
288
280
 
289
281
  declare class CenterEllipsisPipe implements PipeTransform {