@skyux/layout 7.0.0-beta.4 → 7.0.0-beta.5
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 +375 -245
- package/esm2020/index.mjs +2 -1
- package/esm2020/lib/modules/page/page-layout-type.mjs +2 -0
- package/esm2020/lib/modules/page/page-theme-adapter.service.mjs +17 -11
- package/esm2020/lib/modules/page/page.component.mjs +23 -8
- package/esm2020/lib/modules/page/page.module.mjs +5 -3
- package/fesm2015/skyux-layout.mjs +41 -19
- package/fesm2015/skyux-layout.mjs.map +1 -1
- package/fesm2020/skyux-layout.mjs +39 -19
- package/fesm2020/skyux-layout.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/lib/modules/page/page-layout-type.d.ts +1 -0
- package/lib/modules/page/page-theme-adapter.service.d.ts +1 -0
- package/lib/modules/page/page.component.d.ts +10 -2
- package/lib/modules/page/page.module.d.ts +2 -1
- package/package.json +9 -9
package/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export * from './lib/modules/format/format-item';
|
|
|
18
18
|
export * from './lib/modules/format/format.module';
|
|
19
19
|
export * from './lib/modules/inline-delete/inline-delete-type';
|
|
20
20
|
export * from './lib/modules/inline-delete/inline-delete.module';
|
|
21
|
+
export * from './lib/modules/page/page-layout-type';
|
|
21
22
|
export * from './lib/modules/page/page.module';
|
|
22
23
|
export * from './lib/modules/page-summary/page-summary.module';
|
|
23
24
|
export * from './lib/modules/text-expand/text-expand.module';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type SkyPageLayoutType = 'auto' | 'fit';
|
|
@@ -4,6 +4,7 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export declare class SkyPageThemeAdapterService {
|
|
6
6
|
#private;
|
|
7
|
+
constructor(document: Document);
|
|
7
8
|
/**
|
|
8
9
|
* We can't use ViewEncapsulation.None for this behavior because Angular does
|
|
9
10
|
* not remove `style` tags from the HEAD element after route changes.
|
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { SkyPageLayoutType } from './page-layout-type';
|
|
2
3
|
import { SkyPageThemeAdapterService } from './page-theme-adapter.service';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
/**
|
|
5
|
-
*
|
|
6
|
+
* Displays page contents using the specified layout.
|
|
6
7
|
*/
|
|
7
8
|
export declare class SkyPageComponent implements OnInit, OnDestroy {
|
|
8
9
|
#private;
|
|
10
|
+
/**
|
|
11
|
+
* Specifies the page layout. Use `auto` to allow the page contents
|
|
12
|
+
* to expand beyond the bottom of the browser window. Use `fit`
|
|
13
|
+
* to constrain the page contents to the available viewport.
|
|
14
|
+
*/
|
|
15
|
+
set layout(value: SkyPageLayoutType | undefined);
|
|
16
|
+
get layout(): SkyPageLayoutType;
|
|
9
17
|
constructor(themeAdapter: SkyPageThemeAdapterService);
|
|
10
18
|
ngOnInit(): void;
|
|
11
19
|
ngOnDestroy(): void;
|
|
12
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyPageComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyPageComponent, "sky-page", never, {}, {}, never, ["*"], false>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyPageComponent, "sky-page", never, { "layout": "layout"; }, {}, never, ["*"], false>;
|
|
14
22
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./page.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
3
4
|
export declare class SkyPageModule {
|
|
4
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyPageModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyPageModule, [typeof i1.SkyPageComponent],
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyPageModule, [typeof i1.SkyPageComponent], [typeof i2.CommonModule], [typeof i1.SkyPageComponent]>;
|
|
6
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<SkyPageModule>;
|
|
7
8
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/layout",
|
|
3
|
-
"version": "7.0.0-beta.
|
|
3
|
+
"version": "7.0.0-beta.5",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -47,14 +47,14 @@
|
|
|
47
47
|
"@angular/forms": "^14.2.0",
|
|
48
48
|
"@angular/platform-browser": "^14.2.0",
|
|
49
49
|
"@angular/router": "^14.2.0",
|
|
50
|
-
"@skyux-sdk/testing": "7.0.0-beta.
|
|
51
|
-
"@skyux/core": "7.0.0-beta.
|
|
52
|
-
"@skyux/forms": "7.0.0-beta.
|
|
53
|
-
"@skyux/i18n": "7.0.0-beta.
|
|
54
|
-
"@skyux/indicators": "7.0.0-beta.
|
|
55
|
-
"@skyux/modals": "7.0.0-beta.
|
|
56
|
-
"@skyux/router": "7.0.0-beta.
|
|
57
|
-
"@skyux/theme": "7.0.0-beta.
|
|
50
|
+
"@skyux-sdk/testing": "7.0.0-beta.5",
|
|
51
|
+
"@skyux/core": "7.0.0-beta.5",
|
|
52
|
+
"@skyux/forms": "7.0.0-beta.5",
|
|
53
|
+
"@skyux/i18n": "7.0.0-beta.5",
|
|
54
|
+
"@skyux/indicators": "7.0.0-beta.5",
|
|
55
|
+
"@skyux/modals": "7.0.0-beta.5",
|
|
56
|
+
"@skyux/router": "7.0.0-beta.5",
|
|
57
|
+
"@skyux/theme": "7.0.0-beta.5"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"tslib": "^2.3.1"
|