@skyux/popovers 5.8.4 → 5.9.2

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.
@@ -7,6 +7,7 @@ import { SkyPopoverPlacement } from './types/popover-placement';
7
7
  import { SkyPopoverTrigger } from './types/popover-trigger';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class SkyPopoverDirective implements OnInit, OnDestroy {
10
+ #private;
10
11
  private elementRef;
11
12
  /**
12
13
  * References the popover component to display. Add this directive to the trigger element that opens the popover.
@@ -15,17 +16,17 @@ export declare class SkyPopoverDirective implements OnInit, OnDestroy {
15
16
  skyPopover: SkyPopoverComponent;
16
17
  /**
17
18
  * Specifies the horizontal alignment of the popover in relation to the trigger element.
18
- * Options include:`"center"`, `"right"`, and `"left"`.
19
19
  * @default "center"
20
20
  */
21
21
  skyPopoverAlignment: SkyPopoverAlignment;
22
22
  /**
23
- * Provides an observable to send commands to the popover that respect the `SkyPopoverMessage` type.
23
+ * Provides an RxJS `Subject` to send commands to the popover that respect the `SkyPopoverMessage` type.
24
24
  */
25
- skyPopoverMessageStream: Subject<SkyPopoverMessage>;
25
+ set skyPopoverMessageStream(value: Subject<SkyPopoverMessage> | undefined);
26
+ get skyPopoverMessageStream(): Subject<SkyPopoverMessage>;
27
+ private _skyPopoverMessageStream;
26
28
  /**
27
29
  * Specifies the placement of the popover in relation to the trigger element.
28
- * Options include:`"above"`, `"below"`, `"right"`, and `"left"`.
29
30
  * @default "above"
30
31
  */
31
32
  skyPopoverPlacement: SkyPopoverPlacement;
@@ -47,6 +48,8 @@ export declare class SkyPopoverDirective implements OnInit, OnDestroy {
47
48
  private removeEventListeners;
48
49
  private handleIncomingMessages;
49
50
  private sendMessage;
51
+ private subscribeMessageStream;
52
+ private unsubscribeMessageStream;
50
53
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyPopoverDirective, never>;
51
54
  static ɵdir: i0.ɵɵDirectiveDeclaration<SkyPopoverDirective, "[skyPopover]", never, { "skyPopover": "skyPopover"; "skyPopoverAlignment": "skyPopoverAlignment"; "skyPopoverMessageStream": "skyPopoverMessageStream"; "skyPopoverPlacement": "skyPopoverPlacement"; "skyPopoverTrigger": "skyPopoverTrigger"; }, {}, never>;
52
55
  }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * The style type of the popover.
3
+ */
4
+ export declare type SkyPopoverType = 'danger' | 'info';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/popovers",
3
- "version": "5.8.4",
3
+ "version": "5.9.2",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -20,11 +20,11 @@
20
20
  "@angular/common": "^12.2.16",
21
21
  "@angular/core": "^12.2.16",
22
22
  "@angular/platform-browser": "^12.2.16",
23
- "@skyux-sdk/testing": "5.8.4",
24
- "@skyux/core": "5.8.4",
25
- "@skyux/i18n": "5.8.4",
26
- "@skyux/indicators": "5.8.4",
27
- "@skyux/theme": "5.8.4"
23
+ "@skyux-sdk/testing": "5.9.2",
24
+ "@skyux/core": "5.9.2",
25
+ "@skyux/i18n": "5.9.2",
26
+ "@skyux/indicators": "5.9.2",
27
+ "@skyux/theme": "5.9.2"
28
28
  },
29
29
  "dependencies": {
30
30
  "tslib": "^2.3.1"