@skyux/core 14.3.3 → 14.3.5
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/fesm2022/skyux-core.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { NgModule, Injectable, inject, RendererFactory2, NgZone, DOCUMENT, EventEmitter, Output, Input, Directive, effect, untracked, input, booleanAttribute, output, ElementRef, DestroyRef, signal, computed, ChangeDetectionStrategy, Component, provideEnvironmentInitializer, EnvironmentInjector, createEnvironmentInjector, createComponent, ChangeDetectorRef, ViewContainerRef, ViewChild, InjectionToken, Optional, Inject, ApplicationRef, afterNextRender, Injector, Pipe, HostBinding, Renderer2, HostListener } from '@angular/core';
|
|
3
|
-
import { Subject, Subscription, ReplaySubject, fromEvent, of, Observable, filter, map, distinctUntilChanged, shareReplay, observeOn, animationFrameScheduler, takeUntil as takeUntil$1, BehaviorSubject, combineLatestWith, switchMap,
|
|
3
|
+
import { Subject, Subscription, ReplaySubject, fromEvent, of, Observable, filter, map, distinctUntilChanged, shareReplay, observeOn, animationFrameScheduler, takeUntil as takeUntil$1, BehaviorSubject, combineLatestWith, switchMap, merge, debounceTime as debounceTime$1 } from 'rxjs';
|
|
4
4
|
import { takeUntil, debounceTime, take } from 'rxjs/operators';
|
|
5
5
|
import { ViewportRuler } from '@angular/cdk/overlay';
|
|
6
6
|
import * as i1$1 from '@angular/common';
|
|
@@ -4290,7 +4290,7 @@ class SkyScrollableHostService {
|
|
|
4290
4290
|
let getHostRect;
|
|
4291
4291
|
if (scrollableHost &&
|
|
4292
4292
|
scrollableHost !== this.#windowRef.nativeWindow) {
|
|
4293
|
-
inputs.push(resizeObserverSvc.observe({ nativeElement: scrollableHost }));
|
|
4293
|
+
inputs.push(fromEvent(scrollableHost, 'scroll'), resizeObserverSvc.observe({ nativeElement: scrollableHost }));
|
|
4294
4294
|
getHostRect = () => scrollableHost.getBoundingClientRect();
|
|
4295
4295
|
}
|
|
4296
4296
|
else {
|
|
@@ -4301,7 +4301,7 @@ class SkyScrollableHostService {
|
|
|
4301
4301
|
bottom: this.#windowRef.nativeWindow.innerHeight,
|
|
4302
4302
|
});
|
|
4303
4303
|
}
|
|
4304
|
-
return
|
|
4304
|
+
return merge(...inputs).pipe(observeOn(animationFrameScheduler), debounceTime$1(0), map(() => {
|
|
4305
4305
|
const viewportSize = this.#getViewportSize();
|
|
4306
4306
|
let { top, left, right, bottom } = getHostRect();
|
|
4307
4307
|
for (const container of additionalHosts) {
|
|
@@ -5038,7 +5038,7 @@ class Version {
|
|
|
5038
5038
|
/**
|
|
5039
5039
|
* Represents the version of @skyux/core.
|
|
5040
5040
|
*/
|
|
5041
|
-
const VERSION = new Version('14.3.
|
|
5041
|
+
const VERSION = new Version('14.3.5');
|
|
5042
5042
|
|
|
5043
5043
|
/**
|
|
5044
5044
|
* Generated bundle index. Do not edit.
|