import { FluentComponent } from '../core/fluent-component' import { createUniversalComponent } from '../core/component-factory' class FluentProgressInternal extends FluentComponent { static tag = 'fluent-progress' static override get observedAttributes() { return ['value', 'max'] } render() { const value = Number(this.getAttribute('value') || '0') const max = Number(this.getAttribute('max') || '100') const pct = Math.max(0, Math.min(100, Math.round((value / max) * 100))) this.shadowRootRef.innerHTML = `