@danske/sapphire-angular 3.1.1 → 3.2.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.
@@ -68,6 +68,7 @@ export declare class FieldComponent implements AfterContentInit, AfterViewChecke
68
68
  controls?: QueryList<FieldControl>;
69
69
  radioGroup?: RadioGroupComponent;
70
70
  private requiredValidator?;
71
+ private suffixPortalOutlet;
71
72
  /**
72
73
  * Is set via field-note-affix directive. ContentChild query can't be used since we need
73
74
  * to query from content -> view in some cases.
@@ -77,6 +78,7 @@ export declare class FieldComponent implements AfterContentInit, AfterViewChecke
77
78
  private changed;
78
79
  constructor(changeDetectorRef: ChangeDetectorRef, iconRegistry: IconRegistry);
79
80
  ngAfterContentInit(): void;
81
+ ngAfterViewInit(): void;
80
82
  ngAfterViewChecked(): void;
81
83
  /**
82
84
  * Whether the field contains an error message (sp-field-error).
@@ -1,5 +1,6 @@
1
1
  import { DialogRef } from '@angular/cdk/dialog';
2
2
  import { ModalBaseComponent } from '../modal-base.component';
3
+ import { BooleanInput } from '@angular/cdk/coercion';
3
4
  import * as i0 from "@angular/core";
4
5
  import * as i1 from "../../../common/sapphire-view-encapsulation";
5
6
  /**
@@ -12,7 +13,8 @@ export declare class DialogComponent extends ModalBaseComponent {
12
13
  * Dialog size, constraining the width of the dialog.
13
14
  */
14
15
  size: 'xs' | 'sm' | 'md' | 'lg';
16
+ padded: BooleanInput;
15
17
  constructor(dialogRef: DialogRef);
16
18
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "sp-dialog", never, { "size": "size"; }, {}, never, ["*"], false, [{ directive: typeof i1.UseComponentStylesOnHost; inputs: {}; outputs: {}; }]>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "sp-dialog", never, { "size": "size"; "padded": "padded"; }, {}, never, ["*"], false, [{ directive: typeof i1.UseComponentStylesOnHost; inputs: {}; outputs: {}; }]>;
18
20
  }
@@ -23,7 +23,7 @@ export declare class PopoverComponent implements AfterViewInit {
23
23
  */
24
24
  noAutoFocus: BooleanInput;
25
25
  /**
26
- * Wheter the popover traps the focus inside.
26
+ * Whether the popover traps the focus inside.
27
27
  */
28
28
  trapFocus: BooleanInput;
29
29
  ID: string;
@@ -10,7 +10,8 @@ export declare class BodyComponent {
10
10
  */
11
11
  color?: 'primary' | 'secondary' | 'positive' | 'negative' | 'warning' | 'informative';
12
12
  bold?: BooleanInput;
13
+ semibold?: BooleanInput;
13
14
  private get className();
14
15
  static ɵfac: i0.ɵɵFactoryDeclaration<BodyComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<BodyComponent, "[sp-body]", never, { "size": "size"; "color": "color"; "bold": "bold"; }, {}, never, ["*"], false, [{ directive: typeof i1.ThemeCheckDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.UseComponentStylesOnHost; inputs: {}; outputs: {}; }]>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<BodyComponent, "[sp-body]", never, { "size": "size"; "color": "color"; "bold": "bold"; "semibold": "semibold"; }, {}, never, ["*"], false, [{ directive: typeof i1.ThemeCheckDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.UseComponentStylesOnHost; inputs: {}; outputs: {}; }]>;
16
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danske/sapphire-angular",
3
- "version": "3.1.1",
3
+ "version": "3.2.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "The Angular implementation of the Sapphire Design System from Danske Bank A/S",
6
6
  "module": "fesm2015/danske-sapphire-angular.mjs",
@@ -16,12 +16,12 @@
16
16
  "@danske/sapphire-icons": "^3.1.0"
17
17
  },
18
18
  "dependencies": {
19
- "@danske/sapphire-css": "^40.2.1",
19
+ "@danske/sapphire-css": "^42.0.0",
20
20
  "@internationalized/message": "^3.1.5",
21
21
  "sanitize-html": "^2.17.0",
22
22
  "tslib": "^2.3.0"
23
23
  },
24
- "gitHead": "612c203ea4278deafe40f5477b5b33569cf06cfb",
24
+ "gitHead": "afb5a25463f39012c3599e6242c8d308786d11e1",
25
25
  "es2020": "fesm2020/danske-sapphire-angular.mjs",
26
26
  "esm2020": "esm2020/danske-sapphire-angular.mjs",
27
27
  "fesm2020": "fesm2020/danske-sapphire-angular.mjs",