@ndwnu/design-system 3.0.1 → 5.0.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/dashboard-card-icons/contact.png +0 -0
- package/assets/images/dashboard-card-icons/faq.png +0 -0
- package/assets/images/dashboard-card-icons/manual.png +0 -0
- package/components/alert/alert.component.d.ts +2 -5
- package/components/alert/alert.model.d.ts +0 -1
- package/components/banner/banner.component.d.ts +38 -0
- package/components/banner/banner.model.d.ts +4 -0
- package/components/banner/index.d.ts +2 -0
- package/components/breadcrumb-group/breadcrumb-group.component.d.ts +1 -1
- package/components/card/index.d.ts +2 -2
- package/components/collapsible/collapsible.component.d.ts +0 -1
- package/components/dashboard-card/dashboard-card.component.d.ts +22 -0
- package/components/dashboard-card/index.d.ts +1 -0
- package/components/dropdown/dropdown.component.d.ts +4 -4
- package/components/form-field/autosuggest/autosuggest-add-option/autosuggest-add-option.component.d.ts +8 -0
- package/components/form-field/autosuggest/autosuggest-add-option/index.d.ts +1 -0
- package/components/form-field/autosuggest/autosuggest-option/autosuggest-option.component.d.ts +19 -0
- package/components/form-field/autosuggest/autosuggest-option/autosuggest-option.model.d.ts +2 -0
- package/components/form-field/autosuggest/autosuggest-option/base-autosuggest-option.component.d.ts +27 -0
- package/components/form-field/autosuggest/autosuggest-option/index.d.ts +2 -0
- package/components/form-field/autosuggest/autosuggest-panel/autosuggest-panel.component.d.ts +39 -0
- package/components/form-field/autosuggest/autosuggest.directive.d.ts +72 -0
- package/components/form-field/autosuggest/index.d.ts +5 -0
- package/components/form-field/autosuggest/match-bold.pipe.d.ts +7 -0
- package/components/form-field/checkbox/checkbox.component.d.ts +0 -3
- package/components/form-field/clear-search-button/clear-search-button.component.d.ts +15 -0
- package/components/form-field/file-upload/file-upload.component.d.ts +4 -11
- package/components/form-field/form-field.component.d.ts +19 -23
- package/components/form-field/form-field.constant.d.ts +1 -0
- package/components/form-field/index.d.ts +3 -0
- package/components/form-field/input/input.directive.d.ts +0 -1
- package/components/form-field/input-button/index.d.ts +1 -0
- package/components/form-field/input-button/input-button.component.d.ts +12 -0
- package/components/form-field/input-icon/index.d.ts +1 -0
- package/components/form-field/input-icon/input-icon.component.d.ts +5 -0
- package/components/form-field/picker-button/picker-button.component.d.ts +14 -0
- package/components/form-field/radio-button/radio-button.component.d.ts +0 -2
- package/components/form-field/radio-group/radio-group.component.d.ts +0 -1
- package/components/icon/icon.component.d.ts +1 -0
- package/components/index.d.ts +7 -2
- package/components/layout/index.d.ts +1 -0
- package/components/layout/layout.component.d.ts +11 -0
- package/components/layout-banners/index.d.ts +1 -0
- package/components/layout-banners/layout-banners.component.d.ts +5 -0
- package/components/loader/index.d.ts +1 -0
- package/components/loader/loader.component.d.ts +5 -0
- package/components/main-navigation/main-navigation.component.d.ts +8 -6
- package/components/main-navigation/main-navigation.imports.d.ts +1 -1
- package/components/main-navigation/main-navigation.model.d.ts +1 -0
- package/components/main-navigation-menu/main-navigation-menu.component.d.ts +2 -2
- package/components/modal/index.d.ts +0 -1
- package/components/modal/modal-header/modal-header.component.d.ts +1 -1
- package/components/modal/modal-ref.d.ts +3 -0
- package/components/modal/modal.component.d.ts +0 -3
- package/components/modal/modal.service.d.ts +13 -11
- package/components/pill/pill.component.d.ts +1 -3
- package/components/tab/tab.component.d.ts +0 -3
- package/components/tab-group/tab-group.component.d.ts +1 -2
- package/components/tag/index.d.ts +1 -0
- package/components/tag/tag.component.d.ts +18 -0
- package/core/{styles/ndw-styles.scss → style/styles.css} +495 -219
- package/core/{styles/nwb-styles.scss → style/styles.scss} +526 -218
- package/esm2022/components/accordion/accordion.component.mjs +8 -8
- package/esm2022/components/accordion/accordion.service.mjs +3 -3
- package/esm2022/components/alert/alert.component.mjs +12 -29
- package/esm2022/components/alert/alert.model.mjs +1 -1
- package/esm2022/components/badge/badge.component.mjs +6 -6
- package/esm2022/components/banner/banner.component.mjs +61 -0
- package/esm2022/components/banner/banner.model.mjs +6 -0
- package/esm2022/components/banner/index.mjs +3 -0
- package/esm2022/components/breadcrumb/breadcrumb.component.mjs +6 -6
- package/esm2022/components/breadcrumb-group/breadcrumb-group.component.mjs +10 -10
- package/esm2022/components/button/button.directive.mjs +3 -3
- package/esm2022/components/card/card-content/card-content.component.mjs +6 -6
- package/esm2022/components/card/card-footer/card-footer.component.mjs +6 -6
- package/esm2022/components/card/card-header/card-header.component.mjs +6 -7
- package/esm2022/components/card/card.component.mjs +6 -6
- package/esm2022/components/collapsible/collapsible.component.mjs +9 -14
- package/esm2022/components/dashboard-card/dashboard-card.component.mjs +32 -0
- package/esm2022/components/dashboard-card/index.mjs +2 -0
- package/esm2022/components/dropdown/dropdown.component.mjs +11 -18
- package/esm2022/components/form-field/autosuggest/autosuggest-add-option/autosuggest-add-option.component.mjs +29 -0
- package/esm2022/components/form-field/autosuggest/autosuggest-add-option/index.mjs +2 -0
- package/esm2022/components/form-field/autosuggest/autosuggest-option/autosuggest-option.component.mjs +45 -0
- package/esm2022/components/form-field/autosuggest/autosuggest-option/autosuggest-option.model.mjs +2 -0
- package/esm2022/components/form-field/autosuggest/autosuggest-option/base-autosuggest-option.component.mjs +85 -0
- package/esm2022/components/form-field/autosuggest/autosuggest-option/index.mjs +3 -0
- package/esm2022/components/form-field/autosuggest/autosuggest-panel/autosuggest-panel.component.mjs +82 -0
- package/esm2022/components/form-field/autosuggest/autosuggest.directive.mjs +411 -0
- package/esm2022/components/form-field/autosuggest/index.mjs +6 -0
- package/esm2022/components/form-field/autosuggest/match-bold.pipe.mjs +21 -0
- package/esm2022/components/form-field/checkbox/checkbox.component.mjs +13 -27
- package/esm2022/components/form-field/checkbox-group/checkbox-group.component.mjs +6 -6
- package/esm2022/components/form-field/clear-search-button/clear-search-button.component.mjs +37 -0
- package/esm2022/components/form-field/error/error.component.mjs +6 -6
- package/esm2022/components/form-field/file-upload/file-upload.component.mjs +48 -93
- package/esm2022/components/form-field/form-field.component.mjs +25 -76
- package/esm2022/components/form-field/form-field.constant.mjs +2 -0
- package/esm2022/components/form-field/index.mjs +4 -1
- package/esm2022/components/form-field/info/info.component.mjs +6 -6
- package/esm2022/components/form-field/input/input.directive.mjs +5 -11
- package/esm2022/components/form-field/input-button/index.mjs +2 -0
- package/esm2022/components/form-field/input-button/input-button.component.mjs +23 -0
- package/esm2022/components/form-field/input-icon/index.mjs +2 -0
- package/esm2022/components/form-field/input-icon/input-icon.component.mjs +12 -0
- package/esm2022/components/form-field/month-input/month-input.component.mjs +8 -9
- package/esm2022/components/form-field/option-group/option-group.component.mjs +6 -6
- package/esm2022/components/form-field/option-group/option.component.mjs +5 -6
- package/esm2022/components/form-field/picker-button/picker-button.component.mjs +45 -0
- package/esm2022/components/form-field/radio-button/radio-button.component.mjs +12 -22
- package/esm2022/components/form-field/radio-group/radio-group.component.mjs +11 -13
- package/esm2022/components/form-field/success/success.component.mjs +6 -6
- package/esm2022/components/form-field/textarea/auto-grow.directive.mjs +3 -3
- package/esm2022/components/icon/action-icon/action-icon.component.mjs +5 -5
- package/esm2022/components/icon/icon.component.mjs +15 -10
- package/esm2022/components/index.mjs +8 -3
- package/esm2022/components/layout/index.mjs +2 -0
- package/esm2022/components/layout/layout.component.mjs +20 -0
- package/esm2022/components/layout-banners/index.mjs +2 -0
- package/esm2022/components/layout-banners/layout-banners.component.mjs +11 -0
- package/esm2022/components/loader/index.mjs +2 -0
- package/esm2022/components/loader/loader.component.mjs +11 -0
- package/esm2022/components/main-navigation/main-navigation.component.mjs +52 -48
- package/esm2022/components/main-navigation/main-navigation.model.mjs +1 -1
- package/esm2022/components/main-navigation-menu/main-navigation-menu.component.mjs +9 -9
- package/esm2022/components/modal/index.mjs +1 -4
- package/esm2022/components/modal/modal-content/modal-content.component.mjs +6 -6
- package/esm2022/components/modal/modal-footer/modal-footer.component.mjs +6 -6
- package/esm2022/components/modal/modal-header/modal-header.component.mjs +9 -11
- package/esm2022/components/modal/modal-ref.mjs +4 -0
- package/esm2022/components/modal/modal.component.mjs +10 -23
- package/esm2022/components/modal/modal.service.mjs +20 -41
- package/esm2022/components/multi-select/multi-select.component.mjs +10 -12
- package/esm2022/components/pill/pill.component.mjs +12 -20
- package/esm2022/components/popover/popover-trigger.directive.mjs +9 -9
- package/esm2022/components/router-breadcrumbs/router-breadcrumbs.component.mjs +6 -6
- package/esm2022/components/tab/tab.component.mjs +13 -29
- package/esm2022/components/tab-group/tab-group.component.mjs +10 -12
- package/esm2022/components/tag/index.mjs +2 -0
- package/esm2022/components/tag/tag.component.mjs +29 -0
- package/esm2022/components/toast/toast.component.mjs +6 -6
- package/esm2022/components/toast/toast.service.mjs +4 -4
- package/esm2022/components/tooltip/tooltip.component.mjs +7 -7
- package/esm2022/components/tooltip/tooltip.directive.mjs +10 -16
- package/esm2022/models/aria.model.mjs +2 -0
- package/esm2022/models/index.mjs +2 -0
- package/fesm2022/ndwnu-design-system.mjs +1279 -660
- package/fesm2022/ndwnu-design-system.mjs.map +1 -1
- package/models/aria.model.d.ts +1 -0
- package/models/index.d.ts +1 -0
- package/package.json +1 -1
- package/components/modal/modal-trigger.directive.d.ts +0 -16
- package/components/removable-pill/index.d.ts +0 -1
- package/components/removable-pill/removable-pill.component.d.ts +0 -14
- package/esm2022/components/modal/modal-trigger.directive.mjs +0 -46
- package/esm2022/components/removable-pill/index.mjs +0 -2
- package/esm2022/components/removable-pill/removable-pill.component.mjs +0 -23
package/components/index.d.ts
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
export * from './accordion';
|
|
2
2
|
export * from './alert';
|
|
3
3
|
export * from './badge';
|
|
4
|
+
export * from './banner';
|
|
4
5
|
export * from './breadcrumb';
|
|
5
6
|
export * from './breadcrumb-group';
|
|
6
7
|
export * from './button';
|
|
7
8
|
export * from './card';
|
|
8
9
|
export * from './collapsible';
|
|
10
|
+
export * from './dashboard-card';
|
|
9
11
|
export * from './dropdown';
|
|
10
12
|
export * from './form-field';
|
|
11
13
|
export * from './icon';
|
|
14
|
+
export * from './layout';
|
|
15
|
+
export * from './layout-banners';
|
|
16
|
+
export * from './loader';
|
|
12
17
|
export * from './main-navigation';
|
|
13
18
|
export * from './modal';
|
|
14
19
|
export * from './multi-select';
|
|
@@ -17,6 +22,6 @@ export * from './popover';
|
|
|
17
22
|
export * from './router-breadcrumbs';
|
|
18
23
|
export * from './tab';
|
|
19
24
|
export * from './tab-group';
|
|
20
|
-
export * from './
|
|
25
|
+
export * from './tag';
|
|
21
26
|
export * from './toast';
|
|
22
|
-
export * from './
|
|
27
|
+
export * from './tooltip';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './layout.component';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { MenuItem } from '../main-navigation';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LayoutComponent {
|
|
4
|
+
applicationName: import("@angular/core").InputSignal<string>;
|
|
5
|
+
topMenuItems: import("@angular/core").InputSignal<MenuItem[]>;
|
|
6
|
+
bottomMenuItems: import("@angular/core").InputSignal<MenuItem[] | undefined>;
|
|
7
|
+
menuFooterTexts: import("@angular/core").InputSignal<string[] | undefined>;
|
|
8
|
+
version: import("@angular/core").InputSignal<string | undefined>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutComponent, "ndw-layout", never, { "applicationName": { "alias": "applicationName"; "required": true; "isSignal": true; }; "topMenuItems": { "alias": "topMenuItems"; "required": true; "isSignal": true; }; "bottomMenuItems": { "alias": "bottomMenuItems"; "required": false; "isSignal": true; }; "menuFooterTexts": { "alias": "menuFooterTexts"; "required": false; "isSignal": true; }; "version": { "alias": "version"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './layout-banners.component';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class LayoutBannersComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutBannersComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutBannersComponent, "ndw-layout-banners", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './loader.component';
|
|
@@ -5,6 +5,7 @@ import { MainNavigationMenuComponent } from '../main-navigation-menu';
|
|
|
5
5
|
import { MenuItem, NdwBrand, SimpleMenuItem } from './main-navigation.model';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class MainNavigationComponent implements AfterViewInit, OnDestroy {
|
|
8
|
+
#private;
|
|
8
9
|
applicationName: import("@angular/core").InputSignal<string>;
|
|
9
10
|
topMenuItems: import("@angular/core").InputSignal<MenuItem[]>;
|
|
10
11
|
bottomMenuItems: import("@angular/core").InputSignal<MenuItem[] | undefined>;
|
|
@@ -20,23 +21,24 @@ export declare class MainNavigationComponent implements AfterViewInit, OnDestroy
|
|
|
20
21
|
childMenuTemplate: import("@angular/core").Signal<TemplateRef<MainNavigationMenuComponent>>;
|
|
21
22
|
isMobile: import("@angular/core").WritableSignal<boolean>;
|
|
22
23
|
brandImagePath: import("@angular/core").Signal<string>;
|
|
24
|
+
activeId?: number;
|
|
25
|
+
private selectedId?;
|
|
23
26
|
protected mobilePortal?: TemplatePortal<MainNavigationMenuComponent>;
|
|
24
|
-
private activeId?;
|
|
25
|
-
protected get brandAttribute(): string;
|
|
26
|
-
protected get expandedClass(): boolean;
|
|
27
|
-
protected get mobileClass(): boolean;
|
|
28
27
|
onMouseMove(event: MouseEvent): void;
|
|
29
28
|
onWindowResize(): void;
|
|
30
29
|
activeChildItems: SimpleMenuItem[];
|
|
31
30
|
overlayPositions: ConnectedPosition[];
|
|
32
31
|
private overlay;
|
|
33
32
|
private viewContainerRef;
|
|
33
|
+
private document;
|
|
34
|
+
private platform;
|
|
34
35
|
private activeButton?;
|
|
35
36
|
private overlayRef?;
|
|
37
|
+
constructor();
|
|
36
38
|
ngAfterViewInit(): void;
|
|
37
39
|
ngOnDestroy(): void;
|
|
38
|
-
close(toggleMobileView?: boolean): void;
|
|
39
|
-
handleClick(
|
|
40
|
+
close(activeItem?: SimpleMenuItem, toggleMobileView?: boolean): void;
|
|
41
|
+
handleClick(activeItem: MenuItem): void;
|
|
40
42
|
handleLogoClick(): void;
|
|
41
43
|
open(item: MenuItem): void;
|
|
42
44
|
toggleChildMenu(item: MenuItem, event?: KeyboardEvent): void;
|
|
@@ -6,4 +6,4 @@ import { BadgeComponent } from '../badge';
|
|
|
6
6
|
import { IconComponent } from '../icon';
|
|
7
7
|
import { MainNavigationMenuComponent } from '../main-navigation-menu';
|
|
8
8
|
import { TooltipDirective } from '../tooltip';
|
|
9
|
-
export declare const MAIN_NAVIGATION_IMPORTS: (typeof
|
|
9
|
+
export declare const MAIN_NAVIGATION_IMPORTS: (typeof IconComponent | typeof NgTemplateOutlet | typeof TooltipDirective | typeof MainNavigationMenuComponent | typeof BadgeComponent | typeof CdkPortalOutlet | typeof NgClass | typeof OverlayModule | typeof RouterLink)[];
|
|
@@ -3,8 +3,8 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class MainNavigationMenuComponent {
|
|
4
4
|
menuItems: import("@angular/core").InputSignal<SimpleMenuItem[]>;
|
|
5
5
|
isMobile: import("@angular/core").InputSignal<boolean>;
|
|
6
|
-
close: import("@angular/core").OutputEmitterRef<
|
|
7
|
-
handleSelected(
|
|
6
|
+
close: import("@angular/core").OutputEmitterRef<SimpleMenuItem>;
|
|
7
|
+
handleSelected(activeItem: SimpleMenuItem): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<MainNavigationMenuComponent, never>;
|
|
9
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<MainNavigationMenuComponent, "ndw-main-navigation-menu", never, { "menuItems": { "alias": "menuItems"; "required": true; "isSignal": true; }; "isMobile": { "alias": "isMobile"; "required": false; "isSignal": true; }; }, { "close": "close"; }, never, never, true, never>;
|
|
10
10
|
}
|
|
@@ -2,7 +2,6 @@ import { ModalContentComponent } from './modal-content';
|
|
|
2
2
|
export * from './modal-content';
|
|
3
3
|
export * from './modal-footer';
|
|
4
4
|
export * from './modal-header';
|
|
5
|
-
export * from './modal-trigger.directive';
|
|
6
5
|
export * from './modal.component';
|
|
7
6
|
export * from './modal.service';
|
|
8
7
|
export declare const MODAL_COMPONENTS: (typeof ModalContentComponent)[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class ModalHeaderComponent {
|
|
3
|
-
private
|
|
3
|
+
#private;
|
|
4
4
|
detachModal(): void;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalHeaderComponent, never>;
|
|
6
6
|
static ɵcmp: i0.ɵɵComponentDeclaration<ModalHeaderComponent, "ndw-modal-header", never, {}, {}, never, ["*"], true, never>;
|
|
@@ -3,9 +3,6 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export type ModalSize = 'sm' | 'md';
|
|
4
4
|
export declare class ModalComponent extends CardComponent {
|
|
5
5
|
size: import("@angular/core").InputSignal<ModalSize>;
|
|
6
|
-
get isSmall(): boolean;
|
|
7
|
-
get isMedium(): boolean;
|
|
8
|
-
readonly roleAttr = "dialog";
|
|
9
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
10
7
|
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "ndw-modal", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
11
8
|
}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Dialog, DialogConfig } from '@angular/cdk/dialog';
|
|
2
|
+
import { ComponentType } from '@angular/cdk/portal';
|
|
3
|
+
import { TemplateRef } from '@angular/core';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { ModalRef } from './modal-ref';
|
|
3
6
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ModalService {
|
|
5
|
-
private
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
open(templateRef: TemplateRef<unknown>, viewContainerRef: ViewContainerRef): void;
|
|
7
|
+
export declare class ModalService extends Dialog {
|
|
8
|
+
#private;
|
|
9
|
+
backdropClick$?: Observable<MouseEvent>;
|
|
10
|
+
closed$?: Observable<unknown | undefined>;
|
|
11
|
+
close(): void;
|
|
12
|
+
open(componentOrTemplateRef: ComponentType<unknown> | TemplateRef<unknown>, config?: DialogConfig<unknown, ModalRef<unknown, unknown>>): ModalRef<unknown, unknown>;
|
|
13
|
+
getModalRef(): ModalRef<unknown, unknown>;
|
|
14
|
+
setModalRef(modalRef: ModalRef<unknown, unknown>): void;
|
|
13
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, never>;
|
|
14
16
|
static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
|
|
15
17
|
}
|
|
@@ -8,9 +8,7 @@ export declare class PillComponent {
|
|
|
8
8
|
/**
|
|
9
9
|
* The content of the pill.
|
|
10
10
|
*/
|
|
11
|
-
private readonly
|
|
12
|
-
get hostClass(): string[];
|
|
13
|
-
protected get title(): string | undefined;
|
|
11
|
+
private readonly content;
|
|
14
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<PillComponent, never>;
|
|
15
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<PillComponent, "ndw-pill", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
16
14
|
}
|
|
@@ -2,9 +2,6 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export declare class TabComponent {
|
|
3
3
|
index: import("@angular/core").InputSignal<number>;
|
|
4
4
|
active: import("@angular/core").ModelSignal<boolean>;
|
|
5
|
-
protected get activeAttribute(): boolean | null;
|
|
6
|
-
protected readonly role = "tab";
|
|
7
|
-
protected get tabIndex(): number;
|
|
8
5
|
onClick(): void;
|
|
9
6
|
onTabKeyDown(event: KeyboardEvent): void;
|
|
10
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { AfterContentInit } from '@angular/core';
|
|
2
|
-
import { TabComponent } from '../tab
|
|
2
|
+
import { TabComponent } from '../tab';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class TabGroupComponent implements AfterContentInit {
|
|
5
5
|
tabs: import("@angular/core").Signal<readonly TabComponent[]>;
|
|
6
6
|
activeTab: import("@angular/core").ModelSignal<number>;
|
|
7
|
-
protected readonly role = "tablist";
|
|
8
7
|
ngAfterContentInit(): void;
|
|
9
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabGroupComponent, never>;
|
|
10
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<TabGroupComponent, "ndw-tab-group", never, { "activeTab": { "alias": "activeTab"; "required": false; "isSignal": true; }; }, { "activeTab": "activeTabChange"; }, ["tabs"], ["*"], true, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './tag.component';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TagComponent {
|
|
3
|
+
/**
|
|
4
|
+
* Disables the tag
|
|
5
|
+
*/
|
|
6
|
+
disabled: import("@angular/core").InputSignal<boolean>;
|
|
7
|
+
/**
|
|
8
|
+
* Aria label for the interactive button
|
|
9
|
+
*/
|
|
10
|
+
suffixAriaLabel: import("@angular/core").InputSignal<string>;
|
|
11
|
+
/**
|
|
12
|
+
* The name of the icon to display
|
|
13
|
+
*/
|
|
14
|
+
suffixIcon: import("@angular/core").InputSignal<string>;
|
|
15
|
+
onClick: import("@angular/core").OutputEmitterRef<Event>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TagComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TagComponent, "ndw-tag", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "suffixAriaLabel": { "alias": "suffixAriaLabel"; "required": false; "isSignal": true; }; "suffixIcon": { "alias": "suffixIcon"; "required": false; "isSignal": true; }; }, { "onClick": "onClick"; }, never, ["*"], true, never>;
|
|
18
|
+
}
|