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