@skyux/layout 6.3.1 → 6.4.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.
@@ -1,4 +1,4 @@
1
- import { AfterContentInit, ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
2
2
  import { SkyCoreAdapterService } from '@skyux/core';
3
3
  import { SkyThemeService } from '@skyux/theme';
4
4
  import { SkyActionButtonAdapterService } from './action-button-adapter-service';
@@ -8,7 +8,8 @@ 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 AfterContentInit, OnDestroy, OnInit {
11
+ export declare class SkyActionButtonContainerComponent implements AfterViewInit, OnDestroy, OnInit {
12
+ #private;
12
13
  private actionButtonAdapterService;
13
14
  private changeRef;
14
15
  private coreAdapterService;
@@ -30,7 +31,7 @@ export declare class SkyActionButtonContainerComponent implements AfterContentIn
30
31
  private _themeName;
31
32
  constructor(actionButtonAdapterService: SkyActionButtonAdapterService, changeRef: ChangeDetectorRef, coreAdapterService: SkyCoreAdapterService, hostElRef: ElementRef, themeSvc?: SkyThemeService);
32
33
  ngOnInit(): void;
33
- ngAfterContentInit(): void;
34
+ ngAfterViewInit(): void;
34
35
  ngOnDestroy(): void;
35
36
  onContentChange(): void;
36
37
  onWindowResize(): void;
@@ -1,10 +1,12 @@
1
1
  import { TemplateRef } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  /**
4
- * Specifies the term in a term-description pair.
4
+ * Specifies the term in a term-description pair. To display a help button beside
5
+ * the term, include a help button element in the sky-description-list-term element
6
+ * and a sky-control-help CSS class on that element.
5
7
  */
6
8
  export declare class SkyDescriptionListTermComponent {
7
9
  templateRef: TemplateRef<unknown>;
8
10
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyDescriptionListTermComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<SkyDescriptionListTermComponent, "sky-description-list-term", never, {}, {}, never, ["*"]>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyDescriptionListTermComponent, "sky-description-list-term", never, {}, {}, never, ["*", ".sky-control-help"]>;
10
12
  }
@@ -7,8 +7,9 @@ import * as i5 from "@angular/common";
7
7
  import * as i6 from "@skyux/i18n";
8
8
  import * as i7 from "../shared/sky-layout-resources.module";
9
9
  import * as i8 from "@skyux/theme";
10
+ import * as i9 from "@skyux/core";
10
11
  export declare class SkyDescriptionListModule {
11
12
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyDescriptionListModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<SkyDescriptionListModule, [typeof i1.SkyDescriptionListComponent, typeof i2.SkyDescriptionListContentComponent, typeof i3.SkyDescriptionListTermComponent, typeof i4.SkyDescriptionListDescriptionComponent], [typeof i5.CommonModule, typeof i6.SkyI18nModule, typeof i7.SkyLayoutResourcesModule, typeof i8.SkyThemeModule], [typeof i1.SkyDescriptionListComponent, typeof i2.SkyDescriptionListContentComponent, typeof i3.SkyDescriptionListTermComponent, typeof i4.SkyDescriptionListDescriptionComponent]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyDescriptionListModule, [typeof i1.SkyDescriptionListComponent, typeof i2.SkyDescriptionListContentComponent, typeof i3.SkyDescriptionListTermComponent, typeof i4.SkyDescriptionListDescriptionComponent], [typeof i5.CommonModule, typeof i6.SkyI18nModule, typeof i7.SkyLayoutResourcesModule, typeof i8.SkyThemeModule, typeof i9.SkyTrimModule], [typeof i1.SkyDescriptionListComponent, typeof i2.SkyDescriptionListContentComponent, typeof i3.SkyDescriptionListTermComponent, typeof i4.SkyDescriptionListDescriptionComponent]>;
13
14
  static ɵinj: i0.ɵɵInjectorDeclaration<SkyDescriptionListModule>;
14
15
  }
@@ -4,6 +4,11 @@ import * as i0 from "@angular/core";
4
4
  */
5
5
  export declare class SkyPageThemeAdapterService {
6
6
  private styleEl;
7
+ /**
8
+ * We can't use ViewEncapsulation.None for this behavior because Angular does
9
+ * not remove `style` tags from the HEAD element after route changes.
10
+ * @see https://github.com/angular/angular/issues/16670
11
+ */
7
12
  addTheme(): void;
8
13
  removeTheme(): void;
9
14
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyPageThemeAdapterService, never>;
@@ -2,9 +2,7 @@ import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { SkyPageThemeAdapterService } from './page-theme-adapter.service';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
5
- * Resets the SPA's background to white and adds the `sky-theme-default` CSS class to the host
6
- * element to let consumers override CSS styling. Consumers can override any element by writing
7
- * CSS selectors like this: `:host-context(.sky-theme-default) .my-class {}`.
5
+ * Sets the correct background color for a page.
8
6
  */
9
7
  export declare class SkyPageComponent implements OnInit, OnDestroy {
10
8
  private themeAdapter;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/layout",
3
- "version": "6.3.1",
3
+ "version": "6.4.0",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -47,14 +47,14 @@
47
47
  "@angular/forms": "^13.3.2",
48
48
  "@angular/platform-browser": "^13.3.2",
49
49
  "@angular/router": "^13.3.2",
50
- "@skyux-sdk/testing": "6.3.1",
51
- "@skyux/core": "6.3.1",
52
- "@skyux/forms": "6.3.1",
53
- "@skyux/i18n": "6.3.1",
54
- "@skyux/indicators": "6.3.1",
55
- "@skyux/modals": "6.3.1",
56
- "@skyux/router": "6.3.1",
57
- "@skyux/theme": "6.3.1"
50
+ "@skyux-sdk/testing": "6.4.0",
51
+ "@skyux/core": "6.4.0",
52
+ "@skyux/forms": "6.4.0",
53
+ "@skyux/i18n": "6.4.0",
54
+ "@skyux/indicators": "6.4.0",
55
+ "@skyux/modals": "6.4.0",
56
+ "@skyux/router": "6.4.0",
57
+ "@skyux/theme": "6.4.0"
58
58
  },
59
59
  "dependencies": {
60
60
  "tslib": "^2.3.1"