feat(ui): standardize inspector spacing and compact level geometry
This commit is contained in:
@@ -1096,7 +1096,8 @@
|
||||
"Inspector selection fields use InspectorSelectField only: a stacked visible label and the 276/8/46 px split control; integrated pills are prohibited.",
|
||||
"The panel variant reuses AdminNavigationPanel pill, icon and theme tokens while retaining the same controlled accordion state and domain-owned content.",
|
||||
"A section action is a sibling IconButton before the disclosure chevron, never nested in the trigger. It does not toggle the section. Panel chevrons point down when collapsed and up when expanded.",
|
||||
"Accent-filled section headers belong to Environment Settings; neutral headers remain available for other approved inspector contexts."
|
||||
"Accent-filled section headers belong to Environment Settings; neutral headers remain available for other approved inspector contexts.",
|
||||
"Default sections and optional header fields use the canonical 12 px spacing token; footer actions are centered with the same gap. Nested Inspectors retain this rhythm; the panel variant retains its compact row geometry."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -1368,7 +1369,8 @@
|
||||
"package": "@nodedc/ui-react",
|
||||
"exports": [
|
||||
"LevelButton",
|
||||
"LevelButtonProps"
|
||||
"LevelButtonProps",
|
||||
"LevelButtonGeometry"
|
||||
],
|
||||
"domContract": [
|
||||
"nodedc-level-button"
|
||||
@@ -1377,7 +1379,8 @@
|
||||
"rules": [
|
||||
"Consumer supplies a measured fraction and freshness; unknown is not zero.",
|
||||
"Stale retains the last number and accessible stale text; explicit user fill colours are retained.",
|
||||
"Keyboard, focus, disabled and pointer behavior come from Button. Explicit fillColor uses contrast-correct text on the filled portion."
|
||||
"Keyboard, focus, disabled and pointer behavior come from Button. Explicit fillColor uses contrast-correct text on the filled portion.",
|
||||
"Optional geometry sets width, height and radius with a 32 × 12 px minimum. At small dimensions the text and padding shrink proportionally; both contrast layers share the same type geometry. Consumer owns header-group offset."
|
||||
],
|
||||
"documentation": "../docs/LEVEL_BUTTON.md"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user