Skip to content

Releases: knobkit/knobkit

knobkit@0.0.7

10 Jun 23:57

Choose a tag to compare

knobkit 0.0.7

Maintenance release — no library or API changes since 0.0.6.

  • ci: automated npm publishing via a tag-triggered GitHub Actions workflow
    (Trusted Publishing / OIDC), with a tag↔version guard, typecheck/test/build
    gate, and an auto-created GitHub Release.

create-knobkit bumped in lockstep so new scaffolds pin ^0.0.7.

knobkit 0.0.6

10 Jun 18:40

Choose a tag to compare

A live playground, a fill layout, and editor upgrades

knobkit playground — a new CLI command: a split-pane REPL with the editor on the left and your running app on the right, wrapping the normal dev server (Vite HMR for mount, server restart for serve). Edits round-trip to disk, an external edit (your editor, or an agent) flows back into the editor, and a file picker switches between the project's source files — the editor re-highlights per language.

knobkit({ fill: true }) — a full-bleed, viewport-filling app-shell layout instead of the centered card, for split panes and dashboards.

Widget upgrades

  • codewrap soft-wraps long lines, and language is now switchable at runtime via setLanguage().
  • chatmarkdown renders assistant replies as markdown (reusing the output renderer); enabled in the browser-chat example.

create-knobkit is bumped in lockstep, so new scaffolds pin ^0.0.6.

npm install knobkit@0.0.6 · Requires Node ≥ 22.

knobkit 0.0.5

10 Jun 10:39

Choose a tag to compare

Fixes — dark-mode contrast in library-rendered widgets

Both the table and chart widgets render through third-party libraries that inject their own (untokenized) styles, so they ignored the knobkit dark theme:

  • table (revo-grid) — rendered dark-on-dark / unreadable in dark mode. RevoGrid ships defaults on an unlayered rule that outranked knobkit's token mapping; the --revo-grid-* overrides are now !important, so the grid follows the theme in light and dark.
  • chart (recharts) — the hover tooltip was a hardcoded white popup. Its content/label/cursor now draw from --pu-* tokens, so it matches the theme.

npm install knobkit@0.0.5 · Requires Node ≥ 22.

knobkit 0.0.4

10 Jun 09:59

Choose a tag to compare

Highlights

Theming — light / dark + density. Two orthogonal axes spanning every widget, driven by one CSS token system:

  • themesystem (default; follows the OS via prefers-color-scheme), light, or dark.
  • densityxs | sm | md | lg | xl (default md) — scales spacing, control sizes, radii, and type, from packed dashboards to spacious forms.
  • Set at authoring time — knobkit({ theme, density }) — or flip at runtime with setTheme / setDensity. Both are inherited, so either can be scoped to a single container. Covers the lib-backed widgets too (code/CodeMirror, table/revo-grid, chart).

Also

  • Brand — K-Tile logo, favicon, social banner, new tagline.
  • Live playground — moved to the knobkit.github.io repo; the README now leads with a demo + a speech-to-text quick start.
  • CI — GitHub Actions (typecheck · test · build) with a status badge, on node24 runners.

npm install knobkit@0.0.4 · Requires Node ≥ 22.

knobkit 0.0.3

10 Jun 09:58

Choose a tag to compare

  • CLI entry resolutionknobkit dev / build / serve resolves the entry from your package.json "main" (like vite) instead of a hardcoded demo.tsx. Pass a file to override.
  • Lockstep versioningknobkit and create-knobkit version together; scaffolds now pin ^<create-knobkit version> instead of latest, so a stale cached create installs the knobkit its templates were built for.
  • README rewrite — canonical in packages/knobkit, symlinked at the repo root.

npm install knobkit@0.0.3 · Requires Node ≥ 22.

knobkit 0.0.2

10 Jun 09:58

Choose a tag to compare

First tagged release of knobkit.

  • create-knobkit — scaffold a new app with npm create knobkit@latest.
  • frame and embed widgets.
  • Standalone browser runtime (knobkit/browser) — run authored apps with no bundler; exact-match CLI alias.
  • Single-file browser bundle fix (codeSplitting: false).
  • npm metadata, badges, and a runnable headline in the README.

npm install knobkit@0.0.2 · Requires Node ≥ 22.