@norwegian/core-components 6.18.4 → 6.20.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.
- package/assets/icons/medium/type-africa-and-middle-east--light.svg +5 -0
- package/assets/icons/medium/type-africa-and-middle-east.svg +5 -0
- package/assets/icons/small/type-africa-and-middle-east--light.svg +5 -0
- package/assets/icons/small/type-africa-and-middle-east.svg +5 -0
- package/esm2022/lib/components/icon/icon.component.mjs +2 -2
- package/esm2022/lib/components/journey-availability/journey-availability.component.mjs +1 -1
- package/esm2022/lib/components/modal/modal.component.mjs +20 -3
- package/fesm2022/norwegian-core-components.mjs +22 -5
- package/fesm2022/norwegian-core-components.mjs.map +1 -1
- package/lib/components/modal/modal.component.d.ts +16 -1
- package/package.json +1 -1
|
@@ -86,7 +86,22 @@ export declare class ModalComponent extends NasComponentBase implements OnInit,
|
|
|
86
86
|
*/
|
|
87
87
|
get show(): boolean;
|
|
88
88
|
set show(show: boolean);
|
|
89
|
+
/**
|
|
90
|
+
* @property Input
|
|
91
|
+
* @description
|
|
92
|
+
* Used to show or hide the close button in the modal
|
|
93
|
+
* @example
|
|
94
|
+
* <nas-modal [enableClose]="true"></nas-modal>
|
|
95
|
+
*/
|
|
89
96
|
enableClose: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* @property Input
|
|
99
|
+
* @description
|
|
100
|
+
* Disabling the event click outside to close the modal.
|
|
101
|
+
* @example
|
|
102
|
+
* <nas-modal [blockCloseOnClickOutside]="true"></nas-modal>
|
|
103
|
+
*/
|
|
104
|
+
blockCloseOnClickOutside: boolean;
|
|
90
105
|
showChange: EventEmitter<boolean>;
|
|
91
106
|
content: ElementRef<HTMLElement>;
|
|
92
107
|
backdrop: ElementRef<HTMLButtonElement>;
|
|
@@ -100,5 +115,5 @@ export declare class ModalComponent extends NasComponentBase implements OnInit,
|
|
|
100
115
|
onClose(): void;
|
|
101
116
|
private animate;
|
|
102
117
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
103
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "nas-modal", never, { "form": { "alias": "form"; "required": false; }; "tight": { "alias": "tight"; "required": false; }; "center": { "alias": "center"; "required": false; }; "outlined": { "alias": "outlined"; "required": false; }; "title": { "alias": "title"; "required": false; }; "closeLabel": { "alias": "closeLabel"; "required": false; }; "animated": { "alias": "animated"; "required": false; }; "show": { "alias": "show"; "required": false; }; "enableClose": { "alias": "enableClose"; "required": false; }; }, { "showChange": "showChange"; }, never, ["*"], false, never>;
|
|
118
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "nas-modal", never, { "form": { "alias": "form"; "required": false; }; "tight": { "alias": "tight"; "required": false; }; "center": { "alias": "center"; "required": false; }; "outlined": { "alias": "outlined"; "required": false; }; "title": { "alias": "title"; "required": false; }; "closeLabel": { "alias": "closeLabel"; "required": false; }; "animated": { "alias": "animated"; "required": false; }; "show": { "alias": "show"; "required": false; }; "enableClose": { "alias": "enableClose"; "required": false; }; "blockCloseOnClickOutside": { "alias": "blockCloseOnClickOutside"; "required": false; }; }, { "showChange": "showChange"; }, never, ["*"], false, never>;
|
|
104
119
|
}
|