Skip to content

v2.0.0 — Dependency-free rewrite (npm: type-tester-tdf)

Choose a tag to compare

@quitequinn quitequinn released this 16 Jun 08:15
· 18 commits to master since this release
b3b3dd4

First release of `type-tester-tdf` on npm — a ground-up, dependency-free rewrite.

```bash
npm install type-tester-tdf
```

Highlights

  • No runtime dependencies (drops jQuery, jQuery UI, BigText).
  • Vanilla JS core + data-* auto-init, plus an optional React component (type-tester-tdf/react).
  • Composable OpenType features (multiple active at once); spec-accurate labels; ss01ss20, case/ordn/cpsp.
  • Auto-fit via ResizeObserver + rAF debounce + fonts.ready (replaces BigText).
  • Safe DOM (no eval, no innerHTML); native accessible controls (range/button[aria-pressed]/select/checkbox panel with focus management).
  • Variable-font wght axis support; full destroy() teardown; no global state.
  • TypeScript types, ESM + CJS builds, 37 tests, CI.

Review

Closes the full panel review (#2#37): 2 Critical, 14 Major, 20 Minor findings, all resolved by the rewrite. A second review pass hardened auto-fit (ResizeObserver loop), feature grouping, ids, focus handling, and ARIA state.

The legacy v1 source is preserved at the v1.0.0 tag.