Zum Inhalt springen

UI Updates & Release Notes

Einträge
48
Quellen
1
Zuletzt aktualisiert

Folge UI, um die Release Notes in deinen Feed zu holen.

UI von shadcn

@shadcn/react@0.2.1: Fehlerbehebungen im MessageScroller

@shadcn/react@0.2.1 behebt mehrere Fehler im MessageScroller, darunter das Scrollverhalten bei autoScroll und scrollAnchor während gestreamter Antworten, ein flackerndes Scroll-Button-Verhalten sowie die ResizeObserver-Fehlermeldung „loop completed with undelivered notifications“.

Patch Changes

  • #11106 f6a26478547c7057aeda82516666dc3473dc39bd Thanks @shadcn! - Fix MessageScroller autoScroll around anchored turns: the anchor hold now hands off to follow-output once the streamed reply fills the viewport, content growth outrunning the frame-coalesced resize handler no longer releases follow-output, and the scroll button no longer flickers while follow-output closes the gap a streamed chunk just opened.

  • #11100 dd6ce77cf1606eee2839368a97cc35417f763232 Thanks @shadcn! - Fix MessageScroller abandoning a newly appended scrollAnchor placement when autoScroll is enabled, so the anchored turn holds at the reading line while the reply streams.

  • #11085 628e427231ca4bb7f586a69f99fe7809749a53e2 Thanks @devnomic! - Fix MessageScroller firing "ResizeObserver loop completed with undelivered notifications" during streamed content growth by coalescing ResizeObserver callbacks into requestAnimationFrame.

Originalquelle(öffnet in neuem Tab)Problem melden

UI von shadcn

shadcn 4.11.1: Native Fetch und Abhängigkeits-Erhalt

shadcn@4.11.1 ersetzt node-fetch durch native fetch und bewahrt bestehende Versionsangaben in package.json bei shadcn add.

Patch Changes

Originalquelle(öffnet in neuem Tab)Problem melden

UI von shadcn

Neue Komponente Questionnaire für mehrstufige Fragenabläufe

Mit Questionnaire erscheint eine neue Komponente für mehrstufige Fragenabläufe wie Onboarding, Umfragen oder Agent-Rückfragen, verfügbar für Base UI, React Aria und Radix in allen acht Styles sowie als unstyled Primitive in @shadcn/react.

Today, we're releasing Questionnaire, a new component for multi-step question flows. Use it for agent clarification prompts, onboarding, surveys, intake forms, and configuration.

Questionnaire is available for Base UI, React Aria, and Radix across all eight styles.

"use client"

import * as React from "react"

Features

  • Single and multiple selection with native radios and checkboxes.
  • Freeform answers alongside fixed choices.
  • Explicit skipping for optional questions.
  • Previous, next, submit, and custom progress controls.
  • Required and custom validation.
  • Controlled navigation, saved defaults, and conditional questions.
  • Keyboard navigation with optional letter or number shortcuts.
  • Native form serialization and server-rendered collection state.
  • Standalone, Card, and Dialog composition.

Installation

pnpm dlx shadcn@latest add questionnaire

@shadcn/react

The <Questionnaire /> component is also available as an unstyled headless primitive in @shadcn/react. Read the docs to learn more.

[

View Questionnaire

](/docs/components/base/questionnaire)

Originalquelle(öffnet in neuem Tab)Problem melden