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: "Состояние и доступ",
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<IconName, string> = {
database: "База данных",
download: "Скачать",
edit: "Редактировать",
eye: "Показать",
"eye-off": "Скрыть",
expand: "Развернуть",
external: "Открыть снаружи",
file: "Файл",
+1 -1
View File
@@ -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` |
+4
View File
@@ -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,
+1 -1
View File
@@ -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",