v0.5.1

Changelog

Notable changes to Paubha's components, CLI, and docs site.

2026-10-05 (CLI 0.5.1)

init respects src/ projects

Release: paubha CLI 0.5.1.

  • init detects a src/ folder and the tsconfig @/* alias, and writes components, lib/cn.ts and the token CSS under src/ so imports resolve.
  • add prints the import path relative to the alias (@/components/ui/button).
  • init and add warn when components.json points outside the alias. Projects initialised with an earlier version need to move those folders under src/ and update aliases and tailwind in components.json.

2026-10-05

Every component and pattern synced to Paubha-UI

Release: paubha CLI 0.5.0, in step with the Paubha-UI Figma file v1. The bundled skill.md was updated to match.

All 39 base components and every application pattern now match the Paubha-UI Figma file. Highlights, with the changes that can affect existing code:

  • Button: ghost is now tertiary, destructive is a boolean, and a 2xl size exists.
  • Avatar: status is now indicator, and there is a new type.
  • Badge: the root is a <span> with no default role="status".
  • Card: radius is 8px (was 12px) and there are new parts.
  • Checkbox: the checked state is outlined, not solid.
  • Input: shared 32/40/48/56px heights and a new 2xl size.
  • Date Picker: picking a day stages it, and the popover closes on Apply.
  • Logo: inline SVG with a pixel size prop.
  • Filter: new FilterPanel parts; ActiveFilters defaults to "Clear all filters".
  • Page Header: the root now carries its own border, background and padding.
  • Progress Steps: new variant (horizontal, vertical, numbered, description); markers match Figma.
  • User Menu: 264px panel with an account header, icon rows and a new UserMenuDivider.

Brand and gray palette values were re-synced to the Figma Primitives collection. Full per-batch notes and open questions live in SYNC_LOG.md.

Marketing examples rebuilt with real photography

All 13 marketing example pages were redesigned around local photos (Unsplash, downloaded into apps/www/public/examples) and live registry components instead of placeholder blocks. The Marketing Hero docs page was removed; the marketing-hero registry item is still published.

2026-08-22

Docs site wired to the real components

Every component page (/docs/components/*) now renders live previews and prop tables generated against each component's real TypeScript interface, instead of the placeholder pages from an earlier draft. Foundations pages (Colors, Typography, Spacing, Radius, Shadows & Blurs) now pull their values directly from tokens.css/theme.css rather than static copy.

Added: search (⌘K), per-page Open Graph images, and this changelog.

CLI: init and add

npx paubha init
npx paubha add button badge

init scaffolds components.json, tokens.css, theme.css, and lib/cn.ts, and installs the core dependencies. add resolves a component's registryDependencies recursively and dedupes files/deps across a multi-name add. add field pulls in input automatically.

19 free-tier components shipped

Button, Avatar, Badge, Input, Field, Textarea, Checkbox, Radio Group, Switch, Alert, Spinner, Divider, Skeleton, Progress Bar, Breadcrumbs, Tooltip, Dropdown Menu, Modal, and Tabs, each audited against the Figma design system, built with CVA + semantic tokens, and covered by a vitest-axe accessibility test with zero violations across every state.

Monorepo scaffold

Initial pnpm + Turborepo workspace: apps/www (docs site), packages/registry (component source of truth), packages/cli. Biome for lint/format, Vitest + Testing Library + vitest-axe for tests, Tailwind v4 CSS-first tokens.