@ibragim-dev-org/ui-forge-library 1.4.75 → 1.4.76

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.75",
7
+ "version": "1.4.76",
8
8
  "peerDependencies": {
9
9
  "@angular/common": "^21.1.0",
10
10
  "@angular/core": "^21.1.0"
@@ -269,25 +269,24 @@ declare class ContainerSizeDirective implements AfterViewInit, OnDestroy {
269
269
  }
270
270
 
271
271
  declare class StableScrollDirective implements AfterViewInit, OnDestroy {
272
- private el;
273
- private readonly platformId;
272
+ readonly $topThreshold: i0.InputSignal<number>;
273
+ readonly $bottomThreshold: i0.InputSignal<number>;
274
+ readonly reachedTop: i0.OutputEmitterRef<void>;
275
+ readonly reachedBottom: i0.OutputEmitterRef<void>;
276
+ private readonly el;
277
+ private readonly zone;
274
278
  private readonly isBrowser;
275
- private destroy$;
276
- private scrolling$;
277
- private _isScrolling;
279
+ private readonly destroy$;
280
+ private readonly scrolling$;
278
281
  private mutationObserver?;
279
- private restoreFrameId;
280
- private restoreMicrotaskPending;
281
- private restoreArmed;
282
- $topThreshold: i0.InputSignal<number>;
283
- $bottomThreshold: i0.InputSignal<number>;
284
- reachedTop: i0.OutputEmitterRef<void>;
285
- reachedBottom: i0.OutputEmitterRef<void>;
286
- private anchorSnapshot;
282
+ private resizeObserver?;
283
+ private anchor;
287
284
  private lastScrollTop;
288
- private scrollingUp;
289
- private scrollingDown;
290
- constructor(elRef: ElementRef<HTMLElement>);
285
+ private wasPinnedToTop;
286
+ private wasPinnedToBottom;
287
+ private restoreArmed;
288
+ private disarmFrameId;
289
+ private _isScrolling;
291
290
  get scrolling(): boolean;
292
291
  ngAfterViewInit(): void;
293
292
  ngOnDestroy(): void;
@@ -296,13 +295,13 @@ declare class StableScrollDirective implements AfterViewInit, OnDestroy {
296
295
  /** Call AFTER render */
297
296
  restoreScrollPosition(): void;
298
297
  private checkThresholds;
299
- private observeContentChanges;
300
- private scheduleRestore;
301
- private restoreFromSnapshot;
302
- private scheduleAnimationFrameRestore;
303
- private refreshAnchorSnapshot;
304
- private resolveAnchorElement;
305
- private resolveAnchorCandidates;
298
+ private observeContent;
299
+ private compensate;
300
+ private scheduleDisarm;
301
+ private refreshAnchor;
302
+ private findTopVisibleCandidate;
303
+ private getCandidates;
304
+ private contentTopOf;
306
305
  static ɵfac: i0.ɵɵFactoryDeclaration<StableScrollDirective, never>;
307
306
  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>;
308
307
  }