@starasia/admin 12.33.1 → 12.35.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.
@@ -1,5 +1,11 @@
1
1
  /**
2
2
  * Focus/open search when a single-key shortcut (default `/`) is pressed —
3
3
  * ignored while the user is typing in another field.
4
+ *
5
+ * Also stands down while any overlay (Dialog, or anything else registered via
6
+ * `registerOverlay`) is open. Without that guard this listener — attached to
7
+ * `window`, i.e. the very last stop in the bubble path — would run *after* a
8
+ * dialog's own shortcut handler and steal focus back to the search box sitting
9
+ * behind the dialog.
4
10
  */
5
11
  export declare function useSearchShortcut(key: string, onTrigger: () => void, enabled?: boolean): void;