Interface: CssDocEntry
Defined in: packages/core/src/model.ts:352
One documented CSS record: its base class plus everything derived from the CSS + doc comments.
Properties
accessibility?
accessibility?: string;Defined in: packages/core/src/model.ts:376
Accessibility guidance, from @a11y/@accessibility.
animations
animations: CssAnimation[];Defined in: packages/core/src/model.ts:413
Animations (@keyframes) this component exposes.
annotations
annotations: CssAnnotation[];Defined in: packages/core/src/model.ts:444
Local annotation legend rows from @annotations, in author order.
className
className: string;Defined in: packages/core/src/model.ts:360
The base CSS selector — a class (.button), attribute ([data-layout="x"]), ID (#foo), or shadow-DOM pseudo (:host) — inferred from the first bare-class rule or set explicitly via @selector. Always non-empty (falls back to .${name} when inference fails).
compat
compat: string[];Defined in: packages/core/src/model.ts:450
Browser-support / feature-compatibility notes from @compat.
conditions
conditions: CssCondition[];Defined in: packages/core/src/model.ts:417
Conditional-support blocks (@container/@supports/@media) the rules sit under.
cssPropertiesConsumed
cssPropertiesConsumed: CssTokenConsumed[];Defined in: packages/core/src/model.ts:407
Design tokens this component consumes: every --* custom property referenced via var(...) inside its rules, each annotated with @tokens prose where authored (and including any @tokens-declared token not literally found via var()).
cssPropertiesDeclared
cssPropertiesDeclared: CssPropertyDeclared[];Defined in: packages/core/src/model.ts:409
Custom properties this component declares (@property) or documents (@cssproperty).
customBlocks?
customBlocks?: Record<string, string[]>;Defined in: packages/core/src/model.ts:468
Content of registered custom (block) tags, keyed by tag name without its @. Populated only for tags added via configuration; unregistered unknown tags are ignored. Absent when none were found.
decorators
decorators: CssDecorator[];Defined in: packages/core/src/model.ts:448
Record-level object-model decorators.
demo?
demo?: string;Defined in: packages/core/src/model.ts:436
@demo <spec> (e.g. self:button), when authored.
deprecated?
deprecated?: string;Defined in: packages/core/src/model.ts:438
Component-level deprecation replacement text, when authored (the argument to a @deprecated tag).
elements?
elements?: CssElementConstraints;Defined in: packages/core/src/model.ts:396
Allowed HTML elements from @element (default + optional named profiles).
exampleLabels?
exampleLabels?: Record<number, readonly string[]>;Defined in: packages/core/src/model.ts:421
Private @example labels, keyed by zero-based index into examples.
examples
examples: string[];Defined in: packages/core/src/model.ts:419
@example blocks, verbatim.
functions
functions: CssFunction[];Defined in: packages/core/src/model.ts:411
CSS custom functions (@function) this component defines.
global?
global?: boolean;Defined in: packages/core/src/model.ts:382
Set when this record carries a @global tag — its modifiers (and per-modifier @global flags) apply to any record, not just this record's base class. Used during validation and consumption checks to resolve modifier matches globally.
group?
group?: string;Defined in: packages/core/src/model.ts:374
A documentation group/category, from @group/@category.
kind
kind: CssRecordKind;Defined in: packages/core/src/model.ts:356
Which kind of CSS surface this documents (defaults to component).
layers
layers: CssLayer[];Defined in: packages/core/src/model.ts:415
Cascade layers (@layer) this component participates in.
memberDeclarations?
memberDeclarations?: CssMemberDeclaration[];Defined in: packages/core/src/model.ts:461
Structured parent-side member declarations from repeated @member tags.
memberOf?
memberOf?: CssMemberOf;Defined in: packages/core/src/model.ts:457
Declared family membership from @memberOf — this record is a member of another named record, optionally private (must only ever appear inside that parent). Absent when not authored.
members?
members?: string[];Defined in: packages/core/src/model.ts:459
Member record names from @members — the inverse direction, declared on the parent.
modifiers
modifiers: CssModifier[];Defined in: packages/core/src/model.ts:384
AST-extracted modifiers, annotated with @modifier prose where authored.
name
name: string;Defined in: packages/core/src/model.ts:354
The canonical record name from a record-opening tag, e.g. button.
parts
parts: CssPart[];Defined in: packages/core/src/model.ts:386
AST-extracted sub-element parts (class-based), annotated with @part prose where authored.
privateRemarks?
privateRemarks?: string;Defined in: packages/core/src/model.ts:366
Internal-only prose from @privateRemarks (emitters may choose to omit it from public output).
pseudoElements
pseudoElements: CssPseudoElement[];Defined in: packages/core/src/model.ts:390
Native pseudo-elements the component styles (::before, ::marker, …), from @pseudo or a selector.
refs
refs: number[];Defined in: packages/core/src/model.ts:446
Local annotation references from @ref, in author order.
related
related: CssRelated[];Defined in: packages/core/src/model.ts:452
Related components from @related.
releaseStage?
releaseStage?: CssReleaseStage;Defined in: packages/core/src/model.ts:368
Release maturity from @stage or a legacy maturity flag tag.
remarks?
remarks?: string;Defined in: packages/core/src/model.ts:364
Extended prose from @remarks.
see
see: string[];Defined in: packages/core/src/model.ts:440
@see <ref> cross-references.
shadowParts
shadowParts: CssPart[];Defined in: packages/core/src/model.ts:388
Shadow-DOM exposed parts (::part(name)), from @csspart or a ::part() selector.
since?
since?: string;Defined in: packages/core/src/model.ts:372
Version introduced, from @since.
slots
slots: CssSlot[];Defined in: packages/core/src/model.ts:394
Named slots the component shell exposes, from @slot.
source?
source?: CssSource;Defined in: packages/core/src/model.ts:463
Where the record was authored, when position info is available (for source links).
states
states: CssState[];Defined in: packages/core/src/model.ts:392
States the component reacts to, from @cssstate, :state(), pseudo-classes, or state classes.
structure?
structure?: StructureNode[];Defined in: packages/core/src/model.ts:427
The authored @structure element tree (top-level nodes), when present. When the @structure body uses @variant blocks (see structureVariants), this holds the first variant's nodes only, for back-compat with any code that hasn't been updated to read structureVariants.
structureDescription?
structureDescription?: string;Defined in: packages/core/src/model.ts:434
An optional prose description leading the @structure body, when authored.
structureVariants?
structureVariants?: StructureVariant[];Defined in: packages/core/src/model.ts:432
Alternative DOM shapes for this component, when the authored @structure body contains one or more top-level @variant blocks — absent for the common case of a single, non-variant structure.
summary?
summary?: string;Defined in: packages/core/src/model.ts:362
One-line summary from @summary.
todos
todos: string[];Defined in: packages/core/src/model.ts:401
Internal to-do notes, from @todo tags and /* @todo … */ inline comments. Development notes, not public API — emitters may omit them (like CssDocEntry.privateRemarks).
usage?
usage?: string;Defined in: packages/core/src/model.ts:442
Usage prose from @usage — how to include the stylesheet / use the component.
visibility?
visibility?: CssVisibility;Defined in: packages/core/src/model.ts:370
Audience visibility; absent means public.