Add reusable centered DOM modal resizing with preference adapter
This commit is contained in:
@@ -420,7 +420,9 @@
|
||||
],
|
||||
"domPackage": "@nodedc/ui-dom",
|
||||
"domExports": [
|
||||
"createModalController"
|
||||
"createModalController",
|
||||
"createModalSizeController",
|
||||
"fitModalSize"
|
||||
],
|
||||
"domContract": [
|
||||
"nodedc-overlay",
|
||||
@@ -437,7 +439,8 @@
|
||||
"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",
|
||||
"Escape and Tab belong to the focused or topmost visible modal; parent windows do not dismiss behind nested settings."
|
||||
"Escape and Tab belong to the focused or topmost visible modal; parent windows do not dismiss behind nested settings.",
|
||||
"DOM modal resizing shares eight canonical edge handles, centered viewport bounds and keyboard Shift+arrow control; onSizeCommit runs only for completed user changes."
|
||||
],
|
||||
"rules": [
|
||||
"headerActionsPlacement=before-close places context actions between the move toggle and close in both visual and keyboard order; the default preserves existing consumers.",
|
||||
|
||||
Reference in New Issue
Block a user