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

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.34",
7
+ "version": "1.4.36",
8
8
  "peerDependencies": {
9
9
  "@angular/common": "^21.1.0",
10
10
  "@angular/core": "^21.1.0"
@@ -258,24 +258,40 @@ declare class ContainerSizeDirective implements AfterViewInit, OnDestroy {
258
258
 
259
259
  declare class StableScrollDirective implements AfterViewInit, OnDestroy {
260
260
  private el;
261
- private resizeObserver;
261
+ private readonly platformId;
262
+ private readonly isBrowser;
262
263
  private destroy$;
263
264
  private scrolling$;
264
265
  private _isScrolling;
265
- private anchorElement;
266
- private anchorOffset;
266
+ private mutationObserver?;
267
+ private restoreFrameId;
268
+ private restoreMicrotaskPending;
269
+ $topThreshold: i0.InputSignal<number>;
270
+ $bottomThreshold: i0.InputSignal<number>;
271
+ reachedTop: i0.OutputEmitterRef<void>;
272
+ reachedBottom: i0.OutputEmitterRef<void>;
273
+ private anchorSnapshot;
274
+ private lastScrollTop;
275
+ private scrollingUp;
276
+ private scrollingDown;
267
277
  constructor(elRef: ElementRef<HTMLElement>);
268
278
  get scrolling(): boolean;
269
279
  ngAfterViewInit(): void;
270
280
  ngOnDestroy(): void;
271
- /** Call this BEFORE you change data (prepend/append/remove). */
281
+ /** Call BEFORE data changes */
272
282
  captureBeforeChange(): void;
273
- /** Call this AFTER render (e.g. in afterEveryRender). */
283
+ /** Call AFTER render */
274
284
  restoreScrollPosition(): void;
275
- private captureAnchor;
276
- private restoreAnchor;
285
+ private checkThresholds;
286
+ private observeContentChanges;
287
+ private scheduleRestore;
288
+ private restoreFromSnapshot;
289
+ private scheduleAnimationFrameRestore;
290
+ private refreshAnchorSnapshot;
291
+ private resolveAnchorElement;
292
+ private resolveAnchorCandidates;
277
293
  static ɵfac: i0.ɵɵFactoryDeclaration<StableScrollDirective, never>;
278
- static ɵdir: i0.ɵɵDirectiveDeclaration<StableScrollDirective, "[stableScroll]", never, {}, {}, never, never, true, never>;
294
+ 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>;
279
295
  }
280
296
 
281
297
  declare class CenterEllipsisPipe implements PipeTransform {