@proto.ui/module-overlay
v0.3.0
Published
Proto UI module that provides overlay capability for adapters.
Readme
@proto.ui/module-overlay
Proto UI module that provides overlay capability for adapters.
Purpose
Provides overlay capability to adapters running Proto UI prototypes.
Focus-outside policy
overlay.configure({ closeOnFocusOutside: true }) consumes Boundary current-focus observations and closes with focus.outside. Trigger, anchor, content and provably owned children stay inside. Pointer outside remains a separate opt-in policy; the same press does not cause another focus dismissal. Overlay does not restore or redirect focus for this policy. Components with dynamic alert/controlled-owner rules can observe Boundary focus.move directly and request their owner before changing logical open. Missing host focus support does not fabricate close.
Package Role
Adapter-facing module package used by the Proto UI runtime and adapter layer.
Install
Unpublished release preparation:
0.3.0has not been published. The command below is an example for use after publication; it is not currently an installable version.
npm install @proto.ui/[email protected]Internal Structure
src/caps.tssrc/create.tssrc/escape-coordinator.tssrc/impl.tssrc/index.tssrc/types.tssrc/web/
Related Internal Packages
@proto.ui/core@proto.ui/module-anatomy@proto.ui/module-base@proto.ui/module-boundary@proto.ui/module-event@proto.ui/module-positioning@proto.ui/types
License
MIT
