Calls back on any click that lands outside every given element. Structured
like useFocusTrap (explicit activate/deactivate) - the caller is
responsible for wiring deactivate() into its own onBeforeUnmount.
Ported from luv-ui-library, found during the same follow-up re-scan that
found useFocusTrap there. Fully generic (no brand coupling).
Calls back on any click that lands outside every given element. Structured like
useFocusTrap(explicitactivate/deactivate) - the caller is responsible for wiringdeactivate()into its ownonBeforeUnmount.Ported from
luv-ui-library, found during the same follow-up re-scan that founduseFocusTrapthere. Fully generic (no brand coupling).