-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Table): refactoring of types, documentation, and accordion file …
…structure (#3683) ### Table, TableTr, TableTd * added `TableDocs` properties * removed unused `variant` prop * fixed some prop types * added typing to `TableContext` ### Accordion * moved internal accordion files to separate folder `./table-accordion` * combined `TableAccordionTd` and `TableAccordionTr` files in to `TableAccordionContent` to share identical logic * renamed `TableAccordionTd` to `TableAccordionContentSingle` * renamed `TableAccordionTr` to `TableAccordionContentRow` * added typing to `TableAccordionContext` ### Other * `PropertiesTable` now treats values `null` the same as `undefined` --------- Co-authored-by: Tobias Høegh <tobias@tujo.no>
- Loading branch information
1 parent
83b05cf
commit 6045e42
Showing
18 changed files
with
480 additions
and
284 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
95 changes: 0 additions & 95 deletions
95
packages/dnb-eufemia/src/components/table/TableAccordionTd.tsx
This file was deleted.
Oops, something went wrong.
89 changes: 0 additions & 89 deletions
89
packages/dnb-eufemia/src/components/table/TableAccordionTr.tsx
This file was deleted.
Oops, something went wrong.
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.