Browse Source
Task/improve styling of type filter in activities table component (#7482)
* Improve styling
* Update changelog
pull/7484/head^2
Thomas Kaul
1 week ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with
38 additions and
1 deletions
-
CHANGELOG.md
-
libs/ui/src/lib/activities-table/activities-table.component.html
-
libs/ui/src/lib/activities-table/activities-table.component.scss
-
libs/ui/src/lib/activities-table/activities-table.component.stories.ts
|
|
|
@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
### Changed |
|
|
|
|
|
|
|
- Improved the style of the empty state in the _Fear & Greed Index_ component |
|
|
|
- Improved the style of the type filter in the activities table component (experimental) |
|
|
|
- Improved the language localization for German (`de`) |
|
|
|
|
|
|
|
## 3.37.0 - 2026-07-30 |
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
<div class="d-flex justify-content-end justify-content-lg-between"> |
|
|
|
<div |
|
|
|
class="align-items-center d-flex justify-content-end justify-content-lg-between" |
|
|
|
> |
|
|
|
<div class="d-none d-lg-flex"> |
|
|
|
@if (hasPermissionToFilterByType) { |
|
|
|
<mat-form-field appearance="outline" class="without-hint"> |
|
|
|
|
|
|
|
@ -1,3 +1,12 @@ |
|
|
|
@use '@angular/material' as mat; |
|
|
|
|
|
|
|
:host { |
|
|
|
display: block; |
|
|
|
|
|
|
|
@include mat.form-field-overrides( |
|
|
|
( |
|
|
|
container-height: 2rem, |
|
|
|
container-vertical-padding: 0.33rem |
|
|
|
) |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
@ -494,3 +494,28 @@ export const Actions: Story = { |
|
|
|
totalItems: activities.length |
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
|
export const Toolbar: Story = { |
|
|
|
args: { |
|
|
|
dataSource, |
|
|
|
baseCurrency: 'USD', |
|
|
|
deviceType: 'desktop', |
|
|
|
hasActivities: true, |
|
|
|
hasPermissionToCreateActivity: true, |
|
|
|
hasPermissionToDeleteActivity: true, |
|
|
|
hasPermissionToExportActivities: true, |
|
|
|
hasPermissionToFilterByType: true, |
|
|
|
hasPermissionToOpenDetails: false, |
|
|
|
locale: 'en-US', |
|
|
|
pageIndex: 0, |
|
|
|
pageSize: 10, |
|
|
|
showAccountColumn: true, |
|
|
|
showActions: false, |
|
|
|
showCheckbox: false, |
|
|
|
showNameColumn: true, |
|
|
|
sortColumn: 'date', |
|
|
|
sortDirection: 'desc', |
|
|
|
sortDisabled: false, |
|
|
|
totalItems: activities.length |
|
|
|
} |
|
|
|
}; |
|
|
|
|