@proto.ui/adapter-vue
v0.3.0
Published
Translates Proto UI prototypes into Vue component functions for use with Proto UI adapters.
Readme
@proto.ui/adapter-vue
Translates Proto UI prototypes into Vue component functions for use with Proto UI adapters.
Purpose
Translates Proto UI prototypes into Vue component functions that run through the Proto UI adapter contracts.
Document theme
The default colorScheme reader follows root class / data-theme markers and then the system preference. Mounted colorScheme Rule consumers update their existing style contribution when that effective value changes; view detach and terminal disposal release their subscription.
The guarantee is limited to the default getter in same-document light DOM without intervening local theme markers. An explicit getMeta keeps sampled behavior; subtree, ShadowRoot and cross-document equivalence remain outside this slice. See C-RULE-COLOR-SCHEME-0001 and T-RULE-COLOR-SCHEME-0001, both draft.
Package Role
Adapter package intended to be used together with Proto UI prototypes and the shared runtime stack.
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/adapt.tssrc/index.tssrc/platform/src/runtime/src/template.tssrc/types.ts
Related Internal Packages
@proto.ui/adapter-base@proto.ui/core@proto.ui/hooks@proto.ui/module-a11y@proto.ui/module-anatomy@proto.ui/module-as-trigger@proto.ui/module-axis-input@proto.ui/module-boundary@proto.ui/module-context@proto.ui/module-control-label@proto.ui/module-event@proto.ui/module-expose-event@proto.ui/module-expose-state@proto.ui/module-expose-state-web@proto.ui/module-feedback@proto.ui/module-focus@proto.ui/module-hit-participation@proto.ui/module-image-view@proto.ui/module-native-link@proto.ui/module-overlay@proto.ui/module-positioning@proto.ui/module-props@proto.ui/module-rule-expose-state-web@proto.ui/module-rule-meta@proto.ui/module-scroll@proto.ui/module-text-control@proto.ui/runtime@proto.ui/types
License
MIT
