feat(icons): add outlined unlocked state for compact tree actions

This commit is contained in:
Codex
2026-11-17 01:35:05 +03:00
parent 872f01cd27
commit 8539a211ed
7 changed files with 17 additions and 5 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
"dependencies": {
"@nodedc/page-patterns": "0.1.0",
"@nodedc/ui-core": "0.7.1",
"@nodedc/ui-react": "0.7.1",
"@nodedc/ui-react": "0.7.3",
"cesium": "1.147.0",
"react": "^19.1.0",
"react-dom": "^19.1.0"
+2 -1
View File
@@ -235,7 +235,7 @@ const iconGroups: Array<{ title: string; note: string; icons: IconName[] }> = [
{
title: "Состояние и доступ",
note: "Вся платформа",
icons: ["check", "alert", "info", "info-plain", "activity", "lock", "key", "shield", "circle", "eye", "eye-off"],
icons: ["check", "alert", "info", "info-plain", "activity", "lock", "unlock", "key", "shield", "circle", "eye", "eye-off"],
},
{
title: "Сущности",
@@ -290,6 +290,7 @@ const iconLabels: Record<IconName, string> = {
layers: "Слои",
list: "Список задач",
lock: "Закрыто",
unlock: "Открыто",
mail: "Приглашение",
minimize: "Свернуть",
network: "Связи",
+8
View File
@@ -55,3 +55,11 @@ hover, focus, disabled и pending принадлежат кнопке. `activity
BIM controls use `ruler` (dimension line with extension lines/arrows), `section` (model intersected by a plane), `isolate` (temporary visibility/glasses), `perspective`/`orthographic` (projection cubes), and `fit-view` (frame extents). `info-plain` is an unframed i for compact tree actions next to the visibility eye; use 14 px for both glyphs. They share the canonical stroke and accessible control behavior.
Semantic references: [Revit measurement](https://help.autodesk.com/cloudhelp/2024/ENU/Revit-Model/files/GUID-65EA44EC-C777-4C97-8718-5783C3A80B0A.htm), [temporary hide/isolate](https://help.autodesk.com/cloudhelp/2014/ENU/Revit-LT/files/GUID-A5E51D5E-8E18-4834-8A2F-8B4E3E6379A1.htm), [section box](https://help.autodesk.com/cloudhelp/2024/ENU/Revit-GetStarted/files/GUID-C9EA51CB-3214-4BD8-AD55-3BEB1CCD15B6.htm). Glyphs are original monochrome NODE.DC vectors; this does not claim copied Autodesk artwork or full Section Box functionality.
### Блокировка в дереве
`lock` / `unlock` показывают закрытый / открытый замок. Компактное действие
дерева использует прозрачную кнопку без `aria-pressed` и без белой активной
подложки; доступное имя описывает действие «Разблокировать» / «Заблокировать».
Состояние передаётся формой замка. Уменьшение glyph не уменьшает область нажатия.
+2 -2
View File
@@ -29,7 +29,7 @@
"dependencies": {
"@nodedc/page-patterns": "0.1.0",
"@nodedc/ui-core": "0.7.1",
"@nodedc/ui-react": "0.7.1",
"@nodedc/ui-react": "0.7.3",
"cesium": "1.147.0",
"react": "^19.1.0",
"react-dom": "^19.1.0"
@@ -2530,7 +2530,7 @@
},
"packages/ui-react": {
"name": "@nodedc/ui-react",
"version": "0.7.1",
"version": "0.7.3",
"dependencies": {
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@nodedc/ui-react",
"version": "0.7.1",
"version": "0.7.3",
"type": "module",
"files": [
"dist"
+2
View File
@@ -43,6 +43,7 @@ import {
ListChecks,
LocateFixed,
LockKeyhole,
LockKeyholeOpen,
MailPlus,
Map,
Maximize2,
@@ -136,6 +137,7 @@ const icons = {
list: ListChecks,
target: LocateFixed,
lock: LockKeyhole,
unlock: LockKeyholeOpen,
mail: MailPlus,
minimize: Minimize2,
network: Network,
+1
View File
@@ -102,6 +102,7 @@
"info-plain",
"activity",
"lock",
"unlock",
"key",
"shield",
"circle",