Skip to content

v0.2.0

Choose a tag to compare

@truehazker-eti truehazker-eti released this 30 Jun 16:03
· 6 commits to main since this release
60547dc

What's Changed

✨ Features

  • Tabbar — new accessible segmented control following the WAI-ARIA tabs pattern: roving tabindex, arrow/Home/End keyboard navigation with automatic activation, and generic over the tab value type.
  • Tree-shakeable output — the package now emits per-module output (tsdown unbundle). Importing PrimaryButton no longer pulls in vaul-base (BottomSheet's dep) or @unovis (chart's dep); your bundler drops what you don't use. CSS is marked as a side effect so styles survive tree-shaking.

⚠️ Breaking Changes

  • PriceChart moved to the ./chart subpath. Its @unovis dependency uses extensionless directory imports that raw Node ESM/SSR rejects, so the chart is quarantined to keep the main entry importable everywhere. Update your imports:

    - import { PriceChart } from "@alien-id/ui-kit-react";
    - import "@alien-id/ui-kit-react/styles.css";
    + import { PriceChart } from "@alien-id/ui-kit-react/chart";
    + import "@alien-id/ui-kit-react/chart.css";

    PriceChart must be consumed through a bundler (Vite, webpack, Next, esbuild).

🧰 Internal

  • Migrate color tokens to the oklch color space; add --alien-color-text / --alien-color-neutral-alpha and give tertiary buttons an explicit text color. Disabled text now resolves to a legible solid color instead of a near-invisible alpha.
  • Split tests into chromium browser and node vitest projects; add esbuild-based tree-shake assertions that verify what actually ships per import.
  • Bump toolchain (tsdown 0.22, TypeScript 6.0, Storybook 10.4, vitest 4.1) and @unovis to 1.6.7.

Full Changelog: v0.1.5...v0.2.0

Co-Authored-By: Skrrt Bot bot@skrrt.sh

Full Changelog: v0.1.5...v0.2.0