Files
zeekay 410517669f feat: scaffold @luxwallet/ui — cross-target wallet UI on @hanzo/gui
Shared Lux Wallet UI component library. One component tree renders on web
(react-native-web), browser extension, desktop, and native React Native by
mirroring @hanzo/gui's react-native/browser export conditions.

- @hanzo/gui as peer dep (not bundled); react + react-native peers. MIT, no GPL.
- Pure presentation: data + callbacks via props, zero @luxwallet/sdk imports,
  no signing / no RPC — fully decoupled from the core built in parallel.
- Primitives wrapping @hanzo/gui: Button, Card, AddressField, AmountInput,
  TokenRow, ChainBadge, QrView, ScreenScaffold.
- Screen shells (1:1 with lux/wallet/SCREENS.md): Portfolio, Send, Receive,
  Swap, Stake, Bridge, Signing, Settings, ConnectWallet (SIWx 5-chain picker:
  EVM/Solana/Bitcoin/TON/XRP).
- Lux brand theme tokens extending @hanzo/gui; runtime white-label via CSS
  vars (web) / theme (native) — no forks.
- WalletUIProvider wraps GuiProvider so apps mount one provider.
- TS strict; tsc --noEmit green against real @hanzo/[email protected].
2026-06-23 13:59:35 -07:00

2 lines
3 B
Plaintext