@skyux/core 7.11.1 → 7.13.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.
- package/documentation.json +873 -730
- package/esm2020/index.mjs +3 -1
- package/esm2020/lib/modules/affix/affix-config.mjs +1 -1
- package/esm2020/lib/modules/affix/affix-position.mjs +2 -0
- package/esm2020/lib/modules/affix/affix-rect.mjs +2 -0
- package/esm2020/lib/modules/affix/affix.directive.mjs +6 -2
- package/esm2020/lib/modules/affix/affixer.mjs +32 -7
- package/esm2020/lib/modules/overlay/overlay-config.mjs +1 -1
- package/esm2020/lib/modules/overlay/overlay-position.mjs +2 -0
- package/esm2020/lib/modules/overlay/overlay.component.mjs +6 -3
- package/fesm2015/skyux-core.mjs +41 -9
- package/fesm2015/skyux-core.mjs.map +1 -1
- package/fesm2020/skyux-core.mjs +41 -9
- package/fesm2020/skyux-core.mjs.map +1 -1
- package/index.d.ts +2 -0
- package/lib/modules/affix/affix-config.d.ts +5 -0
- package/lib/modules/affix/affix-position.d.ts +1 -0
- package/lib/modules/affix/affix-rect.d.ts +11 -0
- package/lib/modules/affix/affix.directive.d.ts +6 -1
- package/lib/modules/overlay/overlay-config.d.ts +5 -0
- package/lib/modules/overlay/overlay-position.d.ts +1 -0
- package/lib/modules/overlay/overlay.component.d.ts +2 -0
- package/package.json +2 -2
package/index.d.ts
CHANGED
@@ -8,6 +8,7 @@ export * from './lib/modules/affix/affix-offset';
|
|
8
8
|
export * from './lib/modules/affix/affix-offset-change';
|
9
9
|
export * from './lib/modules/affix/affix-placement';
|
10
10
|
export * from './lib/modules/affix/affix-placement-change';
|
11
|
+
export * from './lib/modules/affix/affix-position';
|
11
12
|
export * from './lib/modules/affix/affix-vertical-alignment';
|
12
13
|
export * from './lib/modules/affix/affix.module';
|
13
14
|
export * from './lib/modules/affix/affix.service';
|
@@ -42,6 +43,7 @@ export * from './lib/modules/numeric/numeric.pipe';
|
|
42
43
|
export * from './lib/modules/numeric/numeric.service';
|
43
44
|
export * from './lib/modules/overlay/overlay-config';
|
44
45
|
export * from './lib/modules/overlay/overlay-instance';
|
46
|
+
export * from './lib/modules/overlay/overlay-position';
|
45
47
|
export * from './lib/modules/overlay/overlay.module';
|
46
48
|
export * from './lib/modules/overlay/overlay.service';
|
47
49
|
export * from './lib/modules/percent-pipe/percent-pipe.module';
|
@@ -2,6 +2,7 @@ import { SkyAffixAutoFitContext } from './affix-auto-fit-context';
|
|
2
2
|
import { SkyAffixHorizontalAlignment } from './affix-horizontal-alignment';
|
3
3
|
import { SkyAffixOffset } from './affix-offset';
|
4
4
|
import { SkyAffixPlacement } from './affix-placement';
|
5
|
+
import { SkyAffixPosition } from './affix-position';
|
5
6
|
import { SkyAffixVerticalAlignment } from './affix-vertical-alignment';
|
6
7
|
export interface SkyAffixConfig {
|
7
8
|
/**
|
@@ -38,4 +39,8 @@ export interface SkyAffixConfig {
|
|
38
39
|
* The vertical alignment of the affixed element to the base element.
|
39
40
|
*/
|
40
41
|
verticalAlignment?: SkyAffixVerticalAlignment;
|
42
|
+
/**
|
43
|
+
* The position of the element being affixed.
|
44
|
+
*/
|
45
|
+
position?: SkyAffixPosition;
|
41
46
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare type SkyAffixPosition = 'absolute' | 'fixed';
|
@@ -5,6 +5,7 @@ import { SkyAffixOffset } from './affix-offset';
|
|
5
5
|
import { SkyAffixOffsetChange } from './affix-offset-change';
|
6
6
|
import { SkyAffixPlacement } from './affix-placement';
|
7
7
|
import { SkyAffixPlacementChange } from './affix-placement-change';
|
8
|
+
import { SkyAffixPosition } from './affix-position';
|
8
9
|
import { SkyAffixVerticalAlignment } from './affix-vertical-alignment';
|
9
10
|
import { SkyAffixService } from './affix.service';
|
10
11
|
import * as i0 from "@angular/core";
|
@@ -41,6 +42,10 @@ export declare class SkyAffixDirective implements OnInit, OnChanges, OnDestroy {
|
|
41
42
|
* Sets the `placement` property of [[SkyAffixConfig]].
|
42
43
|
*/
|
43
44
|
affixPlacement: SkyAffixPlacement | undefined;
|
45
|
+
/**
|
46
|
+
* Sets the `position` property of [[SkyAffixConfig]].
|
47
|
+
*/
|
48
|
+
affixPosition: SkyAffixPosition | undefined;
|
44
49
|
/**
|
45
50
|
* Sets the `verticalAlignment` property of [[SkyAffixConfig]].
|
46
51
|
*/
|
@@ -62,5 +67,5 @@ export declare class SkyAffixDirective implements OnInit, OnChanges, OnDestroy {
|
|
62
67
|
ngOnChanges(changes: SimpleChanges): void;
|
63
68
|
ngOnDestroy(): void;
|
64
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyAffixDirective, never>;
|
65
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SkyAffixDirective, "[skyAffixTo]", never, { "skyAffixTo": "skyAffixTo"; "affixAutoFitContext": "affixAutoFitContext"; "affixAutoFitOverflowOffset": "affixAutoFitOverflowOffset"; "affixEnableAutoFit": "affixEnableAutoFit"; "affixHorizontalAlignment": "affixHorizontalAlignment"; "affixIsSticky": "affixIsSticky"; "affixPlacement": "affixPlacement"; "affixVerticalAlignment": "affixVerticalAlignment"; }, { "affixOffsetChange": "affixOffsetChange"; "affixOverflowScroll": "affixOverflowScroll"; "affixPlacementChange": "affixPlacementChange"; }, never, never, false>;
|
70
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SkyAffixDirective, "[skyAffixTo]", never, { "skyAffixTo": "skyAffixTo"; "affixAutoFitContext": "affixAutoFitContext"; "affixAutoFitOverflowOffset": "affixAutoFitOverflowOffset"; "affixEnableAutoFit": "affixEnableAutoFit"; "affixHorizontalAlignment": "affixHorizontalAlignment"; "affixIsSticky": "affixIsSticky"; "affixPlacement": "affixPlacement"; "affixPosition": "affixPosition"; "affixVerticalAlignment": "affixVerticalAlignment"; }, { "affixOffsetChange": "affixOffsetChange"; "affixOverflowScroll": "affixOverflowScroll"; "affixPlacementChange": "affixPlacementChange"; }, never, never, false>;
|
66
71
|
}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { SkyOverlayPosition } from './overlay-position';
|
1
2
|
export interface SkyOverlayConfig {
|
2
3
|
/**
|
3
4
|
* Whether the overlay closes after a navigation change.
|
@@ -23,4 +24,8 @@ export interface SkyOverlayConfig {
|
|
23
24
|
* Extra CSS classes to add to the overlay's wrapper element.
|
24
25
|
*/
|
25
26
|
wrapperClass?: string;
|
27
|
+
/**
|
28
|
+
* The position of the overlay instance.
|
29
|
+
*/
|
30
|
+
position?: SkyOverlayPosition;
|
26
31
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare type SkyOverlayPosition = 'absolute' | 'fixed';
|
@@ -4,6 +4,7 @@ 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';
|
7
|
+
import { SkyOverlayPosition } from './overlay-position';
|
7
8
|
import * as i0 from "@angular/core";
|
8
9
|
/**
|
9
10
|
* @internal
|
@@ -18,6 +19,7 @@ export declare class SkyOverlayComponent implements OnInit, OnDestroy {
|
|
18
19
|
showBackdrop: boolean;
|
19
20
|
zIndex: string;
|
20
21
|
protected clipPath$: ReplaySubject<string | undefined>;
|
22
|
+
protected position: SkyOverlayPosition;
|
21
23
|
overlayContentRef: ElementRef | undefined;
|
22
24
|
overlayRef: ElementRef | undefined;
|
23
25
|
targetRef: ViewContainerRef | undefined;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@skyux/core",
|
3
|
-
"version": "7.
|
3
|
+
"version": "7.13.0",
|
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.
|
48
|
+
"@skyux/i18n": "7.13.0"
|
49
49
|
},
|
50
50
|
"dependencies": {
|
51
51
|
"tslib": "^2.3.1"
|