Skip to content
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

Upgrade to v4.0 #265

Merged
merged 135 commits into from
Apr 24, 2021
Merged

Upgrade to v4.0 #265

merged 135 commits into from
Apr 24, 2021

Conversation

kennethnym
Copy link
Collaborator

This PR tracks the upgrade of this library to v4.0

Closes #262

@kennethnym kennethnym added dependencies Pull requests that update a dependency file Major change WIP labels Jul 1, 2020
@kennethnym kennethnym added this to the v4 milestone Jul 1, 2020
kennethnym and others added 10 commits July 11, 2020 14:15
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
* fix: add missing Table.Container element

* Address review feedback
* Define <Element /> and <Box /> component types

* Add typedefs for more components

* Add typedefs for more components

* Try to add support for renderAs prop

* brute forced every single html elements to apply dynamic props based on renderAs

* removed some html elements because too many cases breaks ts

* removed more html elements for renderAs props

* removed more html elements for renderAs props

* Tries to fix renderAs dynamic prop typing

* Clean up the code

* Add types for more components

* Tidy up code

* Add types for more components

* Add types for the remaining components

* clean up the code

* remove ref attribute; fix menu type def

* Add Table.Container type

* Add Table hoverable prop

* Remove List component
* remove sass and all dependencies

* Fix eslint issues

* update dev dependencies

* update Readme

* Fix prettier errors

* fix button ref test

* change Object.keys for Object.values
@coveralls
Copy link

coveralls commented Aug 23, 2020

Coverage Status

Coverage decreased (-5.3%) to 92.802% when pulling e8d9087 on next into dc696e2 on master.

@kennethnym
Copy link
Collaborator Author

@couds is this typescript structure good?

@couds
Copy link
Owner

couds commented Oct 8, 2020

@couds is this typescript structure good?

wdyt about moving the definitions that still are inside the src/index.d.ts to for example src/helpers/index.d.ts? I would prefer this src/index.d.ts only importing/exporting the definitions. that make sense?

@kennethnym
Copy link
Collaborator Author

kennethnym commented Oct 10, 2020

yeah that sounds alright to me. but how about a file called helpers.d.ts in src instead of creating a folder just for types? i think it's a bit awkward.

@couds couds marked this pull request as ready for review April 22, 2021 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file Major change WIP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

v4.0