feat(ui): добавить плотные контролы для viewer

This commit is contained in:
Codex
2026-08-30 13:28:20 +03:00
parent c8f4916423
commit d51d8bb7f6
8 changed files with 82 additions and 5 deletions
+6 -1
View File
@@ -28,6 +28,7 @@
"domContract": ["nodedc-button", "nodedc-icon-button"],
"summary": "Text and icon actions with shared sizing, states and computed accent contrast.",
"variants": ["primary", "secondary", "ghost", "danger", "accent"],
"sizes": ["default", "compact", "dense"],
"shapes": ["default", "pill", "rounded"],
"rules": [
"Icon-only actions are circular by default.",
@@ -237,7 +238,11 @@
"package": "@nodedc/ui-react",
"exports": ["SegmentedControl"],
"domContract": ["nodedc-segmented"],
"summary": "Pill navigation used in the shared top header and compact mode switches."
"summary": "Pill navigation used in the shared top header and compact mode switches.",
"sizes": ["default", "dense"],
"rules": [
"Dense is reserved for high-density in-viewer layer and mode toolbars; application headers retain default geometry."
]
},
{
"id": "app-header",