@skyux/popovers 14.6.0 → 14.6.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.
- package/fesm2022/skyux-popovers.mjs +141 -148
- package/fesm2022/skyux-popovers.mjs.map +1 -1
- package/package.json +6 -6
- package/types/skyux-popovers.d.ts +7 -22
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/popovers",
|
|
3
|
-
"version": "14.6.
|
|
3
|
+
"version": "14.6.2",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"@angular/common": "^21.2.0",
|
|
21
21
|
"@angular/core": "^21.2.0",
|
|
22
22
|
"@angular/platform-browser": "^21.2.0",
|
|
23
|
-
"@skyux-sdk/testing": "14.6.
|
|
24
|
-
"@skyux/core": "14.6.
|
|
25
|
-
"@skyux/i18n": "14.6.
|
|
26
|
-
"@skyux/icon": "14.6.
|
|
27
|
-
"@skyux/theme": "14.6.
|
|
23
|
+
"@skyux-sdk/testing": "14.6.2",
|
|
24
|
+
"@skyux/core": "14.6.2",
|
|
25
|
+
"@skyux/i18n": "14.6.2",
|
|
26
|
+
"@skyux/icon": "14.6.2",
|
|
27
|
+
"@skyux/theme": "14.6.2"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"tslib": "^2.8.1"
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnDestroy, OnInit, ElementRef, TemplateRef, AfterViewInit,
|
|
2
|
+
import { OnDestroy, OnInit, ElementRef, TemplateRef, AfterViewInit, AfterContentInit, EventEmitter, QueryList, ViewContainerRef } from '@angular/core';
|
|
3
3
|
import * as rxjs from 'rxjs';
|
|
4
4
|
import { Subject, Observable } from 'rxjs';
|
|
5
5
|
import * as i6 from '@skyux/core';
|
|
6
|
-
import {
|
|
6
|
+
import { SkyAffixer } from '@skyux/core';
|
|
7
7
|
import * as i5 from '@angular/common';
|
|
8
8
|
import * as i8 from '@skyux/icon';
|
|
9
9
|
import * as i1 from '@skyux/i18n';
|
|
10
10
|
import * as i10 from '@skyux/theme';
|
|
11
|
-
import { SkyThemeService } from '@skyux/theme';
|
|
12
11
|
|
|
13
12
|
/**
|
|
14
13
|
* Specifies the button for the dropdown menu.
|
|
@@ -197,7 +196,6 @@ declare class SkyDropdownComponent implements OnInit, OnDestroy {
|
|
|
197
196
|
*/
|
|
198
197
|
declare class SkyDropdownItemComponent implements AfterViewInit {
|
|
199
198
|
#private;
|
|
200
|
-
elementRef: ElementRef;
|
|
201
199
|
/**
|
|
202
200
|
* The ARIA role for the dropdown menu item
|
|
203
201
|
* [to support accessibility](https://developer.blackbaud.com/skyux/learn/accessibility)
|
|
@@ -209,7 +207,7 @@ declare class SkyDropdownItemComponent implements AfterViewInit {
|
|
|
209
207
|
set ariaRole(value: string | undefined);
|
|
210
208
|
get ariaRole(): string;
|
|
211
209
|
isActive: boolean;
|
|
212
|
-
|
|
210
|
+
readonly elementRef: ElementRef<any>;
|
|
213
211
|
ngAfterViewInit(): void;
|
|
214
212
|
focusElement(enableNativeFocus: boolean): void;
|
|
215
213
|
isFocusable(): boolean;
|
|
@@ -282,7 +280,6 @@ declare class SkyDropdownMenuComponent implements AfterContentInit, OnDestroy {
|
|
|
282
280
|
set menuIndex(value: number);
|
|
283
281
|
get menuIndex(): number;
|
|
284
282
|
menuItems: QueryList<SkyDropdownItemComponent>;
|
|
285
|
-
constructor(changeDetector: ChangeDetectorRef, elementRef: ElementRef, dropdownComponent?: SkyDropdownComponent);
|
|
286
283
|
ngAfterContentInit(): void;
|
|
287
284
|
ngOnDestroy(): void;
|
|
288
285
|
focusFirstItem(): void;
|
|
@@ -290,7 +287,7 @@ declare class SkyDropdownMenuComponent implements AfterContentInit, OnDestroy {
|
|
|
290
287
|
focusPreviousItem(): void;
|
|
291
288
|
focusNextItem(): void;
|
|
292
289
|
reset(): void;
|
|
293
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDropdownMenuComponent,
|
|
290
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyDropdownMenuComponent, never>;
|
|
294
291
|
static ɵcmp: i0.ɵɵComponentDeclaration<SkyDropdownMenuComponent, "sky-dropdown-menu", never, { "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "ariaRole": { "alias": "ariaRole"; "required": false; }; "useNativeFocus": { "alias": "useNativeFocus"; "required": false; }; }, { "menuChanges": "menuChanges"; }, ["menuItems"], ["*"], false, never>;
|
|
295
292
|
}
|
|
296
293
|
|
|
@@ -366,7 +363,6 @@ declare class SkyPopoverComponent implements OnDestroy {
|
|
|
366
363
|
isMouseEnter: boolean;
|
|
367
364
|
popoverId: string;
|
|
368
365
|
templateRef: TemplateRef<unknown> | undefined;
|
|
369
|
-
constructor(overlayService: SkyOverlayService, stackingContext?: SkyStackingContext);
|
|
370
366
|
ngOnDestroy(): void;
|
|
371
367
|
/**
|
|
372
368
|
* Positions the popover next to a given caller element.
|
|
@@ -392,20 +388,10 @@ declare class SkyPopoverComponent implements OnDestroy {
|
|
|
392
388
|
*/
|
|
393
389
|
markForCloseOnMouseLeave(): void;
|
|
394
390
|
hasFocusableContent(): boolean;
|
|
395
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyPopoverComponent,
|
|
391
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyPopoverComponent, never>;
|
|
396
392
|
static ɵcmp: i0.ɵɵComponentDeclaration<SkyPopoverComponent, "sky-popover", never, { "alignment": { "alias": "alignment"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "popoverTitle": { "alias": "popoverTitle"; "required": false; }; "popoverType": { "alias": "popoverType"; "required": false; }; }, { "popoverClosed": "popoverClosed"; "popoverOpened": "popoverOpened"; }, never, ["*"], false, never>;
|
|
397
393
|
}
|
|
398
394
|
|
|
399
|
-
/**
|
|
400
|
-
* @internal
|
|
401
|
-
*/
|
|
402
|
-
declare class SkyPopoverContext {
|
|
403
|
-
readonly contentTemplateRef: TemplateRef<unknown>;
|
|
404
|
-
constructor(args: {
|
|
405
|
-
contentTemplateRef: TemplateRef<unknown>;
|
|
406
|
-
});
|
|
407
|
-
}
|
|
408
|
-
|
|
409
395
|
/**
|
|
410
396
|
* @internal
|
|
411
397
|
*/
|
|
@@ -425,7 +411,6 @@ declare class SkyPopoverContentComponent implements OnInit, OnDestroy {
|
|
|
425
411
|
arrowRef: ElementRef | undefined;
|
|
426
412
|
popoverRef: ElementRef | undefined;
|
|
427
413
|
set contentTarget(value: ViewContainerRef | undefined);
|
|
428
|
-
constructor(changeDetector: ChangeDetectorRef, elementRef: ElementRef, affixService: SkyAffixService, coreAdapterService: SkyCoreAdapterService, context: SkyPopoverContext, themeSvc?: SkyThemeService);
|
|
429
414
|
hasFocusableContent(): boolean;
|
|
430
415
|
ngOnInit(): void;
|
|
431
416
|
ngOnDestroy(): void;
|
|
@@ -440,7 +425,7 @@ declare class SkyPopoverContentComponent implements OnInit, OnDestroy {
|
|
|
440
425
|
}): void;
|
|
441
426
|
close(): void;
|
|
442
427
|
applyFocus(): void;
|
|
443
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyPopoverContentComponent,
|
|
428
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyPopoverContentComponent, never>;
|
|
444
429
|
static ɵcmp: i0.ɵɵComponentDeclaration<SkyPopoverContentComponent, "sky-popover-content", never, {}, {}, never, never, false, never>;
|
|
445
430
|
}
|
|
446
431
|
|
|
@@ -518,7 +503,7 @@ declare class SkyPopoverDirective implements OnInit, OnDestroy {
|
|
|
518
503
|
*/
|
|
519
504
|
set skyPopoverTrigger(value: SkyPopoverTrigger | undefined);
|
|
520
505
|
get skyPopoverTrigger(): SkyPopoverTrigger;
|
|
521
|
-
constructor(
|
|
506
|
+
constructor();
|
|
522
507
|
ngOnInit(): void;
|
|
523
508
|
ngOnDestroy(): void;
|
|
524
509
|
togglePopover(): void;
|