new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

shadcn/ui · Components · all subjects

resizable/overview

4 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Resizable built on react-resizable-panels

The Resizable component is built on top of the react-resizable-panels library by bvaughn. The library provides the underlying functionality for accessible resizable panel groups and layouts with keyboard support.

react-resizable-panels v3 to v4 API changes

The following changes were made when updating react-resizable-panels from v3 to v4: PanelGroup is now Group, PanelResizeHandle is now Separator, direction prop is now orientation prop, defaultSize={50} is now defaultSize="50%", onLayout is now onLayoutChange, ImperativePanelHandle is now PanelImperativeHandle, ref prop on Panel is now panelRef prop, and data-panel-group-direction attribute is now aria-orientation. However, the shadcn/ui wrapper components (ResizablePanelGroup, ResizablePanel, ResizableHandle) remain unchanged.

Resizable built on react-resizable-panels

The Resizable component is built on top of react-resizable-panels library by bvaughn.

react-resizable-panels v3 to v4 migration mapping

Migration changes from react-resizable-panels v3 to v4: - PanelGroup renamed to Group - PanelResizeHandle renamed to Separator - direction prop renamed to orientation prop - defaultSize={50} changed to defaultSize="50%" - onLayout renamed to onLayoutChange - ImperativePanelHandle renamed to PanelImperativeHandle - ref prop on Panel changed to panelRef prop - data-panel-group-direction attribute changed to aria-orientation Note: The shadcn/ui wrapper components (ResizablePanelGroup, ResizablePanel, ResizableHandle) remain unchanged.

Give your agent this brain