feat!: move ui-components into web-components #90
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
The
ui-components
package does not export any types, relies on ava for testing as opposed to vitest like the other packages, and has some obsolete components like the MaterialUI react components which require babel. The types in particular have required workarounds such as manually declaring the module which doesn't work super well.Also, there's some obsolete wallet connection component in
web-components
that uses the local storage bridge to wallet.agoric.app which doesn't work with the latest browsers.Changes
This PR removes the
ui-components
package and moves the non-obsolete components toweb-components
with properly exported types. Also rewrote the tests in vitest instead of ava. This will make the repo easier to maintain and require clients to manage fewer dependencies.This PR also removes the old local-storage-reliant wallet connection component and all the associated
lit
dependencies.