# Upstream shadcn and ReUI fixes, ui-sdk beta.17, and OpenUI in a lab page

The packages/ui components were checked against shadcn and ReUI and their upstream fixes ported by hand, the UI packages moved to their newest versions past the quarantine, and OpenUI renders model-written UI with our own components on /lab/openui.

- **Upstream fixes, ported by hand.** Every shadcn and ReUI component in `packages/ui` was compared with the version it was installed from. From shadcn: carousel buttons that no longer jump when pressed, the focus ring and hover on choice cards (checkbox, radio, switch, `FieldLabel`), a message list that stays hidden until it reaches its scroll position, a `data-slot` on `Spinner`, drawer header and footer that no longer shrink ([b91e5cc4](https://github.com/CarlosZiegler/template-cloudflare/commit/b91e5cc4)). From ReUI: the cascader's Retry runs a failed search again and keeps focus, a saved value shows its path before the popup opens, `file-type` knows about 90 more types, and `date-selector` no longer freezes the current year under the React Compiler ([97451b39](https://github.com/CarlosZiegler/template-cloudflare/commit/97451b39)). The per-component tables and what was left out are in [`docs/measurements/2026-11-27-ui-registries-openui.md`](https://github.com/CarlosZiegler/template-cloudflare/blob/main/docs/measurements/2026-11-27-ui-registries-openui.md).
- **UI packages.** `@ui-sdk/core` and `@ui-sdk/react` 0.1.0-beta.17 (an agent's step now finds a component on another tab or page and opens it), `lucide-react` 1.80.0, `@headless-tree/*` 1.8.1, `@tanstack/react-virtual` 3.14.28; newer releases are still in the two-day quarantine. [Libraries](/docs/libraries) lists the pins ([14cd5009](https://github.com/CarlosZiegler/template-cloudflare/commit/14cd5009)).
- **OpenUI, rendered with our components.** `@openuidev/react-lang` 1.2.0 turns OpenUI Lang, which a model writes instead of text, into `packages/ui` wrappers and the shared data table. `/lab/openui` renders a fixed sample, replays it as a stream and shows the events its buttons send; the assistant does not use it yet. The install telemetry never runs and the development devtools, which would load code from a CDN, stay off. The lab chunk is 38.7 KB gzip and public pages load nothing new. [Generated UI with OpenUI](/docs/development/design#generated-ui-with-openui) has the rules and a proposal for the assistant ([b7e22f21](https://github.com/CarlosZiegler/template-cloudflare/commit/b7e22f21)).
- **Data table.** The rows-per-page select in the table pagination has an accessible name ([e75b44da](https://github.com/CarlosZiegler/template-cloudflare/commit/e75b44da)).
