feat(icons): add outlined unlocked state for compact tree actions
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@nodedc/page-patterns": "0.1.0",
|
"@nodedc/page-patterns": "0.1.0",
|
||||||
"@nodedc/ui-core": "0.7.1",
|
"@nodedc/ui-core": "0.7.1",
|
||||||
"@nodedc/ui-react": "0.7.1",
|
"@nodedc/ui-react": "0.7.3",
|
||||||
"cesium": "1.147.0",
|
"cesium": "1.147.0",
|
||||||
"react": "^19.1.0",
|
"react": "^19.1.0",
|
||||||
"react-dom": "^19.1.0"
|
"react-dom": "^19.1.0"
|
||||||
|
|||||||
@@ -235,7 +235,7 @@ const iconGroups: Array<{ title: string; note: string; icons: IconName[] }> = [
|
|||||||
{
|
{
|
||||||
title: "Состояние и доступ",
|
title: "Состояние и доступ",
|
||||||
note: "Вся платформа",
|
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: "Сущности",
|
title: "Сущности",
|
||||||
@@ -290,6 +290,7 @@ const iconLabels: Record<IconName, string> = {
|
|||||||
layers: "Слои",
|
layers: "Слои",
|
||||||
list: "Список задач",
|
list: "Список задач",
|
||||||
lock: "Закрыто",
|
lock: "Закрыто",
|
||||||
|
unlock: "Открыто",
|
||||||
mail: "Приглашение",
|
mail: "Приглашение",
|
||||||
minimize: "Свернуть",
|
minimize: "Свернуть",
|
||||||
network: "Связи",
|
network: "Связи",
|
||||||
|
|||||||
@@ -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.
|
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.
|
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 не уменьшает область нажатия.
|
||||||
|
|||||||
Generated
+2
-2
@@ -29,7 +29,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@nodedc/page-patterns": "0.1.0",
|
"@nodedc/page-patterns": "0.1.0",
|
||||||
"@nodedc/ui-core": "0.7.1",
|
"@nodedc/ui-core": "0.7.1",
|
||||||
"@nodedc/ui-react": "0.7.1",
|
"@nodedc/ui-react": "0.7.3",
|
||||||
"cesium": "1.147.0",
|
"cesium": "1.147.0",
|
||||||
"react": "^19.1.0",
|
"react": "^19.1.0",
|
||||||
"react-dom": "^19.1.0"
|
"react-dom": "^19.1.0"
|
||||||
@@ -2530,7 +2530,7 @@
|
|||||||
},
|
},
|
||||||
"packages/ui-react": {
|
"packages/ui-react": {
|
||||||
"name": "@nodedc/ui-react",
|
"name": "@nodedc/ui-react",
|
||||||
"version": "0.7.1",
|
"version": "0.7.3",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@dnd-kit/core": "^6.3.1",
|
"@dnd-kit/core": "^6.3.1",
|
||||||
"@dnd-kit/sortable": "^10.0.0",
|
"@dnd-kit/sortable": "^10.0.0",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@nodedc/ui-react",
|
"name": "@nodedc/ui-react",
|
||||||
"version": "0.7.1",
|
"version": "0.7.3",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"files": [
|
"files": [
|
||||||
"dist"
|
"dist"
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ import {
|
|||||||
ListChecks,
|
ListChecks,
|
||||||
LocateFixed,
|
LocateFixed,
|
||||||
LockKeyhole,
|
LockKeyhole,
|
||||||
|
LockKeyholeOpen,
|
||||||
MailPlus,
|
MailPlus,
|
||||||
Map,
|
Map,
|
||||||
Maximize2,
|
Maximize2,
|
||||||
@@ -136,6 +137,7 @@ const icons = {
|
|||||||
list: ListChecks,
|
list: ListChecks,
|
||||||
target: LocateFixed,
|
target: LocateFixed,
|
||||||
lock: LockKeyhole,
|
lock: LockKeyhole,
|
||||||
|
unlock: LockKeyholeOpen,
|
||||||
mail: MailPlus,
|
mail: MailPlus,
|
||||||
minimize: Minimize2,
|
minimize: Minimize2,
|
||||||
network: Network,
|
network: Network,
|
||||||
|
|||||||
@@ -102,6 +102,7 @@
|
|||||||
"info-plain",
|
"info-plain",
|
||||||
"activity",
|
"activity",
|
||||||
"lock",
|
"lock",
|
||||||
|
"unlock",
|
||||||
"key",
|
"key",
|
||||||
"shield",
|
"shield",
|
||||||
"circle",
|
"circle",
|
||||||
|
|||||||
Reference in New Issue
Block a user