From aca33f470d844d35029493189fe97141dd0b474a Mon Sep 17 00:00:00 2001 From: heaven Date: Wed, 27 May 2026 18:24:24 +0300 Subject: [PATCH] fix(telegram-widget): embed password reveal as in-input eye icon matching the main auth form so the toggle no longer overflows on native --- apps/widget-telegram/src/App.tsx | 47 ++++++++++++++- apps/widget-telegram/src/styles.css | 93 +++++++++++++++++++---------- 2 files changed, 106 insertions(+), 34 deletions(-) diff --git a/apps/widget-telegram/src/App.tsx b/apps/widget-telegram/src/App.tsx index 724332a9..7a8e6a27 100644 --- a/apps/widget-telegram/src/App.tsx +++ b/apps/widget-telegram/src/App.tsx @@ -110,6 +110,34 @@ const QrIcon = () => ( ); +// Eye + eye-with-slash for the password reveal toggle. SVG paths +// copied verbatim from folds `Icons.Eye(false)` / `Icons.EyeBlind(false)` +// — the unfilled variants Vojo's main auth uses via +// `src/app/components/password-input/PasswordInput.tsx`. Importing folds +// into the widget bundle would pull the whole component library, so we +// inline the geometry. ViewBox 24×24 + `fill="currentColor"` matches +// the folds Icon component output bit-for-bit; the only divergence vs +// the host is the wrapper (folds `IconButton` vs our plain `