Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions api-goldens/element-ng/sort-bar/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ import * as i0 from '@angular/core';
import { OnInit } from '@angular/core';
import { TranslatableString } from '@siemens/element-translate-ng/translate';

// @public (undocumented)
// @public @deprecated (undocumented)
export class SiSortBarComponent implements OnInit {
readonly defaultSortCriteria: i0.InputSignal<string | number>;
readonly sortChange: i0.OutputEmitterRef<HttpParams>;
readonly sortCriteria: i0.InputSignal<SortCriteria[]>;
readonly sortTitle: i0.InputSignal<TranslatableString>;
}

// @public (undocumented)
// @public @deprecated (undocumented)
export class SiSortBarModule {
}

Expand Down
1 change: 0 additions & 1 deletion playwright/e2e/element-examples/static.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ test('si-search-bar/si-search-bar-value', ({ si }) => si.static());
test('si-search-bar/si-search-bar', ({ si }) => si.static());
test('si-slider/si-slider', ({ si }) => si.static());
test('si-slider/si-slider-icon', ({ si }) => si.static());
test('si-sort-bar/si-sort-bar', ({ si }) => si.static());
test('si-split/si-split-hide-header', ({ si }) => si.static());
test('si-split/si-split-mixed', ({ si }) => si.static());
test('si-summary-chip/si-summary-chip', ({ si }) => si.static());
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

5 changes: 5 additions & 0 deletions projects/element-ng/sort-bar/si-sort-bar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ export interface SortCriteria {
key: number | string;
}

/**
* @deprecated SiSortBarComponent originate from the older design system and do not align with current
* design guidelines. No known use case exists for this component.
* It will be removed in v50.
*/
@Component({
selector: 'si-sort-bar',
imports: [SiIconComponent, SiTranslatePipe],
Expand Down
5 changes: 5 additions & 0 deletions projects/element-ng/sort-bar/si-sort-bar.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ import { NgModule } from '@angular/core';

import { SiSortBarComponent } from './si-sort-bar.component';

/**
* @deprecated SiSortBarModule originate from the older design system and do not align with current
* design guidelines. No known use case exists for this module and component.
* It will be removed in v50.
*/
@NgModule({
imports: [SiSortBarComponent],
exports: [SiSortBarComponent]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
* Copyright (c) Siemens 2016 - 2026
* SPDX-License-Identifier: MIT
*/
/* eslint-disable @typescript-eslint/no-deprecated */
import { ChangeDetectionStrategy, Component, inject } from '@angular/core';
import { SiSortBarComponent } from '@siemens/element-ng/sort-bar';
import { LOG_EVENT } from '@siemens/live-preview';

@Component({
selector: 'app-sample',
imports: [SiSortBarComponent],
templateUrl: './si-sort-bar.html',
templateUrl: './si-sort-bar-deprecated.html',
changeDetection: ChangeDetectionStrategy.OnPush,
host: { class: 'p-5' }
})
Expand Down
Loading