• v0.5.1 efc2238802

    jason released this 2026-08-24 22:41:29 -05:00 | 1 commits to main since this release

    Added

    • immediate prop on FadeIn and AnimatedNumber (#3, fixes #1) — both components previously only animated once scrolled into view. On a wall display or any short viewport that never fires, so stat tiles sat at 0 and content stayed at opacity: 0 forever. immediate (default false) runs the animation on mount instead. Existing callers are unchanged.
    <FadeIn immediate />
    <AnimatedNumber value={42} immediate />
    

    Fixed

    • CommandPalette item labels no longer render uppercase (#4, fixes #2) — uppercase / tracking-wide sat on Command.Group, so cmdk items inherited them and a label came out as REFRESH ATTENDANCE. Those styles now apply to [cmdk-group-heading] only.
    • Light-mode danger pinned to brand Terracotta #A42D20 (#5) — was #9B3D22. theme.generated.css regenerated from tokens.json. Dark danger (#D76F4A) and both dangerForeground values are unchanged.

    Chores

    • .gitignore now covers output/ and tmp/ demo-PDF artifacts, and .npmrc so a registry token can't be committed.
    • package.json / package-lock.json bumped to 0.5.1.

    Upgrading

    No breaking changes — a drop-in from v0.5.0.

    npm i git+https://git.alwisp.com/jason/ui-kit.git#v0.5.1
    

    If you consume danger in light mode, re-pull styles.css / the Tailwind preset so the regenerated token takes effect.

    Full changelog: v0.5.0...v0.5.1

    Downloads