@ndwnu/design-system 11.1.1 → 12.1.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/images/logos/ndw-logo-short.svg +3 -3
- package/assets/images/logos/ndw-logo.svg +3 -3
- package/assets/images/logos/nwb-logo-short.svg +10 -10
- package/assets/images/logos/nwb-logo.svg +4 -4
- package/assets/images/map-button-icons.svg +91 -87
- package/fesm2022/ndwnu-design-system.mjs +1381 -1032
- package/fesm2022/ndwnu-design-system.mjs.map +1 -1
- package/index.d.ts +1335 -2
- package/package.json +9 -11
- package/styles/base/_material.scss +17 -0
- package/styles/base/index.scss +1 -0
- package/styles/components/_datepicker.scss +68 -21
- package/styles/components/_divider.scss +1 -1
- package/styles/components/_input.scss +2 -1
- package/styles/components/divider.stories.ts +1 -1
- package/styles/layout/_grid.scss +64 -0
- package/styles/layout/grid.stories.ts +69 -40
- package/lib/components/accordion/accordion.component.d.ts +0 -12
- package/lib/components/accordion/accordion.service.d.ts +0 -8
- package/lib/components/accordion/index.d.ts +0 -2
- package/lib/components/alert/alert.component.d.ts +0 -26
- package/lib/components/alert/alert.model.d.ts +0 -1
- package/lib/components/alert/index.d.ts +0 -2
- package/lib/components/avatar/avatar.component.d.ts +0 -9
- package/lib/components/avatar/avatar.model.d.ts +0 -2
- package/lib/components/avatar/index.d.ts +0 -2
- package/lib/components/badge/badge.component.d.ts +0 -18
- package/lib/components/badge/index.d.ts +0 -1
- package/lib/components/banner/banner.component.d.ts +0 -38
- package/lib/components/banner/banner.model.d.ts +0 -1
- package/lib/components/banner/index.d.ts +0 -2
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +0 -6
- package/lib/components/breadcrumb/index.d.ts +0 -1
- package/lib/components/breadcrumb-group/breadcrumb-group.component.d.ts +0 -8
- package/lib/components/breadcrumb-group/index.d.ts +0 -1
- package/lib/components/button/button.directive.d.ts +0 -9
- package/lib/components/button/index.d.ts +0 -1
- package/lib/components/card/card-content/card-content.component.d.ts +0 -5
- package/lib/components/card/card-content/index.d.ts +0 -1
- package/lib/components/card/card-footer/card-footer.component.d.ts +0 -5
- package/lib/components/card/card-footer/index.d.ts +0 -1
- package/lib/components/card/card-header/card-header.component.d.ts +0 -11
- package/lib/components/card/card-header/index.d.ts +0 -1
- package/lib/components/card/card.animation.d.ts +0 -1
- package/lib/components/card/card.component.d.ts +0 -19
- package/lib/components/card/index.d.ts +0 -6
- package/lib/components/collapsible/collapsible.animation.d.ts +0 -1
- package/lib/components/collapsible/collapsible.component.d.ts +0 -17
- package/lib/components/collapsible/index.d.ts +0 -1
- package/lib/components/dashboard-card/dashboard-card.component.d.ts +0 -22
- package/lib/components/dashboard-card/index.d.ts +0 -1
- package/lib/components/dropdown/dropdown.component.d.ts +0 -22
- package/lib/components/dropdown/index.d.ts +0 -1
- package/lib/components/edit-bar/edit-bar-actions/edit-bar-actions.component.d.ts +0 -5
- package/lib/components/edit-bar/edit-bar-message/edit-bar-message.component.d.ts +0 -5
- package/lib/components/edit-bar/edit-bar.component.d.ts +0 -15
- package/lib/components/edit-bar/edit-bar.model.d.ts +0 -2
- package/lib/components/edit-bar/index.d.ts +0 -4
- package/lib/components/favorite/favorite.component.d.ts +0 -7
- package/lib/components/favorite/index.d.ts +0 -1
- package/lib/components/form-field/autosuggest/autosuggest-add-option/autosuggest-add-option.component.d.ts +0 -6
- package/lib/components/form-field/autosuggest/autosuggest-add-option/index.d.ts +0 -1
- package/lib/components/form-field/autosuggest/autosuggest-option/autosuggest-option.component.d.ts +0 -8
- package/lib/components/form-field/autosuggest/autosuggest-option/index.d.ts +0 -1
- package/lib/components/form-field/autosuggest/autosuggest-panel/autosuggest-panel.component.d.ts +0 -6
- package/lib/components/form-field/autosuggest/autosuggest-panel/index.d.ts +0 -1
- package/lib/components/form-field/autosuggest/autosuggest.directive.d.ts +0 -9
- package/lib/components/form-field/autosuggest/index.d.ts +0 -5
- package/lib/components/form-field/checkbox/checkbox.component.d.ts +0 -21
- package/lib/components/form-field/checkbox/index.d.ts +0 -1
- package/lib/components/form-field/checkbox-group/checkbox-group.component.d.ts +0 -7
- package/lib/components/form-field/checkbox-group/index.d.ts +0 -1
- package/lib/components/form-field/clear-search-button/clear-search-button.component.d.ts +0 -16
- package/lib/components/form-field/clear-search-button/index.d.ts +0 -1
- package/lib/components/form-field/datepicker/datepicker.component.d.ts +0 -7
- package/lib/components/form-field/datepicker/index.d.ts +0 -1
- package/lib/components/form-field/error/error.component.d.ts +0 -5
- package/lib/components/form-field/error/index.d.ts +0 -1
- package/lib/components/form-field/file-upload/file-upload-text.interface.d.ts +0 -4
- package/lib/components/form-field/file-upload/file-upload.component.d.ts +0 -47
- package/lib/components/form-field/file-upload/index.d.ts +0 -2
- package/lib/components/form-field/form-field.component.d.ts +0 -32
- package/lib/components/form-field/form-field.constant.d.ts +0 -1
- package/lib/components/form-field/form-field.model.d.ts +0 -7
- package/lib/components/form-field/index.d.ts +0 -17
- package/lib/components/form-field/info/index.d.ts +0 -1
- package/lib/components/form-field/info/info.component.d.ts +0 -5
- package/lib/components/form-field/input/index.d.ts +0 -1
- package/lib/components/form-field/input/input.directive.d.ts +0 -22
- package/lib/components/form-field/input-button/index.d.ts +0 -1
- package/lib/components/form-field/input-button/input-button.component.d.ts +0 -12
- package/lib/components/form-field/input-icon/index.d.ts +0 -1
- package/lib/components/form-field/input-icon/input-icon.component.d.ts +0 -5
- package/lib/components/form-field/month-input/date-validators.d.ts +0 -3
- package/lib/components/form-field/month-input/index.d.ts +0 -1
- package/lib/components/form-field/month-input/month-input-utils.d.ts +0 -6
- package/lib/components/form-field/month-input/month-input.component.d.ts +0 -47
- package/lib/components/form-field/option-group/index.d.ts +0 -3
- package/lib/components/form-field/option-group/option-group.component.d.ts +0 -29
- package/lib/components/form-field/option-group/option-group.model.d.ts +0 -1
- package/lib/components/form-field/option-group/option.component.d.ts +0 -10
- package/lib/components/form-field/picker-button/index.d.ts +0 -1
- package/lib/components/form-field/picker-button/picker-button.component.d.ts +0 -15
- package/lib/components/form-field/radio-button/index.d.ts +0 -1
- package/lib/components/form-field/radio-button/radio-button.component.d.ts +0 -20
- package/lib/components/form-field/radio-group/index.d.ts +0 -1
- package/lib/components/form-field/radio-group/radio-group.component.d.ts +0 -16
- package/lib/components/form-field/success/index.d.ts +0 -1
- package/lib/components/form-field/success/success.component.d.ts +0 -5
- package/lib/components/form-field/textarea/auto-grow.directive.d.ts +0 -22
- package/lib/components/form-field/textarea/index.d.ts +0 -2
- package/lib/components/form-field/textarea/max-char.directive.d.ts +0 -27
- package/lib/components/hoverable-list-item/hoverable-list-item.component.d.ts +0 -18
- package/lib/components/hoverable-list-item/hoverable-list-item.model.d.ts +0 -9
- package/lib/components/hoverable-list-item/index.d.ts +0 -2
- package/lib/components/icon/action-icon/action-icon.component.d.ts +0 -33
- package/lib/components/icon/action-icon/index.d.ts +0 -1
- package/lib/components/icon/icon.component.d.ts +0 -6
- package/lib/components/icon/index.d.ts +0 -2
- package/lib/components/index.d.ts +0 -42
- package/lib/components/key-value-list/index.d.ts +0 -1
- package/lib/components/key-value-list/key-value-list.component.d.ts +0 -6
- package/lib/components/layout/index.d.ts +0 -1
- package/lib/components/layout/layout.component.d.ts +0 -14
- package/lib/components/layout-banners/index.d.ts +0 -1
- package/lib/components/layout-banners/layout-banners.component.d.ts +0 -5
- package/lib/components/list/index.d.ts +0 -1
- package/lib/components/list/list.component.d.ts +0 -11
- package/lib/components/list-item/index.d.ts +0 -1
- package/lib/components/list-item/list-item.component.d.ts +0 -33
- package/lib/components/loader/index.d.ts +0 -1
- package/lib/components/loader/loader.component.d.ts +0 -5
- package/lib/components/main-navigation/index.d.ts +0 -2
- package/lib/components/main-navigation/main-navigation-header/index.d.ts +0 -1
- package/lib/components/main-navigation/main-navigation-header/main-navigation-header.component.d.ts +0 -15
- package/lib/components/main-navigation/main-navigation-menu/index.d.ts +0 -1
- package/lib/components/main-navigation/main-navigation-menu/main-navigation-menu.component.d.ts +0 -16
- package/lib/components/main-navigation/main-navigation.component.d.ts +0 -25
- package/lib/components/main-navigation/main-navigation.model.d.ts +0 -15
- package/lib/components/map-button/index.d.ts +0 -2
- package/lib/components/map-button/map-button.component.d.ts +0 -14
- package/lib/components/map-button/map-button.model.d.ts +0 -4
- package/lib/components/map-display/backgrounds.d.ts +0 -21
- package/lib/components/map-display/index.d.ts +0 -3
- package/lib/components/map-display/layers.d.ts +0 -10
- package/lib/components/map-display/map-display-option/index.d.ts +0 -2
- package/lib/components/map-display/map-display-option/map-display-option.component.d.ts +0 -11
- package/lib/components/map-display/map-display-option/map-display-option.model.d.ts +0 -14
- package/lib/components/map-display/map-display.component.d.ts +0 -30
- package/lib/components/map-legend/index.d.ts +0 -2
- package/lib/components/map-legend/map-legend-group/map-legend-group.component.d.ts +0 -9
- package/lib/components/map-legend/map-legend-option/map-legend-option.component.d.ts +0 -7
- package/lib/components/map-legend/map-legend.component.d.ts +0 -17
- package/lib/components/map-legend/map-legend.model.d.ts +0 -33
- package/lib/components/modal/index.d.ts +0 -7
- package/lib/components/modal/modal-content/index.d.ts +0 -1
- package/lib/components/modal/modal-content/modal-content.component.d.ts +0 -5
- package/lib/components/modal/modal-footer/index.d.ts +0 -1
- package/lib/components/modal/modal-footer/modal-footer.component.d.ts +0 -5
- package/lib/components/modal/modal-header/index.d.ts +0 -1
- package/lib/components/modal/modal-header/modal-header.component.d.ts +0 -7
- package/lib/components/modal/modal-ref.d.ts +0 -3
- package/lib/components/modal/modal.component.d.ts +0 -7
- package/lib/components/modal/modal.service.d.ts +0 -17
- package/lib/components/multi-select/checkbox-data.interface.d.ts +0 -8
- package/lib/components/multi-select/index.d.ts +0 -3
- package/lib/components/multi-select/multi-select.component.d.ts +0 -29
- package/lib/components/multi-select/select-all-text.interface.d.ts +0 -4
- package/lib/components/pill/index.d.ts +0 -1
- package/lib/components/pill/pill.component.d.ts +0 -6
- package/lib/components/popover/index.d.ts +0 -1
- package/lib/components/popover/popover-trigger.directive.d.ts +0 -29
- package/lib/components/router-breadcrumbs/index.d.ts +0 -1
- package/lib/components/router-breadcrumbs/router-breadcrumbs.component.d.ts +0 -6
- package/lib/components/splitter/index.d.ts +0 -1
- package/lib/components/splitter/splitter.component.d.ts +0 -69
- package/lib/components/summary-card/index.d.ts +0 -9
- package/lib/components/summary-card/summary-card-action/summary-card-action.component.d.ts +0 -11
- package/lib/components/summary-card/summary-card-actions/summary-card-actions.component.d.ts +0 -9
- package/lib/components/summary-card/summary-card-content/summary-card-content.component.d.ts +0 -5
- package/lib/components/summary-card/summary-card-header/summary-card-header.component.d.ts +0 -5
- package/lib/components/summary-card/summary-card-subtitle/summary-card-subtitle.component.d.ts +0 -5
- package/lib/components/summary-card/summary-card-tag/summary-card-tag.component.d.ts +0 -5
- package/lib/components/summary-card/summary-card-tags/summary-card-tags.component.d.ts +0 -5
- package/lib/components/summary-card/summary-card.component.d.ts +0 -5
- package/lib/components/summary-card/summary-card.model.d.ts +0 -1
- package/lib/components/switcher/index.d.ts +0 -2
- package/lib/components/switcher/model.d.ts +0 -6
- package/lib/components/switcher/switcher.component.d.ts +0 -26
- package/lib/components/tab/index.d.ts +0 -1
- package/lib/components/tab/tab.component.d.ts +0 -18
- package/lib/components/tab-group/index.d.ts +0 -1
- package/lib/components/tab-group/tab-group.component.d.ts +0 -16
- package/lib/components/table/ag-grid-theme.d.ts +0 -2
- package/lib/components/table/index.d.ts +0 -1
- package/lib/components/tag/index.d.ts +0 -1
- package/lib/components/tag/tag.component.d.ts +0 -18
- package/lib/components/toast/index.d.ts +0 -2
- package/lib/components/toast/toast-list/toast-list.component.d.ts +0 -17
- package/lib/components/toast/toast.component.d.ts +0 -20
- package/lib/components/toast/toast.service.d.ts +0 -32
- package/lib/components/tooltip/index.d.ts +0 -2
- package/lib/components/tooltip/tooltip.component.d.ts +0 -6
- package/lib/components/tooltip/tooltip.directive.d.ts +0 -19
- package/lib/models/aria.model.d.ts +0 -1
- package/lib/models/index.d.ts +0 -2
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export interface ToastDimensions {
|
|
4
|
-
width: number;
|
|
5
|
-
height: number;
|
|
6
|
-
}
|
|
7
|
-
export declare class ToastComponent implements AfterViewInit {
|
|
8
|
-
#private;
|
|
9
|
-
message: import("@angular/core").InputSignal<string>;
|
|
10
|
-
closeButtonLabel: import("@angular/core").InputSignal<string>;
|
|
11
|
-
id: import("@angular/core").InputSignal<string | undefined>;
|
|
12
|
-
duration: import("@angular/core").InputSignal<number>;
|
|
13
|
-
paused: import("@angular/core").InputSignal<boolean>;
|
|
14
|
-
showProgress: import("@angular/core").InputSignal<boolean>;
|
|
15
|
-
closed: import("@angular/core").OutputEmitterRef<void>;
|
|
16
|
-
elementDimensions: import("@angular/core").OutputEmitterRef<ToastDimensions>;
|
|
17
|
-
ngAfterViewInit(): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "ndw-toast", never, { "message": { "alias": "message"; "required": true; "isSignal": true; }; "closeButtonLabel": { "alias": "closeButtonLabel"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "duration": { "alias": "duration"; "required": false; "isSignal": true; }; "paused": { "alias": "paused"; "required": false; "isSignal": true; }; "showProgress": { "alias": "showProgress"; "required": false; "isSignal": true; }; }, { "closed": "closed"; "elementDimensions": "elementDimensions"; }, never, never, true, never>;
|
|
20
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Signal } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
type ToastId = string;
|
|
4
|
-
interface ToastData {
|
|
5
|
-
id: ToastId;
|
|
6
|
-
message: string;
|
|
7
|
-
duration: number;
|
|
8
|
-
remainingTime: number;
|
|
9
|
-
closeButtonLabel?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare class ToastService {
|
|
12
|
-
#private;
|
|
13
|
-
paused: Signal<boolean>;
|
|
14
|
-
get toasts(): Signal<ToastData[]>;
|
|
15
|
-
constructor();
|
|
16
|
-
/**
|
|
17
|
-
* Close a toast by its ID. If no ID is provided, all toasts will be closed.
|
|
18
|
-
*/
|
|
19
|
-
close(id?: string): void;
|
|
20
|
-
/**
|
|
21
|
-
* Open a toast notification with the given message and optional duration.
|
|
22
|
-
* @param message The message to display in the toast.
|
|
23
|
-
* @param duration Optional duration in milliseconds for which the toast should be visible. Defaults to 5000ms.
|
|
24
|
-
* @returns The ID of the created toast. Can be used to close the toast.
|
|
25
|
-
*/
|
|
26
|
-
open(message: string, duration?: number, closeButtonLabel?: string): ToastId;
|
|
27
|
-
pause(): void;
|
|
28
|
-
resume(): void;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
|
|
30
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
|
|
31
|
-
}
|
|
32
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class TooltipComponent {
|
|
3
|
-
text: import("@angular/core").InputSignal<string>;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "ndw-tooltip", never, { "text": { "alias": "text"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { OnChanges, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TooltipDirective implements OnChanges, OnDestroy, OnInit {
|
|
4
|
-
private readonly elementRef;
|
|
5
|
-
private readonly overlay;
|
|
6
|
-
private readonly ariaDescriber;
|
|
7
|
-
text: import("@angular/core").InputSignal<string>;
|
|
8
|
-
private overlayRef;
|
|
9
|
-
ngOnInit(): void;
|
|
10
|
-
ngOnChanges(): void;
|
|
11
|
-
ngOnDestroy(): void;
|
|
12
|
-
protected show(): void;
|
|
13
|
-
protected hide(): void;
|
|
14
|
-
protected hideOnEscape(): void;
|
|
15
|
-
private updateAriaDescription;
|
|
16
|
-
private getFlexibleConnectedPositionStrategy;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[ndwTooltip]", never, { "text": { "alias": "ndwTooltip"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
19
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type AriaLive = 'polite' | 'assertive' | 'off';
|
package/lib/models/index.d.ts
DELETED