From e1112bbd5077bff7ae85c2ee397386cd9e9f2224 Mon Sep 17 00:00:00 2001 From: sdarbinyan Date: Mon, 20 Jul 2026 02:53:52 +0400 Subject: [PATCH] fix(icons): replace remaining hand-rolled inline SVGs with Lucide telegram-login: close X and lock icons (auth-gate icon reused across telegram-login and cart - same 'log in required' concept, now the same lock icon in both instead of two different hand-drawn shapes); retry/refresh icon (QR expired/error states, was duplicated). Added missing aria-label on the close button (had none). catalog-empty-state, category, subcategories, item-detail: empty-state illustrations (package/search/grid), add-to-cart icons, success/error status icons, and thumbs up/down vote icons replaced. Rating stars (item-detail, both product rating and per-review rating) now use one Star icon with a color input and a .dx-star--filled CSS class for the solid/outline toggle, instead of hand-toggling raw fill/stroke SVG attributes - fixes the same rating-star pattern being drawn two different ways (outline-only in the carousel earlier, fill-toggling here). Added color input to app-icon (was stroke-only via currentColor before) and four more icons to the registry: refresh, thumbsUp/Down, locate/mapPin (added earlier this session). Also fixed the currency-dropdown chevron in language-selector that a prior replace_all missed (same markup, different [class.rotated] binding target). Co-Authored-By: Claude Sonnet 5 --- .../language-selector.component.html | 4 +-- .../telegram-login.component.html | 20 +++-------- .../telegram-login.component.ts | 3 +- .../catalog-empty-state.component.html | 12 ++----- .../catalog-empty-state.component.ts | 3 +- .../pages/category/category.component.html | 7 +--- src/app/pages/category/category.component.ts | 3 +- .../category/subcategories.component.html | 13 ++----- .../pages/category/subcategories.component.ts | 3 +- .../item-detail/item-detail.component.html | 34 ++++++------------- .../item-detail/item-detail.component.scss | 8 +++-- .../item-detail/item-detail.component.ts | 3 +- src/app/shared/ui/icon/icon-registry.ts | 6 ++++ src/app/shared/ui/icon/icon.component.ts | 2 ++ 14 files changed, 46 insertions(+), 75 deletions(-) diff --git a/src/app/components/language-selector/language-selector.component.html b/src/app/components/language-selector/language-selector.component.html index 6190a1a..3918622 100644 --- a/src/app/components/language-selector/language-selector.component.html +++ b/src/app/components/language-selector/language-selector.component.html @@ -26,9 +26,7 @@
diff --git a/src/app/components/telegram-login/telegram-login.component.html b/src/app/components/telegram-login/telegram-login.component.html index 8debe8a..32bd6a8 100644 --- a/src/app/components/telegram-login/telegram-login.component.html +++ b/src/app/components/telegram-login/telegram-login.component.html @@ -1,16 +1,12 @@ @if (showDialog()) {