@ethlete/core 2.7.4 → 2.8.0

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.
@@ -8,7 +8,6 @@ export declare class ObserveScrollStateDirective implements OnInit, OnDestroy {
8
8
  private readonly _elementRef;
9
9
  private readonly _contentObserverService;
10
10
  private readonly _resizeObserverService;
11
- private readonly _observedChildren;
12
11
  private get _firstCurrentChild();
13
12
  private get _lastCurrentChild();
14
13
  rootMargin: number;
@@ -16,13 +15,14 @@ export declare class ObserveScrollStateDirective implements OnInit, OnDestroy {
16
15
  set observerThreshold(value: unknown);
17
16
  private _threshold;
18
17
  private _intersectionObserver;
18
+ private get _observerElements();
19
19
  valueChange: EventEmitter<ScrollObserverScrollState>;
20
20
  ngOnInit(): void;
21
21
  ngOnDestroy(): void;
22
22
  private _checkChildren;
23
23
  private _initiateIntersectionObserver;
24
- private _observeChild;
25
- private _unobserveChild;
24
+ private _observe;
25
+ private _unobserve;
26
26
  private _clearIntersectionObserver;
27
27
  private _getNonIgnoredChild;
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<ObserveScrollStateDirective, never>;
@@ -0,0 +1,7 @@
1
+ import { Observable } from 'rxjs';
2
+ export declare const createMutationObservable: (config: {
3
+ elements: HTMLElement | HTMLElement[];
4
+ options?: MutationObserverInit & {
5
+ styleIgnoreList?: string[];
6
+ };
7
+ }) => Observable<MutationRecord[]>;
@@ -6,6 +6,7 @@ export * from './cookie.util';
6
6
  export * from './destroy.utils';
7
7
  export * from './equal.util';
8
8
  export * from './media-query-observable.util';
9
+ export * from './mutation-observable.util';
9
10
  export * from './reactive-binding.util';
10
11
  export * from './round.utils';
11
12
  export * from './runtime-error.utils';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethlete/core",
3
- "version": "2.7.4",
3
+ "version": "2.8.0",
4
4
  "dependencies": {
5
5
  "tslib": "^2.5.0"
6
6
  },