@gluonjs/quarks / packages/quarks/src / UiContractEntry
Interface: UiContractEntry
Properties
accessibility
readonlyaccessibility:string
example
readonlyexample:string
extension
readonlyextension:string
kind
readonlykind:"behavior"|"factory"|"component"|"stylesheet"
name
readonlyname:string
status
readonlystatus:"stable"
styles?
readonlyoptionalstyles?: readonlystring[]
Stable component stylesheet ids retained when this entry is rendered.
tests
readonlytests: readonlystring[]
Example
Inspect one stable UI export's layer kind, accessibility responsibility, runnable example, and automated evidence:
import { quarkManifest, type UiContractEntry, type UiPackageManifest } from '@gluonjs/quarks';
const manifest: UiPackageManifest = quarkManifest;
const dialog: UiContractEntry | undefined = manifest.entries.find((entry) => entry.name === 'Dialog');
console.log(manifest.package, manifest.layer, dialog?.accessibility, dialog?.tests);