@skyux/core 7.7.0 → 7.8.1

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.
@@ -1,6 +1,6 @@
1
1
  import { ChangeDetectorRef, ComponentRef, ElementRef, EmbeddedViewRef, Injector, OnDestroy, OnInit, StaticProvider, TemplateRef, Type, ViewContainerRef } from '@angular/core';
2
2
  import { Router } from '@angular/router';
3
- import { Observable } from 'rxjs';
3
+ import { Observable, ReplaySubject } from 'rxjs';
4
4
  import { SkyCoreAdapterService } from '../adapter-service/adapter.service';
5
5
  import { SkyIdService } from '../id/id.service';
6
6
  import { SkyOverlayContext } from './overlay-context';
@@ -17,6 +17,7 @@ export declare class SkyOverlayComponent implements OnInit, OnDestroy {
17
17
  id: string;
18
18
  showBackdrop: boolean;
19
19
  zIndex: string;
20
+ protected clipPath$: ReplaySubject<string | undefined>;
20
21
  overlayContentRef: ElementRef | undefined;
21
22
  overlayRef: ElementRef | undefined;
22
23
  targetRef: ViewContainerRef | undefined;
@@ -25,6 +26,7 @@ export declare class SkyOverlayComponent implements OnInit, OnDestroy {
25
26
  ngOnDestroy(): void;
26
27
  attachComponent<C>(component: Type<C>, providers?: StaticProvider[]): ComponentRef<C>;
27
28
  attachTemplate<T>(templateRef: TemplateRef<T>, context: T): EmbeddedViewRef<T>;
29
+ updateClipPath(clipPath: string | undefined): void;
28
30
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyOverlayComponent, [null, null, null, null, null, { optional: true; }]>;
29
31
  static ɵcmp: i0.ɵɵComponentDeclaration<SkyOverlayComponent, "sky-overlay", never, {}, {}, never, never, false>;
30
32
  }
@@ -1,11 +1,12 @@
1
1
  import { ElementRef } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
3
  import { SkyMutationObserverService } from '../mutation/mutation-observer-service';
4
+ import { SkyResizeObserverService } from '../resize-observer/resize-observer.service';
4
5
  import { SkyAppWindowRef } from '../window/window-ref';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class SkyScrollableHostService {
7
8
  #private;
8
- constructor(mutationObserverSvc: SkyMutationObserverService, windowRef: SkyAppWindowRef);
9
+ constructor(mutationObserverSvc: SkyMutationObserverService, windowRef: SkyAppWindowRef, resizeObserverSvc?: SkyResizeObserverService);
9
10
  /**
10
11
  * Returns the given element's current scrollable host
11
12
  * @param elementRef The element whose scrollable host is being requested
@@ -25,6 +26,7 @@ export declare class SkyScrollableHostService {
25
26
  * @returns An observable which emits when the elements scrollable host is scrolled or is changed
26
27
  */
27
28
  watchScrollableHostScrollEvents(elementRef: ElementRef): Observable<void>;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyScrollableHostService, never>;
29
+ watchScrollableHostClipPathChanges(elementRef: ElementRef): Observable<string>;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyScrollableHostService, [null, null, { optional: true; }]>;
29
31
  static ɵprov: i0.ɵɵInjectableDeclaration<SkyScrollableHostService>;
30
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/core",
3
- "version": "7.7.0",
3
+ "version": "7.8.1",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -45,7 +45,7 @@
45
45
  "@angular/core": "^14.2.11",
46
46
  "@angular/platform-browser": "^14.2.11",
47
47
  "@angular/router": "^14.2.11",
48
- "@skyux/i18n": "7.7.0"
48
+ "@skyux/i18n": "7.8.1"
49
49
  },
50
50
  "dependencies": {
51
51
  "tslib": "^2.3.1"