@norwegian/core-components 5.1.4 → 5.2.2

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.
@@ -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
  }
@@ -566,6 +566,11 @@ export declare class FilterComponent extends NasComponentBase implements OnInit,
566
566
  */
567
567
  get inboundSelectedDate(): UtcDate;
568
568
  set inboundSelectedDate(date: UtcDate);
569
+ /**
570
+ * @description
571
+ * Will display the destination input, set this to false to remove it. It's true by default.
572
+ */
573
+ enableDestinationSelect: boolean;
569
574
  /**
570
575
  * @description
571
576
  * Will display passenger select, set this to false to remove it. It's true by default.
@@ -26,6 +26,11 @@ export declare class ColComponent extends NasComponentBase implements OnInit {
26
26
  * Sets column size for all extra large screen sizes and up
27
27
  */
28
28
  xl: string | number;
29
+ /**
30
+ * @description
31
+ * Sets specific size for each columns (100/colSize = result %)
32
+ */
33
+ colSize: string | number;
29
34
  /**
30
35
  * @description
31
36
  * Represent a column component.
@@ -38,6 +38,11 @@ export declare class GridComponent extends NasComponentBase {
38
38
  * Boolean to reduce space between items
39
39
  */
40
40
  xtight: boolean;
41
+ /**
42
+ * @description
43
+ * Boolean to reduce space between items
44
+ */
45
+ xxtight: boolean;
41
46
  /**
42
47
  * @description
43
48
  * Boolean which will remove all right and left space of each column. Top and bottom space will be kept
@@ -48,6 +53,16 @@ export declare class GridComponent extends NasComponentBase {
48
53
  * Removes padding on the right and left of grid.
49
54
  */
50
55
  nopadding: boolean;
56
+ /**
57
+ * @description
58
+ * Removes margin on the right and left of grid.
59
+ */
60
+ nomargin: boolean;
61
+ /**
62
+ * @description
63
+ * Sets column width based on colGroup value (100/colGroup = result%)
64
+ */
65
+ colGroup: string | number;
51
66
  /**
52
67
  * @description
53
68
  * Represent a grid component.