@nezam.ai/web-field
v0.1.1
Published
Standalone browser field control package
Downloads
58
Readme
@nezam.ai/web-field
Standalone browser field control package.
The package now owns the field runtime, autocomplete combobox behavior, filter controls, technical-info popovers, and the CSS contract used by the demo pages.
Public API
renderControl(definition, runtime)for the full row renderercreateControl(definition, runtime)for the DOM control wrappercreateFieldInput(definition, fieldId, runtime)andcreateFieldReadOnlyInput(...)createFieldAutocompleteAttachment(input, field, fieldId, runtime, emitInput)createFieldFilterControl(definition, runtime)createTechnicalInfoControl(field, fieldId)
Demos
demos/index.htmlfor the gallery entry pointdemos/index.jsfor the gallery rendererdemos/demo-data.jsfor the standalone scenariosdemos/styles.cssfor the demo shell stylingdemos/serve.mjsfor the package-local demo server
Run
cd packages/web/field
npm run demo