@skyux/layout 6.3.0 → 6.3.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/documentation.json +724 -584
- package/esm2020/lib/modules/action-button/action-button-container.component.mjs +38 -44
- package/esm2020/lib/modules/action-button/action-button.component.mjs +22 -7
- package/esm2020/lib/modules/action-button/action-button.module.mjs +5 -1
- package/fesm2015/skyux-layout.mjs +62 -47
- package/fesm2015/skyux-layout.mjs.map +1 -1
- package/fesm2020/skyux-layout.mjs +60 -47
- package/fesm2020/skyux-layout.mjs.map +1 -1
- package/lib/modules/action-button/action-button-container.component.d.ts +9 -11
- package/lib/modules/action-button/action-button.component.d.ts +7 -2
- package/lib/modules/action-button/action-button.module.d.ts +6 -5
- package/package.json +10 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { SkyCoreAdapterService } from '@skyux/core';
|
|
3
3
|
import { SkyThemeService } from '@skyux/theme';
|
|
4
4
|
import { SkyActionButtonAdapterService } from './action-button-adapter-service';
|
|
5
5
|
import { SkyActionButtonContainerAlignItemsType } from './types/action-button-container-align-items-type';
|
|
@@ -8,13 +8,12 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
* Wraps action buttons to ensures that they have consistent height and spacing.
|
|
9
9
|
* @required
|
|
10
10
|
*/
|
|
11
|
-
export declare class SkyActionButtonContainerComponent implements
|
|
11
|
+
export declare class SkyActionButtonContainerComponent implements AfterViewInit, OnDestroy, OnInit {
|
|
12
|
+
#private;
|
|
12
13
|
private actionButtonAdapterService;
|
|
13
14
|
private changeRef;
|
|
14
15
|
private coreAdapterService;
|
|
15
16
|
private hostElRef;
|
|
16
|
-
private mutationObserverSvc;
|
|
17
|
-
private ngZone;
|
|
18
17
|
private themeSvc?;
|
|
19
18
|
/**
|
|
20
19
|
* Specifies how to display the action buttons inside the action button container.
|
|
@@ -25,20 +24,19 @@ export declare class SkyActionButtonContainerComponent implements AfterContentIn
|
|
|
25
24
|
get alignItems(): SkyActionButtonContainerAlignItemsType;
|
|
26
25
|
private actionButtons;
|
|
27
26
|
private containerRef;
|
|
28
|
-
private mutationObserver;
|
|
29
27
|
private ngUnsubscribe;
|
|
28
|
+
private syncMaxHeightTimeout?;
|
|
30
29
|
private set themeName(value);
|
|
31
30
|
private _alignItems;
|
|
32
31
|
private _themeName;
|
|
33
|
-
constructor(actionButtonAdapterService: SkyActionButtonAdapterService, changeRef: ChangeDetectorRef, coreAdapterService: SkyCoreAdapterService, hostElRef: ElementRef,
|
|
32
|
+
constructor(actionButtonAdapterService: SkyActionButtonAdapterService, changeRef: ChangeDetectorRef, coreAdapterService: SkyCoreAdapterService, hostElRef: ElementRef, themeSvc?: SkyThemeService);
|
|
34
33
|
ngOnInit(): void;
|
|
35
|
-
|
|
34
|
+
ngAfterViewInit(): void;
|
|
36
35
|
ngOnDestroy(): void;
|
|
36
|
+
onContentChange(): void;
|
|
37
37
|
onWindowResize(): void;
|
|
38
|
-
private initMutationObserver;
|
|
39
|
-
private destroyMutationObserver;
|
|
40
38
|
private updateHeight;
|
|
41
39
|
private updateResponsiveClass;
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyActionButtonContainerComponent, [null, null, null, null,
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyActionButtonContainerComponent, [null, null, null, null, { optional: true; }]>;
|
|
43
41
|
static ɵcmp: i0.ɵɵComponentDeclaration<SkyActionButtonContainerComponent, "sky-action-button-container", never, { "alignItems": "alignItems"; }, {}, ["actionButtons"], ["*"]>;
|
|
44
42
|
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { SkyHrefChange } from '@skyux/router';
|
|
2
3
|
import { SkyActionButtonPermalink } from './action-button-permalink';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
/**
|
|
5
6
|
* Creates a button to present users with an option to move forward with tasks.
|
|
6
7
|
*/
|
|
7
8
|
export declare class SkyActionButtonComponent {
|
|
9
|
+
private changeRef;
|
|
10
|
+
hidden: boolean;
|
|
8
11
|
/**
|
|
9
12
|
* Specifies a link for the action button.
|
|
10
13
|
*/
|
|
@@ -13,8 +16,10 @@ export declare class SkyActionButtonComponent {
|
|
|
13
16
|
* Fires when users select the action button.
|
|
14
17
|
*/
|
|
15
18
|
actionClick: EventEmitter<any>;
|
|
19
|
+
constructor(changeRef: ChangeDetectorRef);
|
|
16
20
|
buttonClicked(): void;
|
|
17
21
|
enterPress(): void;
|
|
18
|
-
|
|
22
|
+
onSkyHrefDisplayChange($event: SkyHrefChange): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyActionButtonComponent, [{ skipSelf: true; }]>;
|
|
19
24
|
static ɵcmp: i0.ɵɵComponentDeclaration<SkyActionButtonComponent, "sky-action-button", never, { "permalink": "permalink"; }, { "actionClick": "actionClick"; }, never, ["sky-action-button-icon", "sky-action-button-header", "sky-action-button-details"]>;
|
|
20
25
|
}
|
|
@@ -5,12 +5,13 @@ import * as i3 from "./action-button-details.component";
|
|
|
5
5
|
import * as i4 from "./action-button-header.component";
|
|
6
6
|
import * as i5 from "./action-button-icon.component";
|
|
7
7
|
import * as i6 from "@angular/common";
|
|
8
|
-
import * as i7 from "@angular/
|
|
9
|
-
import * as i8 from "@
|
|
10
|
-
import * as i9 from "@skyux/
|
|
11
|
-
import * as i10 from "@skyux/
|
|
8
|
+
import * as i7 from "@angular/cdk/observers";
|
|
9
|
+
import * as i8 from "@angular/router";
|
|
10
|
+
import * as i9 from "@skyux/router";
|
|
11
|
+
import * as i10 from "@skyux/indicators";
|
|
12
|
+
import * as i11 from "@skyux/theme";
|
|
12
13
|
export declare class SkyActionButtonModule {
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyActionButtonModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyActionButtonModule, [typeof i1.SkyActionButtonComponent, typeof i2.SkyActionButtonContainerComponent, typeof i3.SkyActionButtonDetailsComponent, typeof i4.SkyActionButtonHeaderComponent, typeof i5.SkyActionButtonIconComponent], [typeof i6.CommonModule, typeof i7.
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyActionButtonModule, [typeof i1.SkyActionButtonComponent, typeof i2.SkyActionButtonContainerComponent, typeof i3.SkyActionButtonDetailsComponent, typeof i4.SkyActionButtonHeaderComponent, typeof i5.SkyActionButtonIconComponent], [typeof i6.CommonModule, typeof i7.ObserversModule, typeof i8.RouterModule, typeof i9.SkyHrefModule, typeof i10.SkyIconModule, typeof i11.SkyThemeModule], [typeof i1.SkyActionButtonComponent, typeof i2.SkyActionButtonContainerComponent, typeof i3.SkyActionButtonDetailsComponent, typeof i4.SkyActionButtonHeaderComponent, typeof i5.SkyActionButtonIconComponent]>;
|
|
15
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<SkyActionButtonModule>;
|
|
16
17
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/layout",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.3",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -41,19 +41,20 @@
|
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"@angular/animations": "^13.3.2",
|
|
44
|
+
"@angular/cdk": "^13.3.2",
|
|
44
45
|
"@angular/common": "^13.3.2",
|
|
45
46
|
"@angular/core": "^13.3.2",
|
|
46
47
|
"@angular/forms": "^13.3.2",
|
|
47
48
|
"@angular/platform-browser": "^13.3.2",
|
|
48
49
|
"@angular/router": "^13.3.2",
|
|
49
|
-
"@skyux-sdk/testing": "6.3.
|
|
50
|
-
"@skyux/core": "6.3.
|
|
51
|
-
"@skyux/forms": "6.3.
|
|
52
|
-
"@skyux/i18n": "6.3.
|
|
53
|
-
"@skyux/indicators": "6.3.
|
|
54
|
-
"@skyux/modals": "6.3.
|
|
55
|
-
"@skyux/router": "6.3.
|
|
56
|
-
"@skyux/theme": "6.3.
|
|
50
|
+
"@skyux-sdk/testing": "6.3.3",
|
|
51
|
+
"@skyux/core": "6.3.3",
|
|
52
|
+
"@skyux/forms": "6.3.3",
|
|
53
|
+
"@skyux/i18n": "6.3.3",
|
|
54
|
+
"@skyux/indicators": "6.3.3",
|
|
55
|
+
"@skyux/modals": "6.3.3",
|
|
56
|
+
"@skyux/router": "6.3.3",
|
|
57
|
+
"@skyux/theme": "6.3.3"
|
|
57
58
|
},
|
|
58
59
|
"dependencies": {
|
|
59
60
|
"tslib": "^2.3.1"
|