@norwegian/core-components 5.6.0 → 5.7.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.
@@ -25,6 +25,7 @@ export declare class InputComponent extends NasComponentBase implements AfterVie
25
25
  get model(): string;
26
26
  set model(value: string);
27
27
  modelChange: EventEmitter<string>;
28
+ blur: EventEmitter<string>;
28
29
  /**
29
30
  * @description
30
31
  * Whether the control is in an error state.
@@ -151,6 +152,11 @@ export declare class InputComponent extends NasComponentBase implements AfterVie
151
152
  * <nas-input [line]="false"></nas-input>
152
153
  */
153
154
  line: boolean;
155
+ /**
156
+ * @description
157
+ * Specifies a regular expression that the input value is checked against on form submission
158
+ */
159
+ pattern: string;
154
160
  get inputId(): string;
155
161
  private componentId;
156
162
  private modelValue;
@@ -160,4 +166,5 @@ export declare class InputComponent extends NasComponentBase implements AfterVie
160
166
  ngAfterViewInit(): void;
161
167
  mainClass(): ClassModel;
162
168
  private setNameAttribute;
169
+ onBlur(value: string): void;
163
170
  }