-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Table): move to components and rewrite to TypeScript
In order to add more features to the Table, we move it over to be a component (with backwards compatibility) and rewrite it: - Rewrite to TypeScript - Rewrite to use React functional component - Rewrite Sticky Header to a independent Hook - Move Table to be a component for future features - Make it backwards compatible with /elements imports - Add integration tests - Keep visual tests as before - Add stories - Move and extend docs
- Loading branch information
1 parent
18b29cd
commit 562940a
Showing
65 changed files
with
2,196 additions
and
1,270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
packages/dnb-design-system-portal/src/docs/uilib/components/table.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
title: 'Table' | ||
description: 'Enhanced HTML Table element' | ||
status: 'new' | ||
showTabs: true | ||
redirect_from: | ||
- /uilib/elements/tables | ||
--- | ||
|
||
import TableInfo from 'Docs/uilib/components/table/info' | ||
import TableDemos from 'Docs/uilib/components/table/demos' | ||
|
||
<TableInfo /> | ||
<TableDemos /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.