@leanix/components 0.4.742 → 0.4.744

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.
@@ -2,7 +2,7 @@ import { PipeTransform } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class LxTimeAgo implements PipeTransform {
4
4
  private getDateFnLocale?;
5
- transform(input: Date | string): string;
5
+ transform(input: Date | string | null | undefined): string;
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<LxTimeAgo, never>;
7
7
  static ɵpipe: i0.ɵɵPipeDeclaration<LxTimeAgo, "lxTimeAgo", true>;
8
8
  }
@@ -1,3 +1,4 @@
1
+ import { Locale } from 'date-fns';
1
2
  export declare class DateFormatter {
2
- format(date: Date, format: string, locale: string): string;
3
+ format(date: Date, format: string, locale?: Locale | string): string;
3
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leanix/components",
3
- "version": "0.4.742",
3
+ "version": "0.4.744",
4
4
  "license": "Apache-2.0",
5
5
  "author": "LeanIX GmbH",
6
6
  "repository": {
@@ -45,7 +45,7 @@
45
45
  "@ui5/webcomponents-icons-tnt": "2.12.0",
46
46
  "@ui5/webcomponents-ngx": "0.4.9",
47
47
  "color": "3.1.3",
48
- "date-fns": "1.30.1",
48
+ "date-fns": "4.1.0",
49
49
  "dompurify": "3.2.6",
50
50
  "lodash": "4.17.21",
51
51
  "lodash-es": "4.17.21",