Releases: knobkit/knobkit
knobkit@0.0.7
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
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
code—wrapsoft-wraps long lines, andlanguageis now switchable at runtime viasetLanguage().chat—markdownrenders assistant replies as markdown (reusing theoutputrenderer); enabled in thebrowser-chatexample.
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
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
Highlights
Theming — light / dark + density. Two orthogonal axes spanning every widget, driven by one CSS token system:
theme—system(default; follows the OS viaprefers-color-scheme),light, ordark.density—xs | sm | md | lg | xl(defaultmd) — scales spacing, control sizes, radii, and type, from packed dashboards to spacious forms.- Set at authoring time —
knobkit({ theme, density })— or flip at runtime withsetTheme/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.iorepo; 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
- CLI entry resolution —
knobkit dev/build/serveresolves the entry from yourpackage.json"main"(likevite) instead of a hardcodeddemo.tsx. Pass a file to override. - Lockstep versioning —
knobkitandcreate-knobkitversion together; scaffolds now pin^<create-knobkit version>instead oflatest, so a stale cachedcreateinstalls 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
First tagged release of knobkit.
create-knobkit— scaffold a new app withnpm create knobkit@latest.frameandembedwidgets.- 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.