@ndwnu/design-system 1.0.2 → 1.0.4
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/components/alert/alert.component.d.ts +13 -0
- package/components/alert/alert.model.d.ts +6 -0
- package/components/alert/index.d.ts +2 -0
- package/components/breadcrumb/breadcrumb.component.d.ts +8 -0
- package/components/breadcrumb/index.d.ts +1 -0
- package/components/breadcrumb-group/breadcrumb-group.component.d.ts +7 -0
- package/components/breadcrumb-group/index.d.ts +1 -0
- package/components/dropdown/dropdown.component.d.ts +1 -1
- package/components/form-field/checkbox/checkbox.component.d.ts +1 -2
- package/components/form-field/input/input.directive.d.ts +6 -0
- package/components/form-field/input/input.model.d.ts +3 -1
- package/components/form-field/radio-button/radio-button.component.d.ts +7 -4
- package/components/form-field/radio-group/radio-group.component.d.ts +9 -1
- package/components/icon/icon.component.d.ts +9 -6
- package/components/icon/index.d.ts +0 -2
- package/components/index.d.ts +5 -2
- package/components/main-navigation/main-navigation.component.d.ts +3 -3
- package/components/main-navigation/main-navigation.model.d.ts +1 -0
- package/components/main-navigation-menu/main-navigation-menu.component.d.ts +1 -3
- package/components/router-breadcrumbs/index.d.ts +1 -0
- package/components/router-breadcrumbs/router-breadcrumbs.component.d.ts +15 -0
- package/core/styles/ndw-styles.scss +353 -103
- package/core/styles/nwb-styles.scss +315 -97
- package/esm2022/components/accordion/accordion.component.mjs +3 -3
- package/esm2022/components/accordion/accordion.service.mjs +3 -3
- package/esm2022/components/alert/alert.component.mjs +34 -0
- package/esm2022/components/alert/alert.model.mjs +8 -0
- package/esm2022/components/alert/index.mjs +3 -0
- package/esm2022/components/badge/badge.component.mjs +4 -4
- package/esm2022/components/breadcrumb/breadcrumb.component.mjs +15 -0
- package/esm2022/components/breadcrumb/index.mjs +2 -0
- package/esm2022/components/breadcrumb-group/breadcrumb-group.component.mjs +21 -0
- package/esm2022/components/breadcrumb-group/index.mjs +2 -0
- package/esm2022/components/button/button.directive.mjs +3 -3
- package/esm2022/components/card/card.component.mjs +3 -3
- package/esm2022/components/collapsible/collapsible.component.mjs +5 -5
- package/esm2022/components/dropdown/dropdown-trigger.directive.mjs +3 -3
- package/esm2022/components/dropdown/dropdown.component.mjs +6 -6
- package/esm2022/components/form-field/checkbox/checkbox.component.mjs +6 -13
- package/esm2022/components/form-field/checkbox-group/checkbox-group.component.mjs +3 -3
- package/esm2022/components/form-field/error/error.component.mjs +5 -5
- package/esm2022/components/form-field/form-field.component.mjs +8 -8
- package/esm2022/components/form-field/info/info.component.mjs +4 -4
- package/esm2022/components/form-field/input/input.directive.mjs +36 -5
- package/esm2022/components/form-field/input/input.model.mjs +3 -1
- package/esm2022/components/form-field/radio-button/radio-button.component.mjs +30 -12
- package/esm2022/components/form-field/radio-group/radio-group.component.mjs +47 -7
- package/esm2022/components/icon/icon.component.mjs +33 -18
- package/esm2022/components/icon/index.mjs +1 -3
- package/esm2022/components/index.mjs +6 -3
- package/esm2022/components/main-navigation/main-navigation.component.mjs +8 -9
- package/esm2022/components/main-navigation/main-navigation.model.mjs +1 -1
- package/esm2022/components/main-navigation-menu/main-navigation-menu.component.mjs +6 -10
- package/esm2022/components/modal/modal-trigger.directive.mjs +3 -3
- package/esm2022/components/pill/pill.component.mjs +3 -3
- package/esm2022/components/router-breadcrumbs/index.mjs +2 -0
- package/esm2022/components/router-breadcrumbs/router-breadcrumbs.component.mjs +37 -0
- package/esm2022/components/tab/tab.component.mjs +4 -4
- package/esm2022/components/tab-group/tab-group.component.mjs +3 -3
- package/esm2022/components/tooltip/tooltip.component.mjs +4 -4
- package/esm2022/components/tooltip/tooltip.directive.mjs +3 -3
- package/fesm2022/ndwnu-design-system.mjs +389 -222
- package/fesm2022/ndwnu-design-system.mjs.map +1 -1
- package/package.json +4 -7
- package/assets/icons/icons.json +0 -878
- package/components/icon/icon.model.d.ts +0 -5
- package/components/icon/icon.service.d.ts +0 -9
- package/esm2022/components/icon/icon.model.mjs +0 -2
- package/esm2022/components/icon/icon.service.mjs +0 -26
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Icon } from './icon.model';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class IconService {
|
|
4
|
-
private icons;
|
|
5
|
-
getIcon(name: string): Icon;
|
|
6
|
-
setIcons(icons: Icon[]): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IconService, never>;
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<IconService>;
|
|
9
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbi5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25kdy9zcmMvY29tcG9uZW50cy9pY29uL2ljb24ubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSWNvbiB7XG4gIG5hbWU6IHN0cmluZztcbiAgc3ZnPzogc3RyaW5nO1xuICB1cmw/OiBzdHJpbmc7XG59XG4iXX0=
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class IconService {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.icons = [];
|
|
6
|
-
}
|
|
7
|
-
getIcon(name) {
|
|
8
|
-
const icon = this.icons.find((icon) => icon.name === name);
|
|
9
|
-
if (!icon) {
|
|
10
|
-
throw new Error(`Icon ${name} not found`);
|
|
11
|
-
}
|
|
12
|
-
return icon;
|
|
13
|
-
}
|
|
14
|
-
setIcons(icons) {
|
|
15
|
-
this.icons = icons;
|
|
16
|
-
}
|
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: IconService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
18
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: IconService, providedIn: 'root' }); }
|
|
19
|
-
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: IconService, decorators: [{
|
|
21
|
-
type: Injectable,
|
|
22
|
-
args: [{
|
|
23
|
-
providedIn: 'root',
|
|
24
|
-
}]
|
|
25
|
-
}] });
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbi5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmR3L3NyYy9jb21wb25lbnRzL2ljb24vaWNvbi5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBTzNDLE1BQU0sT0FBTyxXQUFXO0lBSHhCO1FBSVUsVUFBSyxHQUFXLEVBQUUsQ0FBQztLQWE1QjtJQVhRLE9BQU8sQ0FBQyxJQUFZO1FBQ3pCLE1BQU0sSUFBSSxHQUFHLElBQUksQ0FBQyxLQUFLLENBQUMsSUFBSSxDQUFDLENBQUMsSUFBSSxFQUFFLEVBQUUsQ0FBQyxJQUFJLENBQUMsSUFBSSxLQUFLLElBQUksQ0FBQyxDQUFDO1FBQzNELElBQUksQ0FBQyxJQUFJLEVBQUUsQ0FBQztZQUNWLE1BQU0sSUFBSSxLQUFLLENBQUMsUUFBUSxJQUFJLFlBQVksQ0FBQyxDQUFDO1FBQzVDLENBQUM7UUFDRCxPQUFPLElBQUksQ0FBQztJQUNkLENBQUM7SUFFTSxRQUFRLENBQUMsS0FB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