diff --git a/CHANGELOG.md b/CHANGELOG.md index 25420036..c3adfbe2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,12 +10,19 @@ contract — modules that are not exported are internal and may change in any re ## [Unreleased] -### 0.1.0 — first release +### Breaking changes since 0.1.0 + +- **`AuthLayout` no longer defaults its decorative panel to `DitherCanvas`.** The panel is + now an explicit `panel` slot with no fallback — pass ``, + ``, or any other content. A caller that omitted `panel` to + get the dither canvas for free now gets a bare panel instead. + +## [0.1.0] - 2026-09-17 Nothing has been published before this, so the list below is what the surface consists of rather than what changed. -- **106 public modules** — 89 UI components, 3 block modules, 1 hook and 13 `lib` modules, +- **197 public modules** — 152 UI components, 5 block modules, 16 hooks and 24 `lib` modules, importable by subpath (`@corbits/react-ui/ui/button`) or from the root. Output is per-file ESM with matching declarations; the package is side-effect free apart from its CSS, so either import style bundles only what you used. @@ -46,21 +53,16 @@ rather than what changed. `@tanstack/react-query` outside the adapter, and on anything reachable from the root barrel importing an optional peer. - **Peer dependencies** — React 18 or 19, `react-dom`, `lucide-react` (0.545 or 1.x), - `sonner`, `@radix-ui/react-dialog` and `@radix-ui/react-slot`. + `sonner`, `@radix-ui/react-dialog`, `@radix-ui/react-dropdown-menu`, + `@radix-ui/react-slot` and `@radix-ui/react-tooltip`. **`@tanstack/react-query` is optional** — needed only for the TanStack adapter, which is why that adapter is importable by subpath but absent from the root entry. -### Breaking changes since 0.1.0 - -- **`AuthLayout` no longer defaults its decorative panel to `DitherCanvas`.** The panel is - now an explicit `panel` slot with no fallback — pass ``, - ``, or any other content. A caller that omitted `panel` to - get the dither canvas for free now gets a bare panel instead. - #### Notes - The package ships **no `"use client"` directives**. A React Server Components consumer marks its own client boundary; see the README. - `lib/chart-geometry` and `lib/chart-palette` are internal and deliberately not exported. -[Unreleased]: https://github.com/corbitsdev/react-ui +[Unreleased]: https://github.com/corbitsdev/react-ui/compare/v0.1.0...HEAD +[0.1.0]: https://github.com/corbitsdev/react-ui/releases/tag/v0.1.0 diff --git a/README.md b/README.md index 07ea7e2e..813620bf 100644 --- a/README.md +++ b/README.md @@ -1,53 +1,24 @@ # @corbits/react-ui React components for agent and workflow surfaces — chat, runs, schedules, artifacts, -analytics, collections. 106 modules, importable one at a time. +analytics, collections. 197 modules, importable one at a time. Licensed LGPL-2.1-only (see `LICENSE`). ## Install -```bash -npm install @corbits/react-ui react react-dom lucide-react sonner @radix-ui/react-dialog @radix-ui/react-slot -``` - -```bash -pnpm add @corbits/react-ui react react-dom lucide-react sonner @radix-ui/react-dialog @radix-ui/react-slot -``` - -```bash -yarn add @corbits/react-ui react react-dom lucide-react sonner @radix-ui/react-dialog @radix-ui/react-slot -``` +Not published to npm yet. ```bash -bun add @corbits/react-ui react react-dom lucide-react sonner @radix-ui/react-dialog @radix-ui/react-slot +bun add github:corbitsdev/react-ui react react-dom lucide-react sonner @radix-ui/react-dialog @radix-ui/react-dropdown-menu @radix-ui/react-slot @radix-ui/react-tooltip ``` -Installing straight from git works too, and is how a consumer picks up an unreleased -commit: - -```bash -bun add github:corbitsdev/react-ui -``` - -The package publishes `dist/` only, so a git install has to build on the way in. That is -what `prepare` (`scripts/prepare.mjs`) is for: when the package has been installed into a -`node_modules` tree and carries no `dist/`, it installs the build toolchain and runs the -build, so the consumer ends up with the same `dist/` a registry tarball would have carried. -It is a no-op when developing this repository, and a no-op when `dist/` already exists. - -Do not remove it without also publishing to a registry — the `exports` map points -exclusively at `dist/`, so a git install without a build resolves to files that are not -there, and the error surfaces in the consumer's tree where they cannot fix it. - -With **bun**, a git dependency's lifecycle scripts only run if the consumer trusts them: - -```json -{ "trustedDependencies": ["@corbits/react-ui"] } -``` +Until a registry publish, `npm install @corbits/react-ui` (and the pnpm/yarn/bun +registry equivalents) 404. Git is the install path. -Without that entry bun skips `prepare` silently and the install looks clean until the first -import fails. +The `prepare` hook builds `dist/` on the way in, and under bun that requires +trusting the package's lifecycle scripts +(`trustedDependencies: ["@corbits/react-ui"]`). React 18 or 19. `@tanstack/react-query` is an **optional** peer, needed only if you use `createTanstackDataPort()`; components take their data through a `DataPort` and work with diff --git a/package.json b/package.json index 2d281c17..7bfb7489 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "@corbits/react-ui", "version": "0.1.0", "description": "React components for agent and workflow surfaces.", + "author": "Sawyer Cutler ", "license": "LGPL-2.1-only", "type": "module", "sideEffects": [