From 596aa1f0801eeefaa5214620e75610814c28a607 Mon Sep 17 00:00:00 2001 From: markuczy <129275100+markuczy@users.noreply.github.com> Date: Wed, 13 Nov 2024 09:32:11 +0100 Subject: [PATCH 1/2] fix: table header layout improved (#595) --- .../data-table/data-table.component.html | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/libs/angular-accelerator/src/lib/components/data-table/data-table.component.html b/libs/angular-accelerator/src/lib/components/data-table/data-table.component.html index 21b584e0..698dc5d7 100644 --- a/libs/angular-accelerator/src/lib/components/data-table/data-table.component.html +++ b/libs/angular-accelerator/src/lib/components/data-table/data-table.component.html @@ -122,9 +122,10 @@ scrollHeight="flex" [style]="tableStyle" paginatorDropdownAppendTo="body" + tableStyleClass="h-full" > <ng-template pTemplate="header"> - <tr> + <tr style="vertical-align: top"> <th style="width: 4rem" scope="col" *ngIf="selectionChangedObserved"> <p-tableHeaderCheckbox *ngIf="allowSelectAll" @@ -136,12 +137,15 @@ </ng-container> <ng-container *ngFor="let column of columns"> <th *ngIf="column.sortable || column.filterable; else simpleHeader" scope="col"> - <div class="table-header-wrapper"> - <span id="{{column.id}}-header-name">{{ column.nameKey | translate }}</span> - <span class="icon-button-header-wrapper"> + <div + class="table-header-wrapper flex flex-column justify-content-between align-items-start" + style="height: 100%" + > + <span class="flex" id="{{column.id}}-header-name">{{ column.nameKey | translate }}</span> + <span class="flex icon-button-header-wrapper"> <button *ngIf="column.sortable" - class="pi sortButton" + class="pi sortButton pl-0" [class.pi-sort-alt]="(column?.id === sortColumn && sortDirection === 'NONE') || column?.id !== sortColumn" [class.pi-sort-amount-up]="column?.id === sortColumn && sortDirection === 'ASCENDING'" [class.pi-sort-amount-down]="column?.id === sortColumn && sortDirection === 'DESCENDING'" From 412d73282e33dba80ea947489db9e5703d3fba97 Mon Sep 17 00:00:00 2001 From: semantic-release-bot <semantic-release-bot@martynus.net> Date: Wed, 13 Nov 2024 09:24:04 +0000 Subject: [PATCH 2/2] chore(release): -v5.24.0 [skip ci] ## [5.24.0](https://github.com/onecx/onecx-portal-ui-libs/compare/v5.23.6...v5.24.0) (2024-11-13) ### Features * search button order config ([#594](https://github.com/onecx/onecx-portal-ui-libs/issues/594)) ([7aa5231](https://github.com/onecx/onecx-portal-ui-libs/commit/7aa523167e3d95864594d46187797be06e404563)) ### Bug Fixes * list title no longer clickable ([#593](https://github.com/onecx/onecx-portal-ui-libs/issues/593)) ([07a9f63](https://github.com/onecx/onecx-portal-ui-libs/commit/07a9f63b83381e01ef2458f04c0da6b38a066d9f)) * possibility to check for multiple permissions ([#590](https://github.com/onecx/onecx-portal-ui-libs/issues/590)) ([2abc2fd](https://github.com/onecx/onecx-portal-ui-libs/commit/2abc2fde369831943188a203aedd09ed5612b845)) * table header layout improved ([#595](https://github.com/onecx/onecx-portal-ui-libs/issues/595)) ([596aa1f](https://github.com/onecx/onecx-portal-ui-libs/commit/596aa1f0801eeefaa5214620e75610814c28a607)) --- CHANGELOG.md | 12 ++++++++++++ libs/accelerator/package.json | 2 +- libs/angular-accelerator/package.json | 2 +- libs/angular-auth/package.json | 2 +- libs/angular-integration-interface/package.json | 2 +- libs/angular-remote-components/package.json | 2 +- libs/angular-testing/package.json | 2 +- libs/angular-webcomponents/package.json | 2 +- libs/integration-interface/package.json | 2 +- libs/keycloak-auth/package.json | 2 +- libs/ngrx-accelerator/package.json | 2 +- libs/portal-integration-angular/package.json | 2 +- libs/portal-layout-styles/package.json | 2 +- libs/shell-core/package.json | 2 +- package.json | 2 +- 15 files changed, 26 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ecf03a4..30e83f84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +## [5.24.0](https://github.com/onecx/onecx-portal-ui-libs/compare/v5.23.6...v5.24.0) (2024-11-13) + +### Features + +* search button order config ([#594](https://github.com/onecx/onecx-portal-ui-libs/issues/594)) ([7aa5231](https://github.com/onecx/onecx-portal-ui-libs/commit/7aa523167e3d95864594d46187797be06e404563)) + +### Bug Fixes + +* list title no longer clickable ([#593](https://github.com/onecx/onecx-portal-ui-libs/issues/593)) ([07a9f63](https://github.com/onecx/onecx-portal-ui-libs/commit/07a9f63b83381e01ef2458f04c0da6b38a066d9f)) +* possibility to check for multiple permissions ([#590](https://github.com/onecx/onecx-portal-ui-libs/issues/590)) ([2abc2fd](https://github.com/onecx/onecx-portal-ui-libs/commit/2abc2fde369831943188a203aedd09ed5612b845)) +* table header layout improved ([#595](https://github.com/onecx/onecx-portal-ui-libs/issues/595)) ([596aa1f](https://github.com/onecx/onecx-portal-ui-libs/commit/596aa1f0801eeefaa5214620e75610814c28a607)) + ## [5.23.6](https://github.com/onecx/onecx-portal-ui-libs/compare/v5.23.5...v5.23.6) (2024-11-12) ### Bug Fixes diff --git a/libs/accelerator/package.json b/libs/accelerator/package.json index db8ad2ed..2bbc61e6 100644 --- a/libs/accelerator/package.json +++ b/libs/accelerator/package.json @@ -1,6 +1,6 @@ { "name": "@onecx/accelerator", - "version": "5.23.6", + "version": "5.24.0", "license": "Apache-2.0", "peerDependencies": { "tslib": "^2.6.3", diff --git a/libs/angular-accelerator/package.json b/libs/angular-accelerator/package.json index b6863ae9..a7627ae8 100644 --- a/libs/angular-accelerator/package.json +++ b/libs/angular-accelerator/package.json @@ -1,6 +1,6 @@ { "name": "@onecx/angular-accelerator", - "version": "5.23.6", + "version": "5.24.0", "license": "Apache-2.0", "peerDependencies": { "@angular/common": "^18.0.5", diff --git a/libs/angular-auth/package.json b/libs/angular-auth/package.json index a3f14dde..1970f84a 100644 --- a/libs/angular-auth/package.json +++ b/libs/angular-auth/package.json @@ -1,6 +1,6 @@ { "name": "@onecx/angular-auth", - "version": "5.23.6", + "version": "5.24.0", "license": "Apache-2.0", "peerDependencies": { "@angular-architects/module-federation": "^18.0.4", diff --git a/libs/angular-integration-interface/package.json b/libs/angular-integration-interface/package.json index f41fdeb4..9a4f9ab9 100644 --- a/libs/angular-integration-interface/package.json +++ b/libs/angular-integration-interface/package.json @@ -1,6 +1,6 @@ { "name": "@onecx/angular-integration-interface", - "version": "5.23.6", + "version": "5.24.0", "license": "Apache-2.0", "peerDependencies": { "@angular/core": "^18.0.5", diff --git a/libs/angular-remote-components/package.json b/libs/angular-remote-components/package.json index e05a7f1c..902887bf 100644 --- a/libs/angular-remote-components/package.json +++ b/libs/angular-remote-components/package.json @@ -1,6 +1,6 @@ { "name": "@onecx/angular-remote-components", - "version": "5.23.6", + "version": "5.24.0", "license": "Apache-2.0", "peerDependencies": { "@angular/common": "^18.0.5", diff --git a/libs/angular-testing/package.json b/libs/angular-testing/package.json index d6a2edd9..1b039c46 100644 --- a/libs/angular-testing/package.json +++ b/libs/angular-testing/package.json @@ -1,6 +1,6 @@ { "name": "@onecx/angular-testing", - "version": "5.23.6", + "version": "5.24.0", "license": "Apache-2.0", "peerDependencies": { "@angular/cdk": "^18.0.5", diff --git a/libs/angular-webcomponents/package.json b/libs/angular-webcomponents/package.json index 32ef29bb..98c0d98c 100644 --- a/libs/angular-webcomponents/package.json +++ b/libs/angular-webcomponents/package.json @@ -1,6 +1,6 @@ { "name": "@onecx/angular-webcomponents", - "version": "5.23.6", + "version": "5.24.0", "license": "Apache-2.0", "peerDependencies": { "@angular/core": "^18.0.5", diff --git a/libs/integration-interface/package.json b/libs/integration-interface/package.json index f5399fe0..5e356d6a 100644 --- a/libs/integration-interface/package.json +++ b/libs/integration-interface/package.json @@ -1,6 +1,6 @@ { "name": "@onecx/integration-interface", - "version": "5.23.6", + "version": "5.24.0", "license": "Apache-2.0", "peerDependencies": { "tslib": "^2.6.3", diff --git a/libs/keycloak-auth/package.json b/libs/keycloak-auth/package.json index 22155134..b7d3e2b6 100644 --- a/libs/keycloak-auth/package.json +++ b/libs/keycloak-auth/package.json @@ -1,6 +1,6 @@ { "name": "@onecx/keycloak-auth", - "version": "5.23.6", + "version": "5.24.0", "license": "Apache-2.0", "peerDependencies": { "@angular/common": "^18.0.5", diff --git a/libs/ngrx-accelerator/package.json b/libs/ngrx-accelerator/package.json index 0637e865..42628aea 100644 --- a/libs/ngrx-accelerator/package.json +++ b/libs/ngrx-accelerator/package.json @@ -1,6 +1,6 @@ { "name": "@onecx/ngrx-accelerator", - "version": "5.23.6", + "version": "5.24.0", "peerDependencies": { "@angular/core": "^18.0.5", "@angular/router": "^18.0.5", diff --git a/libs/portal-integration-angular/package.json b/libs/portal-integration-angular/package.json index 6df85380..68e527f8 100644 --- a/libs/portal-integration-angular/package.json +++ b/libs/portal-integration-angular/package.json @@ -1,6 +1,6 @@ { "name": "@onecx/portal-integration-angular", - "version": "5.23.6", + "version": "5.24.0", "license": "Apache-2.0", "peerDependencies": { "@angular/common": "^18.0.5", diff --git a/libs/portal-layout-styles/package.json b/libs/portal-layout-styles/package.json index 92b0ba10..d9139f38 100644 --- a/libs/portal-layout-styles/package.json +++ b/libs/portal-layout-styles/package.json @@ -1,6 +1,6 @@ { "name": "@onecx/portal-layout-styles", - "version": "5.23.6", + "version": "5.24.0", "license": "Apache-2.0", "peerDependencies": { "tslib": "^2.6.3" diff --git a/libs/shell-core/package.json b/libs/shell-core/package.json index 38fb99ed..583ae056 100644 --- a/libs/shell-core/package.json +++ b/libs/shell-core/package.json @@ -1,6 +1,6 @@ { "name": "@onecx/shell-core", - "version": "5.23.6", + "version": "5.24.0", "license": "Apache-2.0", "peerDependencies": { "rxjs": "^7.8.1", diff --git a/package.json b/package.json index 5e95ec05..d20e66ef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@onecx/onecx-portal-ui-libs", - "version": "5.23.6", + "version": "5.24.0", "license": "Apache-2.0", "scripts": { "sass": "npx sass libs/portal-integration-angular/assets/styles.scss libs/portal-integration-angular/assets/output.css",