- 51 headless Web Components (45 core + 6 animation) - Shared helpers: emit(), part(), listen(), wireLabel(), initialValue() - Zero `new CustomEvent` or `static #counter` — all use shared utils - Zod schemas for all 44 core components - MCP package with discover, inspect, compose, validate tools - Showcase with Aperture Science theme, M3 Expressive motion - 81 tests passing, TypeScript strict mode clean - Signals (~500B), SPA router (~400B), zero dependencies
7 lines
158 B
TypeScript
7 lines
158 B
TypeScript
import { PettyBadge } from "./badge";
|
|
export { PettyBadge };
|
|
|
|
if (!customElements.get("petty-badge")) {
|
|
customElements.define("petty-badge", PettyBadge);
|
|
}
|