feat(site): media element API reference builder (#1256)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Darius Cepulis
2026-04-07 14:49:33 -05:00
committed by GitHub
co-authored by Claude Opus 4.6
parent 0c8e19a4e0
commit cf357ad9a7
16 changed files with 1258 additions and 0 deletions
@@ -570,3 +570,30 @@ export interface PresetResult {
}
export { generatePresetReferences } from './preset-handler.js';
// ═══════════════════════════════════════════════════════════════════════
// MEDIA ELEMENT REFERENCE PIPELINE
// ═══════════════════════════════════════════════════════════════════════
export interface DelegatePropertyDef {
type: string;
description?: string;
readonly: boolean;
}
export interface MediaElementReference {
name: string;
tagName: string;
delegateProperties: Record<string, DelegatePropertyDef>;
nativeAttributes: string[];
events: string[];
cssCustomProperties: Record<string, { description: string }>;
slots: string[];
}
export interface MediaElementResult {
name: string;
reference: MediaElementReference;
}
export { generateMediaElementReferences } from './media-element-handler.js';