@danske/sapphire-angular 3.0.1 → 3.1.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.
@@ -48,6 +48,11 @@ export declare class FieldComponent implements AfterContentInit, AfterViewChecke
48
48
  * Avoid the default width
49
49
  */
50
50
  noDefaultWidth?: BooleanInput;
51
+ /**
52
+ * Allow both note and error at the same time
53
+ * @default false
54
+ */
55
+ allowNoteAndError?: BooleanInput;
51
56
  /**
52
57
  * @default "lg"
53
58
  */
@@ -97,5 +102,5 @@ export declare class FieldComponent implements AfterContentInit, AfterViewChecke
97
102
  get labelNecessityIndicator(): LabelComponent['necessityIndicator'];
98
103
  _setSuffixPortal(portal: DomPortal<HTMLElement> | null): void;
99
104
  static ɵfac: i0.ɵɵFactoryDeclaration<FieldComponent, never>;
100
- static ɵcmp: i0.ɵɵComponentDeclaration<FieldComponent, "sp-field", never, { "necessityIndicator": "necessityIndicator"; "labelPlacement": "labelPlacement"; "noDefaultWidth": "noDefaultWidth"; "size": "size"; }, {}, ["note", "error", "_fieldLabel", "radioGroup", "requiredValidator", "controls"], ["sp-field-label", "sp-help-button", "*", "sp-field-error", "sp-field-note"], false, [{ directive: typeof i1.UseComponentStylesOnHost; inputs: {}; outputs: {}; }]>;
105
+ static ɵcmp: i0.ɵɵComponentDeclaration<FieldComponent, "sp-field", never, { "necessityIndicator": "necessityIndicator"; "labelPlacement": "labelPlacement"; "noDefaultWidth": "noDefaultWidth"; "allowNoteAndError": "allowNoteAndError"; "size": "size"; }, {}, ["note", "error", "_fieldLabel", "radioGroup", "requiredValidator", "controls"], ["sp-field-label", "sp-help-button", "*", "sp-field-error", "sp-field-note"], false, [{ directive: typeof i1.UseComponentStylesOnHost; inputs: {}; outputs: {}; }]>;
101
106
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danske/sapphire-angular",
3
- "version": "3.0.1",
3
+ "version": "3.1.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.0.1",
19
+ "@danske/sapphire-css": "^40.2.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": "e052ec3397087e0567db5b78a2b5e43953cf6b0e",
24
+ "gitHead": "e1d288a48bcd633f5e7a6f89e50be28ff3faa43c",
25
25
  "es2020": "fesm2020/danske-sapphire-angular.mjs",
26
26
  "esm2020": "esm2020/danske-sapphire-angular.mjs",
27
27
  "fesm2020": "fesm2020/danske-sapphire-angular.mjs",