@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.
@@ -65,3 +65,4 @@ export * from './input-text/index';
65
65
  export * from './number-field-new/index';
66
66
  export * from './radio-new/index';
67
67
  export * from './slide-toggle-new/index';
68
+ export * from './ribbon-banner/index';
@@ -0,0 +1,2 @@
1
+ export * from './ribbon-banner.component';
2
+ export * from './ribbon-banner.module';
@@ -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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norwegian/core-components",
3
- "version": "6.55.2",
3
+ "version": "6.56.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=16.0.0 < 19.0.0",
6
6
  "@angular/core": ">=16.0.0 < 19.0.0"