@leanix/components 0.4.730 → 0.4.732

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.
@@ -1,19 +1,62 @@
1
1
  import { EventEmitter, Signal } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class EmptyStateComponent {
4
+ /**
5
+ * The title to be displayed
6
+ */
4
7
  title: import("@angular/core").InputSignal<string>;
8
+ /**
9
+ * The SAP icon to show in the empty state.
10
+ *
11
+ * **Important:** Font Awesome icons are not supported anymore.
12
+ */
5
13
  icon: import("@angular/core").InputSignal<string | undefined>;
14
+ /**
15
+ * The main call-to-action button label
16
+ */
6
17
  buttonLabel: import("@angular/core").InputSignal<string | undefined>;
18
+ /**
19
+ * The secondary call-to-action button label
20
+ */
7
21
  secondaryButtonLabel: import("@angular/core").InputSignal<string | undefined>;
22
+ /**
23
+ * Whether the empty state is in a loading state. If true, main call-to-action button will show a spinner
24
+ */
8
25
  loading: import("@angular/core").InputSignal<boolean>;
26
+ /**
27
+ * The more link label
28
+ */
9
29
  moreLinkLabel: import("@angular/core").InputSignal<string | undefined>;
30
+ /**
31
+ * The URL of the more link
32
+ */
10
33
  moreLink: import("@angular/core").InputSignal<string | string[] | undefined>;
34
+ /**
35
+ * Whether the more link should be opened in a new tab
36
+ *
37
+ * @default true
38
+ */
11
39
  openMoreLinkInNewTab: import("@angular/core").InputSignal<boolean>;
40
+ /**
41
+ * The size of the empty state
42
+ *
43
+ * @default medium
44
+ */
12
45
  size: import("@angular/core").InputSignal<"small" | "medium">;
13
- useRouterLink: Signal<boolean>;
14
- get _size(): "small" | "medium";
46
+ protected useRouterLink: Signal<boolean>;
47
+ protected readonly iconName: Signal<string | null>;
48
+ protected get _size(): "small" | "medium";
49
+ /**
50
+ * Emitted when the main call-to-action button is clicked
51
+ */
15
52
  buttonClicked: EventEmitter<MouseEvent>;
53
+ /**
54
+ * Emitted when the secondary call-to-action button is clicked
55
+ */
16
56
  secondaryButtonClicked: EventEmitter<MouseEvent>;
57
+ /**
58
+ * Emitted when the more link is clicked
59
+ */
17
60
  moreLinkClicked: EventEmitter<MouseEvent>;
18
61
  static ɵfac: i0.ɵɵFactoryDeclaration<EmptyStateComponent, never>;
19
62
  static ɵcmp: i0.ɵɵComponentDeclaration<EmptyStateComponent, "lx-empty-state", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "buttonLabel": { "alias": "buttonLabel"; "required": false; "isSignal": true; }; "secondaryButtonLabel": { "alias": "secondaryButtonLabel"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "moreLinkLabel": { "alias": "moreLinkLabel"; "required": false; "isSignal": true; }; "moreLink": { "alias": "moreLink"; "required": false; "isSignal": true; }; "openMoreLinkInNewTab": { "alias": "openMoreLinkInNewTab"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "buttonClicked": "buttonClicked"; "secondaryButtonClicked": "secondaryButtonClicked"; "moreLinkClicked": "moreLinkClicked"; }, never, ["*"], true, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leanix/components",
3
- "version": "0.4.730",
3
+ "version": "0.4.732",
4
4
  "license": "Apache-2.0",
5
5
  "author": "LeanIX GmbH",
6
6
  "repository": {