@leanix/components 0.4.818 → 0.4.819

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.
Files changed (67) hide show
  1. package/fesm2022/leanix-components.mjs +1742 -123
  2. package/fesm2022/leanix-components.mjs.map +1 -1
  3. package/lib/core-ui/components/avatar/avatar.component.d.ts +27 -0
  4. package/lib/core-ui/components/avatar-group/avatar-group.component.d.ts +45 -0
  5. package/lib/core-ui/components/badge/badge.component.d.ts +10 -0
  6. package/lib/core-ui/components/banner/banner.component.d.ts +18 -0
  7. package/lib/core-ui/components/button/button.component.d.ts +22 -0
  8. package/lib/core-ui/components/button-group/button-group.component.d.ts +26 -0
  9. package/lib/core-ui/components/card/card.component.d.ts +16 -3
  10. package/lib/core-ui/components/collapsible/collapsible.component.d.ts +39 -0
  11. package/lib/core-ui/components/counter/counter.component.d.ts +20 -3
  12. package/lib/core-ui/components/ellipsis/ellipsis.component.d.ts +13 -0
  13. package/lib/core-ui/components/empty-state/empty-state.component.d.ts +38 -15
  14. package/lib/core-ui/components/page-header/page-header.component.d.ts +2 -1
  15. package/lib/core-ui/components/skeleton/skeleton.component.d.ts +16 -4
  16. package/lib/core-ui/components/spinner/spinner.component.d.ts +15 -0
  17. package/lib/core-ui/components/stepper/stepper.component.d.ts +23 -0
  18. package/lib/core-ui/components/table/table-header/table-header.component.d.ts +26 -5
  19. package/lib/core-ui/components/table/table.component.d.ts +25 -2
  20. package/lib/core-ui/components/tokenizer/token/token.component.d.ts +16 -0
  21. package/lib/core-ui/components/tokenizer/tokenizer-overflow-popover/tokenizer-overflow-popover.component.d.ts +38 -0
  22. package/lib/core-ui/components/tokenizer/tokenizer.component.d.ts +22 -5
  23. package/lib/core-ui/icon/fa-to-sap-icon.pipe.d.ts +2 -1
  24. package/lib/core-ui/tooltip/tooltip.component.d.ts +30 -0
  25. package/lib/forms-ui/components/basic-dropdown/basic-dropdown.component.d.ts +79 -0
  26. package/lib/forms-ui/components/basic-dropdown-item/basic-dropdown-item.component.d.ts +36 -0
  27. package/lib/forms-ui/components/breadcrumb/breadcrumb.component.d.ts +20 -2
  28. package/lib/forms-ui/components/cdk-options-dropdown/cdk-options-dropdown.component.d.ts +34 -0
  29. package/lib/forms-ui/components/cdk-options-sub-dropdown/cdk-options-sub-dropdown.component.d.ts +21 -0
  30. package/lib/forms-ui/components/currency/currency-input.component.d.ts +53 -0
  31. package/lib/forms-ui/components/currency/currency-symbol.component.d.ts +16 -0
  32. package/lib/forms-ui/components/date-input/date-input.component.d.ts +135 -33
  33. package/lib/forms-ui/components/date-picker-ui/datepicker-inner.component.d.ts +35 -0
  34. package/lib/forms-ui/components/date-picker-ui/daypicker.component.d.ts +6 -0
  35. package/lib/forms-ui/components/date-picker-ui/monthpicker.component.d.ts +6 -0
  36. package/lib/forms-ui/components/date-picker-ui/yearpicker.component.d.ts +6 -0
  37. package/lib/forms-ui/components/drag-and-drop-list/drag-and-drop-list-item/drag-and-drop-list-item.component.d.ts +27 -2
  38. package/lib/forms-ui/components/drag-and-drop-list/drag-and-drop-list.component.d.ts +37 -6
  39. package/lib/forms-ui/components/error-message/error-message.component.d.ts +15 -0
  40. package/lib/forms-ui/components/form-error/form-error.component.d.ts +18 -0
  41. package/lib/forms-ui/components/input/input.component.d.ts +27 -0
  42. package/lib/forms-ui/components/multi-select/multi-select-selection/multi-select-selection.component.d.ts +30 -0
  43. package/lib/forms-ui/components/multi-select/multi-select.component.d.ts +80 -0
  44. package/lib/forms-ui/components/option/option.component.d.ts +41 -0
  45. package/lib/forms-ui/components/option-group/option-group.component.d.ts +24 -2
  46. package/lib/forms-ui/components/option-group-dropdown/option-group-dropdown.component.d.ts +51 -4
  47. package/lib/forms-ui/components/options-dropdown/options-dropdown.component.d.ts +73 -0
  48. package/lib/forms-ui/components/options-sub-dropdown/options-sub-dropdown.component.d.ts +22 -0
  49. package/lib/forms-ui/components/picker/picker.component.d.ts +25 -17
  50. package/lib/forms-ui/components/picker-option/picker-option.component.d.ts +34 -5
  51. package/lib/forms-ui/components/pill-item/pill-item.component.d.ts +25 -0
  52. package/lib/forms-ui/components/pill-list/pill-list.component.d.ts +58 -2
  53. package/lib/forms-ui/components/responsive-input/responsive-input.component.d.ts +20 -0
  54. package/lib/forms-ui/components/rich-text-editor/components/rich-text-editor-toolbar/rich-text-editor-toolbar.component.d.ts +26 -0
  55. package/lib/forms-ui/components/rich-text-editor/extensions/link/components/link-modal/link-modal.component.d.ts +15 -0
  56. package/lib/forms-ui/components/rich-text-editor/extensions/table/table-bubble-menu/table-bubble-menu.component.d.ts +17 -0
  57. package/lib/forms-ui/components/rich-text-editor/ngx-tiptap/node-view.component.d.ts +14 -0
  58. package/lib/forms-ui/components/single-select/single-select.component.d.ts +39 -0
  59. package/lib/forms-ui/components/sorting-dropdown/sorting-dropdown.component.d.ts +24 -0
  60. package/lib/forms-ui/components/sorting-dropdown-trigger/sorting-dropdown-trigger.component.d.ts +20 -0
  61. package/lib/forms-ui/components/switch/switch.component.d.ts +37 -8
  62. package/lib/modal-ui/components/modal-footer/modal-footer.component.d.ts +19 -0
  63. package/lib/modal-ui/components/modal-header/modal-header.component.d.ts +22 -0
  64. package/lib/popover-ui/components/popover/popover.component.d.ts +15 -24
  65. package/lib/tab-ui/components/tab/tab.component.d.ts +66 -5
  66. package/lib/tab-ui/components/tab-group/tab-group.component.d.ts +29 -1
  67. package/package.json +1 -1
