@norwegian/core-components 6.55.2 → 6.56.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/assets/documentation/ribbon-banner/ribbon-banner.md +1 -0
- package/assets/icons/small/close.svg +3 -7
- package/assets/icons/small/warning--secondary--light.svg +3 -0
- package/assets/icons/small/warning--secondary.svg +3 -0
- package/esm2022/lib/components/icon/icon.component.mjs +2 -2
- package/esm2022/lib/components/index.mjs +2 -1
- package/esm2022/lib/components/ribbon-banner/index.mjs +3 -0
- package/esm2022/lib/components/ribbon-banner/ribbon-banner.component.mjs +57 -0
- package/esm2022/lib/components/ribbon-banner/ribbon-banner.module.mjs +36 -0
- package/fesm2022/norwegian-core-components.mjs +81 -3
- package/fesm2022/norwegian-core-components.mjs.map +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/ribbon-banner/index.d.ts +2 -0
- package/lib/components/ribbon-banner/ribbon-banner.component.d.ts +41 -0
- package/lib/components/ribbon-banner/ribbon-banner.module.d.ts +12 -0
- package/package.json +1 -1
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ClassModel } from '../../core/models/class.model';
|
|
2
|
+
import { NasComponentBase } from '../../core/base/nas-component.base';
|
|
3
|
+
import { InfoModel } from '../info';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* @description
|
|
7
|
+
* Norwegian Ribbon Banner Component | Dialogs and Modals
|
|
8
|
+
*/
|
|
9
|
+
export declare class RibbonBannerComponent extends NasComponentBase {
|
|
10
|
+
/**
|
|
11
|
+
* @property Input
|
|
12
|
+
* @description
|
|
13
|
+
* Display ribbon banner, true is default
|
|
14
|
+
*/
|
|
15
|
+
enable: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* @property Input
|
|
18
|
+
* @description
|
|
19
|
+
* Sets Ribbon banner to info styling
|
|
20
|
+
*/
|
|
21
|
+
infoModel: InfoModel;
|
|
22
|
+
/**
|
|
23
|
+
* @property Input
|
|
24
|
+
* @description
|
|
25
|
+
* Sets Ribbon banner to info styling
|
|
26
|
+
*/
|
|
27
|
+
info: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* @property Input
|
|
30
|
+
* @description
|
|
31
|
+
* Sets Ribbon banner to warning styling
|
|
32
|
+
*/
|
|
33
|
+
warning: boolean;
|
|
34
|
+
constructor();
|
|
35
|
+
getModifiers(): Array<string>;
|
|
36
|
+
getClasses(element?: string, modifiers?: any): Array<ClassModel>;
|
|
37
|
+
getIcon(): string;
|
|
38
|
+
onClickClose(): void;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RibbonBannerComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RibbonBannerComponent, "nas-ribbon-banner", never, { "enable": { "alias": "enable"; "required": false; }; "infoModel": { "alias": "infoModel"; "required": false; }; "info": { "alias": "info"; "required": false; }; "warning": { "alias": "warning"; "required": false; }; }, {}, never, never, false, never>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./ribbon-banner.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../../core/directives/nas-class/nas-class.module";
|
|
5
|
+
import * as i4 from "@angular/router";
|
|
6
|
+
import * as i5 from "../icon/icon.module";
|
|
7
|
+
import * as i6 from "../button/button.module";
|
|
8
|
+
export declare class RibbonBannerModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RibbonBannerModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RibbonBannerModule, [typeof i1.RibbonBannerComponent], [typeof i2.CommonModule, typeof i3.NasClassModule, typeof i4.RouterModule, typeof i5.IconModule, typeof i6.ButtonModule], [typeof i1.RibbonBannerComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RibbonBannerModule>;
|
|
12
|
+
}
|