@siemens/element-ng 51.7.0 → 51.8.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@siemens/element-ng",
3
3
  "description": "Element Angular component library, implementing the Siemens Design Language",
4
- "version": "51.7.0",
4
+ "version": "51.8.0",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -47,9 +47,9 @@
47
47
  "@maplibre/ngx-maplibre-gl": "21 - 22",
48
48
  "maplibre-gl": "5 - 6",
49
49
  "@siemens/element-icons": "1",
50
- "@siemens/element-theme": "51.7.0",
51
- "@siemens/element-translate-ng": "51.7.0",
52
- "@siemens/map-styles": "51.7.0",
50
+ "@siemens/element-theme": "51.8.0",
51
+ "@siemens/element-translate-ng": "51.8.0",
52
+ "@siemens/map-styles": "51.8.0",
53
53
  "@siemens/ngx-datatable": "26 - 27",
54
54
  "ag-grid-community": "^34.3.1 || ^35.0.0 || ^36.0.0",
55
55
  "flag-icons": "^7.3.2",
@@ -130,37 +130,43 @@ declare class SiCardHeaderComponent {
130
130
  }
131
131
 
132
132
  /**
133
- * An action card component that extends the base card component with option to
134
- * either select the whole card or trigger an action.
133
+ * An action card component that supports actions and selection on native buttons,
134
+ * and navigation on native anchors.
135
+ *
136
+ * **Important:** The `selectable` and `selected` inputs are supported only on button action cards. Do not
137
+ * use them with an anchor.
135
138
  *
136
139
  * Usage:
137
- * as selectable card:
140
+ * as a selectable button card:
138
141
  * `<button si-action-card selectable type="button" [(selected)]="isSelected">...</button>`
139
142
  *
140
- * or as an action card:
143
+ * or as an action button card:
141
144
  * `<button si-action-card type="button" (click)="doSomeAction()">...</button>`
145
+ *
146
+ * or as a navigation card:
147
+ * `<a si-action-card href="/details">...</a>`
148
+ * `<a si-action-card routerLink="/details" routerLinkActive="selected">...</a>`
142
149
  */
143
150
  declare class SiActionCardComponent extends SiCardBaseDirective {
144
151
  private static idCounter;
145
152
  private id;
146
153
  /**
147
- * Makes whole card selectable.
154
+ * Makes a button action card selectable.
148
155
  *
149
156
  * @defaultValue false
150
157
  */
151
158
  readonly selectable: _angular_core.InputSignalWithTransform<boolean, unknown>;
152
159
  /**
153
- * Indicates if the card is selected.
154
- * Ignored when `selectable` is not set to `true`.
160
+ * Indicates whether a selectable button action card is selected.
155
161
  *
156
162
  * @defaultValue false
157
- * */
163
+ */
158
164
  readonly selected: _angular_core.ModelSignal<boolean>;
159
165
  protected headingId: string;
160
166
  protected subHeadingId: string;
161
167
  protected contentId: string;
162
168
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SiActionCardComponent, never>;
163
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<SiActionCardComponent, "button[si-action-card]", never, { "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; }, never, ["[headerIcon]", "[body]", "[footer]"], true, never>;
169
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SiActionCardComponent, "button[si-action-card], a[si-action-card]", never, { "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; }, never, ["[headerIcon]", "[body]", "[footer]"], true, never>;
164
170
  }
165
171
 
166
172
  declare class SiCardModule {
@@ -668,20 +668,18 @@ declare class SiChatInputComponent implements AfterViewInit {
668
668
  protected readonly buttonIcon: _angular_core.Signal<string>;
669
669
  protected readonly buttonLabel: _angular_core.Signal<TranslatableString$1>;
670
670
  protected readonly dragOver: _angular_core.WritableSignal<boolean>;
671
- private readonly injector;
672
671
  private readonly menuActionService;
673
672
  protected runAction(action: MenuItemAction): void;
674
- protected onInputChange(value: string): void;
675
673
  protected selectFollowUpPrompt(prompt: string): void;
676
674
  protected onSend(): void;
677
675
  protected onButtonClick(): void;
678
676
  protected onKeyDown(event: KeyboardEvent): void;
677
+ protected onInput(event: Event): void;
679
678
  protected onFilesAdded(uploadFiles: UploadFile[]): void;
680
679
  protected onFileError(error: FileUploadError): void;
681
680
  protected removeAttachment(attachment: Attachment): void;
682
681
  protected onContainerClick(event: Event): void;
683
682
  ngAfterViewInit(): void;
684
- protected adjustTextareaHeight(event: Event): void;
685
683
  /**
686
684
  * Focus the textarea input
687
685
  */