@@ -1,13 +1,40 @@
1
1
  import { OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { ImageReader, User, UserAvatarSize } from './avatar.model';
3
3
  import * as i0 from "@angular/core";
4
+ /**
5
+ * Avatar component displays a user's profile picture or a placeholder icon for technical users.
6
+ * Optionally includes a mailto link when an email is provided.
7
+ *
8
+ * ### Example
9
+ * @example
10
+ * ```html
11
+ * <lx-avatar [user]="currentUser" size="M" />
12
+ * <lx-avatar [user]="{ displayName: 'Bot', technicalUser: true }" [showMailToLink]="false" />
13
+ * <lx-avatar [user]="inactiveUser" [disabled]="true" size="S" />
14
+ * ```
15
+ */
4
16
  export declare class AvatarComponent implements OnChanges {
5
17
  private imageReader;
18
+ /**
19
+ * The user object containing display name, email, and optional technicalUser flag.
20
+ */
6
21
  user: User & {
7
22
  technicalUser?: boolean;
8
23
  };
24
+ /**
25
+ * The size of the avatar.
26
+ * @default 'M'
27
+ */
9
28
  size: UserAvatarSize;
29
+ /**
30
+ * Whether to show a mailto link when clicking on the avatar.
31
+ * @default true
32
+ */
10
33
  showMailToLink: boolean;
34
+ /**
35
+ * Whether the avatar should appear in a disabled state.
36
+ * @default false
37
+ */
11
38
  disabled: boolean;
12
39
  readonly NAME = "AvatarComponent";
13
40
  imageURL: Promise<string>;
@@ -2,19 +2,64 @@ import { AfterViewInit, ChangeDetectorRef, ElementRef, NgZone, OnDestroy } from
2
2
  import { ResizeObserverService } from '../../services/resize-observer.service';
3
3
  import { User, UserAvatarSize } from '../avatar/avatar.model';
4
4
  import * as i0 from "@angular/core";
5
+ /**
6
+ * Avatar group component displays multiple user avatars in a compact layout.
7
+ * Supports automatic overflow handling with a "+N" indicator and overlay expansion.
8
+ * Includes tooltip showing all user names on hover and click-to-expand functionality.
9
+ *
10
+ * ### Example
11
+ * @example
12
+ * ```html
13
+ * <lx-avatar-group [users]="teamMembers" size="M" />
14
+ * <lx-avatar-group [users]="assignees" type="individual" [maxLength]="5" />
15
+ * <lx-avatar-group
16
+ * [users]="participants"
17
+ * [title]="'Project Team'"
18
+ * [disabledUserIds]="inactiveUserIds"
19
+ * [autoScale]="true"
20
+ * />
21
+ * ```
22
+ */
5
23
  export declare class AvatarGroupComponent implements AfterViewInit, OnDestroy {
6
24
  private cdr;
7
25
  private zone;
8
26
  private resizeObserverService;
9
27
  readonly NAME = "AvatarGroupComponent";
28
+ /**
29
+ * Optional title displayed in the expanded overlay.
30
+ */
10
31
  title?: string;
32
+ /**
33
+ * Array of user objects to display as avatars.
34
+ * @default []
35
+ */
11
36
  users: (User & {
12
37
  technicalUser?: boolean;
13
38
  })[];
39
+ /**
40
+ * The size of all avatars in the group.
41
+ * @default 'M'
42
+ */
14
43
  size: UserAvatarSize;
44
+ /**
45
+ * The display type: 'individual' for separate avatars or 'group' for overlapping.
46
+ * @default 'group'
47
+ */
15
48
  type: 'individual' | 'group';
49
+ /**
50
+ * Maximum number of avatars to display before showing "+N" indicator.
51
+ * @default 0
52
+ */
16
53
  maxLength: number;
54
+ /**
55
+ * Whether to automatically scale down avatars to fit container width.
56
+ * @default false
57
+ */
17
58
  autoScale: boolean;
59
+ /**
60
+ * Array of user IDs that should be displayed in a disabled state.
61
+ * @default []
62
+ */
18
63
  disabledUserIds: string[];
19
64
  userGroupElement: ElementRef<HTMLElement>;
20
65
  get userNames(): string;
@@ -1,6 +1,15 @@
1
1
  import * as i0 from "@angular/core";
2
2
  /**
3
3
  * Badge component is used to show a small piece of information in a colored badge.
4
+ * Commonly used for status indicators, counts, or labels.
5
+ *
6
+ * ### Example
7
+ * @example
8
+ * ```html
9
+ * <lx-badge [content]="42" color="blue" />
10
+ * <lx-badge [content]="'New'" color="green" />
11
+ * <lx-badge [content]="errorCount" color="red" />
12
+ * ```
4
13
  */
5
14
  export declare class BadgeComponent {
6
15
  /**
@@ -9,6 +18,7 @@ export declare class BadgeComponent {
9
18
  content: string | number;
10
19
  /**
11
20
  * The color of the badge component
21
+ * @default 'blue'
12
22
  */
13
23
  color: 'blue' | 'gray' | 'red' | 'yellow' | 'green' | 'purple' | 'white';
14
24
  get colorClass(): string;
@@ -2,14 +2,32 @@ import { BannerSizes, BannerTypes } from './banner.models';
2
2
  import * as i0 from "@angular/core";
3
3
  /**
4
4
  * Banner can be used to display important information to the user. It allows for any type of content to be displayed in a banner.
5
+ * Banners automatically display an icon based on the type when using the 'big' size.
6
+ *
7
+ * ### Projection slots
8
+ * - Default slot: Main content of the banner (text, links, actions)
9
+ *
10
+ * ### Example
11
+ * @example
12
+ * ```html
13
+ * <lx-banner [type]="'warning'" [size]="'big'">
14
+ * <p>Your session will expire in 5 minutes.</p>
15
+ * </lx-banner>
16
+ *
17
+ * <lx-banner [type]="'success'" [size]="'small'">
18
+ * Changes saved successfully!
19
+ * </lx-banner>
20
+ * ```
5
21
  */
6
22
  export declare class BannerComponent {
7
23
  /**
8
24
  * The type of the banner
25
+ * @default BANNER_TYPE.WARNING
9
26
  */
10
27
  readonly type: import("@angular/core").InputSignal<BannerTypes>;
11
28
  /**
12
29
  * The size of the banner
30
+ * @default BANNER_SIZE.BIG
13
31
  */
14
32
  readonly size: import("@angular/core").InputSignal<BannerSizes>;
15
33
  protected readonly showIcon: import("@angular/core").Signal<boolean>;
@@ -2,38 +2,59 @@ import * as i0 from "@angular/core";
2
2
  /**
3
3
  * Button component is used to create a button with different styles and sizes. This uses native button element and
4
4
  * only provides styling and some additional features like loading spinner.
5
+ *
6
+ * ### Projection slots
7
+ * - Default slot: Button label or content
8
+ *
9
+ * ### Example
10
+ * @example
11
+ * ```html
12
+ * <button lx-button color="primary" size="medium">Save</button>
13
+ * <button lx-button icon="delete" color="danger" mode="outline">Delete</button>
14
+ * <button lx-button [showSpinner]="isLoading" [disabled]="isLoading">Submit</button>
15
+ * <button lx-button icon="download" endIcon="slim-arrow-down" mode="ghost">Export</button>
16
+ * <button lx-button icon="action-settings" [square]="true" [circle]="true" mode="ghost"></button>
17
+ * ```
5
18
  */
6
19
  export declare class ButtonComponent {
7
20
  /**
8
21
  * The size of the button.
22
+ * @default 'medium'
9
23
  */
10
24
  size: 'small' | 'medium' | 'large' | 'auto';
11
25
  /**
12
26
  * The color of the button.
27
+ * @default 'default'
13
28
  */
14
29
  color: 'default' | 'primary' | 'danger' | 'success' | 'light';
15
30
  /**
16
31
  * The mode of the button.
32
+ * @default 'solid'
17
33
  */
18
34
  mode: 'solid' | 'ghost' | 'outline' | 'link';
19
35
  /**
20
36
  * The pressed state of the button. This simulates the `:active` state of the button.
37
+ * @default false
21
38
  */
22
39
  pressed: boolean;
23
40
  /**
24
41
  * The selected state of the button. This simulates the `:hover` state of the button.
42
+ * @default false
25
43
  */
26
44
  selected: boolean;
27
45
  /**
28
46
  * This makes the button square.
47
+ * @default false
29
48
  */
30
49
  square: boolean;
31
50
  /**
32
51
  * This makes corners rounded. Use with `square` for a true circle.
52
+ * @default false
33
53
  */
34
54
  circle: boolean;
35
55
  /**
36
56
  * This disables the button.
57
+ * @default false
37
58
  */
38
59
  disabled: boolean;
39
60
  get hasIcon(): boolean;
@@ -67,6 +88,7 @@ export declare class ButtonComponent {
67
88
  protected readonly endIconKind: import("@angular/core").Signal<"fa" | "sap">;
68
89
  /**
69
90
  * This shows a spinner inside the button.
91
+ * @default false
70
92
  */
71
93
  showSpinner: boolean;
72
94
  get isDisabled(): boolean;
@@ -1,5 +1,31 @@
1
1
  import * as i0 from "@angular/core";
2
+ /**
3
+ * Button group component arranges multiple buttons in a horizontal layout with configurable separators.
4
+ * Use 'margin' for spaced buttons or 'border' for connected buttons with dividing lines.
5
+ *
6
+ * ### Projection slots
7
+ * - Default slot: Button elements to display in the group
8
+ *
9
+ * ### Example
10
+ * @example
11
+ * ```html
12
+ * <lx-button-group separator="margin">
13
+ * <button lx-button color="primary">Save</button>
14
+ * <button lx-button>Cancel</button>
15
+ * </lx-button-group>
16
+ *
17
+ * <lx-button-group separator="border">
18
+ * <button lx-button mode="outline">View</button>
19
+ * <button lx-button mode="outline">Edit</button>
20
+ * <button lx-button mode="outline">Delete</button>
21
+ * </lx-button-group>
22
+ * ```
23
+ */
2
24
  export declare class ButtonGroupComponent {
25
+ /**
26
+ * The type of separator between buttons: 'margin' for spacing or 'border' for dividing lines.
27
+ * @default 'margin'
28
+ */
3
29
  separator: 'margin' | 'border';
4
30
  get hasMarginSeperator(): boolean;
5
31
  get hasBorderSeparator(): boolean;
@@ -1,11 +1,24 @@
1
1
  import * as i0 from "@angular/core";
2
2
  /**
3
- * Card component is a container component that can be used to display content in a card-like style.
4
- * This documentation provides details on the usage and configuration of the Card Component.
3
+ * A simple container component for displaying content in a card-like style.
4
+ * Provides consistent styling and layout for grouped content.
5
+ *
6
+ * ### Projection slots
7
+ * - Default slot: All card content including title, body, and any other elements
8
+ *
9
+ * ### Example
10
+ * @example
11
+ * ```html
12
+ * <lx-card [dataStyle]="'white'">
13
+ * <h3>Card Title</h3>
14
+ * <p>Card content goes here.</p>
15
+ * </lx-card>
16
+ * ```
5
17
  */
6
18
  export declare class CardComponent {
7
19
  /**
8
- * The style of the card.
20
+ * The visual style variant of the card.
21
+ * @default 'white'
9
22
  */
10
23
  dataStyle: 'white';
11
24
  static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
@@ -1,13 +1,52 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { ButtonComponent } from '../button/button.component';
3
3
  import * as i0 from "@angular/core";
4
+ /**
5
+ * An expandable and collapsible section container with a toggle button.
6
+ * Useful for organizing content that can be shown or hidden on demand.
7
+ *
8
+ * ### Projection slots
9
+ * - Default slot: The title or header content that is always visible. The entire component is clickable to toggle.
10
+ *
11
+ * ### Example
12
+ * @example
13
+ * ```html
14
+ * <lx-collapsible [toggleTitle]="'Show Details'" [(collapsed)]="isCollapsed">
15
+ * <h3>Section Title</h3>
16
+ * <span class="subtitle">Additional info</span>
17
+ * </lx-collapsible>
18
+ * ```
19
+ */
4
20
  export declare class CollapsibleComponent {
5
21
  readonly NAME = "CollapsibleComponent";
22
+ /**
23
+ * When true, prevents the section from being toggled. The toggle button remains visible but disabled.
24
+ * @default false
25
+ */
6
26
  disableSectionToggle: boolean;
27
+ /**
28
+ * When true, hides the toggle button entirely. The section cannot be collapsed/expanded.
29
+ * @default false
30
+ */
7
31
  hideSectionToggle: boolean;
32
+ /**
33
+ * Size of the toggle button (arrow icon).
34
+ * @default 'small'
35
+ */
8
36
  toggleSize: ButtonComponent['size'];
37
+ /**
38
+ * Text label displayed as the title attribute of the toggle button for accessibility.
39
+ * @default ''
40
+ */
9
41
  toggleTitle: string;
42
+ /**
43
+ * Whether the section is currently collapsed. Can be used with two-way binding.
44
+ * @default false
45
+ */
10
46
  collapsed: boolean;
47
+ /**
48
+ * Emitted when the collapsed state changes, either through user interaction or programmatic changes.
49
+ */
11
50
  collapsedChange: EventEmitter<boolean>;
12
51
  get notClickable(): boolean;
13
52
  onClick(event: MouseEvent): void;
@@ -1,13 +1,30 @@
1
1
  import * as i0 from "@angular/core";
2
2
  /**
3
3
  * Counter component is used to create a counter with different styles and sizes.
4
+ * Useful for displaying notification counts, item quantities, or numeric indicators.
5
+ *
6
+ * ### Example
7
+ * @example
8
+ * ```html
9
+ * <lx-counter [content]="5" color="primary" size="default" />
10
+ * <lx-counter [content]="99" color="red" size="small" />
11
+ * <lx-counter [content]="unreadCount" color="green" />
12
+ * ```
4
13
  */
5
14
  export declare class CounterComponent {
6
- /** The content of the counter. */
15
+ /**
16
+ * The content of the counter.
17
+ */
7
18
  content?: string | number;
8
- /** The size of the counter. */
19
+ /**
20
+ * The size of the counter.
21
+ * @default 'default'
22
+ */
9
23
  size: 'default' | 'small';
10
- /** The color of the counter. */
24
+ /**
25
+ * The color of the counter.
26
+ * @default 'primary'
27
+ */
11
28
  color: 'primary' | 'gray' | 'darkgray' | 'red' | 'yellow' | 'green';
12
29
  get classes(): string;
13
30
  static ɵfac: i0.ɵɵFactoryDeclaration<CounterComponent, never>;
@@ -6,6 +6,14 @@ import * as i0 from "@angular/core";
6
6
  export declare const LX_ELLIPSIS_DEBOUNCE_ON_RESIZE: InjectionToken<number>;
7
7
  /**
8
8
  * You can set `max-width` CSS property on your `lx-ellipsis` host element or the parent element if you want its content to never exceed a specific width.
9
+ * The component automatically truncates overflowing text and provides a "Show more" / "Show less" toggle button.
10
+ *
11
+ * ### Example
12
+ * @example
13
+ * ```html
14
+ * <lx-ellipsis [content]="longDescription" style="max-width: 300px;" />
15
+ * <lx-ellipsis [content]="userInput" [escapeHtmlInContent]="true" />
16
+ * ```
9
17
  */
10
18
  export declare class EllipsisComponent implements OnInit, OnDestroy, AfterViewChecked {
11
19
  private debounceMsAfterResize;
@@ -15,10 +23,15 @@ export declare class EllipsisComponent implements OnInit, OnDestroy, AfterViewCh
15
23
  private translateService;
16
24
  /** @internal */
17
25
  static DEFAULT_RESIZE_DEBOUNCE_MS: number;
26
+ /**
27
+ * The text content to display and potentially truncate.
28
+ * @default ''
29
+ */
18
30
  content: string;
19
31
  /**
20
32
  * Only set this to false if the content is not a user provided string
21
33
  * or if you sanitize the provided content yourself.
34
+ * @default true
22
35
  */
23
36
  escapeHtmlInContent: boolean;
24
37
  private contentSpanEl$;
@@ -1,58 +1,81 @@
1
1
  import { EventEmitter, Signal } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
+ /**
4
+ * Displays an empty state with an optional icon, title, description, action buttons, and a more link.
5
+ * Useful for showing initial states before data is loaded or when no data is available.
6
+ *
7
+ * ### Projection slots
8
+ * - Default slot: Description text or additional content to display below the title
9
+ *
10
+ * ### Example
11
+ * @example
12
+ * ```html
13
+ * <lx-empty-state
14
+ * [title]="'No items found'"
15
+ * [icon]="'inbox'"
16
+ * [buttonLabel]="'Add Item'"
17
+ * [secondaryButtonLabel]="'Import'"
18
+ * [moreLinkLabel]="'Learn more'"
19
+ * [moreLink]="'https://docs.example.com'"
20
+ * (buttonClicked)="onAddItem()"
21
+ * (secondaryButtonClicked)="onImport()"
22
+ * >
23
+ * <p>Start by adding your first item or importing existing data.</p>
24
+ * </lx-empty-state>
25
+ * ```
26
+ */
3
27
  export declare class EmptyStateComponent {
4
28
  /**
5
- * The title to be displayed
29
+ * The title to be displayed. Can contain HTML.
6
30
  */
7
31
  title: import("@angular/core").InputSignal<string>;
8
32
  /**
9
- * The SAP icon to show in the empty state.
33
+ * The SAP icon name to show in the empty state (e.g., 'inbox', 'add-document').
10
34
  */
11
35
  icon: import("@angular/core").InputSignal<string | undefined>;
12
36
  /**
13
- * The main call-to-action button label
37
+ * The main call-to-action button label. If not provided, the button will not be shown.
14
38
  */
15
39
  buttonLabel: import("@angular/core").InputSignal<string | undefined>;
16
40
  /**
17
- * The secondary call-to-action button label
41
+ * The secondary call-to-action button label. If not provided, the button will not be shown.
18
42
  */
19
43
  secondaryButtonLabel: import("@angular/core").InputSignal<string | undefined>;
20
44
  /**
21
- * Whether the empty state is in a loading state. If true, main call-to-action button will show a spinner
45
+ * Whether the empty state is in a loading state. If true, action buttons will show a spinner.
46
+ * @default false
22
47
  */
23
48
  loading: import("@angular/core").InputSignal<boolean>;
24
49
  /**
25
- * The more link label
50
+ * The text label for the more link.
26
51
  */
27
52
  moreLinkLabel: import("@angular/core").InputSignal<string | undefined>;
28
53
  /**
29
- * The URL of the more link
54
+ * The URL of the more link. Can be a string for external links or an array for Angular router links.
30
55
  */
31
56
  moreLink: import("@angular/core").InputSignal<string | string[] | undefined>;
32
57
  /**
33
- * Whether the more link should be opened in a new tab
34
- *
58
+ * Whether the more link should be opened in a new tab.
35
59
  * @default true
36
60
  */
37
61
  openMoreLinkInNewTab: import("@angular/core").InputSignal<boolean>;
38
62
  /**
39
- * The size of the empty state
40
- *
41
- * @default medium
63
+ * The size of the empty state.
64
+ * @default 'medium'
42
65
  */
43
66
  size: import("@angular/core").InputSignal<"small" | "medium">;
44
67
  protected useRouterLink: Signal<boolean>;
45
68
  protected get _size(): "small" | "medium";
46
69
  /**
47
- * Emitted when the main call-to-action button is clicked
70
+ * Emitted when the main call-to-action button is clicked.
48
71
  */
49
72
  buttonClicked: EventEmitter<MouseEvent>;
50
73
  /**
51
- * Emitted when the secondary call-to-action button is clicked
74
+ * Emitted when the secondary call-to-action button is clicked.
52
75
  */
53
76
  secondaryButtonClicked: EventEmitter<MouseEvent>;
54
77
  /**
55
- * Emitted when the more link is clicked
78
+ * Emitted when the more link is clicked.
56
79
  */
57
80
  moreLinkClicked: EventEmitter<MouseEvent>;
58
81
  static ɵfac: i0.ɵɵFactoryDeclaration<EmptyStateComponent, never>;
@@ -21,7 +21,8 @@ import * as i0 from "@angular/core";
21
21
  *
22
22
  *
23
23
  * ### Example
24
- * @example ```html
24
+ * @example
25
+ * ```html
25
26
  * <lx-page-header [pageTitle]="'Agile Tracking'">
26
27
  * <ui5-breadcrumbs>
27
28
  * <ui5-breadcrumbs-item routerLink="/">Root Page</ui5-breadcrumbs-item>
@@ -5,22 +5,34 @@ import * as i0 from "@angular/core";
5
5
  * Use skeleton loaders for pages or sections that load content progressively, like text and images. The component can
6
6
  * be used to compose various scenarios like placeholders for thumbnails, lists, and avatars. See the example
7
7
  * [patterns](?path=/docs/skeleton-patterns--docs) for more details.
8
+ *
9
+ * ### Example
10
+ * @example
11
+ * ```html
12
+ * <lx-skeleton width="100%" height="20px" />
13
+ * <lx-skeleton width="200px" height="200px" borderRadius="50%" />
14
+ * <lx-skeleton width="80%" height="16px" color="dark" />
15
+ * ```
8
16
  */
9
17
  export declare class SkeletonComponent {
10
18
  /**
11
- * Width of the skeleton element. Valid CSS values are supported. Default is 100% width of the parent.
19
+ * Width of the skeleton element. Valid CSS values are supported.
20
+ * @default '100%'
12
21
  */
13
22
  width?: string;
14
23
  /**
15
- * Height of the skeleton element. Valid CSS values are supported. Default is 100% height of the parent.
24
+ * Height of the skeleton element. Valid CSS values are supported.
25
+ * @default '100%'
16
26
  */
17
27
  height?: string;
18
28
  /**
19
- * Border radius of the skeleton element. Valid CSS values are supported. Default is 4px.
29
+ * Border radius of the skeleton element. Valid CSS values are supported.
30
+ * @default '4px'
20
31
  */
21
32
  borderRadius?: string;
22
33
  /**
23
- * Color of the skeleton element. 'dark' or 'light' are supported. Default is 'light'.
34
+ * Color of the skeleton element. 'dark' or 'light' are supported.
35
+ * @default 'light'
24
36
  */
25
37
  color: 'dark' | 'light';
26
38
  static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonComponent, never>;
@@ -6,9 +6,24 @@ import * as i0 from "@angular/core";
6
6
  * (or ancestor with new rendering context, created, for example, with `transform: translate(0, 0)`
7
7
  * - `fadeBackground`: Sets background to 60% transparent white. TODO: Always use for fullSpace* classes and remove.
8
8
  *
9
+ * ### Projection slots
10
+ * - Default slot: Optional text or content to display below the spinner
11
+ *
9
12
  * @deprecated Use the `ui5-busy-indicator` component instead.
13
+ *
14
+ * ### Example
15
+ * @example
16
+ * ```html
17
+ * <lx-spinner class="fullSpace fadeBackground">Loading...</lx-spinner>
18
+ * <lx-spinner [fadeBackground]="true" />
19
+ * ```
10
20
  */
11
21
  export declare class SpinnerComponent {
22
+ /**
23
+ * Applies a semi-transparent white background.
24
+ * @default false
25
+ * @deprecated Use the `fadeBackground` CSS class instead.
26
+ */
12
27
  fadeBackground: boolean;
13
28
  static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerComponent, never>;
14
29
  static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "lx-spinner", never, { "fadeBackground": { "alias": "fadeBackground"; "required": false; }; }, {}, never, ["*"], true, never>;
@@ -4,6 +4,29 @@ import * as i0 from "@angular/core";
4
4
  * Stepper component is a wrapper around the Angular CDK Stepper component. It provides a way to create a linear
5
5
  * sequence of steps that guide users through a process.
6
6
  *
7
+ * ### Projection slots
8
+ * Each `cdk-step` element projects its content into the stepper's content area when that step is active.
9
+ *
10
+ * ### Example
11
+ * @example
12
+ * ```html
13
+ * <lx-stepper [selectedIndex]="currentStep">
14
+ * <cdk-step label="Personal Info">
15
+ * <form>
16
+ * <input type="text" placeholder="Name" />
17
+ * </form>
18
+ * </cdk-step>
19
+ * <cdk-step label="Contact Details">
20
+ * <form>
21
+ * <input type="email" placeholder="Email" />
22
+ * </form>
23
+ * </cdk-step>
24
+ * <cdk-step label="Review">
25
+ * <p>Review your information</p>
26
+ * </cdk-step>
27
+ * </lx-stepper>
28
+ * ```
29
+ *
7
30
  * ## Usage
8
31
  *
9
32
  * 1. Import `LxCoreUiModule` module from `@leanix/components` and `CdkStepperModule` module from `@angular/cdk/stepper` in your module where you want to use the component, or in case of a standalone parent component, import the
@@ -4,25 +4,46 @@ import { TableComponent } from '../table.component';
4
4
  import * as i0 from "@angular/core";
5
5
  /**
6
6
  * The `lx-th` can be used in combination with `lx-table` to implement sortable `<table>` elements.
7
+ * Renders a table header cell with optional sorting functionality.
8
+ *
9
+ * ### Projection slots
10
+ * - Default slot: The header text content
11
+ *
12
+ * ### Example
13
+ * @example
14
+ * ```html
15
+ * <table lx-table [isSortable]="true" [(sort)]="sort">
16
+ * <thead>
17
+ * <tr>
18
+ * <lx-th column="name">Name</lx-th>
19
+ * <lx-th column="date" [disableSortClear]="true">Date</lx-th>
20
+ * <lx-th column="actions" [disableSort]="true">Actions</lx-th>
21
+ * </tr>
22
+ * </thead>
23
+ * </table>
24
+ * ```
7
25
  */
8
26
  export declare class TableHeaderComponent {
9
27
  #private;
10
28
  private parentTable?;
11
29
  /**
12
- * The technical column name.
30
+ * The technical column name used as the key in sort operations. Required for sortable columns.
13
31
  */
14
32
  column?: string;
15
33
  /**
16
- * Indicates that the column is not sortable (default `false`).
34
+ * Disables sorting for this column even when the table has sorting enabled.
35
+ * @default false
17
36
  */
18
37
  disableSort: boolean;
19
38
  /**
20
- * Prevents the user from clearing the sort.
21
- * Only allowing to toggle between asc & desc.
39
+ * Prevents the user from clearing the sort state.
40
+ * When true, only allows toggling between ascending and descending order.
41
+ * @default false
22
42
  */
23
43
  disableSortClear: boolean;
24
44
  /**
25
- * Triggers whenever the user changes the sort order.
45
+ * Emitted whenever the user changes the sort order by clicking the header.
46
+ * Provides the new sort state with column key and order.
26
47
  */
27
48
  sortChange: EventEmitter<SortingOptions>;
28
49
  readonly sortable: import("@angular/core").Signal<boolean>;