cloudflare/kumo @cloudflare/kumo@2.5.0
cloudflare/kumo
Captured source
source ↗published Jun 4, 2026seen 5dcaptured 12hhttp 200method plain
@cloudflare/kumo@2.5.0
Repository: cloudflare/kumo
Tag: @cloudflare/kumo@2.5.0
Published: 2026-06-04T18:46:30Z
Prerelease: no
Release notes:
Minor Changes
- 7401701: Sidebar: mobile rewrite, smooth collapse transitions, and new props
New features:
mobileBreakpointprop on Provider — configurable viewport width for mobile detectioncontentClassNameprop on Sidebar root — pass-through class for the inner content container- Controlled mobile state —
openprop now controls the mobile sidebar too, not just desktop
Fixes:
- Replaced Base UI Dialog mobile sidebar with a plain `` + backdrop for simpler, more predictable transitions
- Collapsible sections now animate closed smoothly when the sidebar collapses instead of snapping shut
- Removed
hiddenclass fromSidebar.MenuSubso sub-menus participate in collapse animations - Removed
inertValueReact-version helper —SidebarSlidingViewnow setsinertimperatively for React 18 compatibility - Restored
inerton closedSidebarCollapsibleContentwhile removing itsdata-openattribute
Styling:
bg-kumo-tint→bg-(--sidebar-active-bg)CSS variable for active/hover/focus backgrounds- Icon opacity
0.5→0.4; chevron gains hover opacity transition - Header gains
shrink-0and animated padding on collapse - Content scroll area gains animated
gaptransition andtabIndex={-1}on viewport - Sliding views container gains
max-w-(--sidebar-width)to prevent overflow - Mobile sidebar uses
--sidebar-animation-durationCSS variable for slide transition
Patch Changes
- f957dbc: Add React 18 and React 19 compatibility checks for Kumo tests.
- ac46184: Fix
Chart(andSankeyChart) rendering in dark mode. The chart canvas
now stays transparent so the surrounding bg-kumo-* surface shows through symmetrically in both modes, and ECharts' built-in "dark" theme is applied when isDarkMode is true so the tooltip card, axes, splitLines, and legend text are themed correctly.
- e25a3d6: fix(sidebar): add text truncation with ellipsis to Sidebar.MenuButton content
Previously, Sidebar.MenuButton used overflow-hidden which clipped long text without showing an ellipsis. Now uses truncate to match Sidebar.MenuSubButton's behavior.
- d3feec0: Fix segmented
Tabsscroll fade, scroll-into-view, and ring styling: - Rewrite CSS scroll-fade masking to use
@property-animated custom properties, fixing proportional fade rendering across browsers. - Scroll the selected tab into view on click so it stays visible in overflowing tab lists.
- Move
ring ring-kumo-hairline/70from the inner list to the root container so the segmented variant ring wraps the entire component correctly.
- f831482: Fix Flow connector rendering in Firefox by emitting valid SVG path data without array commas and setting visible overflow on the SVG element attribute.
- 4a8b992: Restore React 18-compatible Sidebar inert attribute handling while keeping the full React compatibility CI suite.
Notability
notability 3.0/10Routine point release of a tool