@siemens/element-ng 51.5.0 → 51.6.0

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.
@@ -175,15 +175,24 @@ declare class SiHeaderActionItemComponent extends SiHeaderActionIconItemBase {
175
175
 
176
176
  /** Adds an account item to the header. Should be located inside `.header-actions`. */
177
177
  declare class SiHeaderAccountItemComponent extends SiHeaderActionIconItemBase {
178
+ protected readonly itemTitle: _angular_core.Signal<ElementRef<any>>;
178
179
  /** Name of the account. */
179
180
  readonly name: _angular_core.InputSignal<string>;
180
181
  /** Initials of the account. If not provided, they will be calculated. */
181
182
  readonly initials: _angular_core.InputSignal<string | undefined>;
182
183
  /** URL to an image which should be shown instead of the initials. */
183
184
  readonly imageUrl: _angular_core.InputSignal<string | undefined>;
184
- protected readonly itemTitle: _angular_core.InputSignal<string>;
185
+ /**
186
+ * Accessible label for the account item.
187
+ *
188
+ * @defaultValue
189
+ * ```
190
+ * t(() => $localize`:@@SI_APPLICATION_HEADER.ACCOUNT:Account of {{name}}`)
191
+ * ```
192
+ */
193
+ readonly accountItemLabel: _angular_core.InputSignal<_siemens_element_translate_ng_translate.TranslatableString>;
185
194
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SiHeaderAccountItemComponent, never>;
186
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<SiHeaderAccountItemComponent, "button[si-header-account-item]", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "initials": { "alias": "initials"; "required": false; "isSignal": true; }; "imageUrl": { "alias": "imageUrl"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
195
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SiHeaderAccountItemComponent, "button[si-header-account-item]", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "initials": { "alias": "initials"; "required": false; "isSignal": true; }; "imageUrl": { "alias": "imageUrl"; "required": false; "isSignal": true; }; "accountItemLabel": { "alias": "accountItemLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
187
196
  }
188
197
 
189
198
  declare class SiHeaderSelectionItemComponent extends SiHeaderActionItemBase {
@@ -90,6 +90,9 @@ declare class SiDashboardComponent implements OnChanges, AfterViewInit {
90
90
  private readonly destroyRef;
91
91
  /**
92
92
  * Heading for the dashboard page.
93
+ *
94
+ * To show a custom header instead, e.g. with a description or page actions,
95
+ * project it using the `header` attribute. The heading is ignored in that case.
93
96
  */
94
97
  readonly heading: _angular_core.InputSignal<TranslatableString | undefined>;
95
98
  /**
@@ -157,7 +160,7 @@ declare class SiDashboardComponent implements OnChanges, AfterViewInit {
157
160
  private toggleCardsHide;
158
161
  private setDashboardFrameEndPadding;
159
162
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SiDashboardComponent, never>;
160
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<SiDashboardComponent, "si-dashboard", never, { "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "enableExpandInteractions": { "alias": "enableExpandInteractions"; "required": false; "isSignal": true; }; "sticky": { "alias": "sticky"; "required": false; "isSignal": true; }; "hideMenubar": { "alias": "hideMenubar"; "required": false; "isSignal": true; }; }, {}, never, ["[menubar]", "[dashboard]"], true, never>;
163
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SiDashboardComponent, "si-dashboard", never, { "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "enableExpandInteractions": { "alias": "enableExpandInteractions"; "required": false; "isSignal": true; }; "sticky": { "alias": "sticky"; "required": false; "isSignal": true; }; "hideMenubar": { "alias": "hideMenubar"; "required": false; "isSignal": true; }; }, {}, never, ["[header]", "[menubar]", "[dashboard]"], true, never>;
161
164
  }
162
165
 
163
166
  declare class SiDashboardModule {
@@ -4,6 +4,7 @@ interface SiTranslatableKeys {
4
4
  'SI_ABOUT.LOGO_ALT'?: string;
5
5
  'SI_AI_MESSAGE.SECONDARY_ACTIONS'?: string;
6
6
  'SI_ALERT_DIALOG.OK'?: string;
7
+ 'SI_APPLICATION_HEADER.ACCOUNT'?: string;
7
8
  'SI_APPLICATION_HEADER.LAUNCHPAD'?: string;
8
9
  'SI_APPLICATION_HEADER.TOGGLE_ACTIONS'?: string;
9
10
  'SI_APPLICATION_HEADER.TOGGLE_NAVIGATION'?: string;