Skip to content

Commit

Permalink
docs(Table): add info about the needed CSS class in v10 (#1923)
Browse files Browse the repository at this point in the history
  • Loading branch information
tujoworker committed Feb 9, 2023
1 parent 6bdaa03 commit a430ee0
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@

- [v10](#v10)
- [Migration](#migration)
- [Features](#features)
- [StepIndicator](#stepindicator)
- [Table](#table)
- [Slider](#slider)
- [Timeline](#timeline)
- [Anchor](#anchor)
- [Button](#button)
- [Tooltip](#tooltip)
- [Icon](#icon)
- [Lists](#lists)
- [Stopped supporting Internet Explorer (IE)](#stopped-supporting-internet-explorer-ie)
- [Deprecations](#deprecations)
- [Install](#install)

Expand All @@ -29,6 +32,10 @@ v10 of @dnb/eufemia contains _breaking changes_. As a migration process, you can

### Table

1. Ensure all table sub elements have a CSS Class:
1. `tr` => `.dnb-table__tr`
1. `th` => `.dnb-table__th`
1. `td` => `.dnb-table__td`
1. Find the `sticky_offset` property and replace it with `stickyOffset`.
1. Find the `/elements/Table` property and replace it with `/components/Table`.
1. Alignment classes are removed (`.dnb-table--left`, `.dnb-table--right` and `.dnb-table--center`). Use the `align` attribute instead.
Expand Down

0 comments on commit a430ee0

Please sign in to comment.