Skip to content

Commit

Permalink
Merge pull request #339 from FiestaRuless/bugfix/TablesClickableCSSClass
Browse files Browse the repository at this point in the history
Bugfix/tables clickable css class
  • Loading branch information
TriangleJuice authored Sep 19, 2024
2 parents 96289cf + e05d004 commit d731f6c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 11 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/).

## Unreleased

## [6.1.3] - 2024-09-09

### Fixed

- `ngx-table`: No css on hover because it had the wrong css class. Didn't follow new a-ui classes

## [6.1.2] - 2024-08-20

### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
<tr
(click)="clickRow(row)"
*ngFor="let row of rows; let rowIndex = index"
[ngClass]="{ 'a-table--clickable': hasClickAction }"
[ngClass]="{ 'is-clickable': hasClickAction }"
>
<td *ngFor="let column of columns" [ngClass]="tableHelper.getClass(column)">
<aui-table-cell
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ <h2 class="h3 u-margin-bottom">Table</h2>
<aui-table
[open]="true"
[striped]="true"
[hasClickAction]="true"
[columns]="columns"
[loading]="loading"
[rows]="rows"
Expand Down
21 changes: 11 additions & 10 deletions packages/styleguide/src/examples/pages/aui-table/aui-table.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,16 +229,17 @@ constructor(
`;

public exampleHTML = `<aui-table
[open]="true"
[striped]="true"
[columns]="columns"
[loading]="loading"
[rows]="rows"
loadDataMessage="Loading..."
noColumsMessage="There are no columns!"
noDataMessage="There is no data!"
>
</aui-table>
[open]="true"
[striped]="true"
[hasClickAction]="true"
[columns]="columns"
[loading]="loading"
[rows]="rows"
loadDataMessage="Loading..."
noColumsMessage="There are no columns!"
noDataMessage="There is no data!"
>
</aui-table>
`;

public loading = false;
Expand Down

0 comments on commit d731f6c

Please sign in to comment.