chore(site): rewrite media element builder for MediaHost architecture (#1334)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Darius Cepulis
2026-04-14 12:26:29 -05:00
committed by GitHub
co-authored by Claude Opus 4.6
parent b731cba6ba
commit d8cd59e0fd
11 changed files with 505 additions and 311 deletions
@@ -575,7 +575,7 @@ export { generatePresetReferences } from './preset-handler.js';
// MEDIA ELEMENT REFERENCE PIPELINE
// ═══════════════════════════════════════════════════════════════════════
export interface DelegatePropertyDef {
export interface HostPropertyDef {
type: string;
description?: string;
readonly: boolean;
@@ -584,7 +584,7 @@ export interface DelegatePropertyDef {
export interface MediaElementReference {
name: string;
tagName: string;
delegateProperties: Record<string, DelegatePropertyDef>;
hostProperties: Record<string, HostPropertyDef>;
nativeAttributes: string[];
events: string[];
cssCustomProperties: Record<string, { description: string }>;