@skyux/core 5.1.3 → 5.2.3
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/README.md +1 -1
- package/bundles/skyux-core-testing.umd.js +22 -25
- package/bundles/skyux-core-testing.umd.js.map +1 -1
- package/bundles/skyux-core.umd.js +417 -357
- package/bundles/skyux-core.umd.js.map +1 -1
- package/documentation.json +541 -548
- package/esm2015/modules/adapter-service/adapter.module.js +5 -5
- package/esm2015/modules/adapter-service/adapter.service.js +9 -8
- package/esm2015/modules/adapter-service/focusable-children-options.js +1 -1
- package/esm2015/modules/affix/affix-auto-fit-context.js +1 -1
- package/esm2015/modules/affix/affix-config.js +1 -1
- package/esm2015/modules/affix/affix-offset-change.js +1 -1
- package/esm2015/modules/affix/affix-offset.js +1 -1
- package/esm2015/modules/affix/affix-placement-change.js +1 -1
- package/esm2015/modules/affix/affix-utils.js +3 -8
- package/esm2015/modules/affix/affix.directive.js +7 -7
- package/esm2015/modules/affix/affix.module.js +8 -16
- package/esm2015/modules/affix/affix.service.js +6 -6
- package/esm2015/modules/affix/affixer.js +21 -19
- package/esm2015/modules/affix/dom-utils.js +3 -4
- package/esm2015/modules/dock/dock-dom-adapter.service.js +8 -7
- package/esm2015/modules/dock/dock-insert-component-config.js +1 -1
- package/esm2015/modules/dock/dock-item-config.js +1 -1
- package/esm2015/modules/dock/dock-item-reference.js +1 -1
- package/esm2015/modules/dock/dock-item.js +1 -1
- package/esm2015/modules/dock/dock-location.js +1 -1
- package/esm2015/modules/dock/dock-options.js +1 -1
- package/esm2015/modules/dock/dock.component.js +13 -17
- package/esm2015/modules/dock/dock.module.js +9 -21
- package/esm2015/modules/dock/dock.service.js +6 -6
- package/esm2015/modules/dynamic-component/dynamic-component-location.js +1 -1
- package/esm2015/modules/dynamic-component/dynamic-component-options.js +1 -1
- package/esm2015/modules/dynamic-component/dynamic-component.module.js +5 -5
- package/esm2015/modules/dynamic-component/dynamic-component.service.js +7 -7
- package/esm2015/modules/format/app-format.js +5 -5
- package/esm2015/modules/id/id.directive.js +5 -5
- package/esm2015/modules/id/id.module.js +7 -11
- package/esm2015/modules/log/log.module.js +5 -5
- package/esm2015/modules/log/log.service.js +5 -5
- package/esm2015/modules/media-query/media-breakpoints.js +1 -1
- package/esm2015/modules/media-query/media-query-listener.js +1 -1
- package/esm2015/modules/media-query/media-query.module.js +5 -5
- package/esm2015/modules/media-query/media-query.service.js +12 -12
- package/esm2015/modules/mutation/mutation-observer-service.js +5 -5
- package/esm2015/modules/numeric/numeric.module.js +9 -24
- package/esm2015/modules/numeric/numeric.options.js +1 -1
- package/esm2015/modules/numeric/numeric.pipe.js +12 -14
- package/esm2015/modules/numeric/numeric.service.js +16 -15
- package/esm2015/modules/overlay/overlay-adapter.service.js +5 -5
- package/esm2015/modules/overlay/overlay-config.js +1 -1
- package/esm2015/modules/overlay/overlay-context.js +1 -1
- package/esm2015/modules/overlay/overlay-instance.js +1 -1
- package/esm2015/modules/overlay/overlay.component.js +11 -11
- package/esm2015/modules/overlay/overlay.module.js +8 -16
- package/esm2015/modules/overlay/overlay.service.js +13 -11
- package/esm2015/modules/percent-pipe/percent-pipe.module.js +9 -24
- package/esm2015/modules/percent-pipe/percent.pipe.js +7 -6
- package/esm2015/modules/scrollable-host/scrollable-host.service.js +103 -25
- package/esm2015/modules/shared/number-format/number-format-utility.js +8 -5
- package/esm2015/modules/shared/sky-core-resources.module.js +21 -12
- package/esm2015/modules/title/set-title-args.js +1 -1
- package/esm2015/modules/title/title.service.js +5 -5
- package/esm2015/modules/ui-config/ui-config.service.js +5 -5
- package/esm2015/modules/viewkeeper/viewkeeper-boundary-info.js +1 -1
- package/esm2015/modules/viewkeeper/viewkeeper-host-options.js +4 -4
- package/esm2015/modules/viewkeeper/viewkeeper.directive.js +14 -11
- package/esm2015/modules/viewkeeper/viewkeeper.js +36 -15
- package/esm2015/modules/viewkeeper/viewkeeper.module.js +7 -11
- package/esm2015/modules/viewkeeper/viewkeeper.service.js +5 -5
- package/esm2015/modules/window/window-ref.js +5 -5
- package/esm2015/testing/mock-media-query.service.js +7 -7
- package/esm2015/testing/mock-ui-config.service.js +18 -21
- package/fesm2015/skyux-core-testing.js +22 -25
- package/fesm2015/skyux-core-testing.js.map +1 -1
- package/fesm2015/skyux-core.js +407 -363
- package/fesm2015/skyux-core.js.map +1 -1
- package/modules/scrollable-host/scrollable-host.service.d.ts +25 -6
- package/modules/viewkeeper/viewkeeper.d.ts +3 -1
- package/package.json +4 -4
@@ -1,14 +1,33 @@
|
|
1
|
-
import { ElementRef } from
|
2
|
-
import { Observable } from
|
3
|
-
import { MutationObserverService } from
|
4
|
-
import { SkyAppWindowRef } from
|
1
|
+
import { ElementRef } from '@angular/core';
|
2
|
+
import { Observable } from 'rxjs';
|
3
|
+
import { MutationObserverService } from '../mutation/mutation-observer-service';
|
4
|
+
import { SkyAppWindowRef } from '../window/window-ref';
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
export declare class SkyScrollableHostService {
|
7
7
|
private mutationObserverSvc;
|
8
8
|
private windowRef;
|
9
9
|
constructor(mutationObserverSvc: MutationObserverService, windowRef: SkyAppWindowRef);
|
10
|
-
|
11
|
-
|
10
|
+
/**
|
11
|
+
* Returns the given element's current scrollable host
|
12
|
+
* @param elementRef The element whose scrollable host is being requested
|
13
|
+
* @returns The current scrollable host
|
14
|
+
*/
|
15
|
+
getScrollableHost(elementRef: ElementRef): HTMLElement | Window;
|
16
|
+
/**
|
17
|
+
* Returns an observable which emits the given element's current scrollable host
|
18
|
+
* @param elementRef The element whose scrollable host is being requested
|
19
|
+
* @param completionObservable An observable which alerts the internal observers that they should complete
|
20
|
+
* @returns An observable which emits the current scrollable host
|
21
|
+
* @internal
|
22
|
+
*/
|
23
|
+
watchScrollableHost(elementRef: ElementRef): Observable<HTMLElement | Window>;
|
24
|
+
/**
|
25
|
+
* Returns an observable which emits whenever the element's scrollable host emits a scroll event. The observable will always emit the scroll events from the elements current scrollable host and will update based on any scrollable host changes. The observable will also emit once whenever the scrollable host changes.
|
26
|
+
* @param elementRef The element whose scrollable host scroll events are being requested
|
27
|
+
* @param completionObservable An observable which alerts the internal observers that they should complete
|
28
|
+
* @returns An observable which emits the scroll events from the given element's scrollable host
|
29
|
+
*/
|
30
|
+
watchScrollableHostScrollEvents(elementRef: ElementRef): Observable<void>;
|
12
31
|
private findScrollableHost;
|
13
32
|
private observeForScrollableHostChanges;
|
14
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyScrollableHostService, never>;
|
@@ -6,13 +6,15 @@ export declare class SkyViewkeeper {
|
|
6
6
|
private boundaryEl;
|
7
7
|
private verticalOffset;
|
8
8
|
private verticalOffsetEl;
|
9
|
-
private viewportMarginTop;
|
9
|
+
private set viewportMarginTop(value);
|
10
|
+
private get viewportMarginTop();
|
10
11
|
private isDestroyed;
|
11
12
|
private currentElFixedTop;
|
12
13
|
private currentElFixedLeft;
|
13
14
|
private currentElFixedWidth;
|
14
15
|
private scrollableHost;
|
15
16
|
private syncElPositionHandler;
|
17
|
+
private _viewportMarginTop;
|
16
18
|
constructor(options: SkyViewkeeperOptions);
|
17
19
|
syncElPosition(): void;
|
18
20
|
destroy(): void;
|
package/package.json
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"name": "@skyux/core",
|
3
|
-
"version": "5.
|
3
|
+
"version": "5.2.3",
|
4
4
|
"peerDependencies": {
|
5
|
-
"@angular/common": "^12.2.
|
6
|
-
"@angular/core": "^12.2.
|
7
|
-
"@angular/router": "^12.2.
|
5
|
+
"@angular/common": "^12.2.14",
|
6
|
+
"@angular/core": "^12.2.14",
|
7
|
+
"@angular/router": "^12.2.14",
|
8
8
|
"@skyux/i18n": "^5.0.1"
|
9
9
|
},
|
10
10
|
"dependencies": {
|