-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps)!: update react-table to v8 #707
Conversation
…-elements into dev/DS-936-update-react-data-table
…-elements into dev/DS-936-update-react-data-table
…-elements into dev/DS-936-update-react-data-table
…-elements into dev/DS-936-update-react-data-table
Storybook for this build: https://ds.equisoft.io/pr-707/ |
3eb36fe
to
394d4c3
Compare
* feat(Table): add headerAriaLabel prop * feat(Table): add aria label on header column def type * fix: tests * feat(Table): add aria-label warning for headers without text * feat(Table): fix header aria-label warning * feat(Table): fix eslint in table-header * feat(Table): use warn instead of error for aria label warning * feat(Table): fix storybook for header aria label --------- Co-authored-by: Savut Sang <[email protected]>
* feat(Table): manual sorting * fix: comments
0602db5
to
6b8c56a
Compare
…-elements into dev/DS-936-update-react-table
6b8c56a
to
89267c9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je peux pas promettre que j'ai tout analysé en détail mais ça me semble bon fonctionnellement!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 petits commentaires sinon LGTM! Et est-ce que tu pourrais documenter un peu plus ce qui est breaking comme changements dans nos interfaces, surtout pour la définition de colonnes? Ça me faciliterait un petit peu la vie quand je vais faire la release ;)
J'ai update le PR avec une section BREAKING CHANGES. |
edde2d1
to
0fef1f3
Compare
} | ||
if (currentSort === 'desc') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ça pourrait être un else if
Start the PR fresh but I had kept all the commits (previously #682)
React-Table V8 is pretty much a whole refactoring and has a lot of breaking changes from the previous version (including the columns definition).
https://tanstack.com/table/v8/docs/guide/migrating
BREAKING CHANGES
accessor
was renamed toaccessorKey
.Header
was renamed toheader
.Footer
was renamed tofooter
.Cell
was renamed tocell
.disable*
column options were renamed toenable*
column options.Others fixes: