@ndwnu/design-system 12.2.0 → 12.3.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/index.d.ts CHANGED
@@ -24,7 +24,6 @@ declare class CollapsibleComponent {
24
24
  private readonly uuid;
25
25
  readonly toggleUuid: string;
26
26
  readonly sectionUuid: string;
27
- animationState: _angular_core.Signal<"open" | "closed">;
28
27
  toggle(): void;
29
28
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<CollapsibleComponent, never>;
30
29
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<CollapsibleComponent, "ndw-collapsible", never, { "index": { "alias": "index"; "required": true; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; "checkable": { "alias": "checkable"; "required": false; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; }, never, ["custom-header-content", "*"], true, never>;
@@ -200,7 +199,8 @@ declare class FileUploadComponent implements ControlValueAccessor {
200
199
  readonly incorrectFileType: _angular_core.ModelSignal<boolean>;
201
200
  readonly selectedFile: _angular_core.ModelSignal<File | null | undefined>;
202
201
  readonly success: _angular_core.ModelSignal<boolean>;
203
- private readonly canEdit;
202
+ protected readonly canEdit: _angular_core.Signal<boolean>;
203
+ protected readonly displayText: _angular_core.Signal<string>;
204
204
  readonly fileInputElement: _angular_core.Signal<ElementRef<HTMLInputElement>>;
205
205
  onKeyDown(event: KeyboardEvent): void;
206
206
  onClick(): void;
@@ -210,7 +210,6 @@ declare class FileUploadComponent implements ControlValueAccessor {
210
210
  onDrop(event: DragEvent): void;
211
211
  onDownloadFileClick(): void;
212
212
  onDeleteClick(event: Event): void;
213
- displayText(): string;
214
213
  onFileSelected(event: Event): void;
215
214
  writeValue(value: File): void;
216
215
  registerOnChange(fn: (value: File | null | undefined) => void): void;
@@ -353,6 +352,7 @@ declare class MarkdownEditorComponent implements ControlValueAccessor {
353
352
  readonly taskList: _angular_core.Signal<boolean>;
354
353
  get isRequiredOrHasRequiredValidator(): boolean | null;
355
354
  constructor();
355
+ onChange(event: Event): void;
356
356
  writeValue(value: string): void;
357
357
  registerOnChange(fn: (value: string | null | undefined) => void): void;
358
358
  registerOnTouched(): void;
@@ -361,6 +361,13 @@ declare class MarkdownEditorComponent implements ControlValueAccessor {
361
361
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<MarkdownEditorComponent, "ndw-markdown-editor", never, { "uuid": { "alias": "uuid"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "toolbar": { "alias": "toolbar"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "disabled": "disabledChange"; }, never, never, true, never>;
362
362
  }
363
363
 
364
+ declare class MarkdownParserComponent {
365
+ readonly content: _angular_core.InputSignal<string>;
366
+ readonly parsedContent: _angular_core.Signal<string>;
367
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MarkdownParserComponent, never>;
368
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<MarkdownParserComponent, "ndw-markdown-parser", never, { "content": { "alias": "content"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
369
+ }
370
+
364
371
  type OptionGroupMode = 'single' | 'multiple';
365
372
 
366
373
  declare class OptionComponent {
@@ -609,7 +616,7 @@ declare class BannerComponent implements AfterViewInit {
609
616
  showReadMore: boolean;
610
617
  ngAfterViewInit(): void;
611
618
  onClose(event: MouseEvent): void;
612
- private setReadMore;
619
+ protected setReadMore(): void;
613
620
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BannerComponent, never>;
614
621
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<BannerComponent, "ndw-banner", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "message": { "alias": "message"; "required": true; "isSignal": true; }; "readMoreLabel": { "alias": "readMoreLabel"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "ariaLive": { "alias": "ariaLive"; "required": false; "isSignal": true; }; }, { "close": "close"; }, never, never, true, never>;
615
622
  }
@@ -657,17 +664,11 @@ declare class CardHeaderComponent {
657
664
  declare const CARD_ID_TOKEN: InjectionToken<string>;
658
665
  declare class CardComponent implements AfterContentInit {
659
666
  private readonly header;
660
- private readonly headerHeight;
667
+ protected readonly headerHeight: _angular_core.WritableSignal<number>;
661
668
  readonly cardId: string;
662
669
  readonly isCollapsable: _angular_core.Signal<boolean>;
663
670
  readonly isCollapsed: _angular_core.ModelSignal<boolean>;
664
671
  ngAfterContentInit(): void;
665
- animationState: _angular_core.Signal<{
666
- value: string;
667
- params: {
668
- headerHeight: number;
669
- };
670
- }>;
671
672
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<CardComponent, never>;
672
673
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<CardComponent, "ndw-card", never, { "isCollapsed": { "alias": "isCollapsed"; "required": false; "isSignal": true; }; }, { "isCollapsed": "isCollapsedChange"; }, ["header"], ["*"], true, never>;
673
674
  }
@@ -1066,7 +1067,7 @@ declare class MultiSelectComponent {
1066
1067
  protected readonly lastCheckedElementId: _angular_core.ModelSignal<string | number | null | undefined>;
1067
1068
  protected readonly searchInputValue: _angular_core.ModelSignal<string>;
1068
1069
  protected readonly isOpen: _angular_core.WritableSignal<boolean>;
1069
- protected readonly viewItems: _angular_core.Signal<CheckboxData[]>;
1070
+ protected readonly dataSourceSorted: _angular_core.WritableSignal<CheckboxData[]>;
1070
1071
  readonly selectAmount: _angular_core.Signal<number>;
1071
1072
  readonly noSearchResults: _angular_core.Signal<boolean>;
1072
1073
  filterSearch(value: string): boolean;
@@ -1075,6 +1076,7 @@ declare class MultiSelectComponent {
1075
1076
  toggleSelectAll(selectAll?: boolean): void;
1076
1077
  isOpenChanged(isOpen: boolean): void;
1077
1078
  private determineLastCheckedElement;
1079
+ private sortDataSource;
1078
1080
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<MultiSelectComponent, never>;
1079
1081
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<MultiSelectComponent, "ndw-multi-select", never, { "buttonText": { "alias": "buttonText"; "required": true; "isSignal": true; }; "searchLabel": { "alias": "searchLabel"; "required": false; "isSignal": true; }; "prefixIcon": { "alias": "prefixIcon"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "noResultText": { "alias": "noResultText"; "required": false; "isSignal": true; }; "chevron": { "alias": "chevron"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "selectAmountHidden": { "alias": "selectAmountHidden"; "required": false; "isSignal": true; }; "selectAllText": { "alias": "selectAllText"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "lastCheckedElementId": { "alias": "lastCheckedElementId"; "required": false; "isSignal": true; }; "searchInputValue": { "alias": "searchInputValue"; "required": false; "isSignal": true; }; }, { "dataSource": "dataSourceChange"; "lastCheckedElementId": "lastCheckedElementIdChange"; "searchInputValue": "searchInputValueChange"; }, never, never, true, never>;
1080
1082
  }
@@ -1217,7 +1219,9 @@ declare class SwitcherComponent implements ControlValueAccessor, OnInit {
1217
1219
  readonly options: _angular_core.InputSignal<SwitcherOption[]>;
1218
1220
  readonly selectedValue: _angular_core.ModelSignal<string | undefined>;
1219
1221
  readonly disabled: _angular_core.ModelSignal<boolean>;
1222
+ readonly vertical: _angular_core.InputSignal<boolean>;
1220
1223
  readonly selectionChange: _angular_core.OutputEmitterRef<string>;
1224
+ sliderHeight: string;
1221
1225
  sliderWidth: string;
1222
1226
  sliderPosition: string;
1223
1227
  private onChange;
@@ -1232,7 +1236,7 @@ declare class SwitcherComponent implements ControlValueAccessor, OnInit {
1232
1236
  generateId(index: number): string;
1233
1237
  get componentName(): string;
1234
1238
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SwitcherComponent, never>;
1235
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<SwitcherComponent, "ndw-switcher", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "selectedValue": { "alias": "selectedValue"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "selectedValue": "selectedValueChange"; "disabled": "disabledChange"; "selectionChange": "selectionChange"; }, never, never, true, never>;
1239
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SwitcherComponent, "ndw-switcher", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "selectedValue": { "alias": "selectedValue"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; }, { "selectedValue": "selectedValueChange"; "disabled": "disabledChange"; "selectionChange": "selectionChange"; }, never, never, true, never>;
1236
1240
  }
1237
1241
 
1238
1242
  declare class TabComponent implements OnInit {
@@ -1375,5 +1379,5 @@ declare class TooltipDirective implements OnChanges, OnDestroy, OnInit {
1375
1379
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TooltipDirective, "[ndwTooltip]", never, { "text": { "alias": "ndwTooltip"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1376
1380
  }
1377
1381
 
1378
- export { AccordionComponent, AccordionService, AlertComponent, AutoGrowDirective, AutosuggestAddOptionComponent, AutosuggestDirective, AutosuggestOptionComponent, AutosuggestPanelComponent, AvatarComponent, BadgeComponent, BannerComponent, BreadcrumbComponent, BreadcrumbGroupComponent, ButtonDirective, CARD_COMPONENTS, CARD_ID_TOKEN, CalendarComponent, CardComponent, CardContentComponent, CardFooterComponent, CardHeaderComponent, CheckboxComponent, CheckboxGroupComponent, CollapsibleComponent, DEFAULT_BACKGROUNDS, DashboardCardComponent, DatepickerComponent, DropdownComponent, EditBarActionsComponent, EditBarComponent, EditBarMessageComponent, ErrorComponent, FavoriteComponent, FileUploadComponent, FormFieldComponent, FormFieldElement, HoverableListItemComponent, IconComponent, InfoComponent, InputButtonComponent, InputDirective, InputIconComponent, KeyValueListComponent, LayoutBannersComponent, LayoutComponent, ListComponent, ListItemComponent, LoaderComponent, MAP_BACKGROUNDS, MAP_BACKGROUND_IMAGES, MAP_LAYERS, MAP_LAYER_IMAGES, MODAL_COMPONENTS, MainNavigationComponent, MapButtonComponent, MapDisplayComponent, MapDisplayOptionComponent, MapLegendComponent, MarkdownEditorComponent, MaxCharDirective, ModalComponent, ModalContentComponent, ModalFooterComponent, ModalHeaderComponent, ModalService, MonthInputComponent, MultiSelectComponent, OptionComponent, OptionGroupComponent, PillComponent, PopoverTriggerDirective, RadioButtonComponent, RadioGroupComponent, RouterBreadcrumbsComponent, SplitterComponent, SummaryCardActionComponent, SummaryCardActionsComponent, SummaryCardComponent, SummaryCardContentComponent, SummaryCardHeaderComponent, SummaryCardSubtitleComponent, SummaryCardTagComponent, SummaryCardTagsComponent, SwitcherComponent, TabComponent, TabGroupComponent, TagComponent, ToastComponent, ToastService, TooltipComponent, TooltipDirective, fontMapButtonIcons, mapButtonIcons, ndwAgGridTheme, svgMapButtonIcons };
1382
+ export { AccordionComponent, AccordionService, AlertComponent, AutoGrowDirective, AutosuggestAddOptionComponent, AutosuggestDirective, AutosuggestOptionComponent, AutosuggestPanelComponent, AvatarComponent, BadgeComponent, BannerComponent, BreadcrumbComponent, BreadcrumbGroupComponent, ButtonDirective, CARD_COMPONENTS, CARD_ID_TOKEN, CalendarComponent, CardComponent, CardContentComponent, CardFooterComponent, CardHeaderComponent, CheckboxComponent, CheckboxGroupComponent, CollapsibleComponent, DEFAULT_BACKGROUNDS, DashboardCardComponent, DatepickerComponent, DropdownComponent, EditBarActionsComponent, EditBarComponent, EditBarMessageComponent, ErrorComponent, FavoriteComponent, FileUploadComponent, FormFieldComponent, FormFieldElement, HoverableListItemComponent, IconComponent, InfoComponent, InputButtonComponent, InputDirective, InputIconComponent, KeyValueListComponent, LayoutBannersComponent, LayoutComponent, ListComponent, ListItemComponent, LoaderComponent, MAP_BACKGROUNDS, MAP_BACKGROUND_IMAGES, MAP_LAYERS, MAP_LAYER_IMAGES, MODAL_COMPONENTS, MainNavigationComponent, MapButtonComponent, MapDisplayComponent, MapDisplayOptionComponent, MapLegendComponent, MarkdownEditorComponent, MarkdownParserComponent, MaxCharDirective, ModalComponent, ModalContentComponent, ModalFooterComponent, ModalHeaderComponent, ModalService, MonthInputComponent, MultiSelectComponent, OptionComponent, OptionGroupComponent, PillComponent, PopoverTriggerDirective, RadioButtonComponent, RadioGroupComponent, RouterBreadcrumbsComponent, SplitterComponent, SummaryCardActionComponent, SummaryCardActionsComponent, SummaryCardComponent, SummaryCardContentComponent, SummaryCardHeaderComponent, SummaryCardSubtitleComponent, SummaryCardTagComponent, SummaryCardTagsComponent, SwitcherComponent, TabComponent, TabGroupComponent, TagComponent, ToastComponent, ToastService, TooltipComponent, TooltipDirective, fontMapButtonIcons, mapButtonIcons, ndwAgGridTheme, svgMapButtonIcons };
1379
1383
  export type { AlertType, AvatarColor, AvatarStatus, BannerType, BaseMapLegendOption, CheckType, CheckboxData, CircleMapLegendOption, DatepickerMode, DisplayOptionDirection, DisplayOptionType, EditBarPosition, EditBarWidth, Environment, FileUploadText, HoverableListItemAction, IconMapLegendOption, ImageMapLegendOption, LineMapLegendOption, MapBackgroundOption, MapBackgrounds, MapButtonIcon, MapDisplayOption, MapLegendOption, MapLegendOptionGroup, MapLegendOptionType, MapLegendViewMode, MenuItem, ModalSize, OptionGroupMode, PolygonMapLegendOption, PopoverPosition, SelectAllText, SubMenuItem, SummaryActionsView, SwitcherOption, Theme, ToastDimensions };
package/package.json CHANGED
@@ -1,16 +1,17 @@
1
1
  {
2
2
  "name": "@ndwnu/design-system",
3
- "version": "12.2.0",
3
+ "version": "12.3.0",
4
4
  "peerDependencies": {
5
- "@angular/animations": "^20.0.0",
6
5
  "@angular/cdk": "^20.0.0",
7
6
  "@angular/common": "^20.0.0",
8
7
  "@angular/core": "^20.0.0",
9
8
  "@angular/forms": "^20.0.0",
10
9
  "@angular/material": "^20.0.0",
11
10
  "@angular/router": "^20.0.0",
12
- "@ndwnu/core": "2.1.0",
11
+ "@ndwnu/core": "2.1.1",
13
12
  "@github/markdown-toolbar-element": "2.2.3",
13
+ "dompurify": "^3.3.0",
14
+ "marked": "^17.0.1",
14
15
  "ag-grid-angular": "^34.0.2",
15
16
  "ag-grid-community": "^34.0.2",
16
17
  "rxjs": "^7.8.0"
@@ -39,7 +39,7 @@
39
39
  &:focus-visible {
40
40
  background-color: var(--ndw-color-white);
41
41
  border-color: transparent;
42
- outline-color: var(--ndw-color-secondary-500);
42
+ outline-color: var(--ndw-color-info-500);
43
43
  }
44
44
  }
45
45
 
@@ -60,7 +60,7 @@
60
60
  &:focus-visible {
61
61
  background-color: var(--ndw-color-white);
62
62
  border-color: transparent;
63
- outline-color: var(--ndw-color-secondary-500);
63
+ outline-color: var(--ndw-color-info-500);
64
64
  }
65
65
  }
66
66
 
@@ -29,7 +29,7 @@
29
29
  }
30
30
 
31
31
  &:has(a:focus:not(:active)) {
32
- outline: var(--ndw-border-size-sm) solid var(--ndw-color-secondary-500);
32
+ outline: var(--ndw-border-size-sm) solid var(--ndw-color-info-500);
33
33
  }
34
34
  }
35
35