@proto.ui/module-boundary
v0.3.0
Published
Proto UI module that provides interaction-boundary capability.
Readme
@proto.ui/module-boundary
Proto UI module that provides interaction-boundary capability.
Purpose
Provides boundary judgments such as click-outside and focus-outside so prototypes can react to interactions that happen beyond their own region.
Current focus observation
boundary.observe('focus.move') requests host-proven current-focus samples. The Web bridge validates focusin against the current active element; Boundary reuses its disjoint-region classifier and emits observation: 'focus.move'. Pointer/focus samples share one press owner until release/cancel or a new key/press, without moving focus. Missing host support fails closed and reports a diagnostic. Native/Compiler focus sampling and browser-chrome focus loss are not implemented by this slice.
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/impl.tssrc/index.tssrc/types.tssrc/web/
Related Internal Packages
@proto.ui/core@proto.ui/module-base@proto.ui/module-event@proto.ui/types
License
MIT
