@enonic/ui 1.5.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -225,6 +225,14 @@ If two actions use the same shortcut, the first registered action wins until it
225
225
  development builds warn.
226
226
  Buttons keep their ordinary focus, Enter, and Space behavior.
227
227
 
228
+ Built-in widgets yield Cmd/Ctrl+Enter and Cmd/Ctrl+Shift+Enter to the topmost dialog when it owns
229
+ the event. Open selectors, date and time pickers, menus, context menus, menubar menus, and staged comboboxes keep Enter
230
+ local to select or apply values. Their closed controls yield to the dialog. Other widgets yield
231
+ before changing selection, opening popups, or activating items.
232
+ The dialog reserves these chords even when its action is missing, disabled, or pending. Outside
233
+ the dialog's content and registered portals, widget keyboard behavior stays unchanged. Plain
234
+ Enter, Shift+Enter, and modifier combinations the dialog does not own retain their existing behavior.
235
+
228
236
  Use `shortcutEnabled={false}` to unregister a mounted action without disabling its button; set
229
237
  it on inactive views when they share a shortcut. A disabled `Dialog.Shortcut` can render outside
230
238
  `Dialog.Content`; enabled registration requires content. For platform-specific hints,