• 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
  • v0.5.0 840504843a

    v0.5.0 — visual upgrade: 7 new components + theming API
    ci / build-and-design (push) Failing after 1s
    Stable

    jason released this 2026-07-23 10:07:04 -05:00 | 11 commits to main since this release

    New components

    • FormField, Checkbox, Switch, Tabs, Tooltip, Skeleton, Pagination

    Theming

    • New ThemeProvider, ThemeScript, useTheme hook, and Theme / ResolvedTheme types (existing setTheme / toggleTheme retained — backward compatible)

    Infrastructure

    • Design token system (tokens.json + generated theme CSS) and font CSS
    • Showcase app under showcase/
    • Vitest test suite (tests/)
    • CI workflow updates

    Additive, backward-compatible release — no public exports were removed.


    Install (added 2026-08-07)

    This version is now published to the Gitea npm registry — the first package on it. Consuming apps no longer need git+https://, which triggered the prepare build and pulled devDependencies into their Docker builds.

    # .npmrc  (gitignore the real one — it holds a token)
    @jason:registry=https://git.alwisp.com/api/packages/jason/npm/
    //git.alwisp.com/api/packages/jason/npm/:_authToken=${GITEA_NPM_TOKEN}
    
    npm install @jason/ui-kit
    

    Publishing needs write:package; installing needs read:package. The existing CI REGISTRY_TOKEN already carries read:package, so Docker builds on the Gitea runner need no new secret.

    Package payload is 48.4 kB: prebuilt dist, tokens.json, three stylesheets, and tailwind-preset.cjs.

    First consumer: jason/snap.

    Downloads
  • v0.4.1 9d7f593307

    v0.4.1 — danger Button fix
    ci / build-and-design (push) Failing after 10s
    Stable

    jason released this 2026-07-16 11:14:47 -05:00 | 13 commits to main since this release

    Fix: danger Button variant uses text-bg instead of white for correct contrast against the danger background.

    Downloads
  • v0.4.0 27d8225369

    v0.4.0 — themed Select + Spinner/EmptyState/StatCard
    ci / build-and-design (push) Failing after 1s
    Stable

    jason released this 2026-07-16 07:55:34 -05:00 | 14 commits to main since this release

    Shared design foundation.

    Since v0.1.0:

    • v0.2.0 Label, Select, Textarea + Input size variant
    • v0.3.0 themed Radix Select popover (replaces native )
    • v0.4.0 Spinner, EmptyState, StatCard (AnimatedNumber + intents)
    • Install: git+https://git.alwisp.com/jason/ui-kit.git#v0.4.0

    Downloads