feat(ui): add measured level buttons and suspend modal hosts during scene editing
This commit is contained in:
@@ -412,7 +412,8 @@
|
||||
"backdrop close policy",
|
||||
"modal-only body scroll lock",
|
||||
"optional bounded dragging for modeless inspectors",
|
||||
"move toggle: preserve mounted contents and current size; remove dimming, backdrop close, scroll lock and focus trap; header drag and eight invisible resize regions"
|
||||
"move toggle: preserve mounted contents and current size; remove dimming, backdrop close, scroll lock and focus trap; header drag and eight invisible resize regions",
|
||||
"Escape and Tab belong to the focused or topmost visible modal; parent windows do not dismiss behind nested settings."
|
||||
],
|
||||
"rules": [
|
||||
"WindowFooterActions aligns modal actions to the trailing edge, including a footer with only one action group; actions wrap within narrow windows.",
|
||||
@@ -1357,8 +1358,28 @@
|
||||
"Header Enter/Space starts keyboard docking; arrows select edges, Shift+arrows the whole workspace, Tab cycles tools, Home floats, Escape cancels. Floating headers also support arrows and Shift+arrows for move/resize.",
|
||||
"Hidden tools retain their docking placement and remembered floating rectangle. Viewport clamps never overwrite preferred geometry.",
|
||||
"EditorWorkspace keeps one mounted portal host, moves it atomically when supported, and restores its original slot on return. It never changes the source-view layout.",
|
||||
"The fixed editor header is outside docking bounds. Back, edit completion and close return to the original view."
|
||||
"The fixed editor header is outside docking bounds. Back, edit completion and close return to the original view.",
|
||||
"When opened inside Window, the editor suspends that overlay, backdrop and focus trap without unmounting; returning restores the same window."
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "level-button",
|
||||
"status": "baseline",
|
||||
"package": "@nodedc/ui-react",
|
||||
"exports": [
|
||||
"LevelButton",
|
||||
"LevelButtonProps"
|
||||
],
|
||||
"domContract": [
|
||||
"nodedc-level-button"
|
||||
],
|
||||
"summary": "Compact measured resource level inside a canonical pill button opening details.",
|
||||
"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."
|
||||
],
|
||||
"documentation": "../docs/LEVEL_BUTTON.md"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user