diff --git a/apps/catalog/src/CatalogApp.tsx b/apps/catalog/src/CatalogApp.tsx index e25b555..28271bf 100644 --- a/apps/catalog/src/CatalogApp.tsx +++ b/apps/catalog/src/CatalogApp.tsx @@ -209,7 +209,7 @@ const iconGroups: Array<{ title: string; note: string; icons: IconName[] }> = [ { title: "Состояние и доступ", note: "Вся платформа", - icons: ["check", "alert", "activity", "lock", "key", "shield", "circle"], + icons: ["check", "alert", "activity", "lock", "key", "shield", "circle", "eye", "eye-off"], }, { title: "Сущности", @@ -239,6 +239,8 @@ const iconLabels: Record = { database: "База данных", download: "Скачать", edit: "Редактировать", + eye: "Показать", + "eye-off": "Скрыть", expand: "Развернуть", external: "Открыть снаружи", file: "Файл", diff --git a/docs/ICONS.md b/docs/ICONS.md index 4e7fee9..6890ef6 100644 --- a/docs/ICONS.md +++ b/docs/ICONS.md @@ -19,7 +19,7 @@ | Окно и слой | `close`, `plus`, `expand`, `minimize`, `refresh`, `panel`, `apps` | | Навигация | `chevron-left`, `chevron-right`, `chevron-down`, `grid`, `list`, `sliders`, `search` | | Редактирование | `save`, `edit`, `trash`, `copy`, `upload`, `download`, `external` | -| Состояние и доступ | `check`, `alert`, `activity`, `lock`, `key`, `shield`, `circle` | +| Состояние и доступ | `check`, `alert`, `activity`, `lock`, `key`, `shield`, `circle`, `eye`, `eye-off` | | Сущности | `profile`, `users`, `building`, `globe`, `database`, `network`, `inbox`, `mail` | | Контент | `image`, `video`, `file`, `folder`, `clipboard`, `settings` | diff --git a/packages/ui-react/src/Icon.tsx b/packages/ui-react/src/Icon.tsx index fad0cc2..be9b2a2 100644 --- a/packages/ui-react/src/Icon.tsx +++ b/packages/ui-react/src/Icon.tsx @@ -12,6 +12,8 @@ import { Copy, Database, Download, + Eye, + EyeOff, ExternalLink, FileText, FolderOpen, @@ -62,6 +64,8 @@ const icons = { database: Database, download: Download, edit: Pencil, + eye: Eye, + "eye-off": EyeOff, expand: Maximize2, external: ExternalLink, file: FileText, diff --git a/registry/icons.json b/registry/icons.json index b9d1a25..b385287 100644 --- a/registry/icons.json +++ b/registry/icons.json @@ -29,7 +29,7 @@ "id": "state-access", "label": "Состояние и доступ", "referenceSources": ["launcher", "seo", "task-manager"], - "names": ["check", "alert", "activity", "lock", "key", "shield", "circle"] + "names": ["check", "alert", "activity", "lock", "key", "shield", "circle", "eye", "eye-off"] }, { "id": "entities",