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: onboard IST with elements button #98

Closed samsiegart closed 2 months ago

samsiegart commented 3 months ago

refs https://github.com/Agoric/ui-kit/issues/78

This PR bases off https://github.com/Agoric/ui-kit/pull/97, will move out of draft after that merges.

This will eventually be used in the provision-wallet-notice dialog (future PR), but can also be used standalone.

It uses the interchain-ui button component so it's themeable with the ThemeProvider and looks consistent with the network dropdown and wallet connection modal.

Also exposes leapElementsClient if clients need to use leap elements in a different context.

Testing

Tested with dapp-offer-up in https://github.com/Agoric/dapp-offer-up/commit/55946aed0a3ac1250b4d248a38956c4c7fecced1

Screenshots

image

image

cloudflare-pages[bot] commented 2 months ago

Deploying ui-kit with  Cloudflare Pages  Cloudflare Pages

Latest commit: a79ebb2
Status: ✅  Deploy successful!
Preview URL: https://d4ba633d.ui-kit-dwm.pages.dev
Branch Preview URL: https://provision-dialog.ui-kit-dwm.pages.dev

View logs