Skip to content

Releases

v0.8.8 — W3C WebMCP, Angular 19+, Anti-Slop Checks & Light/Dark Contrast Calibration

Choose a tag to compare

@pinguxx pinguxx released this 26 Nov 23:53

Highlights

W3C WebMCP (Declarative Forms & Imperative Spec Parity)

  • Added toolname, tooldescription, toolautosubmit, and getToolSchema() to <el-form> so forms auto-register typed JSON Schema tools on navigator.modelContext with AbortSignal cleanup and prototype-pollution guards.
  • Added discoverFormTools(root), annotations: { readOnlyHint: true } on elementum_snapshot, async client.requestUserInteraction() guard support in registerWebMCP(), and an interactive live playground at examples/webmcp.html.

Angular 19+ Standalone Support

  • Added standalone Angular 19 starter (starters/angular/, live demo: https://angular-wc-e102.vercel.app), @angular/core auto-detection in npx @wcomp/elementum init, and angular support in MCP get_setup, get_bundle_plan, and completions.

Deterministic UI Anti-Slop Checks & Theme Studio DESIGN.md

  • Added deterministic UI craft warnings (transition: all, hardcoded inline hex colors, nested <el-card>, invalid :host-context() chains) to lint_accessibility / npx @wcomp/elementum check, plus one-click Copy DESIGN.md in Theme Studio.

Light & Dark Mode WCAG 2.2 AA Contrast Calibration

  • Fixed dark-mode ghost button contrast (2.18:1 → 8.11:1–9.84:1) and switched all 13 components using solid-fill tokens as foreground text/icons to semantic --el-color-*-text tokens (0 remaining).
  • Calibrated light-mode --el-color-success (#15803d, 5.02:1), --el-text-muted (#5c6370, 5.36:1), and added --el-color-info-text.

v0.8.7 — Motion Primitives, Zero :host-context() Dark Mode & Dynamic 113-Component Registry

Choose a tag to compare

@pinguxx pinguxx released this 25 Nov 00:49

What's Changed in v0.8.7

Added

  • 4 Motion & Data-Viz Components (113 Total): Added <el-shimmer-text>, <el-hold-button>, <el-usage-ring>, and <el-activity-grid>, synced across CEM, TypeScript definitions, React wrappers, MCP metadata, and catalog/registry demos.
  • Headless Motion Primitives (@wcomp/elementum/behaviors): Extracted createSpringEasing(), createFlipBehavior(), createInViewBehavior(), and createPointerTracker() into src/behaviors/motion.js, plus sliding indicator pills on <el-tabs> and <el-segmented-control>.
  • Dynamic 113-Component Registry (examples/registry.html): Rebuilt the registry catalog grid and filters to render all 113 components dynamically from examples/catalog-data.js.
  • Shared Attribute Helpers & Modular MCP: Added boolAttr() / numAttr() on Elementum and split Edge-pure mcp/resources.js & mcp/prompts.js from mcp/core.js.

Fixed & Hardened

  • Cross-Browser Dark-Mode Parity (Zero :host-context()): Migrated all 109 :host-context(...) rules across 38 component stylesheets to semantic --el-* custom properties and host attributes (0/113 dark-mode WCAG 2.2 AA contrast violations).
  • Security & Lifecycle Cleanup: Hardened Edge/SSR headers, Origin/CSRF guards, timer/effect cleanup, reduced-motion guards, and <el-separator> horizontal flex-layout sizing.

v0.8.6 — AG-UI Run Isolation & Path Allowlist, Table Filter Highlighting, Form Parity & Dark-Mode WCAG AA Contrast

Choose a tag to compare

@pinguxx pinguxx released this 24 Nov 04:13

Highlights in v0.8.6

  • AG-UI Run/Surface Isolation & Patch Allowlist (src/ag-ui.js): createAgUiStore(initialState, options) drops late STATE_DELTA and other events carrying stale runId or mismatched surfaceId values (recording them in store.rejectedEvents / onReject), supports strictRunId: true, and enforces RFC 6902 JSON Pointer prefix filtering via allowedPaths.
  • Reactive <el-table filter> & Safe Match Highlighting (src/components/el-table.js): Built-in case-insensitive row filtering, safe DOM-node <mark part="highlight"> match highlighting (zero innerHTML), highlight-only mode for server-filtered datasets, and an empty state.
  • Owning Form & HTMLFormElement Parity (src/elementum.js, src/components/el-form.js): Added el.form getter on Elementum, base FACE formResetCallback() / formDisabledCallback() fallbacks across all 17 controls, and ElForm parity (form, elements, toFormData(), checkValidity(), reportValidity(), requestSubmit()).
  • Dark-Mode Shadow DOM & WCAG 2.2 AA Contrast (0/109 violations): Fixed 131 dead :root[data-theme="dark"] Shadow DOM selectors across 33 components, calibrated dark-mode tokens and semantic foreground text tokens (--el-color-primary-text, etc.), and added e2e/dark-mode-contrast.spec.js.
  • Signal Runtime, React 19 & Keyboard Hardening: Fixed batch() fault isolation and AsyncSignal self-subscription loops (src/signal.js), React 19 boolean prop syncing (src/react/runtime.js), and WAI-ARIA arrow-key navigation in el-tree-view and el-calendar.
  • Exhaustive Formal Invariant Verifier & API Surface Audit: Wired npm run verify:formal (6 invariants, 6,162 states/topologies) and npm run audit:api (109 components, 17 FACE controls) into CI.
  • New Guides: Added docs/events.md and docs/authoring-components.md.

v0.8.5 — A2UI Live Validator & CodePen Export, APG Keyboard E2E, Multi-Arm Benchmark Runner & Toast Stacking Fix

Choose a tag to compare

@pinguxx pinguxx released this 23 Nov 23:53

Highlights in v0.8.5

  • Expanded Interactive Catalog E2E Sweep (e2e/catalog-sweep.spec.js): Real-browser click and state-transition verification across key interactive components (el-toast, el-toaster single-deck deduplication, el-dialog, el-drawer, el-number-flow, el-tabs, el-accordion, el-switch, el-dropdown), non-zero bounding-box checks across all 109 component sections, and vanilla init starter verification.
  • A2UI Live Schema/Security Validator & 1-Click CodePen Export (examples/a2ui.html): Editable JSON/JSONL inspector with live schema & security budget diagnostics (maxDepth: 32, maxComponents: 500, maxStringLength: 65536), Render Edited JSON, Copy Standalone HTML, and Open Surface in CodePen.
  • Enhanced npx @wcomp/elementum init [--example] (bin/elementum.js): Generates framework demo components (src/ElementumDemo.tsx, ElementumDemo.vue, ElementumDemo.svelte) and prints platform-aware next steps.
  • Multi-Arm AI-Agent Benchmark Matrix Runner (benchmarks/agent-eval/run-matrix.js, npm run bench:agents): Automatically discovers and scores all submissions under benchmarks/agent-eval/submissions/ using a shared Chromium browser and static server, outputting aggregate WCAG 2.2 AA and responsive overflow statistics.
  • WAI-ARIA APG Keyboard-Only State Machine E2E Suite (e2e/a11y-keyboard-apg.spec.js): Real-browser keyboard state-machine testing across all 10 complex composite widgets (el-dialog, el-alert-dialog, el-drawer, el-tabs, el-command, el-autocomplete, el-calendar, el-table, el-tree-view, el-navigation-menu).
  • Interactive 48-Second Workflow Walkthrough & CodePen Starter on Homepage (index.html): 4-step interactive <el-tabs> walkthrough and 1-click Open Starter in CodePen launcher.
  • Toast Deck Deduplication & Hover Expand (src/components/el-toast.js) & Drawer Button Click Fix (src/components/el-drawer.js).

v0.8.4 — Vanilla Starter Dark Theme Canvas, Toast Wiring & ElToaster Instance Methods

Choose a tag to compare

@pinguxx pinguxx released this 23 Nov 19:11

Fixed

  • Vanilla Starter index.html Dark Mode & Toast Wiring (bin/elementum.js): Updated generated index.html body background to var(--el-step-1, var(--el-surface-base)) and elementum-tokens.css to --el-color-primary so toggling <el-theme-switch> smoothly switches the entire page canvas between light and dark themes; wired Trigger Toast and modal Create buttons to toast.info() / toast.success() reading <el-input> signal .value.value.
  • <el-toaster> Instance Convenience Methods (src/components/el-toast.js): Added .show(), .success(), .error(), .warning(), .info(), and .clear() instance methods on ElToaster (delegating to the toast manager) and accepted opts.title as a fallback for opts.message.

v0.8.3 — Windows PowerShell & Symlink CLI Fix + Starter index.html for Vanilla Projects

Choose a tag to compare

@pinguxx pinguxx released this 23 Nov 19:00

Fixed

  • Windows & Symlink npx @wcomp/elementum init / check Execution (bin/elementum.js, mcp/server.js): Replaced new URL(import.meta.url).pathname (which prefixes /C:/ on Windows and fails path.resolve comparison against process.argv[1]) with fileURLToPath(import.meta.url) + fs.realpathSync symlink resolution so npx @wcomp/elementum init and npx @wcomp/elementum check execute reliably on Windows PowerShell/CMD, macOS, and Linux.
  • Vanilla Project Starter index.html (bin/elementum.js): When npx @wcomp/elementum init detects a vanilla project without an existing index.html, it now generates a ready-to-open index.html starter app alongside .mcp.json, .cursor/mcp.json, elementum.rules.md, and elementum-tokens.css.

v0.8.2 — Explicit A2UI Security Boundaries, Multi-Format MCP Snippets, CLI Linter & IDE Autocomplete

Choose a tag to compare

@pinguxx pinguxx released this 23 Nov 16:56

Added

  • Explicit A2UI Security Boundary (@wcomp/elementum/a2ui, docs/a2ui.md): Added configurable maxDepth (default 32), maxComponents (default 500), and maxStringLength (default 65,536) resource caps (A2UI_SECURITY_DEFAULTS), reactive URL scheme verification inside signal effect()s (href, src, action, formaction, poster, xlink:href), dangerous DOM sink/prototype stripping (innerHTML, outerHTML, srcdoc, __proto__), and allowedTypes option alias.
  • MCP validate_a2ui_messages & Multi-Format generate_snippet (mcp/core.js): Expanded the MCP server to 11 tools with declarative A2UI v0.8/v0.9 JSON validation and format: 'html' | 'react' | 'vue' | 'a2ui' snippet generation.
  • Local CI / Pre-Commit Linter (npx @wcomp/elementum check): Added elementum check [paths...] [--json] in bin/elementum.js to scan .html, .jsx, .tsx, .vue, and .svelte files against validate_component_usage and lint_accessibility.
  • Single-File Context & IDE Autocomplete (llms-full.txt, vscode.html-custom-data.json, src/ide-types.d.ts): Added npm run docs:ide generating llms-full.txt, VS Code HTML Custom Data, and global Vue 3 + Svelte tag declarations.
  • Declarative <el-dialog> Property Setter & Catalog CodePen Launcher: Added dialog.open = true | false getter/setter on ElDialog and 1-click Open in CodePen ↗ to examples/index.html.
  • Benchmark Provenance & Scope Qualifications (benchmarks/agent-eval/RESULTS.md): Documented tested model ID, temperature, single-pass turn budget, scoring runtime versions, raw output links, and explicit experimental scope limitations.

Fixed

  • Release Version Sync Gate (tools/check-release-sync.js, showcase.html, docs/stability-and-1.0.md): Extended npm run check:release to verify topmost CHANGELOG.md entry, showcase.html audit/evaluator card version references, and docs/stability-and-1.0.md evaluator headings.

v0.8.1 — Fix Vite/Rollup sideEffects Tree-Shaking & UI Polish

Choose a tag to compare

@pinguxx pinguxx released this 23 Nov 03:50

Hotfix Highlights

  • Vite / Rollup Custom Element Registration (package.json): Added ./src/index.js and ./src/react/index.js to sideEffects alongside ./src/components/*.js and ./src/tokens.css so bundlers never tree-shake away custom element registration when importing @wcomp/elementum or @wcomp/elementum/react.
  • Scoped Dark Mode (src/tokens.css): Added [data-theme="dark"] alongside :root[data-theme="dark"] for scoped dark containers.
  • Button Height Normalization (src/components/el-button.js): Normalized min-height and line-height across sm/md/lg variants.
  • Switch Track Collapse (src/components/el-switch.js): Added flex-shrink: 0 to .track.

v0.8.0 — A2UI Renderer, 100/100 Edge MCP, 109/109 Production Verified & Init CLI

Choose a tag to compare

@pinguxx pinguxx released this 23 Nov 01:51

Highlights

  • Declarative A2UI Renderer (@wcomp/elementum/a2ui): Zero-dependency A2UI JSON surface renderer (createA2UiSurface) with strict locked-catalog allowlist, two-way micro-signal bindings, TypeScript types, and live playground with JSONL agent stream simulation (examples/a2ui.html).
  • Zero-Dep Project Setup CLI (npx @wcomp/elementum init): Auto-detects Next.js, React, Vue, Svelte, Vite, or Vanilla, writes .mcp.json & .cursor/mcp.json, and drops in elementum.rules.md + starter tokens.
  • 100/100 Vercel Edge MCP Server: Pure-JS mcp/core.js + mcp/edge.js with zero Node built-ins, MCP 2025-03-26/2025-06-18 negotiation, JSON-RPC batching, and mcp/component-metadata.json.
  • 109 / 109 Production Verified + Hard-8 Stress Suite: 100% Production Verified coverage in QUALITY.md, plus dedicated Playwright + @axe-core/playwright stress tests for 1,200-row <el-table>, nested <el-dialog>, and RTL mobile touch viewports.
  • 150x+ <el-table> Speedup & Tree-Shaking: DocumentFragment fast-path rendering in el-table (1,200 rows in < 1s) and strict "sideEffects" in package.json.
  • Developer & Agent Ergonomics: Auto-generated ::part() & token reference (docs/styling-reference.md), 1-page Tailwind guide (docs/tailwind-guide.md), drop-in agent rules (docs/agent-rules-snippet.md), llms.txt, AGENTS.md, catalog HTML/React/Vue/A2UI copy tabs, upgraded Theme Studio, and 4-arm AI benchmark results (benchmarks/agent-eval/RESULTS.md).
  • Fixes: Single-event el-input/el-textarea (stopPropagation), el-dialog Escape data-state sync, el-badge WebKit contrast, el-autocomplete highlight contrast, el-dropdown ?inert aria-hidden-focus, and A2UI ChoiceChip selection race.

See CHANGELOG.md for full details.

v0.7.0 — Hardened React Wrappers, Multi-Framework Starters & 87/109 Production Verified

Choose a tag to compare

@pinguxx pinguxx released this 22 Nov 01:39

Highlights

Added

  • Multi-Framework Starter Templates & 3-Way Comparison (starters/): Added copy-paste, StackBlitz-ready starter projects for Vanilla HTML CDN, Next.js App Router + DSD SSR, React 19 + TypeScript, Vue 3, Svelte 5, and AI Chat UI, plus a measured 3-way Team Directory comparison across React, Vue 3, and Vanilla.
  • Ergonomic renderComponentToDSD Options Overload (src/ssr.js): Added 2-argument renderComponentToDSD(tagName, { children, ...attributes }) support alongside the existing 4-argument class signature.
  • Expanded Real-Browser E2E & WCAG 2.2 AA Suite (e2e/core-and-ai-suite.spec.js): Added Playwright + @axe-core/playwright audits across core form controls, navigation/overlays, data display, the full AI specialist suite, and live browser execution of examples/ledgerflow.html, raising QUALITY.md Production Verified coverage from 42 / 109 to 87 / 109 (79.8%).

Changed

  • Hardened @wcomp/elementum/react Runtime & Strict TypeScript:
    • Switched complex object/array property sync to isomorphic useLayoutEffect (pre-paint in browser, zero SSR warnings in Node.js).
    • Tracked applied object-prop keys and initial element defaults so removing a React prop cleanly resets stale signals and properties.
    • Removed loose [prop: string]: any; from ElementumReactBaseProps, added data-*, aria-*, FACE (name, form), and standard DOM event types, and derived unwrapped Signal<T> component props automatically.
    • Verified against real React 18 & React 19 consumers in tools/verify-react.js.

Fixed

  • <el-toaster> Empty-Viewport Click Interception: Set pointer-events: none on .toaster-viewport and .toast-list so empty toasters never block clicks on bottom-right page elements.
  • WCAG 2.2 AA Accessibility Fixes: Fixed list semantics in <el-breadcrumb> / <el-breadcrumb-item>, target-size obscuration in <el-rating>, and accessible spinbutton labeling in <el-number-field>.