Files
NODEDC_DESIGN_GUIDELINE/registry/icons.json
T

56 lines
2.2 KiB
JSON

{
"schemaVersion": "1.0.0",
"component": "Icon",
"package": "@nodedc/ui-react",
"baseLibrary": "lucide-react",
"defaultSize": 18,
"supportedSizes": [16, 18, 20],
"strokeWidth": 1.8,
"filledNames": ["play", "stop"],
"groups": [
{
"id": "window-layer",
"label": "Окно и слой",
"referenceSources": ["launcher", "engine"],
"names": ["close", "plus", "expand", "minimize", "refresh", "panel", "apps"]
},
{
"id": "navigation",
"label": "Навигация",
"referenceSources": ["launcher", "engine", "bim-viewer"],
"names": ["chevron-left", "chevron-right", "chevron-down", "grid", "list", "sliders", "search"]
},
{
"id": "editing",
"label": "Редактирование",
"referenceSources": ["launcher", "seo"],
"names": ["save", "edit", "trash", "copy", "upload", "download", "external"]
},
{
"id": "state-access",
"label": "Состояние и доступ",
"referenceSources": ["launcher", "seo", "task-manager"],
"names": ["check", "alert", "activity", "lock", "key", "shield", "circle", "eye", "eye-off"]
},
{
"id": "entities",
"label": "Сущности",
"referenceSources": ["launcher", "task-manager"],
"names": ["profile", "users", "building", "globe", "database", "network", "inbox", "mail"]
},
{
"id": "content",
"label": "Контент",
"referenceSources": ["seo", "bim-viewer", "engine"],
"names": ["camera", "plan", "play", "stop", "image", "video", "file", "folder", "clipboard", "settings"]
}
],
"rules": [
"Use semantic icon names from this registry instead of importing an application-local icon by shape.",
"Icons inherit currentColor; their button surface, active state and hit target are owned by Button, IconButton or the containing pattern.",
"Do not copy the complete Font Awesome or Lucide vendor catalog into application code.",
"A new icon requires a confirmed product use, a registry entry and a catalog specimen.",
"Playback icons play and stop are filled semantic glyphs; all other canonical glyphs remain outline unless their semantic contract says otherwise."
]
}