mirror of
https://github.com/luxwallet/ui.git
synced 2026-10-30 19:47:51 +00:00
WalletUIProvider takes a brand prop (any shape satisfying WalletBrand; a full @luxwallet/brand BrandConfig works), applies brand.theme tokens (explicit tokens win), and exposes the brand via BrandProvider context. ConnectWallet derives its IAM label from the brand short name (Continue with <shortName>) and the IAM subtext likewise — generic, org-name-free copy when no brand is set. Remove hardcoded 'Continue with Hanzo' / 'secured by Hanzo IAM' / 'Hanzo earnings' literals. UI stays prop-driven and does NOT import @luxwallet/brand. Add pure brandIamLabel/brandIamSubtext helpers + vitest test (3). typecheck clean.
12 lines
277 B
JSON
12 lines
277 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"noEmit": false,
|
|
"emitDeclarationOnly": true,
|
|
"outDir": "dist/types",
|
|
"rootDir": "src"
|
|
},
|
|
"include": ["src"],
|
|
"exclude": ["dist", "node_modules", "types", "src/**/*.test.ts", "src/**/*.test.tsx"]
|
|
}
|