@leanix/components 0.4.503 → 0.4.505
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/esm2022/lib/core-ui/components/badge/badge.component.mjs +1 -9
- package/esm2022/lib/core-ui/components/banner/banner.component.mjs +1 -11
- package/esm2022/lib/core-ui/components/button/button.component.mjs +1 -9
- package/esm2022/lib/core-ui/components/card/card.component.mjs +1 -9
- package/esm2022/lib/core-ui/components/counter/counter.component.mjs +1 -9
- package/esm2022/lib/core-ui/components/skeleton/skeleton.component.mjs +1 -12
- package/esm2022/lib/core-ui/components/tiny-spinner/tiny-spinner.component.mjs +1 -9
- package/esm2022/lib/core-ui/tooltip/tooltip.directive.mjs +1 -9
- package/esm2022/lib/forms-ui/components/breadcrumb/breadcrumb.component.mjs +1 -9
- package/esm2022/lib/forms-ui/components/date-input/date-input.component.mjs +1 -9
- package/esm2022/lib/forms-ui/components/single-select/single-select.component.mjs +1 -12
- package/esm2022/lib/forms-ui/components/switch/switch.component.mjs +1 -9
- package/esm2022/lib/popover-ui/components/popover/popover.component.mjs +3 -9
- package/esm2022/lib/tab-ui/components/tab-group/tab-group.component.mjs +8 -24
- package/fesm2022/leanix-components.mjs +9 -135
- package/fesm2022/leanix-components.mjs.map +1 -1
- package/lib/core-ui/components/badge/badge.component.d.ts +0 -8
- package/lib/core-ui/components/banner/banner.component.d.ts +0 -10
- package/lib/core-ui/components/button/button.component.d.ts +0 -8
- package/lib/core-ui/components/card/card.component.d.ts +0 -8
- package/lib/core-ui/components/counter/counter.component.d.ts +0 -8
- package/lib/core-ui/components/skeleton/skeleton.component.d.ts +0 -11
- package/lib/core-ui/components/tiny-spinner/tiny-spinner.component.d.ts +0 -8
- package/lib/core-ui/tooltip/tooltip.directive.d.ts +0 -8
- package/lib/forms-ui/components/breadcrumb/breadcrumb.component.d.ts +0 -8
- package/lib/forms-ui/components/date-input/date-input.component.d.ts +0 -8
- package/lib/forms-ui/components/single-select/single-select.component.d.ts +0 -11
- package/lib/forms-ui/components/switch/switch.component.d.ts +0 -8
- package/lib/popover-ui/components/popover/popover.component.d.ts +2 -8
- package/lib/tab-ui/components/tab-group/tab-group.component.d.ts +10 -23
- package/package.json +1 -1
@@ -2,14 +2,6 @@ import { OnInit } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
/**
|
4
4
|
* Badge component is used to show a small piece of information in a colored badge.
|
5
|
-
*
|
6
|
-
* ## Usage
|
7
|
-
*
|
8
|
-
* 1. Import the `LxCoreUiModule` module from `@leanix/components` in your module where you want to use the component.
|
9
|
-
*
|
10
|
-
* ```ts
|
11
|
-
* import { LxCoreUiModule } from '@leanix/components';
|
12
|
-
* ```
|
13
5
|
*/
|
14
6
|
export declare class BadgeComponent implements OnInit {
|
15
7
|
/**
|
@@ -3,16 +3,6 @@ import { BannerSizes, BannerTypes } from './banner.models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
/**
|
5
5
|
* Banner can be used to display important information to the user. It allows for any type of content to be displayed in a banner.
|
6
|
-
*
|
7
|
-
* ## Usage
|
8
|
-
*
|
9
|
-
* 1. Import the `LxCoreUiModule` module from `@leanix/components` in your module where you want to use the component.
|
10
|
-
*
|
11
|
-
* ```ts
|
12
|
-
* import { LxCoreUiModule } from '@leanix/components';
|
13
|
-
* ```
|
14
|
-
*
|
15
|
-
* 2. Use the component in your template.
|
16
6
|
*/
|
17
7
|
export declare class BannerComponent implements OnInit {
|
18
8
|
private readonly _type;
|
@@ -17,14 +17,6 @@ export declare const LX_BUTTON_USE_SAP_ICONS: InjectionToken<BehaviorSubject<boo
|
|
17
17
|
/**
|
18
18
|
* Button component is used to create a button with different styles and sizes. This uses native button element and
|
19
19
|
* only provides styling and some additional features like loading spinner.
|
20
|
-
*
|
21
|
-
* ## Usage
|
22
|
-
*
|
23
|
-
* 1. Import the `ButtonComponent` from `@leanix/components` where you want to use the component.
|
24
|
-
*
|
25
|
-
* ```ts
|
26
|
-
* import { ButtonComponent } from '@leanix/components';
|
27
|
-
* ```
|
28
20
|
*/
|
29
21
|
export declare class ButtonComponent {
|
30
22
|
protected readonly useSAPIcons: import("@angular/core").Signal<boolean | undefined>;
|
@@ -2,14 +2,6 @@ import * as i0 from "@angular/core";
|
|
2
2
|
/**
|
3
3
|
* Card component is a container component that can be used to display content in a card-like style.
|
4
4
|
* This documentation provides details on the usage and configuration of the Card Component.
|
5
|
-
*
|
6
|
-
* ## Usage
|
7
|
-
*
|
8
|
-
* 1. Import the `LxCoreUiModule` module from `@leanix/components` in your module where you want to use the component.
|
9
|
-
*
|
10
|
-
* ```ts
|
11
|
-
* import { LxCoreUiModule } from '@leanix/components';
|
12
|
-
* ```
|
13
5
|
*/
|
14
6
|
export declare class CardComponent {
|
15
7
|
/**
|
@@ -1,14 +1,6 @@
|
|
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
|
-
*
|
5
|
-
* ## Usage
|
6
|
-
*
|
7
|
-
* 1. Import the `CounterComponent` component from `@leanix/components` in your module or standalone copmonent where you want to use the component.
|
8
|
-
*
|
9
|
-
* ```ts
|
10
|
-
* import { CounterComponent } from '@leanix/components';
|
11
|
-
* ```
|
12
4
|
*/
|
13
5
|
export declare class CounterComponent {
|
14
6
|
/** The content of the counter. */
|
@@ -2,20 +2,9 @@ import * as i0 from "@angular/core";
|
|
2
2
|
/**
|
3
3
|
* Skeleton is a component that can be used to show a loading state of a component.
|
4
4
|
*
|
5
|
-
* ## Usage
|
6
|
-
*
|
7
|
-
* 1. Import the `SkeletonComponent` component from `@leanix/components` in your module or standalone copmonent where you want to use the component.
|
8
|
-
*
|
9
|
-
* ```ts
|
10
|
-
* import { SkeletonComponent } from '@leanix/components';
|
11
|
-
* ```
|
12
|
-
*
|
13
5
|
* Use skeleton loaders for pages or sections that load content progressively, like text and images. The component can
|
14
6
|
* be used to compose various scenarios like placeholders for thumbnails, lists, and avatars. See the example
|
15
7
|
* [patterns](?path=/docs/skeleton-patterns--docs) for more details.
|
16
|
-
*
|
17
|
-
* To get started, import the `SkeletonComponent` in your Angular module or standalone component and use it in the
|
18
|
-
* template using the `<lx-skeleton />` selector with the desired width, height, and border radius.
|
19
8
|
*/
|
20
9
|
export declare class SkeletonComponent {
|
21
10
|
/**
|
@@ -1,14 +1,6 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
2
|
/**
|
3
3
|
* Tiny spinner component is used to show a small spinner.
|
4
|
-
*
|
5
|
-
* ## Usage
|
6
|
-
*
|
7
|
-
* 1. Import the `TinySpinnerComponent` component from `@leanix/components` in your module or standalone copmonent where you want to use the component.
|
8
|
-
*
|
9
|
-
* ```ts
|
10
|
-
* import { TinySpinnerComponent } from '@leanix/components';
|
11
|
-
* ```
|
12
4
|
*/
|
13
5
|
export declare class TinySpinnerComponent {
|
14
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<TinySpinnerComponent, never>;
|
@@ -4,14 +4,6 @@ import { ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
/**
|
6
6
|
* Tooltip directive is used to show a tooltip on hover or focus on an element.
|
7
|
-
*
|
8
|
-
* ## Usage
|
9
|
-
*
|
10
|
-
* 1. Import the `TooltipDirective` component from `@leanix/components` in your module or standalone copmonent where you want to use the component.
|
11
|
-
*
|
12
|
-
* ```ts
|
13
|
-
* import { TooltipDirective } from '@leanix/components';
|
14
|
-
* ```
|
15
7
|
*/
|
16
8
|
export declare class TooltipDirective implements OnChanges, OnDestroy {
|
17
9
|
private overlayPositionBuilder;
|
@@ -11,14 +11,6 @@ interface EllipsedBreadcrumb {
|
|
11
11
|
type ViewBreadcrumb = Breadcrumb | EllipsedBreadcrumb;
|
12
12
|
/**
|
13
13
|
* Breadcrumb component is used to show a list of labels, usually to show the path of user's navigation.
|
14
|
-
*
|
15
|
-
* ## Usage
|
16
|
-
*
|
17
|
-
* 1. Import the LxFormsModule module from @leanix/components in your module where you want to use the component.
|
18
|
-
*
|
19
|
-
* ```ts
|
20
|
-
* import { LxFormsModule } from '@leanix/components';
|
21
|
-
* ```
|
22
14
|
*/
|
23
15
|
export declare class BreadcrumbComponent implements OnChanges {
|
24
16
|
/**
|
@@ -6,14 +6,6 @@ import * as i0 from "@angular/core";
|
|
6
6
|
export type DateInputRenderingStyle = 'INPUT' | 'LINK' | 'BUTTON';
|
7
7
|
/**
|
8
8
|
* This is a date input component that can be used to select a date.
|
9
|
-
*
|
10
|
-
* ## Usage
|
11
|
-
*
|
12
|
-
* 1. Import the `LxFormsUiModule` module from `@leanix/components` in your module where you want to use the component.
|
13
|
-
*
|
14
|
-
* ```ts
|
15
|
-
* import { LxFormsUiModule } from '@leanix/components';
|
16
|
-
* ```
|
17
9
|
*/
|
18
10
|
export declare class DateInputComponent implements OnChanges, OnInit, OnDestroy, ControlValueAccessor, Validator {
|
19
11
|
private cd;
|
@@ -6,17 +6,6 @@ import { SingleSelectPadding } from '../../models/single-select-padding.interfac
|
|
6
6
|
import { KeyboardSelectAction } from '../keyboard-select.directive';
|
7
7
|
import * as i0 from "@angular/core";
|
8
8
|
export type SingleSelectSize = 'default' | 'small' | 'select2' | 'large';
|
9
|
-
/**
|
10
|
-
* ## Usage
|
11
|
-
*
|
12
|
-
* 1. Import the `LxFormsModule` module from `@leanix/components` in your module where you want to use the component.
|
13
|
-
*
|
14
|
-
* ```ts
|
15
|
-
* import { LxFormsModule } from '@leanix/components';
|
16
|
-
* ```
|
17
|
-
*
|
18
|
-
* 2. Use the component in your template.
|
19
|
-
*/
|
20
9
|
export declare class SingleSelectComponent extends BaseSelectDirective implements OnDestroy, AfterViewInit, ControlValueAccessor {
|
21
10
|
private cd;
|
22
11
|
/** @internal */
|
@@ -2,14 +2,6 @@ import { EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
/**
|
4
4
|
* Switch component is a toggle switch that can be used to switch between two states.
|
5
|
-
*
|
6
|
-
* ## Usage
|
7
|
-
*
|
8
|
-
* 1. Import the `SwitchComponent` component from `@leanix/components` in your module or standalone copmonent where you want to use the component.
|
9
|
-
*
|
10
|
-
* ```ts
|
11
|
-
* import { SwitchComponent } from '@leanix/components';
|
12
|
-
* ```
|
13
5
|
*/
|
14
6
|
export declare class SwitchComponent {
|
15
7
|
/** Value of the switch */
|
@@ -5,14 +5,8 @@ import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
6
6
|
* The Popover component is based on the [ncstate-sat/popover](https://github.com/ncstate-sat/popover) library.
|
7
7
|
*
|
8
|
-
* ##
|
9
|
-
|
10
|
-
* 1. Import `LxPopoverUiModule` and `LxCoreUiModule` module from `@leanix/components` in your module where you want to use the component.
|
11
|
-
*
|
12
|
-
* ```ts
|
13
|
-
* import { LxPopoverUiModule, LxCoreUiModule } from '@leanix/components';
|
14
|
-
* ```
|
15
|
-
*
|
8
|
+
* ## Examples
|
9
|
+
|
16
10
|
* This popover encapsulates this open source library: https://github.com/ncstate-sat/popover,
|
17
11
|
* make sure to also check out the docs over there.
|
18
12
|
*
|
@@ -2,29 +2,6 @@ import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChange
|
|
2
2
|
import { Observable, Subject } from 'rxjs';
|
3
3
|
import { TabComponent } from '../tab/tab.component';
|
4
4
|
import * as i0 from "@angular/core";
|
5
|
-
/**
|
6
|
-
* ## Usage
|
7
|
-
*
|
8
|
-
* 1. Import the `LxTabUiModule` module from `@leanix/components` in your module where you want to use the component.
|
9
|
-
*
|
10
|
-
* ```ts
|
11
|
-
* import { LxTabUiModule } from '@leanix/components';
|
12
|
-
*
|
13
|
-
* // ...
|
14
|
-
*
|
15
|
-
* @NgModule({
|
16
|
-
* // ...
|
17
|
-
* imports: [
|
18
|
-
* // ...
|
19
|
-
* LxTabUiModule
|
20
|
-
* // ...
|
21
|
-
* ]
|
22
|
-
* })
|
23
|
-
* export class MyModule {}
|
24
|
-
* ```
|
25
|
-
*
|
26
|
-
* 2. Use the component in your template.
|
27
|
-
*/
|
28
5
|
export declare class TabGroupComponent implements OnChanges, AfterContentInit, OnDestroy {
|
29
6
|
private cd;
|
30
7
|
isCentered: boolean;
|
@@ -33,23 +10,33 @@ export declare class TabGroupComponent implements OnChanges, AfterContentInit, O
|
|
33
10
|
*/
|
34
11
|
selectedIndex: number;
|
35
12
|
indexChange: EventEmitter<number>;
|
13
|
+
/** @internal */
|
36
14
|
tabsQueryList$: Observable<QueryList<TabComponent>>;
|
15
|
+
/** @internal */
|
37
16
|
tabsQueryList?: QueryList<TabComponent>;
|
17
|
+
/** @internal */
|
38
18
|
tabListElement?: ElementRef<HTMLElement>;
|
39
19
|
/**
|
40
20
|
* The tab that is currently focused via keyboard.
|
21
|
+
* @internal
|
41
22
|
*/
|
42
23
|
focusedIndex: number;
|
24
|
+
/** @internal */
|
43
25
|
get tabIds(): string[];
|
44
26
|
private get tabs();
|
27
|
+
/** @internal */
|
45
28
|
get activeTabPortal(): import("@angular/cdk/portal").TemplatePortal<any> | undefined;
|
29
|
+
/** @internal */
|
46
30
|
readonly destroyed$: Subject<void>;
|
47
31
|
constructor(cd: ChangeDetectorRef);
|
48
32
|
ngOnChanges(changes: SimpleChanges): void;
|
49
33
|
ngAfterContentInit(): void;
|
50
34
|
ngOnDestroy(): void;
|
35
|
+
/** @internal */
|
51
36
|
onFocusOut(event: any): void;
|
37
|
+
/** @internal */
|
52
38
|
switchTo(tab: TabComponent): void;
|
39
|
+
/** @internal */
|
53
40
|
handleKeyDown(event: KeyboardEvent): void;
|
54
41
|
private focusTab;
|
55
42
|
private listenToFirstTabSelectByAngularRouterForTabLinks;
|