Minor changes
- c2b2fc4
Add a
maskedoption toClipboardTextfor sensitive values that should be hidden initially and revealed on demand.
Latest updates and features. See what changed in each release.
Add a masked option to ClipboardText for sensitive values that should be hidden initially and revealed on demand.
Add the xAxisHideLabelOverlap prop to TimeseriesChart, defaulting to true.
Match CodeHighlighted loading and error fallback styling to highlighted code. Reset host app backgrounds, borders, and pre border radii to keep the frame and spacing consistent while syntax colors load.
Fix disabled Input text color. It used an undefined text-kumo-disabled token, so disabled inputs looked the same as enabled ones. It now uses text-kumo-inactive.
Fix Pagination page validation. The page input only accepts whole numbers written as digits, so it no longer calls setPage with NaN, fractions, or values like 0x10 and 1e1. Invalid input now restores the current page. With totalCount={0}, or when page is past the last page, Next and Last are disabled and nothing requests page 0.
Fix three TagInput bugs:
readOnly now prevents all value changes. Tags can no longer be removed with their remove buttons or Backspace, and new tags can't be added by typing, pasting, or blurring.name, each tag is submitted as its own form value, so the empty draft is no longer sent. With required, validation passes as soon as there is at least one tag.Fix TimeseriesChart crashing with RangeError: Maximum call stack size exceeded on large datasets. Marker clustering no longer spreads every timestamp into Math.max/Math.min, and is skipped entirely when the chart has no markers.
Add tooltipTimestampFormat to TimeseriesChart for formatting standard and marker tooltip timestamps in a consumer-selected time zone.
Add a segmented appearance to Radio groups for compact, mutually exclusive choices.
Add appearance="card" and orientation to Checkbox.Group, plus appearance and description to Checkbox.Item. Card groups render as one card with dividers (rows when vertical, a two-column grid when horizontal), matching Radio.Group's card appearance.
DropdownMenu submenu and row improvements:
data-popup-open).bg-kumo-tint highlight and rounded-md radius.SubContent's default sideOffset and alignOffset depend on the resolved side, so they stay correct if the submenu has to move above or below the trigger.data-starting-style / data-ending-style (the old data-[state=*] classes never matched).DropdownMenu.Positioner and DropdownMenu.Popup parts. Content and SubContent are built from them, and you can compose them yourself. DropdownMenu.Portal now respects KumoPortalProvider.SubTrigger's icon prop accepts Icon | ReactNode.gap-2, so element and component icons line up identically.inset still forces it.Add Base UI-style composable Popover parts while preserving the legacy Popover.Content API.
Render Radio.Group cards as one card with dividers (rows when vertical, a two-column grid when horizontal), give card radio controls a 1px ring, and tighten card groups' legend and description gaps to match Field.
Allow translating optional markers and label tooltip accessible names with KumoLocaleProvider, with Label-level overrides for custom content.
Add Slider component for picking a number, or a range between two numbers, by dragging a thumb along a track. Built on Base UI's Slider: pass an array to value or defaultValue for a range. Shows each thumb's value in a badge below the track and the minimum and maximum at either end, formats them with format, and supports sm and base sizes.
Allow LayerDialog actions to use a ButtonGroup split button for related alternate submit outcomes.
Fix Autocomplete highlighted item background to use bg-kumo-tint, matching Combobox and Select.
Apply dropdown icon spacing and sizing to element icons while preserving their custom classes.
Bump @base-ui/react to 1.9.0. Brings Base UI bug fixes across Menu, Popover, Select, Combobox, Drawer, Dialog, and more, plus the preview menu filtering primitives (Menu.FilterProvider, Menu.Input) via @cloudflare/kumo/primitives/menu.
Button and LinkButton: optically center text by lifting it slightly, and trim the leading padding when an icon precedes text so the icon side matches the trailing padding.
Stop throwing on malformed URL hashes while syncing table-of-contents sections. Hashes that can't be percent-decoded are matched as-is, so ids containing a literal % still deep-link.
Keep Popover arrows visible when content clips or scrolls by using a compatibility-safe opacity transition.
Remove unused Tabs indicator entrance animation styles.
Keep transient copy feedback visible until the final repeated copy click settles across Kumo copy controls.
Fix Flow connectors bending when nodes have a top margin by aligning connector offsets with their anchors.
Match a linkable Badge's focus outline to its pill shape.
Replace the internal class merging dependency with cn.
Stop LayerDialog.Body from clipping the top of its first child. The body now has a little top padding so a leading input's border and focus ring stay visible, and the top scroll fade no longer masks content in Safari before the scroll area is measured.
Restore LayerDialog.Actions.Primary and LayerDialogPrimaryProps as deprecated aliases of LayerDialog.Action and LayerDialogActionProps, so dialogs written against 2.14 keep working.
Fix Loader crashing with can't access property "height" in browsers with SVG disabled (e.g. Tor Browser at the "Safest" security level). The spinner is now sized via width/height SVG attributes instead of an inline style. Note that sizing classes passed via className (e.g. size-4) now take precedence over the size prop.
Hide outside-month dates by default in multi-month DatePicker views so dates and range highlights are not duplicated between panels. Preserve single-month behavior and explicit showOutsideDays overrides.
Fire Sidebar.Collapsible onOpenChangeComplete when the sidebar or mobile drawer shows or hides an open section. Before, the callback fired only when the section itself toggled.
Stop logging runtime warnings for deprecated Text heading variants. The variants remain marked as deprecated in the TypeScript API.
Render the Sidebar.MenuSub guide line as an aria-hidden list item so the sub-menu list only contains <li> children.
Slider: render the current value badge in the high-contrast (black) color instead of the brand blue, with a subtle grey fill when disabled. The filled track is now lighter in dark mode so it stands out from the background.
Fix Flow nodes with a custom render element briefly laying out at the wrong position on mount. Unpositioned nodes are now measured as absolutely positioned elements, so their first reported width matches their final width.
TagInput: ignore Enter, comma and Tab while an IME composition is active, so confirming a Japanese/Chinese/Korean conversion no longer creates a tag early.
Preserve ButtonGroup's outer corners while an overlay control is open.
Prevent Select separators from causing a horizontal scrollbar.
Update the Cloudflare logo cloud colors to match the current brand asset.
Update the bundled Base UI dependency to version 1.8.0 and expose its Combobox item collection and functional Toast update APIs.
Add ButtonGroup component for joining a small set of tightly-coupled buttons into a single control — most commonly a split button (a primary action next to a dropdown trigger). Handles layout only: children keep their own variant, size, and shape while the group flattens inner corners and overlaps borders so the buttons share one seam. Renders role="group". For grouping multiple independent buttons or inputs, use Toolbar instead.
Add sidebar open-change completion callbacks.
Add the TagInput component for creating and removing free-form values.
Add InlineCopyText, a compact borderless copy control for short values in dense interfaces and table cells. It accepts string or rich children, Text typography props excluding heading variants, an explicit copied value for rich content, localized accessible labels, inline success feedback, and hover or focus icon reveal.
Add an optional yAxisMinInterval prop to TimeseriesChart for discrete data.
Add support for footer text below TimeseriesChart tooltip values.
Add a strict responsive LayerDialog component with automatic dismissal composition, alert-dialog semantics, mobile drawer behavior, and application-wide defaults for its built-in close and cancel copy through KumoLocaleProvider.
Add GlobeMap, an SVG orthographic globe with boundary-free hatched land, horizon-faded geographic markers, optional geographic guides, pointer and keyboard rotation, automatic rotation, Kumo-themed tooltips, and no WebGL or ECharts requirement.
Reset the native fieldset padding in radio and checkbox groups.
Refine Empty state typography and balance description text when it wraps.
Support nested LayerDialog drawers with independently layered backdrops and responsive mobile actions.
Add a plain CodeHighlighted variant for frameless, padding-free code blocks with a correctly positioned copy button.
Document app-root CSS isolation for reliable stacking of portaled components.
Update formatting for Vite+ 0.3.1.
Use the up/down double chevron in Combobox value and input triggers to match Select.
Add a visual regression contract for truncating text in default Tooltip triggers.
Add scrollItemIntoView() to preserve the position of visible sidebar items while honoring alignment for offscreen items.
Allow default Tooltip trigger children to control their line height, preventing inherited text from being clipped.
Position dialogs near the top of the viewport instead of vertically centering them.
Use the elevated surface color for even rows in the default Table variant.
fix(select): align the trigger surface with form controls
Select triggers now use bg-kumo-control, including their open and disabled
states, so they match Input, Combobox, and the rest of the form-control family.
Consumer background classes can still override the default without using
!important. The popup remains on the floating bg-kumo-base surface.
fix(select): anchor the popup below the trigger and expose placement props
Select.Positioner relied on Base UI's alignItemWithTrigger default (true),
which overlays the popup on the trigger so the selected option's text lands on
the trigger's value text, emulating a native <select>. Options always render at
text-base, so on xs/sm triggers the popup was much taller than its anchor,
and Base UI's compensating shift detached it from the trigger — on xs it
overhung by 12.5px above and 45.5px below and sat 8px to the left, covering
adjacent content.
The popup now prefers bottom placement and is offset from the trigger, with
Base UI's collision avoidance still flipping it automatically when the preferred
side lacks space. Placement is configurable:
| prop | default | notes |
|---|---|---|
side | "bottom" | preferred side; still flips automatically on collision |
sideOffset | 4 | gap between trigger and popup, matching Combobox/Autocomplete |
align | "start" | alignment along the trigger edge |
alignOffset | — | additional offset along the alignment axis |
alignItemWithTrigger | false | opt back in to the native <select> overlay |
The remaining Base UI Positioner controls are also forwarded unchanged:
anchor, arrowPadding, positionMethod, collisionAvoidance,
collisionBoundary, collisionPadding, sticky, and
disableAnchorTracking.
The popup also now tracks the trigger width via min-w-(--anchor-width) instead
of min-w-[calc(var(--anchor-width)+3px)], which existed to visually offset the
old item-alignment shift.
Allow non-heading Text variants to inherit line height from their surrounding context.
Make Combobox.Input sit flush with the top and sides of Combobox.Content and remove its bottom corner rounding.
Reduce the trailing inset for buttons inside large InputGroup addons.
Add the Text heading variant with a 16px semibold default and a 20px
size="lg" option. The variant defaults to a span, so callers choose heading
semantics explicitly with as. Deprecate the numbered heading1, heading2,
and heading3 variants.
Collapsible.DefaultTrigger now uses text-kumo-default (neutral) with font-medium instead of the blue text-kumo-link color.
deprecate MenuBar in favor of segmented Tabs
MenuBar component (and its exports) as @deprecated; it will be removed in a future releaseTabs with variant="segmented" (the default Tabs variant)MenuBar is unchanged for existing consumersMenuBar documentation page and demos from the docs siteFix Toast background clipping the ring outline at the corners — the inner background layer's radius (11px) was smaller than the root's rounded-xl (12px), painting over the ring at the corners. Matched them up.
Restore disabled and loading state handling for Toolbar.Button so disabled
controls expose the correct semantics and cannot be activated.
Normalize shadows and outlines on tip-style overlays (Popover, Tooltip, ClipboardText, Chart tooltip).
shadow-kumo-tip-shadow color override so shadows use Tailwind's default translucent black instead of an opaque light-gray in light mode.shadow-md; ClipboardText's "Copied" toast keeps shadow-lg to match the Toast component.outline-kumo-fill to outline-kumo-line, matching every other floating surface (Dropdown, Select, Combobox, Dialog, etc.).kumo-tip-shadow → kumo-arrow-edge and kumo-tip-stroke → kumo-arrow-stroke. The tokens draw the border on Popover/Tooltip arrow SVGs, not a box shadow. Both now resolve to kumo-line, so the arrow border aligns with the popup outline in both modes.Add scrollToItem(id, options?) to useSidebar() for imperatively scrolling
a nav item into the sidebar viewport. Tag items with the new itemId prop on
Sidebar.MenuButton or Sidebar.MenuItem.
Options:
align: "start" | "center" | "end" | "auto" (default "auto" — no-op if
the item is already visible; otherwise scroll the minimum distance).behavior: "auto" | "smooth" (default "auto" — instant, best for
cross-app landings so users don't watch the sidebar animate on entry).
prefers-reduced-motion forces "auto".Scrolls only the sidebar viewport (never the document) and works with
Sidebar.SlidingViews: items register with the provider via an internal
map, so scrollToItem walks up from the target to find its owning viewport
rather than querying the DOM.
Add icon support to filled Badge variants through the icon prop, add linked-badge hover styles, and use the base surface background for outline badges.
Allow users to select and copy LinkButton text while preserving Button text selection behavior.
Update Table rows to use borderless, alternating background styling.
Fix hydration mismatch in the Sidebar's useIsMobile hook on SSR frameworks like Next.js. The hook now uses useSyncExternalStore with a desktop getServerSnapshot, so the server-rendered HTML (desktop <aside>) hydrates cleanly on mobile viewports before switching to the mobile overlay.
Allow Select and Combobox triggers to compose directly with Toolbar.Button and Toolbar.Input through their render props, adding grouped styling and arrow-key focus management while preserving regular Select.* and Combobox.* APIs.
Deprecate Toolbar's configurable size prop and size metadata exports. They remain functional for compatibility; omitting size continues to use the base size.
Forward link-specific props in Tabs and Sidebar so link-rendered tabs can opt out of native button semantics, and Sidebar link buttons preserve attributes like aria-current.
Expose all positioner props on Combobox.Content (anchor, positionMethod, collisionAvoidance, collisionBoundary, collisionPadding, sticky, disableAnchorTracking).
Populate InputArea props in component registry so the docs API reference table renders correctly
Fix Sidebar peeking state during SlidingViews transitions.
Fix Tabs overflow controls when tabs are removed and the remaining tabs fit.