@leanix/components 0.4.643 → 0.4.645
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/fesm2022/leanix-components-ui5.mjs +2 -0
- package/fesm2022/leanix-components-ui5.mjs.map +1 -1
- package/fesm2022/leanix-components.mjs +39 -2
- package/fesm2022/leanix-components.mjs.map +1 -1
- package/lib/core-ui/components/page-header/page-header.component.d.ts +36 -1
- package/lib/forms-ui/components/breadcrumb/breadcrumb.component.d.ts +2 -0
- package/package.json +1 -1
- package/ui5/index.d.ts +3 -0
|
@@ -6,9 +6,34 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
* Additionally, it can include a breadcrumb.
|
|
7
7
|
*
|
|
8
8
|
* ### Projection slots
|
|
9
|
+
* - `ui5-breadcrumbs`: Defines the breadcrumbs shown above the page title
|
|
10
|
+
* - **Important**: To set a URL for a breadcrumb item, you need to provide the `href`
|
|
11
|
+
* attribute to the `ui5-breadcrumbs-item` component. `RouterLink` does not work before updating to Angular 20.
|
|
9
12
|
* - `header-title`: Defines the page title content
|
|
10
13
|
* - `header-content`: Defines additional content below the page title
|
|
11
14
|
* - `header-buttons`: Defines the header action buttons
|
|
15
|
+
*
|
|
16
|
+
* ### Using Breadcrumbs
|
|
17
|
+
* To use breadcrumbs, import the `BreadcrumbsComponent` and `BreadcrumbsItemComponent`:
|
|
18
|
+
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import { BreadcrumbsComponent, BreadcrumbsItemComponent } from '@leanix/components/ui5';
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ### Example
|
|
24
|
+
* @example ```html
|
|
25
|
+
* <lx-page-header [pageTitle]="'Agile Tracking'">
|
|
26
|
+
* <ui5-breadcrumbs>
|
|
27
|
+
* <ui5-breadcrumbs-item href="/">Root Page</ui5-breadcrumbs-item>
|
|
28
|
+
* <ui5-breadcrumbs-item href="/inventory">Inventory</ui5-breadcrumbs-item>
|
|
29
|
+
* <ui5-breadcrumbs-item>Agile Tracking</ui5-breadcrumbs-item>
|
|
30
|
+
* </ui5-breadcrumbs>
|
|
31
|
+
* <ng-container header-buttons>
|
|
32
|
+
* <button lx-button size="large" color="primary" icon="fa-plus">Add Entity</button>
|
|
33
|
+
* <button lx-button size="large">Settings</button>
|
|
34
|
+
* </ng-container>
|
|
35
|
+
* </lx-page-header>
|
|
36
|
+
* ```
|
|
12
37
|
*/
|
|
13
38
|
export declare class PageHeaderComponent {
|
|
14
39
|
/**
|
|
@@ -19,20 +44,28 @@ export declare class PageHeaderComponent {
|
|
|
19
44
|
pageTitle: import("@angular/core").InputSignal<string | undefined>;
|
|
20
45
|
/**
|
|
21
46
|
* Relative URL to navigate back to
|
|
47
|
+
* @deprecated Project the `ui5-breadcrumbs` component for navigation purposes
|
|
48
|
+
* @internal
|
|
22
49
|
*/
|
|
23
50
|
backUrl: import("@angular/core").InputSignal<string[]>;
|
|
24
51
|
/**
|
|
25
52
|
* Query parameters to append to the `backUrl`
|
|
53
|
+
* @deprecated Project the `ui5-breadcrumbs` component for navigation purposes
|
|
54
|
+
* @internal
|
|
26
55
|
*/
|
|
27
56
|
queryParams: import("@angular/core").InputSignal<{
|
|
28
57
|
[key: string]: string;
|
|
29
58
|
}>;
|
|
30
59
|
/**
|
|
31
60
|
* Accessible name of the back link
|
|
61
|
+
* @deprecated Project the `ui5-breadcrumbs` component for navigation purposes
|
|
62
|
+
* @internal
|
|
32
63
|
*/
|
|
33
64
|
backUrlLabel: import("@angular/core").InputSignal<string | null | undefined>;
|
|
34
65
|
/**
|
|
35
66
|
* Additional navigation state for the back link
|
|
67
|
+
* @deprecated Project the `ui5-breadcrumbs` component for navigation purposes
|
|
68
|
+
* @internal
|
|
36
69
|
*/
|
|
37
70
|
navigationStateOptions: import("@angular/core").InputSignal<Pick<RouterLink, "state">>;
|
|
38
71
|
/**
|
|
@@ -42,8 +75,10 @@ export declare class PageHeaderComponent {
|
|
|
42
75
|
showDivider: import("@angular/core").InputSignal<boolean>;
|
|
43
76
|
/**
|
|
44
77
|
* Event emitted when the back icon is clicked.
|
|
78
|
+
* @deprecated Project the `ui5-breadcrumbs` component for navigation purposes
|
|
79
|
+
* @internal
|
|
45
80
|
*/
|
|
46
81
|
backIconClick: import("@angular/core").OutputEmitterRef<void>;
|
|
47
82
|
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "lx-page-header", never, { "pageTitle": { "alias": "pageTitle"; "required": false; "isSignal": true; }; "backUrl": { "alias": "backUrl"; "required": false; "isSignal": true; }; "queryParams": { "alias": "queryParams"; "required": false; "isSignal": true; }; "backUrlLabel": { "alias": "backUrlLabel"; "required": false; "isSignal": true; }; "navigationStateOptions": { "alias": "navigationStateOptions"; "required": false; "isSignal": true; }; "showDivider": { "alias": "showDivider"; "required": false; "isSignal": true; }; }, { "backIconClick": "backIconClick"; }, never, ["[header-title]", "[header-
|
|
83
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "lx-page-header", never, { "pageTitle": { "alias": "pageTitle"; "required": false; "isSignal": true; }; "backUrl": { "alias": "backUrl"; "required": false; "isSignal": true; }; "queryParams": { "alias": "queryParams"; "required": false; "isSignal": true; }; "backUrlLabel": { "alias": "backUrlLabel"; "required": false; "isSignal": true; }; "navigationStateOptions": { "alias": "navigationStateOptions"; "required": false; "isSignal": true; }; "showDivider": { "alias": "showDivider"; "required": false; "isSignal": true; }; }, { "backIconClick": "backIconClick"; }, never, ["ui5-breadcrumbs", "[header-title]", "[header-buttons]", "[header-content]"], true, never>;
|
|
49
84
|
}
|
|
@@ -10,6 +10,8 @@ interface EllipsedBreadcrumb {
|
|
|
10
10
|
}
|
|
11
11
|
type ViewBreadcrumb = Breadcrumb | EllipsedBreadcrumb;
|
|
12
12
|
/**
|
|
13
|
+
* @deprecated Use the `ui5-breadcrumbs` instead.
|
|
14
|
+
*
|
|
13
15
|
* Breadcrumb component is used to show a list of labels, usually to show the path of user's navigation.
|
|
14
16
|
*/
|
|
15
17
|
export declare class BreadcrumbComponent implements OnChanges {
|
package/package.json
CHANGED
package/ui5/index.d.ts
CHANGED
|
@@ -2,4 +2,7 @@
|
|
|
2
2
|
* All UI5-related components / directives supported by the SAP LeanIX Design System.
|
|
3
3
|
*/
|
|
4
4
|
export * from './ui5.provider';
|
|
5
|
+
export { BreadcrumbsComponent } from '@ui5/webcomponents-ngx/main/breadcrumbs';
|
|
6
|
+
export { BreadcrumbsItemComponent } from '@ui5/webcomponents-ngx/main/breadcrumbs-item';
|
|
5
7
|
export { IconComponent } from '@ui5/webcomponents-ngx/main/icon';
|
|
8
|
+
export { BreadcrumbsItemClickEventDetail } from '@ui5/webcomponents/dist/Breadcrumbs';
|