feat(demo): replace blur with asterisk masking of user data via React context

This commit is contained in:
Offending Commit
2026-04-27 14:18:01 -05:00
parent 4f51ceae89
commit 8f9d806eef
11 changed files with 75 additions and 47 deletions

View File

@@ -8,3 +8,7 @@ export function applyDemoMode(enabled: boolean): void {
document.documentElement.setAttribute("data-demo", String(enabled));
localStorage.setItem(DEMO_KEY, String(enabled));
}
export function maskValue(value: string): string {
return value.replace(/\S/g, "*");
}