Agoric / ui-kit

Components and tools for building graphical UIs
https://ui-kit-dwm.pages.dev/
Apache License 2.0
3 stars 3 forks source link

feat!: move ui-components into web-components #90

Closed samsiegart closed 7 months ago

samsiegart commented 7 months ago

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 to web-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.