2.5 KiB
@shadcn/react
0.3.1
Patch Changes
- #11720
503a3a57aec9a3817e37f90aa0817b1fabd284d0Thanks @shadcn! - Setdata-pending-scrollon the MessageScroller root and viewport untildefaultScrollPosition("end"or"last-anchor") is applied, so the viewport can be hidden and a server-rendered transcript does not flash the top of the thread on reload.
0.3.0
Minor Changes
- #11414
3e54530e31020e2277df03490a30a08e3bc1792bThanks @shadcn! - Add the Questionnaire primitive for multi-step questions, freeform answers, validation, and keyboard navigation.
0.2.1
Patch Changes
-
#11106
f6a26478547c7057aeda82516666dc3473dc39bdThanks @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
dd6ce77cf1606eee2839368a97cc35417f763232Thanks @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
628e427231ca4bb7f586a69f99fe7809749a53e2Thanks @devnomic! - Fix MessageScroller firing "ResizeObserver loop completed with undelivered notifications" during streamed content growth by coalescing ResizeObserver callbacks into requestAnimationFrame.
0.2.0
Minor Changes
- #11022
18fcf0f766857a7249cc0daac3c1609610edd158Thanks @shadcn! - initial release of @shadcn/react