@norwegian/core-components 5.2.0 → 5.2.1
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/bundles/norwegian-core-components.umd.js +9 -2
- package/bundles/norwegian-core-components.umd.js.map +1 -1
- package/esm2015/lib/components/accordion/accordion.component.js +10 -3
- package/fesm2015/norwegian-core-components.js +9 -2
- package/fesm2015/norwegian-core-components.js.map +1 -1
- package/lib/components/accordion/accordion.component.d.ts +5 -2
- package/norwegian-core-components.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
4
4
|
*/
|
|
5
|
-
import { EventEmitter } from '@angular/core';
|
|
5
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
6
6
|
import { NasComponentBase, ClassModel } from '../../core';
|
|
7
7
|
/**
|
|
8
8
|
* @description
|
|
9
9
|
* Norwegian Accordion Component | Layout
|
|
10
10
|
*/
|
|
11
|
-
export declare class AccordionComponent extends NasComponentBase {
|
|
11
|
+
export declare class AccordionComponent extends NasComponentBase implements OnInit {
|
|
12
12
|
/**
|
|
13
13
|
* @description
|
|
14
14
|
* Boolean to set if accordion should be expanded or not. Default value is false.
|
|
@@ -192,14 +192,17 @@ export declare class AccordionComponent extends NasComponentBase {
|
|
|
192
192
|
toggleChange: EventEmitter<boolean>;
|
|
193
193
|
private animateIn;
|
|
194
194
|
private animateOut;
|
|
195
|
+
regularHeader: boolean;
|
|
195
196
|
/**
|
|
196
197
|
* @description
|
|
197
198
|
* Represent a accordion component.
|
|
198
199
|
* Will initiate correct block style.
|
|
199
200
|
*/
|
|
200
201
|
constructor();
|
|
202
|
+
ngOnInit(): void;
|
|
201
203
|
getClasses(element?: string, modifiers?: any): Array<ClassModel>;
|
|
202
204
|
getModifiers(): Array<string>;
|
|
203
205
|
wrapperClass(): ClassModel;
|
|
204
206
|
toggle(): void;
|
|
207
|
+
setHeaderType(): void;
|
|
205
208
|
}
|