Skip to content

Commit d731f6c

Browse files
Merge pull request #339 from FiestaRuless/bugfix/TablesClickableCSSClass
Bugfix/tables clickable css class
2 parents 96289cf + e05d004 commit d731f6c

File tree

4 files changed

+19
-11
lines changed

4 files changed

+19
-11
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
77

88
## Unreleased
99

10+
## [6.1.3] - 2024-09-09
11+
12+
### Fixed
13+
14+
- `ngx-table`: No css on hover because it had the wrong css class. Didn't follow new a-ui classes
15+
1016
## [6.1.2] - 2024-08-20
1117

1218
### Fixed

packages/ngx-table/src/lib/components/table/table.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
<tr
9292
(click)="clickRow(row)"
9393
*ngFor="let row of rows; let rowIndex = index"
94-
[ngClass]="{ 'a-table--clickable': hasClickAction }"
94+
[ngClass]="{ 'is-clickable': hasClickAction }"
9595
>
9696
<td *ngFor="let column of columns" [ngClass]="tableHelper.getClass(column)">
9797
<aui-table-cell

packages/styleguide/src/examples/pages/aui-table/aui-table.page.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ <h2 class="h3 u-margin-bottom">Table</h2>
2424
<aui-table
2525
[open]="true"
2626
[striped]="true"
27+
[hasClickAction]="true"
2728
[columns]="columns"
2829
[loading]="loading"
2930
[rows]="rows"

packages/styleguide/src/examples/pages/aui-table/aui-table.page.ts

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -229,16 +229,17 @@ constructor(
229229
`;
230230

231231
public exampleHTML = `<aui-table
232-
[open]="true"
233-
[striped]="true"
234-
[columns]="columns"
235-
[loading]="loading"
236-
[rows]="rows"
237-
loadDataMessage="Loading..."
238-
noColumsMessage="There are no columns!"
239-
noDataMessage="There is no data!"
240-
>
241-
</aui-table>
232+
[open]="true"
233+
[striped]="true"
234+
[hasClickAction]="true"
235+
[columns]="columns"
236+
[loading]="loading"
237+
[rows]="rows"
238+
loadDataMessage="Loading..."
239+
noColumsMessage="There are no columns!"
240+
noDataMessage="There is no data!"
241+
>
242+
</aui-table>
242243
`;
243244

244245
public loading = false;

0 commit comments

Comments
 (0)