feat(icons): add visibility controls

This commit is contained in:
Codex
2026-08-22 11:24:07 +03:00
parent 51cb426c6b
commit c7e136cc14
4 changed files with 9 additions and 3 deletions
+3 -1
View File
@@ -209,7 +209,7 @@ const iconGroups: Array<{ title: string; note: string; icons: IconName[] }> = [
{ {
title: "Состояние и доступ", title: "Состояние и доступ",
note: "Вся платформа", note: "Вся платформа",
icons: ["check", "alert", "activity", "lock", "key", "shield", "circle"], icons: ["check", "alert", "activity", "lock", "key", "shield", "circle", "eye", "eye-off"],
}, },
{ {
title: "Сущности", title: "Сущности",
@@ -239,6 +239,8 @@ const iconLabels: Record<IconName, string> = {
database: "База данных", database: "База данных",
download: "Скачать", download: "Скачать",
edit: "Редактировать", edit: "Редактировать",
eye: "Показать",
"eye-off": "Скрыть",
expand: "Развернуть", expand: "Развернуть",
external: "Открыть снаружи", external: "Открыть снаружи",
file: "Файл", file: "Файл",
+1 -1
View File
@@ -19,7 +19,7 @@
| Окно и слой | `close`, `plus`, `expand`, `minimize`, `refresh`, `panel`, `apps` | | Окно и слой | `close`, `plus`, `expand`, `minimize`, `refresh`, `panel`, `apps` |
| Навигация | `chevron-left`, `chevron-right`, `chevron-down`, `grid`, `list`, `sliders`, `search` | | Навигация | `chevron-left`, `chevron-right`, `chevron-down`, `grid`, `list`, `sliders`, `search` |
| Редактирование | `save`, `edit`, `trash`, `copy`, `upload`, `download`, `external` | | Редактирование | `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` | | Сущности | `profile`, `users`, `building`, `globe`, `database`, `network`, `inbox`, `mail` |
| Контент | `image`, `video`, `file`, `folder`, `clipboard`, `settings` | | Контент | `image`, `video`, `file`, `folder`, `clipboard`, `settings` |
+4
View File
@@ -12,6 +12,8 @@ import {
Copy, Copy,
Database, Database,
Download, Download,
Eye,
EyeOff,
ExternalLink, ExternalLink,
FileText, FileText,
FolderOpen, FolderOpen,
@@ -62,6 +64,8 @@ const icons = {
database: Database, database: Database,
download: Download, download: Download,
edit: Pencil, edit: Pencil,
eye: Eye,
"eye-off": EyeOff,
expand: Maximize2, expand: Maximize2,
external: ExternalLink, external: ExternalLink,
file: FileText, file: FileText,
+1 -1
View File
@@ -29,7 +29,7 @@
"id": "state-access", "id": "state-access",
"label": "Состояние и доступ", "label": "Состояние и доступ",
"referenceSources": ["launcher", "seo", "task-manager"], "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", "id": "entities",