@gluonjs/core / 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
preview?
readonlyoptionalpreview?:string
Optional stable Storybook or docs preview id.
states?
readonlyoptionalstates?: readonlystring[]
Public interaction/loading/error states shown by the generated catalog.
status
readonlystatus:"stable"
styles?
readonlyoptionalstyles?: readonlystring[]
Stable component stylesheet ids retained when this entry is rendered.
tests
readonlytests: readonlystring[]
variants?
readonlyoptionalvariants?: readonlystring[]
Public visual variants shown by the generated component catalog.
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);