@norwegian/core-components 7.7.0 → 7.7.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.
- package/assets/documentation/icon/icon.md +1 -4
- package/assets/icons/small/info-outlined--disabled.svg +4 -0
- package/esm2022/lib/components/alert/alert.component.mjs +8 -3
- package/esm2022/lib/components/alert/models/alert.model.mjs +1 -1
- package/esm2022/lib/components/chip/chip.component.mjs +2 -2
- package/esm2022/lib/components/icon/icon.component.mjs +2 -2
- package/esm2022/lib/components/page-header/wallet/wallet.component.mjs +1 -1
- package/esm2022/lib/components/premium-toggle/premium-toggle.component.mjs +1 -1
- package/esm2022/lib/components/toggle/toggle.component.mjs +3 -12
- package/fesm2022/norwegian-core-components.mjs +14 -18
- package/fesm2022/norwegian-core-components.mjs.map +1 -1
- package/lib/components/alert/alert.component.d.ts +7 -1
- package/lib/components/alert/models/alert.model.d.ts +1 -0
- package/lib/components/chip/chip.component.d.ts +1 -1
- package/lib/components/toggle/toggle.component.d.ts +1 -12
- package/package.json +1 -1
- package/assets/icons/small/calendar--disabled--light.svg +0 -14
- /package/assets/icons/small/{info--outlined--light.svg → info-outlined--light.svg} +0 -0
- /package/assets/icons/small/{info--outlined.svg → info-outlined.svg} +0 -0
|
@@ -104,6 +104,12 @@ export declare class AlertComponent extends NasComponentBase {
|
|
|
104
104
|
* Sets the server string value
|
|
105
105
|
*/
|
|
106
106
|
server: string;
|
|
107
|
+
/**
|
|
108
|
+
* @property Input
|
|
109
|
+
* @description
|
|
110
|
+
* Sets the correlation string value
|
|
111
|
+
*/
|
|
112
|
+
correlation: string;
|
|
107
113
|
/**
|
|
108
114
|
* @property Input
|
|
109
115
|
* @description
|
|
@@ -119,5 +125,5 @@ export declare class AlertComponent extends NasComponentBase {
|
|
|
119
125
|
private scrollToAlert;
|
|
120
126
|
private setAlertValues;
|
|
121
127
|
static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
|
|
122
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "nas-alert", never, { "timestamp": { "alias": "timestamp"; "required": false; }; "title": { "alias": "title"; "required": false; }; "info": { "alias": "info"; "required": false; }; "warning": { "alias": "warning"; "required": false; }; "error": { "alias": "error"; "required": false; }; "success": { "alias": "success"; "required": false; }; "neutral": { "alias": "neutral"; "required": false; }; "text": { "alias": "text"; "required": false; }; "show": { "alias": "show"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "removeIcon": { "alias": "removeIcon"; "required": false; }; "trustTextHtml": { "alias": "trustTextHtml"; "required": false; }; "allowAutoScroll": { "alias": "allowAutoScroll"; "required": false; }; "server": { "alias": "server"; "required": false; }; "alert": { "alias": "alert"; "required": false; }; }, { "showChange": "showChange"; }, never, ["*"], false, never>;
|
|
128
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "nas-alert", never, { "timestamp": { "alias": "timestamp"; "required": false; }; "title": { "alias": "title"; "required": false; }; "info": { "alias": "info"; "required": false; }; "warning": { "alias": "warning"; "required": false; }; "error": { "alias": "error"; "required": false; }; "success": { "alias": "success"; "required": false; }; "neutral": { "alias": "neutral"; "required": false; }; "text": { "alias": "text"; "required": false; }; "show": { "alias": "show"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "removeIcon": { "alias": "removeIcon"; "required": false; }; "trustTextHtml": { "alias": "trustTextHtml"; "required": false; }; "allowAutoScroll": { "alias": "allowAutoScroll"; "required": false; }; "server": { "alias": "server"; "required": false; }; "correlation": { "alias": "correlation"; "required": false; }; "alert": { "alias": "alert"; "required": false; }; }, { "showChange": "showChange"; }, never, ["*"], false, never>;
|
|
123
129
|
}
|
|
@@ -2,7 +2,7 @@ import { NasComponentBase, ClassModel } from '../../core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
4
|
* @description
|
|
5
|
-
* Norwegian Chip Component | Buttons and Indicators
|
|
5
|
+
* Norwegian Chip Component | Buttons and Indicators | Depricated
|
|
6
6
|
*/
|
|
7
7
|
export declare class ChipComponent extends NasComponentBase {
|
|
8
8
|
/**
|
|
@@ -36,16 +36,6 @@ export declare class ToggleComponent extends NasComponentBase implements OnInit
|
|
|
36
36
|
* <nas-toggle [compact]="true"></nas-toggle>
|
|
37
37
|
*/
|
|
38
38
|
compact?: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* @property Input
|
|
41
|
-
* @description
|
|
42
|
-
* Set light styling.
|
|
43
|
-
* @example
|
|
44
|
-
* <nas-toggle light></nas-toggle>
|
|
45
|
-
* or
|
|
46
|
-
* <nas-toggle [light]="true"></nas-toggle>
|
|
47
|
-
*/
|
|
48
|
-
light?: boolean;
|
|
49
39
|
/**
|
|
50
40
|
* @property Input
|
|
51
41
|
* @description
|
|
@@ -160,11 +150,10 @@ export declare class ToggleComponent extends NasComponentBase implements OnInit
|
|
|
160
150
|
isRounded: boolean;
|
|
161
151
|
constructor();
|
|
162
152
|
ngOnInit(): void;
|
|
163
|
-
getIcon(option: OptionModel): string;
|
|
164
153
|
getOptionId(option: OptionModel): string;
|
|
165
154
|
onChange(option: OptionModel): void;
|
|
166
155
|
mainClasses(): import("@norwegian/core-components").ClassModel;
|
|
167
156
|
onClickHref(event: MouseEvent, option: OptionModel): void;
|
|
168
157
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleComponent, never>;
|
|
169
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleComponent, "nas-toggle", never, { "options": { "alias": "options"; "required": false; }; "large": { "alias": "large"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "
|
|
158
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleComponent, "nas-toggle", never, { "options": { "alias": "options"; "required": false; }; "large": { "alias": "large"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "small": { "alias": "small"; "required": false; }; "big": { "alias": "big"; "required": false; }; "selectedValue": { "alias": "selectedValue"; "required": false; }; "label": { "alias": "label"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "group": { "alias": "group"; "required": false; }; "nasFormControlName": { "alias": "nasFormControlName"; "required": false; }; "nasFormGroup": { "alias": "nasFormGroup"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; }, { "handleChange": "handleChange"; }, never, never, false, never>;
|
|
170
159
|
}
|
package/package.json
CHANGED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<!-- Generator: Adobe Illustrator 18.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
4
|
-
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
5
|
-
width="24px" height="24px" viewBox="-285 408.9 24 24" enable-background="new -285 408.9 24 24" xml:space="preserve">
|
|
6
|
-
<g>
|
|
7
|
-
<rect x="-268" y="420.9" fill="#ffffff" width="2" height="2"/>
|
|
8
|
-
<path fill="#ffffff" d="M-268,412.9v-1.2c0-0.5-0.3-0.8-0.8-0.8c-0.4,0-0.8,0.3-0.8,0.8v1.2h-7v-1.2c0.1-0.5-0.2-0.8-0.6-0.8
|
|
9
|
-
c-0.5,0-0.8,0.3-0.8,0.8v1.2h-5v16c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2v-16H-268z M-278,426.9h-2v-2h2V426.9z M-278,422.9h-2v-2h2
|
|
10
|
-
V422.9z M-278,418.9h-2v-2h2V418.9z M-274,426.9h-2v-2h2V426.9z M-274,422.9h-2v-2h2V422.9z M-274,418.9h-2v-2h2V418.9z
|
|
11
|
-
M-270,426.9h-2v-2h2V426.9z M-270,422.9h-2v-2h2V422.9z M-270,418.9h-2v-2h2V418.9z M-268,416.9h2v2h-2V416.9z M-265,423.9h-4v-4
|
|
12
|
-
h4V423.9z"/>
|
|
13
|
-
</g>
|
|
14
|
-
</svg>
|
|
File without changes
|
|
File without changes
|